Re: Multiple results tables

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Multiple results tables

Weller Andrew Francis
I can't see an answer to this in the archives; I think I could do with
something similar to this...

I am constantly using the results table as a medium to listen to the
response to an external command (controlling a microscope through the serial
port), but I also need the results table to store, well, imaging results
that will finally be written to a file for subsequent analysis.

One thought I've had is to open and modify a text file. So if I have
multiple instances similar to this:

run("Set Measurements...", "area redirect=None decimal=3");
area = getResult("Area");
etc...

I'll have all my results stored as variables. I can then open a file and
append a row of results to this. I guess this can be done with some 'File
functions'?!? Any ideas?

Many thanks, Andy

On Fri, 6 Aug 2004 12:03:40 +0200, Thomas Azzola <[hidden email]> wrote:
>Hi everyone,
>
>I have to analyse images (with the same process) and I need for each one a
different result table.
>My analyze process is in a loop. So,when a result table is created,results
are added to the result table but it doesn't create a new result
table(otherly named).
>
>How could I do that ?
>
>Thomas
>========================================================================
Reply | Threaded
Open this post in threaded view
|

Re: Multiple results tables

Jerome Mutterer
Andy, you are right, you CAN use the File.* functions.

You can read the description of these at:
http://rsb.info.nih.gov/ij/developer/macro/functions.html#F

and you can also get and study the OpenFileDemo.txt macro at:
http://rsb.info.nih.gov/ij/macros/OpenFileDemo.txt

Jerome

Quoting Andy Weller <[hidden email]>:

> I can't see an answer to this in the archives; I think I could do with
> something similar to this...
>
> I am constantly using the results table as a medium to listen to the
> response to an external command (controlling a microscope through the ser=
> ial
> port), but I also need the results table to store, well, imaging results
> that will finally be written to a file for subsequent analysis.
>
> One thought I've had is to open and modify a text file. So if I have
> multiple instances similar to this:
>
> run("Set Measurements...", "area redirect=3DNone decimal=3D3");
> area =3D getResult("Area");
> etc...
>
> I'll have all my results stored as variables. I can then open a file and
> append a row of results to this. I guess this can be done with some 'File=
>
> functions'?!? Any ideas?
>
> Many thanks, Andy
>
> On Fri, 6 Aug 2004 12:03:40 +0200, Thomas Azzola <[hidden email]> wr=
> ote:
>> Hi everyone,
>>
>> I have to analyse images (with the same process) and I need for each one=
>  a
> different result table.
>> My analyze process is in a loop. So,when a result table is created,resul=
> ts
> are added to the result table but it doesn't create a new result
> table(otherly named).
>>
>> How could I do that ?
>>
>> Thomas
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>