Pls: on results windows on ImageJ

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

Pls: on results windows on ImageJ

Juan Francisco-2
Dear all:
  I´m a user of ImageJ soft and I made a macro that analyses (in a sequence way) some images containing on a same directory. For each image, the macro give the meaurements of differents quantities on the image (center of mass, ...). However, the measurement results for each image overwrite the meaurements for the next image on the Results windows. Pls, does anyone how to program a results windows so that I get a line of results for each image?
  Thank you very much for all
  Best whises
  Juan Francisco

       
---------------------------------

Enviado desde Correo Yahoo!
El correo favorito de los internautas..
 
Reply | Threaded
Open this post in threaded view
|

Re: Pls: on results windows on ImageJ

Michael Doube
Juan

In your macro you will be calling

setResult("Column Heading", row, data);

In this case 'row' is the row number that 'data' is being written to in
column 'Column Heading' within the Results table.  So you need to
increment 'row' by 1 each time you write data to your results table if
you want to add data to the end of the table.  If you want to overwrite
data later on, you just have to specify 'row' and 'Column Heading' in
your macro.

Cheers

Mike

Juan Francisco wrote:

> Dear all:
>   I´m a user of ImageJ soft and I made a macro that analyses (in a sequence way) some images containing on a same directory. For each image, the macro give the meaurements of differents quantities on the image (center of mass, ...). However, the measurement results for each image overwrite the meaurements for the next image on the Results windows. Pls, does anyone how to program a results windows so that I get a line of results for each image?
>   Thank you very much for all
>   Best whises
>   Juan Francisco
>
>        
> ---------------------------------
>
> Enviado desde Correo Yahoo!
> El correo favorito de los internautas..
>  
>