Class FastLinearIntensityMap
java.lang.Object
net.preibisch.mvrecon.process.fusion.intensity.FastLinearIntensityMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends net.imglib2.type.NativeType<T>>
net.imglib2.algorithm.blocks.UnaryBlockOperator<T, T> createLinearIntensityMapOperator(T type, int numDimensions, Coefficients coefficients, net.imglib2.Dimensions imageDimensions, net.imglib2.algorithm.blocks.ClampType clampType) Create aUnaryBlockOperatorto apply an interpolated linear intensity map to blocks of the standard ImgLib2RealTypes.static <T extends net.imglib2.type.NativeType<T>>
Function<net.imglib2.algorithm.blocks.BlockSupplier<T>, net.imglib2.algorithm.blocks.UnaryBlockOperator<T, T>> linearIntensityMap(Coefficients coefficients, net.imglib2.Dimensions imageDimensions) Apply an interpolated linear intensity map to blocks of the standard ImgLib2RealTypes.
-
Constructor Details
-
FastLinearIntensityMap
public FastLinearIntensityMap()
-
-
Method Details
-
linearIntensityMap
public static <T extends net.imglib2.type.NativeType<T>> Function<net.imglib2.algorithm.blocks.BlockSupplier<T>,net.imglib2.algorithm.blocks.UnaryBlockOperator<T, linearIntensityMapT>> (Coefficients coefficients, net.imglib2.Dimensions imageDimensions) Apply an interpolated linear intensity map to blocks of the standard ImgLib2RealTypes.The returned factory function creates an operator matching the type a given input
BlockSupplier<T>.- Type Parameters:
T- the input/output type- Parameters:
coefficients- coefficientsimageDimensions- dimensions of the image- Returns:
- factory for
UnaryBlockOperatorto intensity-map blocks of typeT
-
createLinearIntensityMapOperator
public static <T extends net.imglib2.type.NativeType<T>> net.imglib2.algorithm.blocks.UnaryBlockOperator<T,T> createLinearIntensityMapOperator(T type, int numDimensions, Coefficients coefficients, net.imglib2.Dimensions imageDimensions, net.imglib2.algorithm.blocks.ClampType clampType) Create aUnaryBlockOperatorto apply an interpolated linear intensity map to blocks of the standard ImgLib2RealTypes.- Type Parameters:
T- the input/output type- Parameters:
type- instance of the input typecoefficients- coefficientsimageDimensions- dimensions of the imageclampType- how to clamp when converting to target type- Returns:
UnaryBlockOperatorto intensity-map blocks of typeT
-