<div dir="ltr"><div><div><div><div><div>Hi all,<br><br></div> I noticed today that on line 60 of <a href="http://trac.imagej.net/browser/imagej/src/main/java/ij/CompositeImage.java?rev=5edb0e269f08a596c926bc171d516f7b3f85631f">CompositeImage</a>, if the stack size is less than 7, the stack is converted to channels (coupled with lines 68-69).<br>

<br></div> This causes bizarre & inconsistent behavior (especially to scientist users), e.g. when stitching if there are more than 7 slices everything looks great, and less than 7 all of a sudden you get back a colored channel stack.<br>

<br></div>  It's not clear to me why this code is necessary.. perhaps it should only be executed if the mode is set to COMPOSITE?<br><br></div>  If this behavior is truly intended and necessary, then I think it is erroneous to use CompositeImage in the <a href="https://github.com/fiji/Stitching">Stitching</a> plugin.<br>

<br></div><div> What do others think?<br></div><div><br></div>Thanks,<br>Mark<br></div>