Re: Coordinates of a point on ROI

Posted by LIM Soon Yew John (IMB) on
URL: http://imagej.273.s1.nabble.com/Coordinates-of-a-point-on-ROI-tp5012285p5012290.html

Dear Rabih,

The macro command "getSelectionCoordinates(xpoints, ypoints)" will return two arrays containing the X and Y coordinates, in pixels, of the points that define the current ROI. Do note that not all the points are return, only those points that defines the ROI, such as corners of a rectangle ROI.

Best Regards,
John
-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of rabih assaf
Sent: Wednesday, 1 April, 2015 4:47 PM
To: [hidden email]
Subject: Re: Coordinates of a point on ROI

 I mean a point on the boundaries of tge ROI.
Thanks a lot.

> Date: Wed, 1 Apr 2015 10:35:26 +0200
> From: [hidden email]
> Subject: Re: Coordinates of a point on ROI
> To: [hidden email]
>
> Dear Rabih,
> In macro langage there is the instruction Roi.contains(x, y) or
> selectionContains(x, y).
> My best regards,
> Philippe
>
> Philippe CARL
> Laboratoire de Biophotonique et Pharmacologie UMR 7213 CNRS -
> Université de Strasbourg Faculté de Pharmacie
> 74 route du Rhin
> 67401 ILLKIRCH
> Tel : +33(0)3 68 85 41 84
>
> -----Message d'origine-----
> De : ImageJ Interest Group [mailto:[hidden email]] De la part de
> rabih assaf Envoyé : mercredi 1 avril 2015 10:15 À :
> [hidden email] Objet : Coordinates of a point on ROI
>
> Hello,
> Is there a way to find the coordinates of a point on the ROI?
> Thanks in advane,Rabih      
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
     
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html