• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

what is a histogram

FLECOM

Modder(ator) & [H]ardest Folder Evar
Staff member
2FA
Joined
Jun 27, 2001
Messages
15,823
as the title sais, ive read countless articles, but i still dont get it

what is it for, how do you read it, what do i use it for, why should i care

winner gets a cookie :)
 
It shows you what your picture looks like. Left side are the darks and right side the lights. If you take a picture of the sky and its highlights are blown out...you'll have a spike on the right side of the histogram. If you take a picture of the dark night sky, you'll probably end up with the majority of the graph on the left side. It helps to show you how your exposure came out and you generally want a the histogram to be spread across the whole spectrum, as far as I understand it.

Try www.luminous-landscape.com for more help on histograms.
 
ya i read that last night... but, dunno... dosent make any sence to me... twoards the left is dark, right is light... so you dont want it to be all the way up against either side..?

does it have any other purpose than telling you expose more/less?

then why have all this complicated graphical representation, cant they just put "over" and "under"

all that information in the graph has to be useful for something
 
Imagine if you will...

The X axis (horizontal) shows the colors based on their wavelengths, in order. Red, orange, yellow, green, blue, indigo, violet, and all the colors in between them.

If you were to count all the pixels in the picture and assign them to a catagory, like the bars on your histogram, you can tell how you picture is saturated.

You can correct the photo based on the concentrations of color, i.e. shift the colors on way or eliminate a color all together.

Same goes with the histogram of each alpha chanel, you can pick a chanel and see how many pixels are dark or how many are light. This can help you correct saturation, contrast or brightness.

-PD

/eats cookie.
 
ok but the histogram in the camera is just the alpha channel right?

the 1D mark II is the only one i know that does individual RGB histograms
 
Originally posted by FLECOM
ok but the histogram in the camera is just the alpha channel right?
It's actually the luminance information for the picture.
 
For example from the following histogram
histogram_01.gif

I can tell that the picture doesn't have much dynamic range. I can also tell that there aren't any blown highlights, or lost shadow detail. Sure enough if you look at the picture.
histogram_01.jpg

You can see exactly what I mean.

However, you can also see that the exposure isn't exactly centered. Had I exposed the picture a stop more you would have gotten this histogram, which is more centered and a better exposure.
histogram_02.gif

Again, there are no blown highlights or lost shadow detail. Look at the picture and you can see it is a better exposure than the first.
histogram_02.jpg
 
An over exposure would look like this
histogram_03.gif

where the picture looks like this. You can see it's cooked.
histogram_03.jpg


An underexposure would look like this
histogram_04.gif

You can see it's way too dark.
histogram_04.jpg
 
Now, by manipulating the histogram in PS with the levels command I can get this
histogram_05.gif

which give us this very nicely exposed picture with good contrast.
histogram_05.jpg
 
Now, you're still asking what good does this do me?

Well, lets take an outdoor picture with very high contrast. It has a histogram like this.
histogram_06.gif

Now you can see that the picture really exceeded (or came really close to) the dynamic range of the sensor in the camera.

Sure enough.
histogram_06.jpg

This was shot in jpeg, and I was watching the histogram, so I knew to put the camera in RAW and try again (RAW has wider dynamic range), and I was able to get this.
histogram_07.gif


histogram_07.jpg
 
Now, lets say you wanted to get a little bit more artistic.

If you wanted to capture the steeple of the church with a nice proper exposure you'd want to target a histogram like this
histogram_08.gif


which gives you a picture like this
histogram_08.jpg


Note the camera will likely not give you that exposure on it's own. It would tell you that's an overexposure.

Say you want the inverse. Where the sky stands out against a silloutte of the steeple. You'd want to target an exposure like this
histogram_09.gif


which gives you a picture like this
histogram_09.jpg


Note the camera will likely not give you that exposure on it's own. It would tell you that's an underexposure.

But because of the histogram you can see what's going on and get what you want and make sure you have good exposure over the part of the picture you want.

Make sense?
 
Great thread.

The best way I've seen to learn about histograms is to take say 10 well exposed images and 10 poorly exposed images and mix them up in whatever software you use to look at histograms on your PC. (I use the software that comes with canon cameras and it is surprisingly useful for cataloging and checking histograms.)

Now as you scroll through each picture look only at the histogram at first and form a mental picture of what the exposure will look like (obviously it helps if all 20 of the images are of the same object maybe even from the same angle etc.) Then after building the mental image look at the picture and see how close you were. Do this enough and you will have a pretty decent idea of how a picture will look from the histogram alone.
 
Thanks Stereodude for that visual lesson. I've never made use of the histogram features because I never quite understood the effectiveness of this tool. Thanks also to PurdueDood and torment for their help with this. Definetly worthy of a sticky thread.
 
Back
Top