Apparently, there is no standard criteria for measuring dynamic range on a digital camera.
TomW Canon Fanosapien 12,749 posts Likes: 30 Joined Feb 2003 Location: Chattanooga, Tennessee More info | Aug 01, 2007 20:51 | #16 Apparently, there is no standard criteria for measuring dynamic range on a digital camera. Tom
LOG IN TO REPLY |
davesrose Title Fairy still hasn't visited me! 4,568 posts Likes: 879 Joined Apr 2007 Location: Atlanta, GA More info | Aug 01, 2007 21:05 | #17 Tom W wrote in post #3652760 Apparently, there is no standard criteria for measuring dynamic range on a digital camera. I bet camera makers love that fact: they can try pushing their DR numbers up Canon 5D mk IV
LOG IN TO REPLY |
boBquincy Member 164 posts Likes: 1 Joined Nov 2001 More info | Dynamic range has nothing to do with JPG or RAW, it is a limitation of the sensor. The sensor captures the RAW image which can then be converted to JPG, with all the dynamic range intact. What is lost is the number of brightness values between the endpoints of that range.
LOG IN TO REPLY |
kpt4321 Member 46 posts Joined Mar 2007 Location: Masachusetts More info | Aug 02, 2007 07:08 | #19 davesrose wrote in post #3651984 JPEG is like photographic paper: it's 8bpc and can not have much tonal range past 4 stops. Wait, are we talking about tonal range or dynamic range?
LOG IN TO REPLY |
TomW Canon Fanosapien 12,749 posts Likes: 30 Joined Feb 2003 Location: Chattanooga, Tennessee More info | Aug 02, 2007 07:24 | #20 boBquincy wrote in post #3654692 Dynamic range has nothing to do with JPG or RAW, it is a limitation of the sensor. The sensor captures the RAW image which can then be converted to JPG, with all the dynamic range intact. What is lost is the number of brightness values between the endpoints of that range. If the full 8+ stop range is used it is very likely there will be some gaps in the JPG. The RAW, with 16 tmes as many values will do much better at keeping all the values. boB
Overexposed by 2 stops: Now, I took a RAW image that was overexposed by 2 stops and pulled it down in Canon DIgital Photo Pro software. Converted to JPG for internet purposes, here is the result: Shooting the same overexposed image in JPG and then trying to pull the exposure down in post-processing resulted in this: As can be seen, the RAW image presented useful data at an exposure level considerably higher than the JPG did. The JPG's overexposed image just couldn't be recovered with any reasonable fidelity. My conclusion was that I was gaining at least a stop of useful data at the bright end of the scale by using RAW. Not sure that can be considered an increase in dynamic range by definition, but it's certainly an increase in useful dynamic range. That is, there's data in the RAW image that can be used, but which is missing in the JPG. Tom
LOG IN TO REPLY |
davesrose Title Fairy still hasn't visited me! 4,568 posts Likes: 879 Joined Apr 2007 Location: Atlanta, GA More info | Aug 02, 2007 08:30 | #21 kpt4321 wrote in post #3654742 Wait, are we talking about tonal range or dynamic range? both....they are related: tonal range is the value range of the colors that are in your photograph. Dynamic range is the value range of luminosity (or reflected light) that's in the scene. Film and digital sensors have more dynamic range then ink or photo paper: so they give you more adjustment with the tonal range of an image. I like to think about tonal range of an image when I'm PP, and dynamic range when I'm shooting: just as Adam's zone system does for camera vs print. Canon 5D mk IV
LOG IN TO REPLY |
davesrose Title Fairy still hasn't visited me! 4,568 posts Likes: 879 Joined Apr 2007 Location: Atlanta, GA More info | Aug 02, 2007 08:40 | #22 boBquincy wrote in post #3654692 What is lost is the number of brightness values between the endpoints of that range. If the full 8+ stop range is used it is very likely there will be some gaps in the JPG. The RAW, with 16 tmes as many values will do much better at keeping all the values. Dynamic range is effected by luminosity values....especially with 8bpc. Lets say the dynamic range of the sensor is 10 stops. Yes, RAW and Jpeg might keep those 10 stops....but RAW has 4092 levels of luminosity vs Jpeg's 256. Now exposure is logarithmic, so your brightest stop gets half of your levels: 2046 levels, jpeg: 128 levels. So now you have 2046 levels in a 12bpc system to be distributed to your next 9 stops......128 levels to your next 9 stops in jpeg. Keeping in mind that the luminosity levels are going to be higher in the brighter stops, you can see that in a 8bpc system, you really don't have enough luminosity levels to fill the darkest stops in a 10 stop range. Canon 5D mk IV
LOG IN TO REPLY |
kpt4321 Member 46 posts Joined Mar 2007 Location: Masachusetts More info | Aug 02, 2007 22:34 | #23 In that case, would you please prove this statement? davesrose wrote in post #3651984 JPEG is like photographic paper: it's 8bpc and can not have much tonal range past 4 stops.
LOG IN TO REPLY |
davesrose Title Fairy still hasn't visited me! 4,568 posts Likes: 879 Joined Apr 2007 Location: Atlanta, GA More info | Aug 03, 2007 00:25 | #24 kpt4321 wrote in post #3659672 In that case, would you please prove this statement? Tonal range of an image can only be manipulated within the dynamic range of the image file itself. In a classical RGB color space, that's 256 shades of tone. Jpeg has a total of 256 luminosity levels to distribute....12bpc RAW has a total of 4092. Tom's examples are proof that jpeg has more limited tonal range then RAW....and here's a bit more: Canon 5D mk IV
LOG IN TO REPLY |
BillBoehme Enjoy being spanked More info | Aug 03, 2007 03:03 | #25 Tom W wrote in post #3654794 ......A couple of years ago, I did some experimenting with my 1D II, comparing the ability of the camera to recover highlights when shot in RAW vs. JPG. Here's the results: The original image, properly exposed: SEE IMAGE IN POST BY TOM W Overexposed by 2 stops: SEE IMAGE IN POST BY TOM W Now, I took a RAW image that was overexposed by 2 stops and pulled it down in Canon DIgital Photo Pro software. Converted to JPG for internet purposes, here is the result: SEE IMAGE IN POST BY TOM W Shooting the same overexposed image in JPG and then trying to pull the exposure down in post-processing resulted in this: SEE IMAGE IN POST BY TOM W As can be seen, the RAW image presented useful data at an exposure level considerably higher than the JPG did. The JPG's overexposed image just couldn't be recovered with any reasonable fidelity. My conclusion was that I was gaining at least a stop of useful data at the bright end of the scale by using RAW. Not sure that can be considered an increase in dynamic range by definition, but it's certainly an increase in useful dynamic range. That is, there's data in the RAW image that can be used, but which is missing in the JPG. I have been following this thread and have found it to be very interesting and informative. I certainly agree with your statement in the last paragraph that increasing the number of bits does not increase the dymanic range -- it just improves the fidelity of the shades of luminosity between black and white -- after all, black and white are the same whether you have 256 or 4096 shades of luminosity. Atmospheric haze in images? Click for Tutorial to Reduce Atmospheric Haze with Photoshop.
LOG IN TO REPLY |
TomW Canon Fanosapien 12,749 posts Likes: 30 Joined Feb 2003 Location: Chattanooga, Tennessee More info | Aug 03, 2007 04:53 | #26 bill boehme wrote in post #3660732 I have been following this thread and have found it to be very interesting and informative. I certainly agree with your statement in the last paragraph that increasing the number of bits does not increase the dymanic range -- it just improves the fidelity of the shades of luminosity between black and white -- after all, black and white are the same whether you have 256 or 4096 shades of luminosity. I also think that your comparison of 12-bit RAW vs. 8-bit JPG is informative and you draw a reasonable conclusion from the results. Although you did not allude to any comparison of 12 bits vs. 8 bits for non-lossy files, some readers might possibly make that assumption. However, I don't think that we should generalize the results to compare data recovery in a 12 bit file vs. a non-lossy file with 8 bit depth. The JPG file has discarded much of its data and, thus any sort of further processing involving shifting levels only leads to a lower quality image. I think that if a 12-bit RAW file were converted directly to its closely related TIFF file and then truncating the four LSB's that we would find recovering highlights is not too much worse than the results from a RAW file. However, the shadow areas would crash and burn because of the lack of detail as stated earlier by davesrose.
Tom
LOG IN TO REPLY |
kpt4321 Member 46 posts Joined Mar 2007 Location: Masachusetts More info | Aug 03, 2007 07:26 | #27 davesrose wrote in post #3660197 Tonal range of an image can only be manipulated within the dynamic range of the image file itself. In a classical RGB color space, that's 256 shades of tone. Jpeg has a total of 256 luminosity levels to distribute....12bpc RAW has a total of 4092. Tom's examples are proof that jpeg has more limited tonal range then RAW....and here's a bit more: Here are the terms for the different DRs of photography: http://en.wikipedia.org/wiki/Exposure_range I just found this article which describes the differences in contrast range and what that means in F stops between the different bit depths: http://www.cambridgeincolour.com/tutorials/dynamic-range.htm I asked you to prove that jpg has little tonal range past 4 stops, as you stated and I quoted, not to send me some links to wikipedia.
LOG IN TO REPLY |
kpt4321 Member 46 posts Joined Mar 2007 Location: Masachusetts More info | Aug 03, 2007 07:30 | #28 bill boehme wrote in post #3660732 I think that if a 12-bit RAW file were converted directly to its closely related TIFF file and then truncating the four LSB's that we would find recovering highlights is not too much worse than the results from a RAW file. However, the shadow areas would crash and burn because of the lack of detail as stated earlier by davesrose. Well said, you clearly have a good understanding of the subject.
LOG IN TO REPLY |
davesrose Title Fairy still hasn't visited me! 4,568 posts Likes: 879 Joined Apr 2007 Location: Atlanta, GA More info | Aug 03, 2007 08:12 | #29 kpt4321 wrote in post #3661372 I asked you to prove that jpg has little tonal range past 4 stops, as you stated and I quoted, not to send me some links to wikipedia. well apart from the obvious in the table that Tom showed (do you see that you only have 15 shades of tone past stop 4?), As an example, 10-bits of tonal precision translates into a possible brightness range of 0-1023 (since 210 = 1024 levels). Assuming that each A/D converter number is proportional to actual image brightness (meaning twice the pixel value represents twice the brightness), 10-bits of precision can only encode a contrast ratio of 1024:1. Most digital cameras use a 10 to 14-bit A/D converter, and so their theoretical maximum dynamic range is 10-14 stops. However, this high bit depth only helps minimize image posterization See the last line....I'll write it out for you: "In practice, the dynamic range of a digital camera does not even approach the A/D converter's theoretical maximum; 5-9 stops is generally all one can expect from the camera." That obviously must mean that's the final output data for RAW. In a jpeg image, you have 256 levels of contrast. That means it might not be able to logarithmically fill in stops 7, 8, or 9 with the data its having to process. Even in the "ideal" no noise world, jpeg is limited up to 8 stops. 12bpc color space gets up to 12 stops. Canon 5D mk IV
LOG IN TO REPLY |
davesrose Title Fairy still hasn't visited me! 4,568 posts Likes: 879 Joined Apr 2007 Location: Atlanta, GA More info | Aug 03, 2007 09:07 | #30 Tom W wrote in post #3660969 Now in real life, I believe that there is something of an "S" shape to the exposure curve, and that "may" translate into some variation towards the ends (possibly fewer levels at the top, and more at the darkest end) but I don't know this to be true. It's early in the AM and my mind is still foggy. And, I haven't really studied this in that great of depth. Well we do know that in the ideal A/D, RAW gets its most amount of tone levels in the brightest areas. Most of your detail is in middle gray: which jpeg has 16 tones, and RAW has 64. I think it could be the logarithmic function of exposure: it's a beast that you get noise in your dark areas and less tones in your important contrast areas (middle gray). In your experiment, it's the detail of the map that really losses it in jpeg.....to me, that means the extra middle values of RAW are the most key. Tom W wrote in post #3660969 I guess that the big question might be, 'how much of the highlight-recovery capability is given up due to the needs of going from a 12-bit to an 8-bit image and how much is given up due to losses inherent in the JPG format?' The more I read up on this, the more I think higher bit depth helps reduce noise in the lower stops of "usable" range. We do know that highlights get the most values, and that the image's DR can be limited to the A/D bit depth (so say a 12bit camera converting down to 8 bit jpeg) as well as the sensor's light sensitivity range. Canon 5D mk IV
LOG IN TO REPLY |
![]() | x 1600 |
| y 1600 |
| Log in Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!
|
| ||
| Latest registered member is semonsters 1482 guests, 130 members online Simultaneous users record so far is 15,144, that happened on Nov 22, 2018 | |||