Click or drag to resize
CvInvokeErode Method
http://www.emgu.com
Erodes the source image using the specified structuring element that determines the shape of a pixel neighborhood over which the minimum is taken: dst=erode(src,element): dst(x,y)=min((x',y') in element)) src(x+x',y+y') The function supports the in-place mode. Erosion can be applied several (iterations) times. In case of color image each channel is processed independently.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static void Erode(
	IInputArray src,
	IOutputArray dst,
	IInputArray element,
	Point anchor,
	int iterations,
	BorderType borderType,
	MCvScalar borderValue
)

Parameters

src
Type: Emgu.CVIInputArray
Source image.
dst
Type: Emgu.CVIOutputArray
Destination image
element
Type: Emgu.CVIInputArray
Structuring element used for erosion. If it is IntPtr.Zero, a 3x3 rectangular structuring element is used.
anchor
Type: System.DrawingPoint
Position of the anchor within the element; default value (-1, -1) means that the anchor is at the element center.
iterations
Type: SystemInt32
Number of times erosion is applied.
borderType
Type: Emgu.CV.CvEnumBorderType
Pixel extrapolation method
borderValue
Type: Emgu.CV.StructureMCvScalar
Border value in case of a constant border, use Constant for default
See Also