CudaGaussianFilter Constructor |
http://www.emgu.com
Create a Gaussian filter.
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic CudaGaussianFilter(
DepthType srcDepth,
int srcChannels,
DepthType dstDepth,
int dstChannels,
Size ksize,
double sigma1,
double sigma2 = 0,
BorderType rowBorderType = BorderType.Reflect101,
BorderType columnBorderType = BorderType.NegativeOne
)
Public Sub New (
srcDepth As DepthType,
srcChannels As Integer,
dstDepth As DepthType,
dstChannels As Integer,
ksize As Size,
sigma1 As Double,
Optional sigma2 As Double = 0,
Optional rowBorderType As BorderType = BorderType.Reflect101,
Optional columnBorderType As BorderType = BorderType.NegativeOne
)
public:
CudaGaussianFilter(
DepthType srcDepth,
int srcChannels,
DepthType dstDepth,
int dstChannels,
Size ksize,
double sigma1,
double sigma2 = 0,
BorderType rowBorderType = BorderType::Reflect101,
BorderType columnBorderType = BorderType::NegativeOne
)
new :
srcDepth : DepthType *
srcChannels : int *
dstDepth : DepthType *
dstChannels : int *
ksize : Size *
sigma1 : float *
?sigma2 : float *
?rowBorderType : BorderType *
?columnBorderType : BorderType
(* Defaults:
let _sigma2 = defaultArg sigma2 0
let _rowBorderType = defaultArg rowBorderType BorderType.Reflect101
let _columnBorderType = defaultArg columnBorderType BorderType.NegativeOne
*)
-> CudaGaussianFilter
Parameters
- srcDepth
- Type: Emgu.CV.CvEnumDepthType
The depth type of the source image - srcChannels
- Type: SystemInt32
The number of channels in the source image - dstDepth
- Type: Emgu.CV.CvEnumDepthType
The depth type of the destination image - dstChannels
- Type: SystemInt32
The number of channels in the destination image - ksize
- Type: System.DrawingSize
The size of the kernel - sigma1
- Type: SystemDouble
This parameter may specify Gaussian sigma (standard deviation). If it is zero, it is calculated from the kernel size. - sigma2 (Optional)
- Type: SystemDouble
In 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 (Optional)
- Type: Emgu.CV.CvEnumBorderType
The row border type. - columnBorderType (Optional)
- Type: Emgu.CV.CvEnumBorderType
The column border type.
See Also