Method Divide
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Divide(InputArray, InputArray, OutputArray, double, MatType?)
Performs per-element division of two arrays or a scalar by an array.
public static void Divide(InputArray src1, InputArray src2, OutputArray dst, double scale = 1, MatType? dtype = null)
Parameters
src1InputArrayThe first source array
src2InputArrayThe second source array; should have the same size and same type as src1
dstOutputArrayThe destination array; will have the same size and same type as src2
scaledoubleScale factor [By default this is 1]
dtypeMatType?
Divide(double, InputArray, OutputArray, int)
Performs per-element division of two arrays or a scalar by an array.
public static void Divide(double scale, InputArray src2, OutputArray dst, int dtype = -1)
Parameters
scaledoubleScale factor
src2InputArrayThe first source array
dstOutputArrayThe destination array; will have the same size and same type as src2
dtypeint