Subtracts one array from another one:
dst(I)=src1(I)-src2(I) if mask(I)!=0
All the arrays must have the same type, except the mask, 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 cvSub( IntPtr src1, IntPtr src2, IntPtr dst, IntPtr mask ) |
Visual Basic (Declaration) |
---|
Public Shared Sub cvSub ( _ src1 As IntPtr, _ src2 As IntPtr, _ dst As IntPtr, _ mask As IntPtr _ ) |
Visual C++ |
---|
public: static void cvSub( IntPtr src1, IntPtr src2, IntPtr dst, IntPtr mask ) |
Parameters
- src1
- Type: System..::.IntPtr
The first source array
- src2
- Type: System..::.IntPtr
The second source array
- dst
- Type: System..::.IntPtr
The destination array
- mask
- Type: System..::.IntPtr
Operation mask, 8-bit single channel array; specifies elements of destination array to be changed