Docs

ColorCorrectionMatrix

Derives a camera’s color correction matrix from a photograph of a color target, and applies it.

ColorCorrectionMatrix  

Derives a camera’s color correction matrix from a photograph of a color target, and applies it.

Categories: ColorCalibration

1 Introduction  

A color correction matrix is the standard first-order characterization between a cameras spectral response and CIE color matching functions. It is the 3×3 linear map from device RGB to a tristimulus space, chosen to minimize a colorimetric error over a set of training stimuli. This tool derives that matrix from a photograph of a reflective test target of known CIELAB reference values (a ColorChecker or a compatible chart) and applies it.

2 Screenshot  

Measured patches
The grid locked to the patch edges, sampling 70% of each patch's area. The green outlines on the preview show the exact sampled regions, and each measured patch fills one row of the table.

3 Example Images  

Before and after
The same linear integration before and after the matrix. Both views are shown with the same screen transfer function.