I'm trying to get unscaled values from a Canon CR2 file
The camera has a 12bit imager and imgdata.color.maximum=3712 and the channel maximums are in line with this.
But the data returned from dcraw_process() is scaled into the range 0 - 64K even with histogram stretching off.
I wondered whether a 'better rawnalyse' would make a good sample application for the libraw library? For those who want to examine what use they are making of the available raw data count range.
Since good quality profiles can be achieved only for well-exposed target shots, a profiler should contain means to check raw data to ensure that the white is close to the target value, and the amount of flare, vignetting, light variations across the target, as well as other factors resulting in less then usable profiles, are insignificant.
It is not necessary that the whole target is captured in a single shot; taking multiple shots to capture the whole target is a better way to control flare, light distribution, and vignetting.
Recent comments