Add new comment

You can use cam_xyz matrix.

You can use cam_xyz matrix. it is 4x3 because bayer data contains 4 channels (in general).
For cameras with two identical green channels this matrix is actually 3x3 (last row is zeroes)

-- Alex Tutubalin