Id of brush selection tool?

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

Id of brush selection tool?

Tiago Ferreira
hi,

On a macro where the user is prompted to redefine a ROI,
it would be useful to pre-activate the brush selection tool..

But it seems to share the same id of the elliptical one..

Any suggestions on how could it be done?
Or it is not possible at all?


Thanks,

T.
Reply | Threaded
Open this post in threaded view
|

Re: Id of brush selection tool?

Wayne Rasband
In ImageJ 1.39l and later you can select a tool by name using
setTool("rectangle"), setTool("elliptical"), setTool("brush"), etc.

-wayne

On Dec 2, 2007, at 3:43 PM, Tiago Ferreira wrote:

> hi,
>
> On a macro where the user is prompted to redefine a ROI,
> it would be useful to pre-activate the brush selection tool..
>
> But it seems to share the same id of the elliptical one..
>
> Any suggestions on how could it be done?
> Or it is not possible at all?
>
>
> Thanks,
>
> T.
>