http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static void cvErode( IntPtr src, IntPtr dst, IntPtr element, int iterations ) |
Visual Basic |
---|
Public Shared Sub cvErode ( _ src As IntPtr, _ dst As IntPtr, _ element As IntPtr, _ iterations As Integer _ ) |
Visual C++ |
---|
public: static void cvErode( IntPtr src, IntPtr dst, IntPtr element, int iterations ) |
Parameters
- src
- Type: System..::..IntPtr
Source image.
- dst
- Type: System..::..IntPtr
Destination image
- element
- Type: System..::..IntPtr
Structuring element used for erosion. If it is IntPtr.Zero, a 3x3 rectangular structuring element is used.
- iterations
- Type: System..::..Int32
Number of times erosion is applied.