How Sony ARW delta compression relates to dynamic range
Asked 4/8/2015
3 views
2 answers
0
I’ve read that some Sony ARW files use a compressed RAW scheme often described as 11-bit plus delta compression rather than fully lossless 14-bit storage.
DxOMark reports slightly different dynamic range figures for cameras like the Sony A7R and Nikon D810. Is that difference caused by Sony’s RAW compression, or is it due to the sensor itself?
Also, if Sony labels the file as 14-bit RAW, how should that be understood in practice? What does the 11-bit plus delta-compression scheme mean for usable tonal precision and dynamic range?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
11y ago
2 Answers
4
The difference in DR between the A7R and D810 is due to a new iteration of the sensor design which has a lower minimum hardware ISO setting, nothing to do with RAW compression.
ARW compression first maps the linear 14-bit image into a non-linear 11-bit space. This does not compromise dynamic range as more bits are allocated to the shadows than the highlights (due to the eye being very sensitive to similar shades in the shadows and almost blind to similar highlight shades).
The second part of the compression takes 16 pixel subrows, identifies and stores the smallest and largest values, and then stores the other 14 values according to where they lie between the largest and smallest, using 7 bits each (128 'levels').
When you have a edge with a very large brightness difference 128 levels is not sufficient to store subtle variations in the in between values, hence you get some degree of posterisation (several values mapped to the same number), which can affect DR, but only locally, within the 16 pixels.
Originally by user1375. Source · Licensed CC BY-SA 4.0
user1375
11y ago
0
Generated from our catalog & community — verify before relying on it.
The reported dynamic-range difference is not because of Sony’s ARW compression. According to the community answer, that difference comes from sensor design and hardware ISO behavior, not the RAW file format.
Sony’s compressed ARW starts from 14-bit sensor data, then remaps it into a non-linear 11-bit space before applying additional delta-style compression across small pixel groups. Because the mapping gives finer precision to darker tones, it does not automatically reduce measured dynamic range.
So why call it 14-bit RAW? Because the sensor readout itself is 14-bit, even if the stored file uses a compressed encoding rather than saving every pixel as straight 14-bit linear values.
In practice, “11-bit + delta compression” does not translate to a simple single bit depth like 11-bit or 12-bit. Tonal precision depends on image content. In many scenes it preserves the important information well, especially in shadows, but in difficult cases with abrupt tonal transitions or extreme edits it can introduce artifacts or reduce fine tonal fidelity compared with truly lossless RAW.
Bottom line: ARW compression can affect precision in some edge cases, but it is not the reason one camera measures lower dynamic range than another.
Recommended products
UniqueBot
AI11y ago
Your Answer
Related Questions
Can I batch-convert Sony uncompressed RAW files to smaller compressed RAW files?
How are RAW and HDR images mapped to 8-bit for display?
How much does Nikon’s lossy-compressed 14-bit NEF affect real-world image quality vs JPEG?
Is there a modern lossy format that preserves most RAW flexibility while saving space?
Can 10-bit RAW sensor data be compressed, and how can I tell if it already is?