SeparableKernelConvolution
instead.
Convolution with a separable symmetric kernel.@Deprecated public final class SeparableSymmetricConvolution extends Object
Constructor and Description |
---|
SeparableSymmetricConvolution()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <S,I,T> void |
convolve(double[][] halfkernels,
RandomAccessible<S> source,
RandomAccessibleInterval<T> target,
ConvolverFactory<S,I> convolverFactorySI,
ConvolverFactory<I,I> convolverFactoryII,
ConvolverFactory<I,T> convolverFactoryIT,
ConvolverFactory<S,T> convolverFactoryST,
ImgFactory<I> imgFactory,
ExecutorService service)
Deprecated.
Use
SeparableKernelConvolution.convolution(Kernel1D[]) .
Or LineConvolution and Convolution.concat(net.imglib2.algorithm.convolution.Convolution<T>...) .
Convolve source with a separable symmetric kernel and write the result to
output. In-place operation (source==target) is supported. Calculations
are done in the intermediate type determined by the
|
static <S,I,T> void |
convolve(double[][] halfkernels,
RandomAccessible<S> source,
RandomAccessibleInterval<T> target,
ConvolverFactory<S,I> convolverFactorySI,
ConvolverFactory<I,I> convolverFactoryII,
ConvolverFactory<I,T> convolverFactoryIT,
ConvolverFactory<S,T> convolverFactoryST,
ImgFactory<I> imgFactory,
I type,
ExecutorService service)
|
static <S extends NumericType<S>,T extends NumericType<T>> |
convolve(double[][] halfkernels,
RandomAccessible<S> source,
RandomAccessibleInterval<T> target,
ExecutorService service)
Deprecated.
Use
SeparableKernelConvolution.convolution(Kernel1D[])
Convolve source with a separable symmetric kernel and write the result to output. In-place operation (source==target) is supported.
If the target type T is |
static <S,T> void |
convolve1d(double[] halfkernel,
RandomAccessible<S> source,
RandomAccessibleInterval<T> target,
ConvolverFactory<S,T> convolverFactoryST,
ExecutorService service)
|
@Deprecated public static <S extends NumericType<S>,T extends NumericType<T>> void convolve(double[][] halfkernels, RandomAccessible<S> source, RandomAccessibleInterval<T> target, ExecutorService service) throws IncompatibleTypeException
SeparableKernelConvolution.convolution(Kernel1D[])
Convolve source with a separable symmetric kernel and write the result to output. In-place operation (source==target) is supported.
If the target type T is DoubleType
, all calculations are done in
double precision. For all other target RealTypes
float
precision is used. General NumericTypes
are computed
in their own precision. The source type S and target type T are either
both RealTypes
or both the same type.
S
- source typeT
- target typehalfkernels
- an array containing half-kernels for every dimension. A
half-kernel is the upper half (starting at the center pixel)
of the symmetric convolution kernel for a given dimension.source
- source image, must be sufficiently padded (e.g.
Views.extendMirrorSingle(RandomAccessibleInterval)
) to
provide values for the target interval plus a border of half
the kernel size.target
- target image.service
- service providing threads for multi-threadingIncompatibleTypeException
- if source and target type are not compatible (they must be
either both RealTypes
or the same type).@Deprecated public static <S,T> void convolve1d(double[] halfkernel, RandomAccessible<S> source, RandomAccessibleInterval<T> target, ConvolverFactory<S,T> convolverFactoryST, ExecutorService service)
@Deprecated public static <S,I,T> void convolve(double[][] halfkernels, RandomAccessible<S> source, RandomAccessibleInterval<T> target, ConvolverFactory<S,I> convolverFactorySI, ConvolverFactory<I,I> convolverFactoryII, ConvolverFactory<I,T> convolverFactoryIT, ConvolverFactory<S,T> convolverFactoryST, ImgFactory<I> imgFactory, ExecutorService service)
SeparableKernelConvolution.convolution(Kernel1D[])
.
Or LineConvolution
and Convolution.concat(net.imglib2.algorithm.convolution.Convolution<T>...)
.
Convolve source with a separable symmetric kernel and write the result to
output. In-place operation (source==target) is supported. Calculations
are done in the intermediate type determined by the
ConvolverFactories
.
halfkernels
- an array containing half-kernels for every dimension. A
half-kernel is the upper half (starting at the center pixel)
of the symmetric convolution kernel for a given dimension.source
- source image, must be sufficiently padded (e.g.
Views.extendMirrorSingle(RandomAccessibleInterval)
) to
provide values for the target interval plus a border of half
the kernel size.target
- target image.convolverFactorySI
- produces line convolvers reading source type and writing
temporary type.convolverFactoryII
- produces line convolvers reading temporary type and writing
temporary type.convolverFactoryIT
- produces line convolvers reading temporary type and writing
target type.convolverFactoryST
- produces line convolvers reading source type and writing
target type.imgFactory
- factory to create temporary images.service
- service providing threads for multi-threading@Deprecated public static <S,I,T> void convolve(double[][] halfkernels, RandomAccessible<S> source, RandomAccessibleInterval<T> target, ConvolverFactory<S,I> convolverFactorySI, ConvolverFactory<I,I> convolverFactoryII, ConvolverFactory<I,T> convolverFactoryIT, ConvolverFactory<S,T> convolverFactoryST, ImgFactory<I> imgFactory, I type, ExecutorService service)
Copyright © 2015–2022 ImgLib2. All rights reserved.