Re: Batch channel splitter
Posted by
Jeff Spector-2 on
Sep 11, 2014; 5:39pm
URL: http://imagej.273.s1.nabble.com/Batch-channel-splitter-tp5009575p5009582.html
On Thu, Sep 11, 2014 at 11: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>
Hi,
You can split the channels and then select the channel you want using the
imageID. A Macro that looks something like this
run("Split Channels"); //split the channels
blue = getImageID(); // get id of blue image
red = blue+1 ; //assign ids
green = blue + 2; //assign ids
should get you the individual channels.
then you can use selectImage(ImageID) to get the channel you want..
selectImage(green);
and then save it..
hope this helps...
-Jeff
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html