Login  Register

Re: Logging pixel counts

Posted by Richard VanMetter on Nov 28, 2012; 1:51pm
URL: http://imagej.273.s1.nabble.com/Logging-pixel-counts-tp5000962p5000987.html

Wayne, is "i" a running index used in Batch>Macro used to track the
number of images that have been processed? Is it automatically incremented?

    Run Process>Batch>Macro, click "Input..." and select the directory
    containing the files, paste
         if (i==0)
            print("\\Clear");
         getRawStatistics(n,mean,min,max,sd,hist);
         print(getTitle+"\t "+hist[139]);
    into the macro box, then press "Process". When finished, use the
    "Log" window's File>Save As command to save the table.

    -wayne

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html