Login  Register

Re: Batch channel splitter

Posted by Mark Hiner on Sep 11, 2014; 5:31pm
URL: http://imagej.273.s1.nabble.com/Batch-channel-splitter-tp5009575p5009577.html

>Does anyone know how to split channels in a batch for multiple images
using ImageJ?

Batch processing is a pretty common question, so I wrote a wiki page
explaining your options: http://imagej.net/Batch_Processing

The split channels command (macro code: run("Split Channels"); ) produces
output images for each channel, so you would want to use the batch
processing template <http://imagej.net/Batch_Processing#Flexible_option>,
and only write out the image(s) corresponding to your desired channel(s).

>Lastly, how can i change the default save from .TIFF to .JPEG

CTRL+S ends up calling the File Saver#save()
<https://github.com/imagej/ImageJA/blob/master/src/main/java/ij/io/FileSaver.java#L37-39>
method, which always writes TIFFs it looks like. However, there is a Save
as JPEG... command under Plugins>Macros, with a default hotkey of "j" as
well as the File>Save As>Jpeg... option, either of which can be used in
your final batch macro to write out JPEGs.

Hope that helps,
Mark

On Thu, Sep 11, 2014 at 10:54 AM, csadangi <[hidden email]> wrote:

> Does anyone know how to split channels in a batch for multiple images using
> ImageJ?
>
> Also how to select only a particular channel for batch conversion? For ex:
> converting multiple RGB TIFF images to green channel only?
>
> Lastly, how can i change the default save from .TIFF to .JPEG. When i press
> CTRL+S after taking a screenshot my images are stored as .TIFF and i want
> to
> save the images as .JPEG.
>
> Thanks :)
>
>
>
> --
> View this message in context:
> http://imagej.1557.x6.nabble.com/Batch-channel-splitter-tp5009575.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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