Login  Register

Re: How to use "makePolygon"?

Posted by sabin basi on Jun 22, 2009; 10:51am
URL: http://imagej.273.s1.nabble.com/How-to-use-makePolygon-tp3692059p3692065.html

Hello,

Could anyone please help me, how to cluster the data coordinates acquired,
to give a meaningful distinction from homogenous and heterogenous
distribution of data points in different images.

anticipating for the kind help

thanks

sabin



----- Original Message -----
From: "Juanjo Vega" <[hidden email]>
To: <[hidden email]>
Sent: Monday, June 22, 2009 12:22 PM
Subject: How to use "makePolygon"?


Hi!

I'm trying to programmatically select a Roi as a ploygon. I started
recording a macro and I got the following:

//setTool(2);
makePolygon(175,20,106,161,264,227,348,78,201,103,231,31);


But when I try to use "makePolygon()" at my code, it doesn't work.
I'm not sure at all about the method because the number of arguments can
vary.

Any idea?

Sincerelly,
Juanjo.

--
Juanjo Vega ([hidden email])

Unidad de Biocomputación. Laboratorio B-13.
Centro Nacional de Biotecnología. CNB-CSIC.
C\ Darwin, 3. Campus de Cantoblanco.
Universidad Autónoma de Madrid.
28049, Madrid, Spain.

http://www.cnb.csic.es
http://www.biocomp.cnb.uam.es

+34 91 585 4510


"Las mejores almas son capaces de los mayores vicios como de las mayores
virtudes, y aquellos que caminan despacio por el camino recto pueden llegar
más lejos que los que corren pero se apartan de él." - Discurso del Método,
René Descartes.