Class CompositeImageFixer

java.lang.Object
stitching.utils.CompositeImageFixer

public final class CompositeImageFixer extends Object
Utility class to work around the CompositeImage nature of converting stacks to channels.
Author:
Mark Hiner
  • Constructor Details

    • CompositeImageFixer

      public CompositeImageFixer()
  • Method Details

    • makeComposite

      public static ij.CompositeImage makeComposite(ij.ImagePlus imp)
    • makeComposite

      public static ij.CompositeImage makeComposite(ij.ImagePlus imp, int mode)
      -- HACK --

      Workaround for the fact that if there are less than 7 slices in an ImagePlus, the CompositeImage constructor will convert those slices to channels.

      This method will always construct a CompositeImage with the same dimensions as the input ImagePlus.