reloading results from text file(s)

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

reloading results from text file(s)

Guy Mayor
Hello,

I am new to this list and imagej, coming from NiIH image/object image and other clones;
just starting to develop macros.

I am analysing circular objects in batch from a hierarchy of folders, each one containing
several image files (one folder = one statistical sample).
So far, so good, all files are analysed, providing an area distribution picture, a control image with
labelled objects and their contour (quality control, and a text result file ready for excel import for
each individual picture.

I am now missing a full area distribution histogram and a full area txt file result for each  sample
(aka each folder)

Is it an easy way to "reload" several text result files in "results" window, and produce a complete
distribution from all results in one folder, and export a new result file with all area data for each
folder

I was not able to fill "results" table consistently on the fly because I am using analyze particles
several time for each pictures (selecting for given circularity classes), and didn't found command
for result pointer control like "SetCounter(n)"  in NIH

thanks for any suggestion (at  "macro" level for now, as far as possible)

Guy Mayor

 
Reply | Threaded
Open this post in threaded view
|

Re: reloading results from text file(s)

Jerome Mutterer
Guy,
You can use the Import_Results_Table.txt macro. It will read a  
previously saved Results table or any formatted data into a fresh  
result table. You will easily modify this macro to collect several  
results table txt files if they have the same format.

Jerome

Quoting Guy Mayor <[hidden email]>:

> Hello,
>
> I am new to this list and imagej, coming from NiIH image/object image and=
>  other clones;
> just starting to develop macros.
>
> I am analysing circular objects in batch from a hierarchy of folders, eac=
> h one containing
> several image files (one folder =3D one statistical sample).
> So far, so good, all files are analysed, providing an area distribution p=
> icture, a control image with=20
> labelled objects and their contour (quality control, and a text result fi=
> le ready for excel import for=20
> each individual picture.
>
> I am now missing a full area distribution histogram and a full area txt f=
> ile result for each  sample=20
> (aka each folder)
>
> Is it an easy way to "reload" several text result files in "results" wind=
> ow, and produce a complete=20
> distribution from all results in one folder, and export a new result file=
>  with all area data for each=20
> folder
>
> I was not able to fill "results" table consistently on the fly because I =
> am using analyze particles=20
> several time for each pictures (selecting for given circularity classes),=
>  and didn't found command=20
> for result pointer control like "SetCounter(n)"  in NIH
>
> thanks for any suggestion (at  "macro" level for now, as far as possible)=
>
>
> Guy Mayor
>
> =20=20
>