Using Enlarge function with very large ROI sets
Posted by Jia-Ren_Lin on Sep 26, 2014; 5:39pm
URL: http://imagej.273.s1.nabble.com/Using-Enlarge-function-with-very-large-ROI-sets-tp5009786.html
Dear experts,
I'm trying to quantify timelapse images with nuclear fluorescent marker for
segmentation and also take cytoplasmic measurements by enlarging ROIs.
However, because of very large ROI sets (>50,000), my macro ran very slow.
counts=roiManager("count");
for(i=0; i<counts; i++) {
roiManager("Select", i);
run("Measure");
run("Enlarge...", "enlarge=4");
run("Measure");
}</b>
I've already setBatchMode("true"). It helps a little (save about half
time), but I was wondering if there is a way to speed up my macro.
Thanks,
Jerry