Initializes a new instance of the HitAndMiss class.

Namespace:  AForge.Imaging.Filters
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public HitAndMiss(
	short[,] se
)

Parameters

se
Type: array< System..::.Int16 ,2>[,](,)[,]
Structuring element.

Remarks

Structuring elemement for the hit-and-miss morphological operator must be square matrix with odd size in the range of [3, 99].

Exceptions

ExceptionCondition
System..::.ArgumentExceptionInvalid size of structuring element.

See Also