public class Kernel1D extends Object
Modifier and Type | Method and Description |
---|---|
static Kernel1D[] |
asymmetric(double[][] fullKernels,
int[] originIndices)
Similar to
asymmetric(double[], int) but creates an array of
one-dimensional convolution kernels. |
static Kernel1D |
asymmetric(double[] fullKernel,
int originIndex)
Creates a one-dimensional asymmetric convolution kernel.
|
static Kernel1D |
centralAsymmetric(double... kernel)
Creates a one-dimensional asymmetric convolution kernel, where the origin
of the kernel is in the middle.
|
static Kernel1D[] |
centralAsymmetric(double[][] kernels)
Similar to
centralAsymmetric(double...) but creates an array of
one-dimensional convolution kernels. |
double[] |
fullKernel() |
static double[] |
halfToFullKernel(double[] halfKernel) |
long |
max() |
long |
min() |
int |
size() |
static Kernel1D |
symmetric(double... halfKernel)
Creates a one-dimensional symmetric convolution kernel.
|
static Kernel1D[] |
symmetric(double[][] halfKernels)
Similar to
symmetric(double[]) but creates an array of
one-dimensional convolution kernels. |
public static Kernel1D symmetric(double... halfKernel)
halfKernel
- the upper half (starting at the center pixel) of the symmetric
convolution kernel.public static Kernel1D[] symmetric(double[][] halfKernels)
symmetric(double[])
but creates an array of
one-dimensional convolution kernels.public static Kernel1D asymmetric(double[] fullKernel, int originIndex)
fullKernel
- an array containing the values of the kerneloriginIndex
- the index of the array element which is the origin of the
kernelpublic static Kernel1D centralAsymmetric(double... kernel)
public static Kernel1D[] asymmetric(double[][] fullKernels, int[] originIndices)
asymmetric(double[], int)
but creates an array of
one-dimensional convolution kernels.public static Kernel1D[] centralAsymmetric(double[][] kernels)
centralAsymmetric(double...)
but creates an array of
one-dimensional convolution kernels.public double[] fullKernel()
public long min()
public long max()
public int size()
public static double[] halfToFullKernel(double[] halfKernel)
Copyright © 2015–2022 ImgLib2. All rights reserved.