Login  Register

Re: Two result tables, possible?

Posted by Aryeh Weiss on Jun 07, 2010; 6:21am
URL: http://imagej.273.s1.nabble.com/Two-result-tables-possible-tp3687562p3687572.html

Rasband, Wayne (NIH/NIMH) [E] wrote:

>> 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
>

This is great!

Can the functions that access the results table (getResults, etc) select
which result table to use?

--aryeh
--
Aryeh Weiss
School of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051