Re: YUV!

Date: Wednesday, 29 March 2006 02:57 am (UTC)
chezmax: (Default)
From: [personal profile] chezmax
You've forgotten to log in.

YUV as described in Wikipedua has the same equations as the Jpeg YCbCr (which is the very last box in the wikipedia YCbCr article.

In the YUV article they're treated as floating point numbers between 0-1.
In the YCbCr, they're treated as 8 bit numbers.

This is the relevant bit:
Y' =       + 0.299    * R'd + 0.587    * G'd + 0.114    * B'd
Cb = 128   - 0.168736 * R'd - 0.331264 * G'd + 0.5      * B'd
Cr = 128   + 0.5      * R'd - 0.418688 * G'd - 0.081312 * B'd


Either way, you shouldn't have too much difficulty with it, and it's likely to be much more useful than HSV. :)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

December 2024

S M T W T F S
12 34567
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Thursday, 25 December 2025 08:41 am
Powered by Dreamwidth Studios