-
-
Notifications
You must be signed in to change notification settings - Fork 274
PR: Add aliases for ITU-T H.273 video color metadata #987
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
PR: Add aliases for ITU-T H.273 video color metadata #987
Conversation
I think we will probably want every single one in its own module for consistency, will make surfacing them into the API easier too.
For some of them we have |
Okay, will do that.
I think i will need to look into it a bit more to be sure of what I'm doing, because technically these are beyond-full-range if I understand what their extended range means. This is similar to transfer characteristics that accept a floats in a [-1, 1] range, technically they're not "full-range", are they? I'll work on that PR as soon as I get some time, whose availability was pretty scarce the last couple of weeks ;) |
7035b06
to
2d0aa2e
Compare
Okay, should be good for review, I think.
|
0bb8a43
to
ffe668c
Compare
This commit adds additional transfer function and primaries defined or referenced to by ITU-T H.273, as well as aliases to their corresponding video metadata tag values (ColourPrimaries, MatrixCoefficients and TransferCharacteristics).
ffe668c
to
e53af2e
Compare
Thanks @fxthomas! I will try to look at your PR this week. I'm trying to boil the ocean! |
Hi @fxthomas, Thanks for the great work! I think I will probably merge it in a staging branch as it requires a polishing pass! Something that would be really helpful would be if you could implement the inverse of the new CCTF you added please? Cheers, Thomas |
@KelSolaar Sure! I added the inverses for all the new OETFs. Also when checking ITU-R BT.1361 I found a typo in the earlier commits (I had swapped the two lines in the Let me know if you need anything else. |
This is awesome, thanks a lot @fxthomas, I will review that over the weekend! |
@fxthomas : I will merge in a staging branch and varnish things a bit, thanks a lot! |
Summary
This implements what's discussed in #982.
I tried to stick as close to the original ISO standard as possible, but there are a few caveats:
colour.models.rgb.datasets
work. Let me know if this is not needed.Preflight
Personal todo
Code Style and Quality
colour
,colour.models
.Documentation