Click or drag to resize
CvInvokeSubtract Method
http://www.emgu.com
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.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public static void Subtract(
	IInputArray src1,
	IInputArray src2,
	IOutputArray dst,
	IInputArray mask = null,
	DepthType dtype = DepthType.Default
)

Parameters

src1
Type: Emgu.CVIInputArray
The first source array
src2
Type: Emgu.CVIInputArray
The second source array
dst
Type: Emgu.CVIOutputArray
The destination array
mask (Optional)
Type: Emgu.CVIInputArray
Operation mask, 8-bit single channel array; specifies elements of destination array to be changed
dtype (Optional)
Type: Emgu.CV.CvEnumDepthType
Optional depth of the output array
See Also