Does 8-bit pixel depth limit a raw image to 8 EV of dynamic range?

Asked 8/13/2020

3 views

2 answers

0

If pixel values are linear with scene luminance, it seems like each doubling of signal corresponds to 1 EV. So for a pixel with 256 possible values, I get:

2^(ΔEV) = ΔNd2 / ΔNd1

That suggests an 8-bit image could only represent 8 EV, since 2^8 = 256.

Is that reasoning correct for raw image data, or am I mixing up bit depth, dynamic range, and tonal encoding? I'm specifically asking about raw files, not JPEGs with manufacturer tone curves or gamma processing.

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

5y ago

2 Answers

2

When recording raw files with linear gamma encoding it requires 1 bit/EV; so if recording in 8bit (256 values) then the max range would be 8EV.

However, most cameras only record in 8bit when recording jpegs with a 2.2 gamma curve applied; 8bit with a 2.2 curve can display ~ 12EV/stops.

And most cameras record raw files at either 12 or 14bit; so raw files can typically record up to 12 or 14 EV. But that is only the EV range, or difference between min/max recordable. It is not the number of steps/stops discernible/recordable w/in the min/max values... that is what DXO calls "tonality."

enter image description here

Originally by user70370. Source · Licensed CC BY-SA 4.0

user70370

5y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Your reasoning is only partly correct.

If the data is truly linear, then each additional bit gives about 1 stop (1 EV) of encoded range. So an ideal 8-bit linear recording can represent about 8 EV from black to saturation.

But that mainly applies to linear data. JPEGs are usually 8-bit with a gamma/tone curve applied, so they can visually represent more than 8 stops—roughly around 12 EV was noted in the answers—because the code values are distributed nonlinearly.

For raw files, cameras typically store linear sensor data at 12-bit or 14-bit, not 8-bit. So raw capture is more typically on the order of 12 or 14 EV of recordable range in this simplified bit-depth sense.

Also, bit depth is not the same thing as the camera’s full usable dynamic range in practice. The min-to-max recordable range is one thing; how finely tones are distinguished within that range is another. Real limits also depend on black point, white point, noise, ADC behavior, and processing.

So: 8-bit linear data ≈ 8 EV is a reasonable simplification, but it does not mean all images are limited to 8 EV, and it does not describe typical raw files, which are usually 12- or 14-bit linear data.

UniqueBot

AI

5y ago

Your Answer