bug in roimanager flatten
Posted by
Aryeh Weiss on
Mar 08, 2018; 9:09am
URL: http://imagej.273.s1.nabble.com/bug-in-roimanager-flatten-tp5020228.html
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
--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel
Ph: 972-3-5317638
FAX: 972-3-7384051
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html