(sorry if double post) Hi here are my first steps in my attempt to writing a flext lib using openCV computervision library.
Instead of writing new pix_objects or pdp_objects, the idea is to use an internal array of pointers pointing to opencv data structures and to pass indexes from one object to another. This way, it is possible to work on images but also on other data structures (like IplImage, cvSeg, cvPoint, etc... )
In this very first attempt, i wrote some externals in a flext lib : smooth-median, smooth-gaussian , dilate, erode, canny (contour detection), displaying window and a bridge from / to GEM pixes.
You can have a look on source code and build for windows xp here http://jy.gratius.free.fr/?q=node/167.
I don't intend to write a exhaustive library, only objects I need for my artistic purposes. But if you want to feedback / contribute, you are welcome... best, Jean-Yves
I started doing the same thing a while ago. I learned a lot from the process but then I discovered this...
http://www.hangar.org/wikis/lab/doku.php?id=start:puredata_opencv
I know everyone has different needs when it comes to open source projects but maybe if these objects are not exactly what you need you can contribute to that project. That way there is a focused effort into making a great set of opencv objects. This is in no way my project and I dont know if it's authors even want contributions but they do have a portion on dev info so I figured that they would not mind.
my2cents
On Wed, Feb 25, 2009 at 7:25 AM, Jean-Yves Gratius jygratius@club.frwrote:
(sorry if double post) Hi here are my first steps in my attempt to writing a flext lib using openCV computervision library.
Instead of writing new pix_objects or pdp_objects, the idea is to use an internal array of pointers pointing to opencv data structures and to pass indexes from one object to another. This way, it is possible to work on images but also on other data structures (like IplImage, cvSeg, cvPoint, etc... )
In this very first attempt, i wrote some externals in a flext lib : smooth-median, smooth-gaussian , dilate, erode, canny (contour detection), displaying window and a bridge from / to GEM pixes.
You can have a look on source code and build for windows xp here http://jy.gratius.free.fr/?q=node/167.
I don't intend to write a exhaustive library, only objects I need for my artistic purposes. But if you want to feedback / contribute, you are welcome... best, Jean-Yves
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev