Add new comment

color.maximum and camera white level

Is the value in color.maximum the camera white level ("full well" or saturation value)? If so I am a bit confused as the data I'm testing with appears to contain pixel values that are greater than color.maximum (after subtraction of dark level).

To be more specific I'm using a CR2 file from a Canon EOS 60Da where color.maximum is showing up as 12279 but the largest pixel value in raw_image (ignoring the frame) is 13259 (after subtraction of dark value of 2047).

If color.maximum isn't the white level, is the white level for the camera available in libraw?

Why am I asking? Because when I apply my own linear image stretch to the raw data in raw_image, I wish to scale it so that a white level pixel comes out as USHORT_MAX so that files with difference exposures are represented correctly.

Thanks

Forums: