public class OverlayFusion extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
useSizeOfFirstImage |
| Constructor and Description |
|---|
OverlayFusion() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends RealType<T>> |
createOverlay(T targetType,
ArrayList<ij.ImagePlus> images,
ArrayList<InvertibleBoundable> models,
int dimensionality,
int timepoint,
InterpolatorFactory<FloatType> factory) |
protected static <T extends RealType<T>> |
createOverlay(T targetType,
ij.ImagePlus imp1,
ij.ImagePlus imp2,
InvertibleBoundable finalModel1,
InvertibleBoundable finalModel2,
int dimensionality,
int interpolation) |
static <T extends RealType<T>> |
createReRegisteredSeries(T targetType,
ij.ImagePlus imp,
ArrayList<InvertibleBoundable> models,
int dimensionality,
String directory,
int interpolation) |
static void |
estimateBounds(float[] offset,
int[] size,
int[][] imgSizes,
ArrayList<InvertibleBoundable> models,
int dimensionality)
Estimate the bounds of the output image.
|
static void |
estimateBounds(float[] offset,
int[] size,
List<ij.ImagePlus> images,
ArrayList<InvertibleBoundable> models,
int dimensionality)
Estimate the bounds of the output image.
|
static <T extends RealType<T>> |
fuseChannel(Image<T> output,
Image<FloatType> input,
float[] offset,
InvertibleCoordinateTransform transform,
InterpolatorFactory<FloatType> factory)
Fuse one slice/volume (one channel)
|
static ij.ImagePlus |
switchZCinXYCZT(ij.ImagePlus imp)
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
|
static ij.ImagePlus |
switchZTinXYCZT(ij.ImagePlus imp)
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
|
protected static <T extends RealType<T>> ij.CompositeImage createOverlay(T targetType, ij.ImagePlus imp1, ij.ImagePlus imp2, InvertibleBoundable finalModel1, InvertibleBoundable finalModel2, int dimensionality, int interpolation)
public static <T extends RealType<T>> ij.ImagePlus createReRegisteredSeries(T targetType, ij.ImagePlus imp, ArrayList<InvertibleBoundable> models, int dimensionality, String directory, int interpolation)
public static <T extends RealType<T>> ij.CompositeImage createOverlay(T targetType, ArrayList<ij.ImagePlus> images, ArrayList<InvertibleBoundable> models, int dimensionality, int timepoint, InterpolatorFactory<FloatType> factory)
public static void estimateBounds(float[] offset,
int[] size,
List<ij.ImagePlus> images,
ArrayList<InvertibleBoundable> models,
int dimensionality)
offset - - the offset, will be computedsize - - the size, will be computedimages - - all imageplus in a listmodels - - all modelsdimensionality - - which dimensionality (2 or 3)public static void estimateBounds(float[] offset,
int[] size,
int[][] imgSizes,
ArrayList<InvertibleBoundable> models,
int dimensionality)
offset - - the offset, will be computedsize - - the size, will be computedimgSizes - - the dimensions of all input images imgSizes[ image ][ x, y, (z) ]models - - all modelsdimensionality - - which dimensionality (2 or 3)public static <T extends RealType<T>> void fuseChannel(Image<T> output, Image<FloatType> input, float[] offset, InvertibleCoordinateTransform transform, InterpolatorFactory<FloatType> factory)
output - - same the type of the ImagePlus inputinput - - FloatType, because of Interpolation that needs to be donetransform - - the transformationpublic static ij.ImagePlus switchZCinXYCZT(ij.ImagePlus imp)
imp - - the input ImagePlusImagePlus which 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 XYZCTpublic static ij.ImagePlus switchZTinXYCZT(ij.ImagePlus imp)
imp - - the input ImagePlusImagePlus which 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 XYZCTCopyright © 2015–2021 Fiji. All rights reserved.