Login  Register

getActiveChannels in composite image

Posted by grimper on Jul 09, 2009; 7:27am
URL: http://imagej.273.s1.nabble.com/getActiveChannels-in-composite-image-tp3691831.html

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.

Thanks,

Zong