How to get the positions after using makeRectangle

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to get the positions after using makeRectangle

YuriGagarine
Hi all,

I would like to know if it is possible to get the position after using makeRectangle. I know about "Record" but what I want is letting the user choose his own rectangle and get the positions to make subsequent calculations.

Sorry for my english.
Reply | Threaded
Open this post in threaded view
|

Re: How to get the positions after using makeRectangle

gankaku
Hi 'Yuri',

you can include the following commands in a potential macro:

 -  getSelectionBounds(x, y, width, height);

 -  Roi.getBounds(x, y, width, height);

reference: http://rsbweb.nih.gov/ij/developer/macro/functions.html

regards,
Jan


2014-02-24 10:20 GMT+01:00 YuriGagarine <[hidden email]>:

> Hi all,
>
> I would like to know if it is possible to get the position after using
> makeRectangle. I know about "Record" but what I want is letting the user
> choose his own rectangle and get the positions to make subsequent
> calculations.
>
> Sorry for my english.
>
>
>
> --
> View this message in context:
> http://imagej.1557.x6.nabble.com/How-to-get-the-positions-after-using-makeRectangle-tp5006651.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>



--

CEO: Dr. rer. nat. Jan Brocher
phone:  +49 (0)6234 917 03 39
mobile: +49 (0)176 705 746 81
e-mail: [hidden email]
info: [hidden email]
inquiries: [hidden email]
web: www.biovoxxel.de

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