hi!

use pix_rgb2hsv to convert to hsv colorspace.
then use pix_curve with 3 different tables for hue, saturation and value to filter out the desired color.
then convert back with pix_hsv2rgb.
it's a little bit of experimenting with the curves...

matthias

Am 24.05.12 21:54, schrieb Alexandros Drymonitis:
Hi,
I'm trying to use some patches Max Neupert has published, to track motion. The patches use [pix_movement], [pix_background], [pix_blob] and other objects (not all of them in all the patches). I can track white for now fine, but can't really find out how to track green, for example (well, the actual color I want to track is greenish).
Any suggestions on how to do this?


_______________________________________________
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev