ACES NPM round about calculation question #1339
Replies: 4 comments
-
Hello @eyeforcolor, I don't have the document front of me so I'm not sure what the Maybe @aforsythe or @sdyer can help here! Cheers, Thomas |
Beta Was this translation helpful? Give feedback.
-
Don't know about a colab, but there is a @KelSolaar, you may want to fix whatever has gone wrong with the equation formatting in that post. Or rather, the equations are ok. It's the inline maths that is coming out as unrendered LaTeX. |
Beta Was this translation helpful? Give feedback.
-
Apologies, here is the google collab link that has the code below.
This is linked from colour-science.org and is titled "colour_how-to-guide.ipynb". |
Beta Was this translation helpful? Give feedback.
-
I was looking at the same code recently and got matching results using your method as well, doing something similar to the following:
(fyi I am not a colour expert) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Reading through the google colab explanation of "how to derive the primaries and white point from an ACES Input Device Transform (IDT) matrix" I see the following code to calculate the NPM
NPM = matrix_RGB_to_RGB_to_normalised_primary_matrix( np.linalg.inv(M_IDT), colour.RGB_COLOURSPACES['ACES2065-1'].matrix_XYZ_to_RGB)
Wouldn't you get similar matrix by doing the below?
NPM = np.dot(colour.RGB_COLOURSPACES['ACES2065-1'].matrix_RGB_to_XYZ, M_IDT)
I checked the output and they do give exact same result, just wanted to understand if there is something I am missing when using the method from google colab.
Please let me know!
Beta Was this translation helpful? Give feedback.
All reactions