Divides one array by another:
dst(I)=scale * src1(I)/src2(I), if src1!=IntPtr.Zero;
dst(I)=scale/src2(I), if src1==IntPtr.Zero;
All the arrays must have the same type, and the same size (or ROI size)
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static void cvDiv( IntPtr src1, IntPtr src2, IntPtr dst, double scale ) |
Visual Basic (Declaration) |
---|
Public Shared Sub cvDiv ( _ src1 As IntPtr, _ src2 As IntPtr, _ dst As IntPtr, _ scale As Double _ ) |
Visual C++ |
---|
public: static void cvDiv( IntPtr src1, IntPtr src2, IntPtr dst, double scale ) |
Parameters
- src1
- Type: System..::.IntPtr
The first source array. If the pointer is IntPtr.Zero, the array is assumed to be all 1s.
- src2
- Type: System..::.IntPtr
The second source array
- dst
- Type: System..::.IntPtr
The destination array
- scale
- Type: System..::.Double
Optional scale factor