Re: Problem with batch processing
Posted by
dscho on
Apr 05, 2014; 2:43pm
URL: http://imagej.273.s1.nabble.com/Problem-with-batch-processing-tp5007213p5007216.html
Hi Sam,
On Sat, 5 Apr 2014, sam wrote:
> dir = getDirectory("Choose a Directory");
>
> for (i=1; i<=nImages; i++) {
nImages is the number of currently open images, not the number of files in
the directory you just chose.
A better method would be to use
http://imagej.nih.gov/ij/docs/guide/146-29.html#sub:Batch with the part of
the macro that actually works on a single image (skipping the part that
saves the image because the Batch command already does that).
Ciao,
Johannes
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html