Hi Jim ... you're still leaving me behind, I'm afraid. Are you referring to your previous post where you say: "Or does it? There's nothing to say that the points in the image that give you the top part of the red histogram channel are the same points that give you the top part of the blue histogram channel. We're just lucky that it happens to work out that way for most images."? So that gray, for example, will give the same histogram peak as its RGB components separated out, as you show.
Yes, indeed.
It would be useful to explain what a color histogram actually is (which I assume is one of the things you are attempting to do?). My understanding is that its essentially a graphical representation of the tonal range of the image. As such, its main use is to give us an idea about things like shadow and highlight clipping, whether the image is under-exposed or over-exposed ... that sort of thing. It isn't intended to show whether or not parts of the image are out of gamut (how could it? the image will never be OOG in its own color space), and so we shouldn't use it for that purpose (I can't imagine that anyone would).
So I'm not sure what your point is .
Robert
Robert, maybe we're in "violent agreement" on this issue. Sounds like we agree that the histogram is a lousy tool to use to examine the gamut of an image, which was my main point.
Now, on to the details...
You said earlier: "Why is it that we are lucky? We can always adjust the saturation of individual colors, surely, so if we adjust the red but it's quite separated from the blue ... so what? I think I'm definitely missing something here."
Being lucky, in this case, meant that the information at, say, the top of each plane of the histogram came from the same group of pixels. It usually, but most certainly not always, does. If it does, when all the planes are moved to the right, it means a part of the image that has almost no chroma will appear with a luminance near paper white, in conventional wisdom, A Good Thing. If it doesn't, moving the top of the histogram planes to the right can result iin out-of gamut colors, especially is monstrously large color spaces.
On a related point, you say, "We can always adjust the saturation of individual colors..." With the histogram, we can't see how saturated any color is.
You also said earlier: "...and this is reflected in the histogram since this is a linear representation of the saturation of the image at every luminance point (more or less)"
First, in Ps, the horizontal axis of the histogram is in general
non-linear. That axis is in the non-linearity of the working RGB color space. Unless you work in Ps in a color space with a gamma of one (or less!), the horizontal axis of the histogram will give more weight to darker colors than a linear scale would. This is appropriate almost all the time becasue of the nonlinearities inherent in the human visual system. Aside: As a corollary of this, the 18% reflectance point will occur at a different place in working color spaces with different gammas. This is important if you edit sometimes in, say, Adobe RGB with its 2.2 gamma, and PPRGB, with its gamma of 1.8. In Ps, the vertical axis of the histogram is linear (all the time? I'm not sure. Andrew?).
Second, as I think we now agree, the histogram doesn't represent saturation at all.
Are we good now?
Thanks,
Jim