ImageJ
ImageJ copied to clipboard
roiManager ignores selection when saving
From my (probably wrong) understanding, this should save ROIs number 4 and 5 to RoiSet.zip, no? It saves the first two though.
MRE:
newImage("Untitled", "16-bit black", 512, 512, 1);
makeRectangle(108, 51, 77, 54);
roiManager("Add");
makeRectangle(225, 181, 75, 56);
roiManager("Add");
makeRectangle(367, 118, 51, 54);
roiManager("Add");
makeRectangle(342, 263, 98, 69);
roiManager("Add");
makeRectangle(271, 367, 84, 72);
roiManager("Add");
roiManager("Select", newArray(3,4));
roiManager("Save selected", "C:/Users/atpoint/Desktop/RoiSet.zip");
Is this a bug or am I being stupid?