Login  Register

Re: ParticleAnalyzer and ResultsTable

Posted by Gabriel Landini on Dec 12, 2014; 5:12pm
URL: http://imagej.273.s1.nabble.com/ParticleAnalyzer-and-ResultsTable-tp5010924p5010930.html

Hi Philippe,

On Friday 12 Dec 2014 14:20:27 Philippe CARL wrote:
> The problem is that I don't have an empty result window (from previous
> analysis and computation) within the macro before I launch the "Analyze
> Particles...".
> And by using the "clear" option you will erase everything that is before in
> the result window.

I see. I do not have a suggestion other than saving the data and reloading it,
or as others suggested to rename the Results table and recall it.
So, in short, at the moment I do not think you can call the particle analyzer
without using the Results Table.
It should be possible to create a macro or plugin that only loads multiple
ROIs to the ROI Manager without using the Results Table.

But there might be other ways of doing what you want, in a different order.
Perhaps if you explain in more detail what the analysis is trying to do we
might be able to provide other suggestions.

For example if you wanted to create the ROIs in the ROI manager, and it does
not matter if all regions are a single ROI:
run("Blobs (25K)");
setThreshold(126, 255);
setOption("BlackBackground", true);
run("Convert to Mask");
setThreshold(1, 255);
run("Create Selection");
roiManager("Add");

Cheers

Gabriel

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