If I have a stack with ROIs that are associated with the slices, then show ROI correctly shows each ROI in the correct slice.

However, if I then use the ROI Manager properties button ot change the ROI color (eg, from red to blue) then all of the ROIs get moved to a single slice.

Here is a macro to demonstrates this:

run("T1 Head (16-bits)");
setAutoThreshold("Default dark");
run("Analyze Particles...", "display clear add stack");
roiManager("Show All without labels");
resetThreshold;
RoiManager.associateROIsWithSlices(true);
RoiManager.setGroup(0);
RoiManager.setPosition(1);
roiManager("Set Color", "blue");
roiManager("Set Line Width", 0);
roiManager("Show None");
roiManager("Show All");
setSlice(1);

--
--aryeh
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
+972-3-5317638

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

Reply via email to