6

I teach a class in fine art printing. During my last class we were looking at an image in Lightroom CC Classic and someone asked why the midtone spike in the image histogram exceeded the top limit. It was cut off at the top.

Since then, I have noticed this is rather common. But, I have no idea why it is or what it indicates. The response appear to be out of the graphic range of the histogram. But, so what?

  • My 2 cents to this: Open Photoshop (or have lightroom do have normal brushes? I don't know i use lightroom only for raw dev), open a picture and open the histogram, then use a brush with one color, paint on the picture and observe the changing in the histogram. Even use an area with that generates a peak in the histogram, but don't overpaint that area and so on. (Man, that sounds interesting to me, too.) – Horitsu Oct 25 '18 at 04:02

2 Answers2

11

It doesn't exceed the top of the histogram scale. That may appear common, only because histograms are always normalized. Data is intentionally scaled so that the peak value reaches the top (this shows low values better). And the exact count is unimportant. The range of distribution is the only thing important.

So all histograms approximately reach the full height possible (some one data value reaches the top). A histogram consisting of one spike of all pixels with only a single value will reach the top (clipping for example). Or a smooth histogram with a very wide full even range will also reach the top. However, some extreme rounding of data counts is of course necessary, because there are megapixels of values, but only a few possible pixels of histogram video display to show it. Any flat top of a peak is due to this necessary rounding.

As tonal things are adjusted, the heights may jump around, because the height does NOT represent brightness, it represents a count of pixels with that brightness, normalized to reach the top.

WayneF
  • 12,879
  • 1
  • 16
  • 30
  • 3
    I think this answer is clearer than those in the similar question https://photo.stackexchange.com/questions/2913/what-does-it-mean-if-the-main-peak-of-my-histogram-is-beyond-the-top-of-the-char?rq=1 – dmkonlinux Oct 24 '18 at 16:54
3

Let us see what the axes of the histogram represent.

I started with a simple gradient which has overall the same amount of pixels of each luminosity or brightness intensity.

enter image description here

Then I am adding a single zone of one gray, therefore more pixels of that particular gray are present on the image.

enter image description here

The gradient is the same, but as I add more gray pixels the gradient zone is smaller and smaller.

enter image description here

Now is obvious that the elements of the histogram are intensity (brightness or luminosity) vs amount of pixels. And this Y axis is just proportional.

enter image description here

The cropping of the top is for a practical reason. We normally want the histogram to tell us about some details we can not see in... well, detail.

If we wanted to know how are our bright and dark zones (red) we would need to zoom in on the vertical axis, this means you need to cap and truncate the upper zone of the graph, which is not important because this does not represent a clipping on the histogram.

enter image description here

We, of course, could have some logarithmic scaling, but this needs more processing power, which can not be implemented on a small camera, and it is not implemented in some applications (shame on you Ps and Lr)

But some applications, mainly video color grading ones, have a logarithmic scale called waveform.

These scales allow you to see what is happening in those areas but let you see the overall picture without the need of clipping the graph.

enter image description here

Some other graphs are good for other kinds of color analysis, for example, a vectorscope (Shame on you Ps and Lr)

So different graph implementations are good for some adjustments and analysis and other are good to other stuff.

A simple histogram is just a simple tool.

Rafael
  • 24,760
  • 1
  • 43
  • 81
  • 1
    Thank you, so MUCH! I really hadn't expected an answer to come at all let alone so quickly and thoroughly. Obviously, I came to the right place. You people have my attention for good. Thanks again. – Paul Schillinger Oct 26 '18 at 02:52
  • 1
    If one of the two answers are actually answering your question, please mark it as accepted. – Rafael Oct 26 '18 at 08:40