Class ScharrFilter
A vertical or horizontal Scharr operator.
public class ScharrFilter : CudaFilter, IDisposable
- Inheritance
-
ScharrFilter
- Implements
- Inherited Members
Constructors
ScharrFilter(DepthType, int, DepthType, int, int, int, double, BorderType, BorderType)
Creates a vertical or horizontal Scharr operator.
public ScharrFilter(DepthType srcDepth, int srcChannels, DepthType dstDepth, int dstChannels, int dx, int dy, double scale = 1, BorderType rowBorderMode = BorderType.Default, BorderType columnBorderMode = BorderType.NegativeOne)
Parameters
srcDepth
DepthTypeSource image depth.
srcChannels
intSource image channels.
dstDepth
DepthTypeDestination array depth.
dstChannels
intDestination array channels.
dx
intOrder of the derivative x.
dy
intOrder of the derivative y.
scale
doubleOptional scale factor for the computed derivative values. By default, no scaling is applied.
rowBorderMode
BorderTypePixel extrapolation method in the vertical direction. For details, see borderInterpolate.
columnBorderMode
BorderTypePixel extrapolation method in the horizontal direction.