Description

A Kernel or Structuring Element used in convolutions and morphological operations.

Remarks

An McKernel object may contain one or several kernel definitions. All properties except Count and Index are related to the current definition which is controled by McKernel.Index.

Members

Methods
Create

Create and initialize a kernel.

Load

Loads a Kernel from a file.

Save

Saves a Kernel to a file.


Properties
BoostRead-write property

Read-write property exposing the kernel's Boost value.

CoefficientsRead-write property

Read-write property exposing the kernel's coefficients.

CountRead-write property

Read-write property exposing the number of definitions in this kernel.

IndexRead-write property

Read-write property exposing the index of the current definition.

NameRead-write property

The name of the current kernel definition.

OffsetXRead-write property

Read-write property exposing the 0-based x-coordinate of the central element.

OffsetYRead-write property

Read-write property exposing the 0-based y-coordinate of the central element.

SizeXRead-write property

Read-write property exposing the width of the kernel.

SizeYRead-write property

Read-write property exposing the height of the kernel.

StrengthRead-write property

A percentage allowing to modulate the effect of a convolution.

TypeRead-write property

The Type of kernel.