How are the Mallett2019 basis functions calculated? #1257
Unanswered
NogginBops
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hello @NogginBops, This is a really good question and we should have written the details. I'm fairly confident that those were computed using the Matlab code in the @enneract : Would it be please possible to confirm? Cheers, Thomas |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the paper the authors suggest using the CIE 2006 LMS 10° Cone fundamentals (but I guess their XYZ color matching function equivalents).
The documentation however seems to imply that
CIE 1931 2 Degree Standard Observer
is used?https://colour.readthedocs.io/en/develop/generated/colour.recovery.spectral_primary_decomposition_Mallett2019.html
I'm trying to verify that "lossless"
RGB -> sd -> RGB
is possible with the method, but I'm struggling to get those resultsThis result seems pretty close as both green and blue are on the order of
e-10
but the red value has an error on the order ofe-4
which is much higher than what is expected.I'm not sure what is going wrong, but my guess is that it either has something to do with my normalization of D65 or my observer doesn't match the observer used to generate the Mallett2019 basis functions.
Maybe it would be a good idea to document more clearly how the values where generated if they are not generated as recommended in the paper?
Any help is appreciated! 🙂
Beta Was this translation helpful? Give feedback.
All reactions