Dilates an image by using a specific structuring element.
Namespace: OpenCvSharp.CPlusPlus.Gpu
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void Dilate( GpuMat src, GpuMat dst, Mat kernel, Nullable<Point> anchor = null, int iterations = 1 )
Parameters
- src
- Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Source image. Only CV_8UC1 and CV_8UC4 types are supported. - dst
- Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Destination image with the same size and type as src. - kernel
- Type: OpenCvSharp.CPlusPlusMat
Structuring element used for erosion. If kernel=Mat(), a 3x3 rectangular structuring element is used. - anchor (Optional)
- Type: SystemNullablePoint
Position of an anchor within the element. The default value (-1, -1) means that the anchor is at the element center. - iterations (Optional)
- Type: SystemInt32
Number of times erosion to be applied.
See Also