Login  Register

Re: How to get line width in a macro?

Posted by Herbie on Apr 29, 2019; 12:00pm
URL: http://imagej.273.s1.nabble.com/How-to-get-line-width-in-a-macro-tp5022142p5022143.html

Bonjour Christophe,

what about "getValue("selection.width")"?

However I'm not sure if it is possible to change the line width of a
polyline selection. In fact I doubt it.

Best

Herbie

::::::::::::::::::::::::::::::::::::::::::::::::::
Am 29.04.19 um 13:43 schrieb Christophe Leterrier:

> Hi,
>
> In a macro I'm writing, I am iterating through the ROI manager to change
> the width of polyline ROIs by a multiplicative factor. I can't find a way
> to get the line width for the selected polyline ROI, I only find a built-in
> macro function that sets the width. Is there a way to do this?
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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