Login  Register

Problem with split channels

Posted by PEARSON Matthew on Sep 21, 2014; 1:34pm
URL: http://imagej.273.s1.nabble.com/Problem-with-split-channels-tp5009703.html

Hi all,

I also have a problem with split channels.  I'm using it within a macro and i have two images, one is a single 16bit image the other is a 3 colour composite.  I'm using the print function to troubleshoot.  Basically i want the merged image to be split into its RGB components.  Firstly i use selectImage to activate the composite image to be split.  The print command confirms that the composite image is being activated prior to split.  The image is split and produces the 3 component images.  I then have a getTitle function to see which image is active post split channels and its the 16bit image that i mentioned earlier, not the last component image of the composite.  

Perhaps this is normally behaviour that the last newly created window when using split channels does not automatically become activated?  I've just never had an issue with this before and i've used split channels in a macro many times.

Thanks a lot,

Matt



--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

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