Initializes a new instance of the HitAndMiss class.
Namespace:
AForge.Imaging.FiltersAssembly: 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
Exception | Condition |
---|---|
System..::.ArgumentException | Invalid size of structuring element. |