Click or drag to resize
ImageTColor, TDepthMorphologyEx Method
http://www.emgu.com
Perform advanced morphological transformations using erosion and dilation as basic operations.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntax
public Image<TColor, TDepth> MorphologyEx(
	MorphOp operation,
	IInputArray kernel,
	Point anchor,
	int iterations,
	BorderType borderType,
	MCvScalar borderValue
)

Parameters

operation
Type: Emgu.CV.CvEnumMorphOp
Type of morphological operation
kernel
Type: Emgu.CVIInputArray
Structuring element
anchor
Type: System.DrawingPoint
Anchor position with the kernel. Negative values mean that the anchor is at the kernel center.
iterations
Type: SystemInt32
Number of times erosion and dilation are applied
borderType
Type: Emgu.CV.CvEnumBorderType
Border type
borderValue
Type: Emgu.CV.StructureMCvScalar
Border value

Return Value

Type: ImageTColor, TDepth
The result of the morphological operation
See Also