Login  Register

Re: getActiveChannels in composite image

Posted by Wayne Rasband on Jul 09, 2009; 10:04pm
URL: http://imagej.273.s1.nabble.com/getActiveChannels-in-composite-image-tp3691831p3691832.html

On Jul 9, 2009, at 3:27 AM, grimper wrote:

> Hello,
>
> In the IJ built-in Macro, there is  "Stack.setActiveChannels(string)"
> to set
> the displayed channels in composite image. Does it exist any
> expression like
> "Stack.getActiveChannels(string)" to get the displayed channels?
>
> Actually, what I want to do is to write a little macro to activate and
> deactivate specific channels by using keyboard shortcut.

The v1.43d daily build adds a Stack.getActiveChannels(string) macro
function.

-wayne