ColecoFan1981 Posted February 4, 2009 Share Posted February 4, 2009 (edited) 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 February 4, 2009 by ColecoFan1981 Quote Link to comment Share on other sites More sharing options...
EricBall Posted April 29, 2009 Share Posted April 29, 2009 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.) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.