Class BlkAffineFusion
java.lang.Object
net.preibisch.mvrecon.process.fusion.blk.BlkAffineFusion
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static <T extends net.imglib2.type.NativeType<T>>
net.imglib2.algorithm.blocks.BlockSupplier<T> convertToOutputType(net.imglib2.algorithm.blocks.BlockSupplier<net.imglib2.type.numeric.real.FloatType> floatBlocks, net.imglib2.converter.Converter<net.imglib2.type.numeric.real.FloatType, T> converter, T type) protected static <T extends net.imglib2.type.NativeType<T>>
net.imglib2.RandomAccessible<T> extendInput(net.imglib2.RandomAccessible<T> input) static <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>>
net.imglib2.algorithm.blocks.BlockSupplier<T> init(net.imglib2.converter.Converter<net.imglib2.type.numeric.real.FloatType, T> converter, mpicbg.spim.data.generic.sequence.BasicImgLoader imgloader, Collection<? extends mpicbg.spim.data.sequence.ViewId> viewIds, Map<mpicbg.spim.data.sequence.ViewId, ? extends net.imglib2.realtransform.AffineTransform3D> viewRegistrations, Map<mpicbg.spim.data.sequence.ViewId, ? extends mpicbg.spim.data.generic.sequence.BasicViewDescription<?>> viewDescriptions, FusionGUI.FusionType fusionType, double anisotropyFactor, int interpolationMethod, Map<mpicbg.spim.data.sequence.ViewId, mpicbg.models.AffineModel1D> intensityAdjustments, net.imglib2.Interval fusionInterval, T type, int[] blockSize) TODO javadocstatic <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>>
net.imglib2.algorithm.blocks.BlockSupplier<T> initWithIntensityCoefficients(net.imglib2.converter.Converter<net.imglib2.type.numeric.real.FloatType, T> converter, mpicbg.spim.data.generic.sequence.BasicImgLoader imgloader, Collection<? extends mpicbg.spim.data.sequence.ViewId> viewIds, Map<mpicbg.spim.data.sequence.ViewId, ? extends net.imglib2.realtransform.AffineTransform3D> viewRegistrations, Map<mpicbg.spim.data.sequence.ViewId, ? extends mpicbg.spim.data.generic.sequence.BasicViewDescription<?>> viewDescriptions, FusionGUI.FusionType fusionType, double anisotropyFactor, Map<Integer, Integer> fusionMap, int interpolationMethod, Map<mpicbg.spim.data.sequence.ViewId, Coefficients> intensityAdjustments, net.imglib2.Interval fusionInterval, T type, int[] blockSize) static booleanis2d(Collection<? extends mpicbg.spim.data.sequence.ViewId> viewIds, Map<mpicbg.spim.data.sequence.ViewId, ? extends mpicbg.spim.data.generic.sequence.BasicViewDescription<?>> viewDescriptions)
-
Constructor Details
-
BlkAffineFusion
public BlkAffineFusion()
-
-
Method Details
-
init
public static <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> net.imglib2.algorithm.blocks.BlockSupplier<T> init(net.imglib2.converter.Converter<net.imglib2.type.numeric.real.FloatType, T> converter, mpicbg.spim.data.generic.sequence.BasicImgLoader imgloader, Collection<? extends mpicbg.spim.data.sequence.ViewId> viewIds, Map<mpicbg.spim.data.sequence.ViewId, ? extends net.imglib2.realtransform.AffineTransform3D> viewRegistrations, Map<mpicbg.spim.data.sequence.ViewId, ? extends mpicbg.spim.data.generic.sequence.BasicViewDescription<?>> viewDescriptions, FusionGUI.FusionType fusionType, double anisotropyFactor, int interpolationMethod, Map<mpicbg.spim.data.sequence.ViewId, mpicbg.models.AffineModel1D> intensityAdjustments, net.imglib2.Interval fusionInterval, T type, int[] blockSize) TODO javadoc- Type Parameters:
T- output type- Parameters:
converter- converts from FloatType to the output type. Maybe null, in which case a default converter (clamp to output type range) is used.imgloader- the imgloader to fetch raw dataviewIds- which viewids to fuseviewRegistrations- the registrations (must include anisotropy and downsampling if desired)viewDescriptions- TODOfusionType- how to combine pixelsanisotropyFactor-interpolationMethod- 1==linear, 0==nearest neighborintensityAdjustments- intensity adjustments, can be nullfusionInterval- TODOtype- instance of the output typeblockSize- TODO- Returns:
-
initWithIntensityCoefficients
public static <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> net.imglib2.algorithm.blocks.BlockSupplier<T> initWithIntensityCoefficients(net.imglib2.converter.Converter<net.imglib2.type.numeric.real.FloatType, T> converter, mpicbg.spim.data.generic.sequence.BasicImgLoader imgloader, Collection<? extends mpicbg.spim.data.sequence.ViewId> viewIds, Map<mpicbg.spim.data.sequence.ViewId, ? extends net.imglib2.realtransform.AffineTransform3D> viewRegistrations, Map<mpicbg.spim.data.sequence.ViewId, ? extends mpicbg.spim.data.generic.sequence.BasicViewDescription<?>> viewDescriptions, FusionGUI.FusionType fusionType, double anisotropyFactor, Map<Integer, Integer> fusionMap, int interpolationMethod, Map<mpicbg.spim.data.sequence.ViewId, Coefficients> intensityAdjustments, net.imglib2.Interval fusionInterval, T type, int[] blockSize) -
convertToOutputType
protected static <T extends net.imglib2.type.NativeType<T>> net.imglib2.algorithm.blocks.BlockSupplier<T> convertToOutputType(net.imglib2.algorithm.blocks.BlockSupplier<net.imglib2.type.numeric.real.FloatType> floatBlocks, net.imglib2.converter.Converter<net.imglib2.type.numeric.real.FloatType, T> converter, T type) -
extendInput
protected static <T extends net.imglib2.type.NativeType<T>> net.imglib2.RandomAccessible<T> extendInput(net.imglib2.RandomAccessible<T> input) -
is2d
public static boolean is2d(Collection<? extends mpicbg.spim.data.sequence.ViewId> viewIds, Map<mpicbg.spim.data.sequence.ViewId, ? extends mpicbg.spim.data.generic.sequence.BasicViewDescription<?>> viewDescriptions)
-