Chroma Keying

Does anyone have a good algorithm for rgb -> chroma conversion and chroma keying?
[91 byte] By [zigvelveta] at [2007-9-28 16:49:24]
# 1
explain
jcjasra at 2007-7-12 14:06:37 > top of Java-index,Other Topics,Algorithms...
# 2
Chroma keying => the process of removing a specific shade of colour from an image with the purpose of replacing it with the contents of another image.Chroma differs from RGB in that the luminence (brightness if you like) is separated from the hue of the colour.
zigvelveta at 2007-7-12 14:06:37 > top of Java-index,Other Topics,Algorithms...
# 3
Algorithm? I think what you actually mean is "How can I convert RGB to HSV?", and the answer is to use Color.RGBtoHSB.
YATArchivista at 2007-7-12 14:06:37 > top of Java-index,Other Topics,Algorithms...
# 4
Actually what I would like is YCbCr.
zigvelveta at 2007-7-12 14:06:37 > top of Java-index,Other Topics,Algorithms...
# 5
Have you checked JAI?John
DrJohnFostera at 2007-7-12 14:06:37 > top of Java-index,Other Topics,Algorithms...