Separate Channels in final image
Posted by Roland on Dec 22, 2014; 1:55pm
URL: http://imagej.273.s1.nabble.com/Separate-Channels-in-final-image-tp5011028.html
Hi everyone,
If i create a multichannel image, the shown image shows on all channels the rgb image. now i want to separate the channels and show one color per channel, like the imageJ function "Channels Tools" does (Image->Color->Channels Tools->Color). The recorder gave the following output:
run("Channels Tool...");
Stack.setDisplayMode("color");
Stack.setChannel(2);
But by generating the Java-code, i get an error (Stack is not known). Does anyone have an idea how to solve this problem?
Thanks in advance
Roland