Table of Contents

Class CudaMorphologyFilter

Namespace
Emgu.CV.Cuda
Assembly
Emgu.CV.dll

Morphology filter

public class CudaMorphologyFilter : CudaFilter, IDisposable
Inheritance
CudaMorphologyFilter
Implements
Inherited Members

Constructors

CudaMorphologyFilter(MorphOp, DepthType, int, IInputArray, Point, int)

Create a Morphology filter.

public CudaMorphologyFilter(MorphOp op, DepthType srcDepth, int srcChannels, IInputArray kernel, Point anchor, int iterations)

Parameters

op MorphOp

Type of morphological operation

srcDepth DepthType

The depth type of the source image

srcChannels int

The number of channels in the source image

kernel IInputArray

2D 8-bit structuring element for the morphological operation.

anchor Point

Anchor position within the structuring element. Negative values mean that the anchor is at the center.

iterations int

Number of times erosion and dilation to be applied.