Login  Register

Re: How to Batch Threshold, Crop & Save multi-page tiffs?

Posted by ctrueden on Nov 12, 2013; 10:04pm
URL: http://imagej.273.s1.nabble.com/How-to-Batch-Threshold-Crop-Save-multi-page-tiffs-tp5005545p5005548.html

Hi Albert,

> I am trying to figure out how to batch threshold, crop and save an
> entire folder of 100's multi-page tiff files

You can record a macro [1] of yourself performing the relevant tasks, then
tweak the resulting macro for your needs. You can then execute it en masse
using the Process > Batch > Macro... command [2], or by looping over all
your TIFFs in the macro itself [3].

Regards,
Curtis

[1] http://fiji.sc/Introduction_into_Macro_Programming#The_recorder
[2]
http://rsbweb.nih.gov/ij/docs/guide/146-29.html#toc-Subsubsection-29.12.3
[3] E.g.:
https://github.com/openmicroscopy/bioformats/blob/v4.4.9/components/loci-plugins/utils/macros/batchTiffConvert.txt


On Tue, Nov 12, 2013 at 2:05 PM, Albert James
<[hidden email]>wrote:

> Hello
>
> I am a complete newbie to ImageJ but I am trying to figure out how to
> batch threshold, crop and save an entire folder of 100's multi-page tiff
> files (each tiff has 1000 individual images). This would greatly reduce the
> current file size and make it much easier to start analysing the images.
>
> Does have any advice or directions on to do this? I would really
> appreciate any help that people can provide.
>
> Best,
>
> Albert
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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