Skip to content

How to compute the color transformation matrix for Raw RGB to known XYZ? #896

Answered by KelSolaar
ssh4net asked this question in Q&A
Discussion options

You must be logged in to vote

Hi ssh4net,

Long story short: Yes this is absolutely possible, the simplest way and assuming you have a pair of data, i.e. reference and test samples, you can use one of the definitions in the colour.characterisation.correction module. Typically, a linear transformation, i.e. 1st order polynomial is used because it is exposure invariant. It is possible to use the Finlayson (2015) method with the root polynomials for same effect and then benefit from the precision of higher order/degree polynomial. The issue you might face is that polynomials tend to behave badly outside the "training" domain.

If you are looking at more refined optimisation processes, please look at the colour.characterisa…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KelSolaar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants