Just a clarification.
"Contrast" is the gamma correction in this image:
This means that the CCM is applied to the non-linear data once the gamma correction is complete?
Why I am asking
In case it helps I'll let you know why I am asking
We are trying to do spacially variant colour unmixing to remove colour desaturation that comes from the very strong lens shading. To do this we basically create a tensor which is a CCM for each pixel.
I am trying to linearise the calibration images and the images to be corrected. It is my understanding that I need to invert the CCM before I degamma? Is CCM coming after gamma hard coded into the pipeline or is there a way to adjust it?