Class CudaMorphologyFilter
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
MorphOpType of morphological operation
srcDepth
DepthTypeThe depth type of the source image
srcChannels
intThe number of channels in the source image
kernel
IInputArray2D 8-bit structuring element for the morphological operation.
anchor
PointAnchor position within the structuring element. Negative values mean that the anchor is at the center.
iterations
intNumber of times erosion and dilation to be applied.