Login  Register

I'd like to know how to measure all ROIs (200000~500000) using the macro as fast as manual measuring.

Posted by hatopop100 on May 21, 2020; 3:50am
URL: http://imagej.273.s1.nabble.com/I-d-like-to-know-how-to-measure-all-ROIs-200000-500000-using-the-macro-as-fast-as-manual-measuring-tp5023346.html

Dear all,

I'd like to measure all ROIs (200000~500000) using the macro.
So, I performed the macro referred to the past post as below.

----------------------------------
count=roiManager("count");
array=newArray(count);
for(i=0; i<count;i++) {
        array[i] = i;
}
roiManager("Select", array);
roiManager("Measure");
----------------------------------

But it worked very slow compared with the method manually select all ROIs
and put on the "Measure" button on ROI Manager.

Because I have to measure many slices (each has 200000~500000 ROIs), I'd
like to use the macro.
How should I do macro as fast as the manual method?
 
Sincerely,
Hayato



--
Sent from: http://imagej.1557.x6.nabble.com/

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