[PD] color position boundaries

IOhannes m zmölnig zmoelnig at iem.at
Fri Jan 24 10:40:03 CET 2014

On 01/23/2014 07:36 PM, R C wrote:
> Hi list,
> I'm trying to track movement with an IR camera on Windows. The motion detection works great with frame diff. The problem starts when I try to get the coordinates that surround the white color produced by the movement. With pix_blob I only get the center of the image, but I was wondering If I can get the boundaries of the movement (white color), like if the movement was framed by a rectange, so I can have something like upper left, down right coordinates. I know that in the max/jitter world there's a jit.findbound object that scans the whole image to find the position of a (range of) color as xy values, but my idea is not to switch and continue with Pd. Would be great if someone wants to share some ideas :)

[pix_multiblob] gives you a bounding-box (among other things)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 880 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140124/869aa3fc/attachment.pgp>

More information about the Pd-list mailing list