Login  Register

Re: Select window

Posted by Herbie on Nov 24, 2015; 7:13pm
URL: http://imagej.273.s1.nabble.com/Select-window-tp5015022p5015023.html

JP,

this two-liner should do what you like to perform:

setRGBWeights(0, 1, 0);
run("8-bit");

HTH

Herbie

:::::::::::::::::::::::::::::::::::::::
Am 24.11.15 um 19:45 schrieb JP Dustin:

> I have been trying to find a solution to this, but have been having
> little success.
>
> I am running an RGB split and need to keep the green channel from the
> resulting split. How can I get my macro to select the green channel
> image, and close the red and blue? I would like to do this for all
> subsequent images with differing image names.
>
> Thank you,
>
> JP
>
> -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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