boofcv.struct.convolve
Class Kernel1D
- java.lang.Object
-
- boofcv.struct.convolve.KernelBase
-
- boofcv.struct.convolve.Kernel1D
-
- Direct Known Subclasses:
- Kernel1D_F32, Kernel1D_F64, Kernel1D_I32, KernelContinuous1D_F32
public abstract class Kernel1D extends KernelBase
This is a kernel in a 1D convolution. The kernel's width is the number of elements in it and must be an odd number. A kernel's radius is defined as the width divided by two.
-
-
Field Summary
-
Fields inherited from class boofcv.struct.convolve.KernelBase
offset, width
-
-
Constructor Summary
Constructors Constructor and Description Kernel1D()Kernel1D(int width)Kernel1D(int width, int offset)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description intgetDimension()Returns the dimension of this kernel, 1D or 2D.abstract doublegetDouble(int index)abstract voidsetD(int index, double value)
-
-
-
Constructor Detail
-
Kernel1D
public Kernel1D(int width)
-
Kernel1D
public Kernel1D(int width, int offset)
-
Kernel1D
public Kernel1D()
-
-
Method Detail
-
getDimension
public int getDimension()
Description copied from class:KernelBaseReturns the dimension of this kernel, 1D or 2D.- Specified by:
getDimensionin classKernelBase- Returns:
- Kernel's dimension
-
getDouble
public abstract double getDouble(int index)
-
setD
public abstract void setD(int index, double value)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG