What's the preferred way to compute the ColorMatrix of a new camera?
Is it possible to compute the ColorMatrix from the ForwardMatrix?
It seems that the ColorMatrix can be computed from the ForwardMatrix using the following formula:
CM = WB * FM^{-1} * MW^{-1}
where:
- WB is the camera neutral values as a diagonal matrix
- FM is the forward matrix
- MW is the chromatic adaptation matrix
I tried this formula on some color profiles made by Adobe and compared with the existing ColorMatrix.
However, this formula yields a different result than the one existing in the profiles.
What am I doing wrong?