Compute and draw a contour
Feb 09 2008 | 3:04 pm
Hello,
A new (?) topic and question. Does anybody know if there is an
existing method to compute the single curve / contour containing all
the objects of a binary image ? I've searched the Examples patches
and forum, also the cv.jit helps, but I didn't find it.
I put an example image on :
http://picasaweb.google.com/thierryfournierparis/Jitter
Best,
Thierry
----------------------------------------
Thierry Fournier
http://www.thierryfournier.net
- Feb 10 2008 | 9:15 amHi Thierry,In what format would you need that contour? A box, an oval, a set of lines?MattijsQuote: thierry@thierryfourni wrote on Sat, 09 February 2008 16:04 ---------------------------------------------------- > Hello, > > A new (?) topic and question. Does anybody know if there is an > existing method to compute the single curve / contour containing all > the objects of a binary image ? I've searched the Examples patches > and forum, also the cv.jit helps, but I didn't find it. > > I put an example image on : > http://picasaweb.google.com/thierryfournierparis/Jitter > > Best, > > Thierry > > ---------------------------------------- > Thierry Fournier > http://www.thierryfournier.net > > > > > ----------------------------------------------------
- Feb 10 2008 | 9:52 am
- Feb 10 2008 | 1:40 pm
- Feb 10 2008 | 9:37 pmSo yea.. implementing Graham's algorithm with Jitter objects doesn't seem like a good idea and I don't think someone already wrote an external. You'd have to code your own. Since there are many code examples out there, that looks doable.Mattijs
- Feb 10 2008 | 9:58 pmmany moons ago we used this.built from scratch by Roman K. a talented coder i met. the idea was based on a remark by Nesa about the possibility of checking collision using alpha masks. this gives the benefit of working with organic shapes of all forms and shapes, and is very responsive. the code is java. check it out... and now on youtube (http://www.youtube.com/watch?v=GbMRvKMyNfE). expand, clean, rinse, use and share.
- Feb 11 2008 | 10:47 am
- Feb 11 2008 | 11:07 am
- Feb 11 2008 | 12:39 pmyou need to compile the java, its only source.the key3.jxf is part of the [ketstone2] subpatch, you can reset it by sending a bang to [send resetKeyst2] or just delete the whole subpatch if you dont need to correct the projection.attached is key3 and the compiled source
- Feb 11 2008 | 1:42 pmhere it is
- Feb 12 2008 | 7:05 am
- Feb 14 2008 | 3:17 pmHello,Does someone know the right versions of Python + py + pyext to use with MaxMSP 4.6, compatible between themselves, and the place where I could download it ?More generally, any sharing of Python - MSP interfacing would be greatly appreciated.... (We're trying Convex hull in Python ;-)BestThierry---------------------------------------- Thierry Fournier http://www.thierryfournier.net
- Feb 14 2008 | 3:35 pmthe link is http://grrrr.org/ext/beta/max/osx/ since it comes with no documentation I put very basic helppatches online http://www.parasitaere-kapazitaeten.net/max_msp/pyext_help marius.Thierry Fournier wrote: > Hello, > > Does someone know the right versions of Python + py + pyext to use with > MaxMSP 4.6, compatible between themselves, and the place where I could > download it ? > > More generally, any sharing of Python - MSP interfacing would be greatly > appreciated.... (We're trying Convex hull in Python ;-) > > Best > > Thierry > > ---------------------------------------- > Thierry Fournier > http://www.thierryfournier.net > > >
- Feb 14 2008 | 6:20 pm
- Feb 14 2008 | 10:07 pm
- Feb 14 2008 | 10:27 pmit looks like it's looking for python version 2.5.
- Feb 14 2008 | 11:04 pmRobert Ramirez wrote: > it looks like it's looking for python version 2.5.yes, that makes sense. I *think* python 2.5 is shipped with the apple development tools?? but not 100% sure.. marius.
- Feb 15 2008 | 4:51 pm
- Mar 08 2008 | 7:12 pm
- Jun 13 2011 | 9:05 pmhi there is a max object whose make convexhull process now ??? in the same way there is an object whose can give surface area of 2D point projection ?regards 0-0