[GEM-dev] Tracking a specific color

Matthias Kronlachner m.kronlachner at student.tugraz.at
Thu May 24 22:03:39 CEST 2012


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 at iem.at
> http://lists.puredata.info/listinfo/gem-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20120524/248578df/attachment.htm>


More information about the GEM-dev mailing list