Re: Two result tables, possible?
Posted by Rasband, Wayne (NIH/NIMH) [E] on Jun 06, 2010; 9:15pm
URL: http://imagej.273.s1.nabble.com/Two-result-tables-possible-tp3687562p3687563.html
> Dear list,
>
> Is it possible to create two different result tables in the same macro?
> For example I'm working with two stacks, applying some measurements
> on the nuclei and then on the fluorescent particles in every nucleus.
> So I need one result table for the nuclei and the other for the included
> particles, because every one has its own measurements.
> Is it possible in imagej?
You can create multiple result tables in the 1.44c4 daily build by using the new "Rename" command, available in the File menu of Results windows. Here is an example macro that uses the corresponding IJ.renameResults() macro function to create two result tables.
run("Blobs (25K)");
setAutoThreshold("Default");
run("Analyze Particles...", "display clear");
IJ.renameResults("Unsmoothed");
run("Gaussian Blur...", "sigma=2");
setAutoThreshold("Default");
run("Analyze Particles...", "display clear");
IJ.renameResults("Smoothed");
-wayne