Class CudaSobelFilter
Sobel filter
public class CudaSobelFilter : CudaFilter, IDisposable
- Inheritance
-
CudaSobelFilter
- Implements
- Inherited Members
Constructors
CudaSobelFilter(DepthType, int, DepthType, int, int, int, int, double, BorderType, BorderType)
Create a Sobel filter.
public CudaSobelFilter(DepthType srcDepth, int srcChannels, DepthType dstDepth, int dstChannels, int dx, int dy, int ksize = 3, double scale = 1, BorderType rowBorderType = BorderType.Default, BorderType columnBorderType = BorderType.NegativeOne)
Parameters
srcDepth
DepthTypeThe depth of the source image
srcChannels
intThe number of channels of the source image
dstDepth
DepthTypeThe depth of the destination image
dstChannels
intThe number of channels of the the destination image
dx
intOrder of the derivative x
dy
intOrder of the derivative y
ksize
intSize of the extended Sobel kernel
scale
doubleOptional scale, use 1 for default.
rowBorderType
BorderTypeThe row border type.
columnBorderType
BorderTypeThe column border type.