For Programmers: Free Programming Magazines  


Home > Archive > Compression > September 2006 > YCbCr to RGB conversion









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author YCbCr to RGB conversion
kumarsunilsan@gmail.com

2006-09-08, 6:55 pm

Hi all

I am converting data from YCbCr to RGB Using

R= (Y + (1.4075 * (Cr - 127))) ))
G=( (Y1 - (0.3455 * (Cb - 127) - (0.7169 * (Cr - 127)))) )
B=( (Y1 + (1.7790 * (Cb - 127))) )

But not getting the right colors like Yellow colors look very near to
safron.

Please suggest some idea to recover from this.

at
kumarsunilsan@gmail.com

Frank Mertens

2006-09-09, 6:55 pm

kumarsunilsan@gmail.com wrote:
> Hi all
>
> I am converting data from YCbCr to RGB Using
>
> R= (Y + (1.4075 * (Cr - 127))) ))
> G=( (Y1 - (0.3455 * (Cb - 127) - (0.7169 * (Cr - 127)))) )
> B=( (Y1 + (1.7790 * (Cb - 127))) )
>
> But not getting the right colors like Yellow colors look very near to
> safron.
>
> Please suggest some idea to recover from this.
>
> at
> kumarsunilsan@gmail.com
>


You may take a look Charles Poynton's color FAQ
(http://www.poynton.com/ColorFAQ.html).
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com