I am working on desktop recording software that runs on Windows XP / 7. I would like to be able to remove backgrounds from the recorded video using the color keyboard.

(source: kudlian.net )
Any information on such algorithms, complete libraries, open source projects? I need it to be accessible from c #, and it is desirable that it works on GPUs (CUDA, pixel shaders, ...)
My video is available in RGB24 and YUY2, so it would be great if such a library could handle these formats.
Daniel Mošmondor
source share