Login  Register

Re: specification of ROI in macro

Posted by Michael Schmid on Jan 08, 2008; 10:01am
URL: http://imagej.273.s1.nabble.com/imageJ-front-panel-fonts-size-tp3697649p3697652.html

Hi Aryeh,

you could use the "Wait_For_User" plugin:

http://imagejdocu.tudor.lu/imagej-documentation-wiki/plugins/ 
wait_for_user

Michael
________________________________________________________________

On 7 Jan 2008, at 06:56, Aryeh Weiss wrote:

> How does one interactively select an ROI in a Macro? I would like  
> to select the ROI in a loop, inside the macro. I see many ways to  
> manipulate an ROI once it exists, but I have not found a simple way  
> to specify the ROI by drawing with the mouse. It looks like I can  
> use getCursorLoc (as in GetCursorLoc Demo Tool) and then make it,  
> but I wonder if there is already a piece of a macro that does it,  
> probably better than I will.
>
> This must already be somewhere in the examples and in the mailing  
> list, but I just have not been able to find it.
>
> Thanks in advance
> --aryeh
> --
> Aryeh Weiss
> School of Engineering
> Bar Ilan University
> Ramat Gan 52900 Israel
>
> Ph:  972-3-5317638
> FAX: 972-3-7384050