[GEM-dev] pix_chroma_key not acting as I expect?

Mathieu Bouchard matju at artengine.ca
Wed Apr 26 23:32:59 CEST 2006


On Tue, 25 Apr 2006, B. Bogart wrote:

> I still could not get pix_chroma_key to key on "value 16,16,16" remember
> our green is 0,240,0 not 0,255,0. (which I guess is YUV 0,0,0)? what
> should the YUV range be like for this video?

Here, YUV 0,0,0 is RGB -179,135,-227, a very out-of-range colour that gets 
clipped as RGB 0,135,0.

The RGB 0,255,0 gets converted to YUV 149,43,19 and RGB 0,240,0 to YUV
140,48,26.

I am using the other type of YUV, but there's only a 13% difference
between the two types of YUV, soooo...

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada




More information about the GEM-dev mailing list