Skip to content

How to create a 3D LUT to perform a colour transformation? #1295

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

You must be logged in to vote

Conversion from DCI-P3 to sRGB must be done by using colour.RGB_to_RGB(x, "DCI-P3", "sRGB") not the reverse which maps from sRGB to DCI-P3.

Then I'm assuming that you are going from a cinema-like display to HDTV one, hence the BT.1886 transfer function used which has a gamma of 2.4 and typically encodes sRGB/Rec.709 signals.

What do you mean by higher? Values going slightly over one? This is because of the whitepoint change, so depending your processing chain, you might need to either normalise the LUT or normalise post LUT application.

Replies: 5 comments 21 replies

Comment options

You must be logged in to vote
5 replies
@jfitch12
Comment options

@KelSolaar
Comment options

@jfitch12
Comment options

@KelSolaar
Comment options

@KelSolaar
Comment options

Comment options

You must be logged in to vote
6 replies
@KelSolaar
Comment options

@KelSolaar
Comment options

@jfitch12
Comment options

@KelSolaar
Comment options

Answer selected by jfitch12
@jfitch12
Comment options

@KelSolaar
Comment options

Comment options

You must be logged in to vote
1 reply
@KelSolaar
Comment options

Comment options

You must be logged in to vote
5 replies
@KelSolaar
Comment options

@jfitch12
Comment options

@KelSolaar
Comment options

@jfitch12
Comment options

@KelSolaar
Comment options

Comment options

You must be logged in to vote
4 replies
@KelSolaar
Comment options

@jfitch12
Comment options

@KelSolaar
Comment options

@KelSolaar
Comment options

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