Re: How to set the "Brush selection" size in a macro tool
Posted by
ERIC on
Oct 22, 2014; 7:07pm
URL: http://imagej.273.s1.nabble.com/How-to-set-the-Brush-selection-size-in-a-macro-tool-tp5010149p5010155.html
Thank you Wayne and Fabrice,
It works perfectly !!!
Eric Denarier
Grenoble Institut des Neurosciences
Inserm U836
Chemin Fortuné Ferrini
38700 La Tronche
France
Tél :33 (0)4 56 52 05 38
Fax :33 (0)4 56 52 06 57
http://neurosciences.ujf-grenoble.fr/Le 22/10/2014 20:47, Rasband, Wayne (NIH/NIMH) [E] a écrit :
> On Oct 22, 2014, at 7:46 AM, Eric Denarier <
[hidden email]> wrote:
>> Hi all,
>> I would like to have several "Brush Selection Tools" (not the paintBrush but the "Brush Selection") of different diameter to re-design selections faster.
>> Is there a way to set the size of this tool in a macro tool ? Something like setToolOption ()
> You can activate the selection brush tool and set its size using this macro code:
>
> size = 11;
> setTool("brush");
> call("ij.gui.Toolbar.setBrushSize", size);
>
> -wayne
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html