http://imagej.273.s1.nabble.com/bug-in-roimanager-flatten-tp5020228p5020235.html
Thank you, Wayne.
Works as advertised.
>> On Mar 8, 2018, at 4:09 AM, Aryeh Weiss <
[hidden email]> wrote:
>>
>> With V1.51 , the following script writes the labels into the flattened image even when labels are not shown:
> This regression is fixed in the ImageJ 1.51v28 daily build and in the “1.51v” release candidate shown at the top of the “Upgrade to:” list in the Help>Upgrade ImageJ dialog.
>
> -wayne
>
>
>> 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> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>