Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
03-23-2008, 09:31 AM   #1
Veteran Member




Join Date: Dec 2007
Location: Northamptonshire - England
Photos: Gallery
Posts: 496
histogram steps

I've notice like with my old fuji that the histogram is divided into 4 parts, does anybody know how much each quarter represents in stops ?

after a few test shots at 2 stops apart I guess about 2 stops per quarter, its handy to know so as to make it easier to make accurate exposure compensations when judgig the information in the prteview histogram

03-23-2008, 11:38 AM   #2
Veteran Member
falconeye's Avatar

Join Date: Jan 2008
Location: Munich, Alps, Germany
Photos: Gallery
Posts: 6,871
Hi simons,

don't you risk to suffer from forum addiction, judging by the frquency by which you start threads?
just joking, never mind.

Histogram. Easy question. Say, available light goes from 0...255 (full histogram).
If you expose a 1 stop less, half available light, i.e. now goes from 0...127 (2 quarters = 1 stop).
If you expose another 1 stop less, quarter available light, i.e. now goes from 0...63 (3 quarters = 2 stops).
(3.5 quarters = 3 stops) ...and so on...

The scale is linear, not logarithmic, therefore not in f-stops.
03-23-2008, 01:40 PM   #3
Veteran Member




Join Date: Dec 2007
Location: Northamptonshire - England
Photos: Gallery
Posts: 496
Original Poster
yea I'm a forum addict, especially when I spend 500 £ on a great camera and run into a forum full of people that know more about my camera than the manual (and me for the moment)

the stop scale is linear it sort of converts the logaritmic scale of our eyes to linear. what you describe is saying that the right half of the scale is 127, the next quarter is 64, the next eigth 32 ect.

I presume that the histograms scale represents the whole dinamic range of the camera (CCD) so really I'm asking whats the dinamic range of the camera (K10D) ? 8 stops (EV) ? that would make each 1/4 devision 2 stops (EV) = my guess perhaps 10 stops making each 1/4 division 2.5 stops I'm just interested in knowing roughly what it is as I rely on the histogram in part in making exposure ajustments, of course if i over expose I will get the highlight blown warning but I'm trying to advoid that.

thanks for all your help and support people.
03-23-2008, 04:35 PM   #4
Veteran Member
creampuff's Avatar

Join Date: May 2007
Location: Singapore
Photos: Gallery
Posts: 3,953
There is a treasure trove of information in many previous threads.
My suggestion to those new to the forum is to slowly go through the past threads as many of the topics and information contained therein have been discussed to death.

However my observation is that many of the trivial queries could have been answered by first reading throughly the camera manual first or reading through previous threads. Instead it is perhaps easier to be spoon fed by starting a new thread instead of doing a simple search.

03-23-2008, 04:48 PM   #5
Site Supporter
Site Supporter
Lowell Goudge's Avatar

Join Date: Jan 2007
Location: Toronto
Photos: Gallery | Albums
Posts: 17,892
You need to check very closely what the histogram bars in the camera mean.

the best way is to do a test, in manual, with a lens set to about F9 and exposure set to normal, with no compensation (camera set to 1/2 stop increments)

Without changing the shutter at all, take a series of shots at each F stop, from wide open to stopped down all the way. (use a neutral object like a block wall)

Look at the histograms and also look at the average grey scale value of the histogram in your photo editor.

As others have noted a histogram is 0-155, BUT the grey scale value is not linear.

between about 25 and 230 is between 4-6 stops depending on contrast setting of your JPEG (and 5 stops in RAW)

There are a couple of stops compressed very non linearly into the 0-25 and 230-255 range.

The change of 1 stop does not result in a 50% change in thehistogram value, more likely less than 1 of the 4 divisions of the camera.

Most people consider a histogram good if the histogram is non zero over the entire range, but just approaching 0 at both ends. (this is a matter of opinion and some shots may be deliberately not following this exposure)
03-23-2008, 05:35 PM   #6
Veteran Member
falconeye's Avatar

Join Date: Jan 2008
Location: Munich, Alps, Germany
Photos: Gallery
Posts: 6,871
QuoteOriginally posted by simons-photography Quote
that would make each 1/4 devision 2 stops (EV) = my guess perhaps 10 stops making each 1/4 division 2.5 stops
It is really dumb simple. Maybe read the paragraph about histogram in your Photoshop manual or what other image processing manual. Those are all plain old 0...255 histograms.

If all your histogram data are found in the left half, it is time to add 1EV (or more), if it is clipped to the right, remove 1EV (more or less). Roughly speaking.

Until you understood all this perfectly, completeley forget about the camera's dynamic range.


Only then it will be time to dive into the brave new world of 16Bit histograms so few people have ever seen
03-23-2008, 05:43 PM   #7
Veteran Member
falconeye's Avatar

Join Date: Jan 2008
Location: Munich, Alps, Germany
Photos: Gallery
Posts: 6,871
QuoteOriginally posted by Lowell Goudge Quote
between about 25 and 230 is between 4-6 stops depending on contrast setting of your JPEG (and 5 stops in RAW)
What you are saying here is that the back-LCD histogram isn't the 8Bit histogram of the RAW. This is interesting and I must confess I've never heard about. Do you have a link or search phrase to follow it up? Google or the forum search returned nothing specific for me.

03-23-2008, 06:12 PM   #8
Site Supporter
Site Supporter
Lowell Goudge's Avatar

Join Date: Jan 2007
Location: Toronto
Photos: Gallery | Albums
Posts: 17,892
QuoteOriginally posted by falconeye Quote
What you are saying here is that the back-LCD histogram isn't the 8Bit histogram of the RAW. This is interesting and I must confess I've never heard about. Do you have a link or search phrase to follow it up? Google or the forum search returned nothing specific for me.
What I am saying is that the histogram does not represent a 50% change in value for 1 F stop.

I just took 4 shots of my screne, with my *istD, and SMC-105mm F2.8. Each shot was at 1/125 but I stepped doen in 1/2 stop increments on the apature.

The back histogram on the first shot (correct exposure) was just to the left of middle. each successive shot moved further to the left, such that after 2 full stops (i.e. f5.6) I hade moved 1 division out of 4.

This is also how the histogram behaves in a photo editor.

As I explained previously, the distribution of an image and dynamic range is NOT done in a log finction,

The histogram is linea over the central part, in terms of histogram value vs f-stops.

each f-stop has an average value of 45 greyscale either in raw or with contrast set to neutral. it necomes non-linear at the high and low end, with 1 stop compressed into about a range of 17 and the next to a range of about 7. therefore overall, depending on contrast setting, you have a dynamic range of between 8 and 10 stops, with 4-6 very well behaved, an additional 1 on each side that is not too bad, and the last one whioch is really grainy and poor.
03-23-2008, 09:44 PM   #9
Veteran Member
jeffkrol's Avatar

Join Date: Sep 2006
Location: Wisconsin USA
Photos: Gallery
Posts: 8,434
QuoteOriginally posted by simons-photography Quote
I've notice like with my old fuji that the histogram is divided into 4 parts, does anybody know how much each quarter represents in stops ?

after a few test shots at 2 stops apart I guess about 2 stops per quarter, its handy to know so as to make it easier to make accurate exposure compensations when judgig the information in the prteview histogram
Only the middle is linear I believe... The first and last "quarters" have more "stops" in each then the middle 2. Or maybe not....
http://www.adobe.com/digitalimag/pdfs/linear_gamma.pdf
Luminous Landscape Forum > Interpreting Histograms
03-24-2008, 12:47 AM   #10
Veteran Member




Join Date: Dec 2007
Location: Northamptonshire - England
Photos: Gallery
Posts: 496
Original Poster
QuoteOriginally posted by Lowell Goudge Quote
I just took 4 shots of my screne, with my *istD, and SMC-105mm F2.8. Each shot was at 1/125 but I stepped doen in 1/2 stop increments on the apature.

The back histogram on the first shot (correct exposure) was just to the left of middle. each successive shot moved further to the left, such that after 2 full stops (i.e. f5.6) I hade moved 1 division out of 4.


As I explained previously, the distribution of an image and dynamic range is NOT done in a log finction,
yes thats about what it is for me and thats what I thought
03-24-2008, 06:27 AM   #11
Veteran Member
falconeye's Avatar

Join Date: Jan 2008
Location: Munich, Alps, Germany
Photos: Gallery
Posts: 6,871
QuoteOriginally posted by Lowell Goudge Quote
This is also how the histogram behaves in a photo editor.
Well, I understand everything about a histogram in a photo editor.
A photo editor histogram is the so-called images's N-Bit Histogram and has a linear scale, where the f-stop scale is logarithmic. There are no "middle parts" behaving differently.

I see two choices:
  1. The sensor doesn't capture luminosity linearly (a bad thing to be compensated by tone mapping -- so one should know about).
  2. The Pentax back LCD histogram isn't a photo editor's 8-Bit histogram.

I will investigate this and report my findings as soon as I have them. Thanks for the responses so far.
03-24-2008, 06:30 AM   #12
Veteran Member




Join Date: Dec 2007
Location: Northamptonshire - England
Photos: Gallery
Posts: 496
Original Poster
QuoteOriginally posted by falconeye Quote
[*] The sensor doesn't capture luminosity linearly (a bad thing to be compensated by tone mapping -- so one should know about).
I think the sensor is linear but our eyes are not (same as our ears hence the decibel scale) hence the stops scale
03-24-2008, 06:39 AM   #13
Veteran Member




Join Date: Aug 2007
Location: North Wales, UK
Posts: 645
Another great feature of the K10D is it displays a full RGB histogram (use "up" arrow to select)
- I always use this option as its easy to clip highlights in a colour channel & not notice on the standard histogram


simon
03-24-2008, 06:47 AM   #14
Veteran Member
jeffkrol's Avatar

Join Date: Sep 2006
Location: Wisconsin USA
Photos: Gallery
Posts: 8,434
QuoteOriginally posted by falconeye Quote
Well, I understand everything about a histogram in a photo editor.
A photo editor histogram is the so-called images's N-Bit Histogram and has a linear scale, where the f-stop scale is logarithmic. There are no "middle parts" behaving differently.

I see two choices:
  1. The sensor doesn't capture luminosity linearly (a bad thing to be compensated by tone mapping -- so one should know about).
  2. The Pentax back LCD histogram isn't a photo editor's 8-Bit histogram.

I will investigate this and report my findings as soon as I have them. Thanks for the responses so far.
Don't forget that a RAW histogram is fairly worthless. At the best you could get a RAW hist w/ gamma correction and the tone curve applied. That is somewhat closer than the 8bit jpg histogram that you see. And the reason "highlights" are somewhat more recoverable in RAW.
Only the jpg is blown sometimes.
03-24-2008, 06:50 AM   #15
Veteran Member




Join Date: Dec 2007
Location: Northamptonshire - England
Photos: Gallery
Posts: 496
Original Poster
yes I noticed that I was able to recover some blownout highlights in raw processing I am now wondering how much margin there is, why is part of the sensors range being used "off the scale" ?
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
camera, dslr, histogram, photography, quarter

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking ISO steps with EV steps kiwibird Pentax DSLR Discussion 21 01-03-2011 08:51 AM
K7 first steps... jules Pentax DSLR Discussion 8 07-24-2010 09:45 AM
Misc Steps SweetSherri Post Your Photos! 1 05-10-2010 02:41 AM
Steps in the sand rm2 Post Your Photos! 2 09-07-2009 07:53 PM
Can someone walk me through the steps? Tom Lusk Pentax DSLR Discussion 10 10-06-2006 06:00 PM



All times are GMT -7. The time now is 06:23 AM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top