If you run for example the script I posted above on one of the raw files I posted as well, you will get the following output:
Set raw file to analyse ['I:\xp24_full.dng'] >
Image: I:\xp24_full.dng
Camera Levels
_______________
Black Level : 256.0
White Level : 4095.0
Full Frame Data
_______________
Minimum red : 77.0
Maximum red : 4095.0
Minimum green : 167.5
Maximum green : 4095.0
Minimum blue : 162.0
Maximum blue : 4095.0
Center Data
_______________
Minimum red : 208.0
Maximum red : 1367.0
Minimum green : 260.0
Maximum green : 4057.5
Minimum blue : 230.0
Maximum blue : 2889.0
Now, the first two lines report the black- and whitelevel of the data. In this case 256
and 4095
. These numbers are not fixed but depend mainly (in the case of the HQ sensor) on the type of RP you are using. A whitelevel of 4095
indicates that something smaller than a RP5 was used.
In any case: the light intensities the sensor saw are encoded in a linear fashion in the raw data. Absolute black corresponds to the reported blacklevel, the whitest white is corresponding to the reported whitelevel. You should never find pixel intensities larger than the whitelevel. With the blacklevel, that is a different story.
The actual minimal and maximal values found in your raw file are reported in the sections following. Indeed, the largest value found in the full frame data is listed in all three color channels as 4095
, which is identical to the whitelevel reported. So there’s a good chance that there are some areas in the image which are burned out. And indeed, this is the case with this specific image.
Now, looking at the minimum values found, they all turn out to be lower than the blacklevel reported. What is happening here? Are these pixels blacker than black? In a way they are - but most probably just useless noise.
Looking at the following center third section (“Center Data”), the situation is slightly better. All bright pixels found are well below the maximum value (the reported whitelevel). The largest intensity is in the green channel, 4057 < 4095
. Also, in the green channel, the darkest pixels stay above the blacklevel at least in the green channel - however, the red and blue channel are still lower than what would actually be expected. Again, that is a characteristic of the HQ sensor and the associated software and there is nothing one can do about - maybe treat these values as “super-black”? Your choice…
Well, in fact, there have been a total of 5 different approaches suggest to reduce these noise stripes found in the HQ sensor. And there is of course even a sixth: get a better sensor.
For further information on how the raw data is transformed into a viewable image, I would suggest to check again the script listed here on the forum which does a complete Python-based raw development. It contains all the secrets one wants to know.