|
This post was updated on .
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");
}
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
|