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.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.0.1010 (2.2.0.1010)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvSub(
	IntPtr src1,
	IntPtr src2,
	IntPtr dst,
	IntPtr mask
)
Public Shared Sub cvSub ( _
	src1 As IntPtr, _
	src2 As IntPtr, _
	dst As IntPtr, _
	mask As IntPtr _
)
public:
static void cvSub(
	IntPtr src1, 
	IntPtr src2, 
	IntPtr dst, 
	IntPtr mask
)

Parameters

src1
IntPtr
The first source array
src2
IntPtr
The second source array
dst
IntPtr
The destination array
mask
IntPtr
Operation mask, 8-bit single channel array; specifies elements of destination array to be changed

See Also