Forums > Jitter

Compute and draw a contour


February 9, 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

February 10, 2008 | 9:15 am

Hi Thierry,

In what format would you need that contour? A box, an oval, a set of lines?

Mattijs

Quote: 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
>
>
>
>
>
—————————————————-

February 10, 2008 | 9:52 am

February 10, 2008 | 12:10 pm

February 10, 2008 | 1:40 pm

February 10, 2008 | 5:55 pm

February 10, 2008 | 9:37 pm

So 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

February 10, 2008 | 9:58 pm

many 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.

February 11, 2008 | 10:47 am

February 11, 2008 | 11:03 am

February 11, 2008 | 11:07 am

February 11, 2008 | 12:39 pm

you 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

February 11, 2008 | 12:52 pm

February 11, 2008 | 1:42 pm

here it is

February 12, 2008 | 7:05 am

February 14, 2008 | 3:17 pm

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

February 14, 2008 | 3:35 pm

the 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
>
>
>

February 14, 2008 | 3:56 pm

February 14, 2008 | 6:20 pm

February 14, 2008 | 10:00 pm

February 14, 2008 | 10:07 pm

February 14, 2008 | 10:27 pm

it looks like it’s looking for python version 2.5.

February 14, 2008 | 11:04 pm

Robert 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.

February 15, 2008 | 8:04 am

February 15, 2008 | 4:51 pm

February 16, 2008 | 10:30 am

March 8, 2008 | 7:12 pm

March 8, 2008 | 7:38 pm

June 13, 2011 | 9:05 pm

hi
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

Viewing 29 posts - 1 through 29 (of 29 total)

Forums > Jitter