Class CudaGaussianFilter
Gaussian filter
public class CudaGaussianFilter : CudaFilter, IDisposable
- Inheritance
-
CudaGaussianFilter
- Implements
- Inherited Members
Constructors
CudaGaussianFilter(DepthType, int, DepthType, int, Size, double, double, BorderType, BorderType)
Create a Gaussian filter.
public CudaGaussianFilter(DepthType srcDepth, int srcChannels, DepthType dstDepth, int dstChannels, Size ksize, double sigma1, double sigma2 = 0, BorderType rowBorderType = BorderType.Default, BorderType columnBorderType = BorderType.NegativeOne)
Parameters
srcDepth
DepthTypeThe depth type of the source image
srcChannels
intThe number of channels in the source image
dstDepth
DepthTypeThe depth type of the destination image
dstChannels
intThe number of channels in the destination image
ksize
SizeThe size of the kernel
sigma1
doubleThis parameter may specify Gaussian sigma (standard deviation). If it is zero, it is calculated from the kernel size.
sigma2
doubleIn case of non-square Gaussian kernel the parameter may be used to specify a different (from param3) sigma in the vertical direction. Use 0 for default
rowBorderType
BorderTypeThe row border type.
columnBorderType
BorderTypeThe column border type.