Cv2Divide Method (InputArray, InputArray, OutputArray, Double, Int32)
|
Performs per-element division of two arrays or a scalar by an array.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static void Divide(
InputArray src1,
InputArray src2,
OutputArray dst,
double scale = 1,
int dtype = -1
)
Public Shared Sub Divide (
src1 As InputArray,
src2 As InputArray,
dst As OutputArray,
Optional scale As Double = 1,
Optional dtype As Integer = -1
)
public:
static void Divide(
InputArray^ src1,
InputArray^ src2,
OutputArray^ dst,
double scale = 1,
int dtype = -1
)
static member Divide :
src1 : InputArray *
src2 : InputArray *
dst : OutputArray *
?scale : float *
?dtype : int
(* Defaults:
let _scale = defaultArg scale 1
let _dtype = defaultArg dtype -1
*)
-> unit
OpenCvSharp.Cv2.Divide = function(src1, src2, dst, scale, dtype);
Parameters
- src1
- Type: OpenCvSharpInputArray
The first source array - src2
- Type: OpenCvSharpInputArray
The second source array; should have the same size and same type as src1 - dst
- Type: OpenCvSharpOutputArray
The destination array; will have the same size and same type as src2 - scale (Optional)
- Type: SystemDouble
Scale factor [By default this is 1] - dtype (Optional)
- Type: SystemInt32
See Also