Package boofcv.struct.convolve
Class Kernel2D
java.lang.Object
boofcv.struct.convolve.KernelBase
boofcv.struct.convolve.Kernel2D
- Direct Known Subclasses:
Kernel2D_F32
,Kernel2D_F64
,Kernel2D_S32
Base type for 2D convolution kernels
-
Field Summary
Fields inherited from class boofcv.struct.convolve.KernelBase
offset, width
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the dimension of this kernel, 1D or 2D.abstract double
getDouble
(int x, int y) Methods inherited from class boofcv.struct.convolve.KernelBase
copy, getRadius, isInteger
-
Constructor Details
-
Kernel2D
protected Kernel2D(int width, int offset) -
Kernel2D
protected Kernel2D(int width) -
Kernel2D
protected Kernel2D()
-
-
Method Details
-
getDimension
public int getDimension()Description copied from class:KernelBase
Returns the dimension of this kernel, 1D or 2D.- Specified by:
getDimension
in classKernelBase
- Returns:
- Kernel's dimension
-
getDouble
public abstract double getDouble(int x, int y)
-