Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement support for "YCxCz" colourspace. #612

Open
KelSolaar opened this issue Jul 19, 2020 · 4 comments
Open

Implement support for "YCxCz" colourspace. #612

KelSolaar opened this issue Jul 19, 2020 · 4 comments

Comments

@KelSolaar
Copy link
Member

@Artoria2e5
Copy link

Artoria2e5 commented Jun 26, 2023

There seems to be more than one "YCxCz" around; documentation should reflect that.

@nick-shaw
Copy link
Contributor

Yes, I came across the DCI reference to YCxCz before, but was unable to find any spec for it. Does that mean it is simply the result of feeding X'Y'Z' into an encoder expecting (Rec.709?) R'G'B'? It is not clear.

@Artoria2e5
Copy link

My guess is that they just use the X' and Z' as if these are chroma and just do subsampling on them. Cinema people and their secrecy doesn't exactly help with understanding.

@nick-shaw
Copy link
Contributor

You could well be right.

I was trying to think what appropriate weightings for X'Y'Z' would be. In theory they should be [0.0, 1.0, 0.0] since Y'CbCr luma is meant to be an approximation of gamma encoded luminance, and the Y' in X'Y'Z' already is gamma encoded luminance. But I don't think using K=[0.0, 0.0] in colour's RGB_to_YCbCr function would produce a very good encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants