CudaDerivFilter Constructor |
http://www.emgu.com
Creates a generalized Deriv operator.
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntaxpublic CudaDerivFilter(
DepthType srcDepth,
int srcChannels,
DepthType dstDepth,
int dstChannels,
int dx,
int dy,
int ksize,
bool normalize = false,
double scale = 1,
BorderType rowBorderType = BorderType.Reflect101,
BorderType columnBorderType = BorderType.NegativeOne
)
Public Sub New (
srcDepth As DepthType,
srcChannels As Integer,
dstDepth As DepthType,
dstChannels As Integer,
dx As Integer,
dy As Integer,
ksize As Integer,
Optional normalize As Boolean = false,
Optional scale As Double = 1,
Optional rowBorderType As BorderType = BorderType.Reflect101,
Optional columnBorderType As BorderType = BorderType.NegativeOne
)
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::Reflect101,
BorderType columnBorderType = BorderType::NegativeOne
)
new :
srcDepth : DepthType *
srcChannels : int *
dstDepth : DepthType *
dstChannels : int *
dx : int *
dy : int *
ksize : int *
?normalize : bool *
?scale : float *
?rowBorderType : BorderType *
?columnBorderType : BorderType
(* Defaults:
let _normalize = defaultArg normalize false
let _scale = defaultArg scale 1
let _rowBorderType = defaultArg rowBorderType BorderType.Reflect101
let _columnBorderType = defaultArg columnBorderType BorderType.NegativeOne
*)
-> CudaDerivFilter
Parameters
- srcDepth
- Type: Emgu.CV.CvEnumDepthType
Source image depth. - srcChannels
- Type: SystemInt32
Source image channels. - dstDepth
- Type: Emgu.CV.CvEnumDepthType
Destination array depth. - dstChannels
- Type: SystemInt32
Destination array channels. - dx
- Type: SystemInt32
Derivative order in respect of x. - dy
- Type: SystemInt32
Derivative order in respect of y. - ksize
- Type: SystemInt32
Aperture size. - normalize (Optional)
- Type: SystemBoolean
Flag indicating whether to normalize (scale down) the filter coefficients or not. - scale (Optional)
- Type: SystemDouble
Optional scale factor for the computed derivative values. By default, no scaling is applied. - rowBorderType (Optional)
- Type: Emgu.CV.CvEnumBorderType
Pixel extrapolation method in the vertical direction. - columnBorderType (Optional)
- Type: Emgu.CV.CvEnumBorderType
Pixel extrapolation method in the horizontal direction.
See Also