Login  Register

Re: Analyze Particles changes the results settings

Posted by Avital Steinberg on Sep 11, 2015; 10:46am
URL: http://imagej.273.s1.nabble.com/Analyze-Particles-changes-the-results-settings-tp5013849p5014315.html

Hi Wayne,
I appreciate all your help and I'm happy to contribute to the ImageJ daily
builds,

Avital

On Fri, Sep 11, 2015 at 5:50 AM, Rasband, Wayne (NIH/NIMH) [E] <
[hidden email]> wrote:

> On Aug 2, 2015, at 9:56 AM, Avital Steinberg <[hidden email]>
> wrote:
> >
> > Hi,
> > I have a problem - when I use Analyze, Particles, it changes the settings
> > of the result table, so that if I would like to append measurements to
> the
> > table, it "forgets" whatever was in the table before the Analyze,
> > Particles.
>
> This bug is fixed in the latest ImageJ daily build (1.50c9). Here is a
> macro that reproduces the problem:
>
>    run("Clear Results");
>    run("Blobs (25K)");
>    run("Measure");
>    print("nResults (before): "+nResults);
>    setAutoThreshold("Default");
>    run("Analyze Particles...", "include add");
>    print("nResults (after): "+nResults);
>
> With the daily build, it outputs
>
>    nResults (before): 1
>    nResults (after): 1
>
> With earlier versions of ImageJ, it outputs
>
>    nResults (before): 1
>    nResults (after): 65
>
> -wayne
>
>
> > For example, if I exit before Analyze, Particles, I can see
> > "This is cell1", but otherwise, it will not appear:
> >
> > run("Clear Results");
> > roiManager("Select", 0);
> > setResult("Cell", 0, "This is cell1");
> > updateResults();
> > setThreshold(11581, 36348);
> > run("Analyze Particles...", "include add");
> > resetThreshold();
> > roiManager("Select", 1);
> > getStatistics(area, mean);
> > area1 = area;
> > mean1 = mean;
> > setResult("Area", 0, area1);
> >
> > Why would this be?
> >
> > Thanks,
> > Avital
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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