Posted by
Rasband, Wayne (NIH/NIMH) [E] on
Sep 11, 2015; 2:50am
URL: http://imagej.273.s1.nabble.com/Analyze-Particles-changes-the-results-settings-tp5013849p5014314.html
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