Login  Register

Re: Analyze Particles changes the results settings

Posted by Avital Steinberg on Sep 10, 2015; 5:40pm
URL: http://imagej.273.s1.nabble.com/Analyze-Particles-changes-the-results-settings-tp5013849p5014312.html

Hi Thomas,
Wayne recommended opening the ROI manager before doing anything else -
somehow, it fixes it. I was programming using the macro language and I had
this issue. Now I have a new, very similar issue when using Javascript:

I can initiate the ROI manager using a boolean argument that specifies if I
want the ROI manager to be displayed. If I try to hide the ROI manager -
bad things happen to my results table. (some of the data disappears from
it) So I am currently displaying the results table all the time.

Does this work around work for you? If anyone knows how to hide the ROI
manager without encountering the problem I'm having - I'll be happy to know.

Thanks,
Avital

On Thu, Sep 10, 2015 at 6:29 PM, Thomas GUILBERT <[hidden email]>
wrote:

> Hi,
> I have the same issue as Avital Steinberg.
> More precisely the function "Clear Results" seems to clean the measures
> tablebut not nResults var(IJ 1.49v or 1.5b).
> Does anyone have an idea ?
>
> Thanks,
>
>
>
> Le 02/08/2015 15:56, Avital Steinberg a écrit :
>
>> 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. 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
>>
>>
> --
> Thomas GUILBERT, PhD
> Plate-Forme Cochin Imagerie,
> Institut Cochin - INSERM U1016
> Bât. Gustave Roussy 5ème étage
> 22 rue Méchain, 75014 PARIS
>  tel: 01 40 51 66 55
>
> http://www.cochin.inserm.fr/
> [hidden email]
>
>

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