[PD] processing images with GEM?

matteo sisti sette matteosistisette at gmail.com
Mon Jan 21 11:57:45 CET 2008


I have to perform some very very simple computer-vision tasks (such as
motion detection) on image data captured by a camera, and I was
considering/evaluating the possibility of using GEM to do that.

It would involve basically computing the difference between two
frames, background subtraction, masking an image with another one,
computing the avarage value over a rectangular portion of the image,
and this kind of things.

I'm a bit lost, since I guess there are probably facilities to do such
things in GEM, but I don't know where to look for.

1) Are there some pix_ objects to do these kinds of operations in a
reasonably efficient way?
2) Is it possible at all to use the openGL wrappers to do such
calculations in the GPU rather than CPU? Where may I find examples of
3) Are there some objects that already implement the latter approach
and offer basic functions at a slightly higher level, such as
frame-difference on a texture buffer?

If anyone can point me to any documentation/examples/tutorials
specific to this kind of things, I'll be very grateful.

Or maybe this is not the kind of things GEM is suitable for? Should I
forget about it and have a look at other platforms?


Matteo Sisti Sette
matteosistisette at gmail.com

More information about the Pd-list mailing list