A kernel used by convolution and morphology operators. It contains a matrix and anchors to indicate the center of the kernel
| Kernel | A kernel used by convolution and morphology operators. |
| Variables | |
| matrix | The kernel matrix with |
| anchors | The x and y anchors define the center of the kernel. |
| Functions | |
| kernel | Creates a new kernel to be used with a convolution or hit and miss operation. |
| kernelDelete | Deletes a kernel created by another function |
Kernel *kernel( Matrix * values, int anchorx, int anchory )
Creates a new kernel to be used with a convolution or hit and miss operation.
matrix: the values of the kernel anchorx: the x value of the center of the kernel anchory: the y value of the center of the kernel
The created kernel See Also: Kernel
The kernel matrix with
Matrix *matrix
Creates a new kernel to be used with a convolution or hit and miss operation.
Kernel *kernel( Matrix * values, int anchorx, int anchory )
Deletes a kernel created by another function
void kernelDelete( Kernel * k )