Login  Register

Re: automated process

Posted by Oran Kennedy on Aug 30, 2005; 8:54am
URL: http://imagej.273.s1.nabble.com/Re-automated-process-tp3704941.html

Hello,

I noticed from the below email that you can run a particular analysis for
each image in a folder by means of an automated process. Can anyone tell me
how to do that?

Many Thanks,

Oran

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Stella
Sim
Sent: 30 August 2005 10:50
To: [hidden email]
Subject: Re: Collecting Results from Results Box

Hi Brent,

If you store the measurements  in the result table(default), the data will
be appened to the result table everytime you run an image analysis anyway.
What I have done is that I put all the images of interest in one folder,
and run my image analysis for each image in the folder (automated proces),
results for each image were then appened to the same result table. After
finishing my analysis,  the content of the result table was saved to the
specified path.

I have also done in a slighly different way, instead of using the default
result table in ImageJ, I stored measurements in a text window...and use
append function to append the new measurements to the exisitng data....the
data wers stored in text format , and can be easily exported to a
database....I hope it help...


void writeResultMean(){
           if (mtwMean==null){
            titleMean = "Mean values";
            headingMean =
"Name\tWidth\tCount\tArea\tstd\tPerimeter\tstd\tAngle\tstd\tAR\tstd\tComp\ts
td\tRound\tstd\tForm
 Factor\tstd\tEq Diam\tstd";
            mtwMean = new TextWindow(titleMean, headingMean, aLineMean,
850, 180);
           }
             else mtwMean.append(aLineMean);
      }


Stella