exrchr - apply chromatic adaptation to an OpenEXR image
exrchr input.exr blur.exr output.exr degree_of_adaptation
Applies chromatic adaptation on the given input file using a per-pixel
whitepoint from the file blur.exr. The degree of adaptation is specified on
the command line, and should be in the range [0,1] where 1 means fully adapted
to the white point.
Chromatic adaptation is performed using the space and transform
from the CIECAM02 colour appearance model.
Billy Biggs <vektor@dumbterm.net>.