[ImageJ-devel] Stitching - CompositeImage forces stack slices to channel if < 7

Mark Hiner hinerm at gmail.com
Wed Jan 22 10:07:00 CST 2014


Hi all,

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

 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.

  It's not clear to me why this code is necessary.. perhaps it should only
be executed if the mode is set to COMPOSITE?

  If this behavior is truly intended and necessary, then I think it is
erroneous to use CompositeImage in the
Stitching<https://github.com/fiji/Stitching>plugin.

 What do others think?

Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140122/dbc679e6/attachment.html>


More information about the ImageJ-devel mailing list