Jump to content
IGNORED

How to Decode a Chrominance Value?


ColecoFan1981

Recommended Posts

How does one decode a chrominance value for a certain color like, say, 0.267, if the phase angle of that color is 237 degrees?

 

In other words:

E'I = gamma corrected I signal

E'Q = gamma corrected Q signal

I = orange-cyan axis signal, situated 33 degrees ahead of the ER-EY axis.

Q = magenta-green axis signal, situated 33 degrees ahead of the EB-EY axis.

 

In other words, how do I decode a chrominance value (which is equal to the square root of the sum generated from the sum of the squares E'I and E'Q) back to its respective I and Q values, which I can then convert to RGB values later?

 

Are there any reliable formulas/matrices out there (such as those devised by Charles Poynton) for which I can do this?

 

Thank you,

 

 

 

Ben

Edited by ColecoFan1981
Link to comment
Share on other sites

  • 2 months later...

If you are going to/from RGB you also need the Luma, not just the Chroma phase/saturation. Note: these are NTSC CCIR 601 formulas, ASTC is different.

 

Y = 0.299R' + 0.587G' + 0.114B'

I = 0.596R' - 0.275G' - 0.321B'

Q = 0.212R' - 0.523G' + 0.311B'

 

(All values are gamma corrected.)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...