This is my concept:In the histogram menu you can

**enable two bars** which will show up on the left and right side of your histogram. The left one will show the

**percentage of underexposed pixels** in your footage and the right one will show the

**percentage of overexposed pixels** in your footage. You can also set a

**threshold** to choose if a pixel is under-/overexposed (like for the zebras).

It might look like this:

I already thought a littlebit about the algorithm to calculate the percentage for a bar. Unfortunately I am not experienced with programming so I can only show you my ideas. But I'd be happy to help out in any way possible if you all find this idea interesting.

As an example I will show you the (mathematical) algorithm for the overexposure bar for one frame (underexp. is analog to this).

- - - - -

The ratio

**R** of overexposed pixels

**n** compared to the full resolution

**N** in the footage that will be displayed in the bar is given by

whereas the resolution

*N* in the footage is given by its width

**x** and height

**y**To tell if a pixel at position

**(i,j)** is overexposed (greater than a threshold

**T**) or not we now define a function

*tau* which is 1 if the pixel's brightness

**B(i,j)** is greater than

**T**, else 0

Now we look at each pixel and add 1 to the total number of overexposed pixels

**n** if it's overexposed

Now that we can calculate

**n** let's throw it all together to the final formula to display the percentage

**R** of overexposed pixels shown in the bar

In words: Count overexposed pixels line by line and compare it to the overall amount of pixels.

Btw. if it needs too much processing power we could approximate it and only look at the center pixel of a 3x3 or 5x5 area for example. It would only take up about 1/9 or 1/25 processing power this way and would be still very precise.- - - - -

Negative:- May need some processing power (maybe, I don't know)

Positive:- You can see how many percent of the histogram's area is cut off

- Great overview of the amount of under-/overexposed areas

- The underexposure bar can also be an indicator for how much noise you can see in your shot

- You can quickly balance your settings (ISO, Aperture, Exposure, variable ND filter) for a combination of minimal underexposure and overexposure in contrasty shots (optimize dynamic range)

**Tell me what you think about this idea.**- - - - -

Index: