Package mpicbg.stitching.fusion
Class OverlayFusion
java.lang.Object
mpicbg.stitching.fusion.OverlayFusion
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>>
ij.CompositeImagecreateOverlay(T targetType, ij.ImagePlus imp1, ij.ImagePlus imp2, mpicbg.models.InvertibleBoundable finalModel1, mpicbg.models.InvertibleBoundable finalModel2, int dimensionality) static <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>>
ij.CompositeImagecreateOverlay(T targetType, ArrayList<ij.ImagePlus> images, ArrayList<mpicbg.models.InvertibleBoundable> models, int dimensionality, int timepoint, net.imglib2.interpolation.InterpolatorFactory<net.imglib2.type.numeric.real.FloatType, net.imglib2.RandomAccessible<net.imglib2.type.numeric.real.FloatType>> factory) static <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>>
ij.ImagePluscreateReRegisteredSeries(T targetType, ij.ImagePlus imp, ArrayList<mpicbg.models.InvertibleBoundable> models, int dimensionality) protected static <T extends net.imglib2.type.numeric.RealType<T>>
voidfuseChannel(net.imglib2.img.Img<T> output, net.imglib2.RealRandomAccessible<net.imglib2.type.numeric.real.FloatType> input, double[] offset, mpicbg.models.InvertibleCoordinateTransform transform) Fuse one slice/volume (one channel)static ij.ImagePlusRearranges an ImageJ XYCZT Hyperstack into XYZCT without wasting memory for processing 3d images as a chunk, if it is already XYZCT it will shuffle it back to XYCZTstatic ij.ImagePlusRearranges an ImageJ XYCTZ Hyperstack into XYCZT without wasting memory for processing 3d images as a chunk, if it is already XYCTZ it will shuffle it back to XYCZT
-
Constructor Details
-
OverlayFusion
public OverlayFusion()
-
-
Method Details
-
createOverlay
protected static <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> ij.CompositeImage createOverlay(T targetType, ij.ImagePlus imp1, ij.ImagePlus imp2, mpicbg.models.InvertibleBoundable finalModel1, mpicbg.models.InvertibleBoundable finalModel2, int dimensionality) -
createReRegisteredSeries
public static <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> ij.ImagePlus createReRegisteredSeries(T targetType, ij.ImagePlus imp, ArrayList<mpicbg.models.InvertibleBoundable> models, int dimensionality) -
createOverlay
public static <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> ij.CompositeImage createOverlay(T targetType, ArrayList<ij.ImagePlus> images, ArrayList<mpicbg.models.InvertibleBoundable> models, int dimensionality, int timepoint, net.imglib2.interpolation.InterpolatorFactory<net.imglib2.type.numeric.real.FloatType, net.imglib2.RandomAccessible<net.imglib2.type.numeric.real.FloatType>> factory) -
fuseChannel
protected static <T extends net.imglib2.type.numeric.RealType<T>> void fuseChannel(net.imglib2.img.Img<T> output, net.imglib2.RealRandomAccessible<net.imglib2.type.numeric.real.FloatType> input, double[] offset, mpicbg.models.InvertibleCoordinateTransform transform) Fuse one slice/volume (one channel)- Parameters:
output- - same the type of the ImagePlus inputinput- - FloatType, because of Interpolation that needs to be donetransform- - the transformation
-
switchZCinXYCZT
Rearranges an ImageJ XYCZT Hyperstack into XYZCT without wasting memory for processing 3d images as a chunk, if it is already XYZCT it will shuffle it back to XYCZT- Parameters:
imp- - the inputImagePlus- Returns:
- - an
ImagePluswhich can be the same instance if the image is XYZT, XYZ, XYT or XY - otherwise a new instance containing the same processors but in the new order XYZCT
-
switchZTinXYCZT
Rearranges an ImageJ XYCTZ Hyperstack into XYCZT without wasting memory for processing 3d images as a chunk, if it is already XYCTZ it will shuffle it back to XYCZT- Parameters:
imp- - the inputImagePlus- Returns:
- - an
ImagePluswhich can be the same instance if the image is XYC, XYZ, XYT or XY - otherwise a new instance containing the same processors but in the new order XYZCT
-