Table of Contents

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

src1 InputArray

The first source array

src2 InputArray

The second source array; should have the same size and same type as src1

dst OutputArray

The destination array; will have the same size and same type as src2

scale double

Scale factor [By default this is 1]

dtype MatType?

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

scale double

Scale factor

src2 InputArray

The first source array

dst OutputArray

The destination array; will have the same size and same type as src2

dtype int