Kernel

A kernel used by convolution and morphology operators.  It contains a matrix and anchors to indicate the center of the kernel

Summary
KernelA kernel used by convolution and morphology operators.
Variables
matrixThe kernel matrix with
anchorsThe x and y anchors define the center of the kernel.
Functions
kernelCreates a new kernel to be used with a convolution or hit and miss operation.
kernelDeleteDeletes a kernel created by another function

Variables

matrix

Matrix *matrix

The kernel matrix with

anchors

The x and y anchors define the center of the kernel.

Functions

kernel

Kernel *kernel(Matrix *values,
int anchorx,
int anchory)

Creates a new kernel to be used with a convolution or hit and miss operation.

Parameters

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

Returns

The created kernel See Also: Kernel

kernelDelete

void kernelDelete(Kernel *k)

Deletes a kernel created by another function

Parameters

k: the kernel

See also

Kernel

Matrix *matrix
The kernel matrix with
Kernel *kernel(Matrix *values,
int anchorx,
int anchory)
Creates a new kernel to be used with a convolution or hit and miss operation.
void kernelDelete(Kernel *k)
Deletes a kernel created by another function
A kernel used by convolution and morphology operators.
Close