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.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
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