public class Fusion extends Object
Modifier and Type | Field and Description |
---|---|
static long |
redrawDelay |
Constructor and Description |
---|
Fusion() |
Modifier and Type | Method and Description |
---|---|
static void |
estimateBounds(double[] offset,
int[] size,
int[][] imgSizes,
ArrayList<InvertibleBoundable> models,
int dimensionality)
Estimate the bounds of the output image.
|
static void |
estimateBounds(double[] offset,
int[] size,
List<ij.ImagePlus> images,
ArrayList<InvertibleBoundable> models,
int dimensionality)
Estimate the bounds of the output image.
|
static <T extends RealType<T> & NativeType<T>> |
fuse(T targetType,
ArrayList<ij.ImagePlus> images,
ArrayList<InvertibleBoundable> models,
int dimensionality,
boolean subpixelResolution,
int fusionType,
String outputDirectory,
boolean noOverlap,
boolean ignoreZeroValues,
boolean displayImages) |
protected static <T extends RealType<T>> |
fuseBlock(Img<T> output,
ArrayList<? extends ImageInterpolation<? extends RealType<?>>> input,
double[] offset,
ArrayList<InvertibleBoundable> transform,
PixelFusion fusion,
boolean displayFusion)
Fuse one slice/volume (one channel)
|
protected static <T extends RealType<T>> |
fuseBlockNoOverlap(Img<T> output,
ArrayList<? extends ImageInterpolation<? extends RealType<?>>> input,
double[] offset,
ArrayList<InvertibleBoundable> transform,
boolean displayFusion)
Fuse one slice/volume (one channel)
|
static void |
main(String[] args) |
protected static <T extends RealType<T>> |
writeBlock(Img<T> outputSlice,
int numSlices,
int t,
int numTimePoints,
int c,
int numChannels,
ArrayList<? extends ImageInterpolation<? extends RealType<?>>> input,
double[] offset,
ArrayList<InvertibleBoundable> transform,
PixelFusion fusion,
String outputDirectory)
Fuse one slice/volume (one channel)
|
public static <T extends RealType<T> & NativeType<T>> ij.ImagePlus fuse(T targetType, ArrayList<ij.ImagePlus> images, ArrayList<InvertibleBoundable> models, int dimensionality, boolean subpixelResolution, int fusionType, String outputDirectory, boolean noOverlap, boolean ignoreZeroValues, boolean displayImages)
targetType
- images
- models
- dimensionality
- subpixelResolution
- - if there is no subpixel resolution, we do not need to convert to float as no interpolation is necessary, we can compute everything with RealTypeprotected static <T extends RealType<T>> void fuseBlock(Img<T> output, ArrayList<? extends ImageInterpolation<? extends RealType<?>>> input, double[] offset, ArrayList<InvertibleBoundable> transform, PixelFusion fusion, boolean displayFusion)
output
- - same the type of the ImagePlus inputinput
- - FloatType, because of Interpolation that needs to be donetransform
- - the transformationprotected static <T extends RealType<T>> void fuseBlockNoOverlap(Img<T> output, ArrayList<? extends ImageInterpolation<? extends RealType<?>>> input, double[] offset, ArrayList<InvertibleBoundable> transform, boolean displayFusion)
output
- - same the type of the ImagePlus inputinput
- - FloatType, because of Interpolation that needs to be donetransform
- - the transformationprotected static <T extends RealType<T>> void writeBlock(Img<T> outputSlice, int numSlices, int t, int numTimePoints, int c, int numChannels, ArrayList<? extends ImageInterpolation<? extends RealType<?>>> input, double[] offset, ArrayList<InvertibleBoundable> transform, PixelFusion fusion, String outputDirectory)
outputSlice
- - same the type of the ImagePlus input, just one slice which will be written to the output directoryinput
- - FloatType, because of Interpolation that needs to be donetransform
- - the transformationpublic static void estimateBounds(double[] 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(double[] 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 void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.