| MatScharr Method |
Calculates the first x- or y- image derivative using Scharr operator
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public Mat Scharr(
MatType ddepth,
int xorder,
int yorder,
double scale = 1,
double delta = 0,
BorderTypes borderType = BorderTypes.Reflect101
)
Public Function Scharr (
ddepth As MatType,
xorder As Integer,
yorder As Integer,
Optional scale As Double = 1,
Optional delta As Double = 0,
Optional borderType As BorderTypes = BorderTypes.Reflect101
) As Mat
public:
Mat^ Scharr(
MatType ddepth,
int xorder,
int yorder,
double scale = 1,
double delta = 0,
BorderTypes borderType = BorderTypes::Reflect101
)
member Scharr :
ddepth : MatType *
xorder : int *
yorder : int *
?scale : float *
?delta : float *
?borderType : BorderTypes
(* Defaults:
let _scale = defaultArg scale 1
let _delta = defaultArg delta 0
let _borderType = defaultArg borderType BorderTypes.Reflect101
*)
-> Mat
Parameters
- ddepth
- Type: OpenCvSharpMatType
The destination image depth - xorder
- Type: SystemInt32
Order of the derivative x - yorder
- Type: SystemInt32
Order of the derivative y - scale (Optional)
- Type: SystemDouble
The optional scale factor for the computed derivative values (by default, no scaling is applie - delta (Optional)
- Type: SystemDouble
The optional delta value, added to the results prior to storing them in dst - borderType (Optional)
- Type: OpenCvSharpBorderTypes
The pixel extrapolation method
Return Value
Type:
MatThe destination image; will have the same size and the same number of channels as src
See Also