boofcv.struct.convolve
Class KernelBase
- java.lang.Object
-
- boofcv.struct.convolve.KernelBase
-
-
Field Summary
Fields Modifier and Type Field and Description intoffsetwhich index is the kernel's origin.intwidth
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract <T extends KernelBase>
Tcopy()abstract intgetDimension()Returns the dimension of this kernel, 1D or 2D.intgetOffset()Which index is the origin in the kernelintgetRadius()The radius is defined as the width divided by two.intgetWidth()The kernel's width.abstract booleanisInteger()
-
-
-
Field Detail
-
width
public int width
-
offset
public int offset
which index is the kernel's origin. For symmetric kernels with an odd width it is width/2
-
-
Method Detail
-
getWidth
public int getWidth()
The kernel's width. This is an odd number.- Returns:
- Kernel's width.
-
getRadius
public int getRadius()
The radius is defined as the width divided by two.- Returns:
- The kernel's radius.
-
getOffset
public int getOffset()
Which index is the origin in the kernel
-
getDimension
public abstract int getDimension()
Returns the dimension of this kernel, 1D or 2D.- Returns:
- Kernel's dimension
-
isInteger
public abstract boolean isInteger()
-
copy
public abstract <T extends KernelBase> T copy()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG