append in macro ROI multi-measure function

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

append in macro ROI multi-measure function

Krs5
Dear Wayne and listers,

I think I have stumbled onto a bug in the macro ROI multi-measure function.

If you run the macro below twice it shows that although the results table is cleared they seem to stay somewhere in memory as in the  results table from the second run the results are appended to the results from the first run.

run("Blobs (25K)");
run("Clear Results");
doWand(136, 54, 30.0, "Legacy");
roiManager("Add");
doWand(129, 127, 30.0, "Legacy");
roiManager("Add");
roiManager("multi-measure one append");
close();
selectWindow("ROI Manager");
run("Close");

The append option has been included so we can analyse a whole directory. However if we continue with the next directory the previous data is still included. Only closing and reopening Fiji seems to solve the problem.

Best wishes

Kees

Dr Ir K.R. Straatman
Senior Experimental Officer
Advanced Imaging Facility
Centre for Core Biotechnology Services
University of Leicester
http://www2.le.ac.uk/colleges/medbiopsych/facilities-and-services/cbs/lite/aif


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: append in macro ROI multi-measure function

Rasband, Wayne (NIH/NIMH) [E]
> On Mar 18, 2016, at 8:37 AM, Straatman, Kees (Dr.) <[hidden email]> wrote:
>
> Dear Wayne and listers,
>
> I think I have stumbled onto a bug in the macro ROI multi-measure function.
>
> If you run the macro below twice it shows that although the results table is cleared they seem to stay somewhere in memory as in the  results table from the second run the results are appended to the results from the first run.

This bug is fixed in the latest ImageJ daily build (1.50i8).

-wayne

> run("Blobs (25K)");
> run("Clear Results");
> doWand(136, 54, 30.0, "Legacy");
> roiManager("Add");
> doWand(129, 127, 30.0, "Legacy");
> roiManager("Add");
> roiManager("multi-measure one append");
> close();
> selectWindow("ROI Manager");
> run("Close");
>
> The append option has been included so we can analyse a whole directory. However if we continue with the next directory the previous data is still included. Only closing and reopening Fiji seems to solve the problem.
>
> Best wishes
>
> Kees
>
> Dr Ir K.R. Straatman
> Senior Experimental Officer
> Advanced Imaging Facility
> Centre for Core Biotechnology Services
> University of Leicester
> http://www2.le.ac.uk/colleges/medbiopsych/facilities-and-services/cbs/lite/aif
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: append in macro ROI multi-measure function

Krs5
Dear Wayne,

Many thanks!

Kees

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Rasband, Wayne (NIH/NIMH) [E]
Sent: 19 March 2016 04:10
To: [hidden email]
Subject: Re: append in macro ROI multi-measure function

> On Mar 18, 2016, at 8:37 AM, Straatman, Kees (Dr.) <[hidden email]> wrote:
>
> Dear Wayne and listers,
>
> I think I have stumbled onto a bug in the macro ROI multi-measure function.
>
> If you run the macro below twice it shows that although the results table is cleared they seem to stay somewhere in memory as in the  results table from the second run the results are appended to the results from the first run.

This bug is fixed in the latest ImageJ daily build (1.50i8).

-wayne

> run("Blobs (25K)");
> run("Clear Results");
> doWand(136, 54, 30.0, "Legacy");
> roiManager("Add");
> doWand(129, 127, 30.0, "Legacy");
> roiManager("Add");
> roiManager("multi-measure one append"); close(); selectWindow("ROI
> Manager"); run("Close");
>
> The append option has been included so we can analyse a whole directory. However if we continue with the next directory the previous data is still included. Only closing and reopening Fiji seems to solve the problem.
>
> Best wishes
>
> Kees
>
> Dr Ir K.R. Straatman
> Senior Experimental Officer
> Advanced Imaging Facility
> Centre for Core Biotechnology Services University of Leicester
> http://www2.le.ac.uk/colleges/medbiopsych/facilities-and-services/cbs/
> lite/aif
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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

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