Class CudaDerivFilter
A generalized Deriv operator.
public class CudaDerivFilter : CudaFilter, IDisposable
- Inheritance
-
CudaDerivFilter
- Implements
- Inherited Members
Constructors
CudaDerivFilter(DepthType, int, DepthType, int, int, int, int, bool, double, BorderType, BorderType)
Creates a generalized Deriv operator.
public CudaDerivFilter(DepthType srcDepth, int srcChannels, DepthType dstDepth, int dstChannels, int dx, int dy, int ksize, bool normalize = false, double scale = 1, BorderType rowBorderType = BorderType.Default, BorderType columnBorderType = BorderType.NegativeOne)
Parameters
srcDepth
DepthTypeSource image depth.
srcChannels
intSource image channels.
dstDepth
DepthTypeDestination array depth.
dstChannels
intDestination array channels.
dx
intDerivative order in respect of x.
dy
intDerivative order in respect of y.
ksize
intAperture size.
normalize
boolFlag indicating whether to normalize (scale down) the filter coefficients or not.
scale
doubleOptional scale factor for the computed derivative values. By default, no scaling is applied.
rowBorderType
BorderTypePixel extrapolation method in the vertical direction.
columnBorderType
BorderTypePixel extrapolation method in the horizontal direction.