| Modifier and Type | Field and Description |
|---|---|
int |
offset
which index is the kernel's origin.
|
int |
width |
| Modifier | Constructor and Description |
|---|---|
protected |
KernelBase() |
protected |
KernelBase(int width) |
protected |
KernelBase(int width,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
abstract <T extends KernelBase> |
copy() |
abstract int |
getDimension()
Returns the dimension of this kernel, 1D or 2D.
|
int |
getOffset()
Which index is the origin in the kernel
|
int |
getRadius()
The radius is defined as the width divided by two.
|
int |
getWidth()
The kernel's width.
|
abstract boolean |
isInteger() |
public int width
public int offset
protected KernelBase(int width)
protected KernelBase(int width,
int offset)
protected KernelBase()
public int getWidth()
public int getRadius()
public int getOffset()
public abstract int getDimension()
public abstract boolean isInteger()
public abstract <T extends KernelBase> T copy()