He missed a few signs:
> [y,Co,Cg]' = [1/4, 1/2, 1/4].[r,g,b]'
> [1/2, 0, -1/2]
> [-1/4, 1/2, -1/4]
MSN
-----Original Message-----
From: gda...@li... [mailto:gda...@li...] On Behalf Of Jon Watte
Sent: Wednesday, April 23, 2008 10:58 AM
To: Game Development Algorithms
Subject: Re: [Algorithms] RGB to XYZ conversion
Sam Martin wrote:
> We recall from [1] that the direct YCoCg color space transform is defined by:
> [y,Co,Cg]' = [1/4, 1/2, 1/4].[r,g,b]'
> [1/2, 0, 1/2]
> [1/4, 1/2, 1/4]
>
That can't be right, as it collapses RGB into equal values for y and Cg.
You can't possibly reconstruct RGB from that.
sincerely,
jw
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
GDAlgorithms-list mailing list
GDA...@li...
https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list
|