Posted by
Le, Thai (NIH/NCI) [C] on
May 19, 2009; 3:17pm
URL: http://imagej.273.s1.nabble.com/Getting-the-selected-points-tp3690467p3690476.html
Juanjo,
I'm sorry you feel this way. I'm also new to ImageJ and find the wiki page is very helpful.
http://imagejdocu.tudor.lu/doku.php?id=howto:plugins:the_imagej_eclipse_howtoHope this help.
Regards,
-Thai
-----Original Message-----
From: Juanjo Vega [mailto:
[hidden email]]
Sent: Tuesday, May 19, 2009 9:28 AM
To: List IMAGEJ
Subject: Re: Getting the selected points
Haha, sorry, but there are not much samples or documents about programming with imageJ, or at least I can't find them after two weeks looking over the internet.
I had to discover some hard stuf like the underscore in jar files name ¬¬
I hope to learn as much as possible to become an useful list user too :)
Thanks again, Stephan.
Sincerely,
Juanjo
Stephan Saalfeld escribió:
> int[] ( PointRoi )ImagePlus.getRoi().getXCoordinates();
> int[] ( PointRoi )ImagePlus.getRoi().getYCoordinates();
>
>
http://rsb.info.nih.gov/ij/developer/api/ij/gui/PolygonRoi.html#getXCo> ordinates()
>
> those are unfortunately relative to the bounding box of the Roi which
> you can get by
>
> ( PointRoi )ImagePlus.getRoi().getBounds()
>
>
http://rsb.info.nih.gov/ij/developer/api/ij/gui/Roi.html#getBounds()
>
> I am looking forward to writing the next line of your Plugin ;)
>
> Best,
> Stephan
>
>
> On Tue, 2009-05-19 at 13:58 +0200, Juanjo Vega wrote:
>
>> Hi again!
>>
>> The macro recorder is a very useful tool, but after placing two
>> points in the image, I want to get their coordinates and I can't find
>> a way to do this.
>>
>> I can't find even an option in the menu so I can get it from the
>> macro recorder.
>>
>> Any idea?
>>
>> Thanks!, and sorry for inconvenience, but I'm just a begginner.
>>
>>
>
>
--
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.eshttp://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.