Login  Register

Re: bug in roimanager flatten

Posted by Herbie on Mar 08, 2018; 10:33am
URL: http://imagej.273.s1.nabble.com/bug-in-roimanager-flatten-tp5020228p5020229.html

Good day Aryeh,

are you running the current version of ImageJ?

With ImageJ 1.51v19, Java 1.6.0_65 no labels are shown.

Regards

Herbie

:::::::::::::::::::::::::::::::::::::::::
Am 08.03.18 um 10:09 schrieb Aryeh Weiss:

> With V1.51 , the following script writes the labels into the flattened
> image even when labels are not shown:
>
> newImage("Untitled", "8-bit black", 1024, 1024, 2);
> //setTool("point");
> makePoint(225, 152);
> roiManager("Add");
> makePoint(258, 268);
> roiManager("Add");
> makePoint(562, 514);
> roiManager("Add");
> makePoint(278, 664);
> roiManager("Add");
> makePoint(377, 745);
> roiManager("Add");
> makePoint(736, 504);
> roiManager("Add");
> makePoint(418, 854);
> roiManager("Add");
> makePoint(740, 358);
> roiManager("Add");
> makePoint(600, 752);
> roiManager("Add");
> makePoint(713, 358);
> roiManager("Add");
> roiManager("Show All");
> roiManager("Show All without labels");
> run("Flatten", "stack");
>
> V1.50 does not write the labels to the flattened image.
>
> This only happens for a stack -- a if you change the created image to
> newImage("Untitled", "8-bit black", 1024, 1024, 1);
> then it works as expected.
>
> --aryeh
>

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