http://www.emgu.com
Elementwise subtract another image from the current image

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static Image<TColor, TDepth> operator -(
	Image<TColor, TDepth> image1,
	Image<TColor, TDepth> image2
)
Visual Basic
Public Shared Operator - ( _
	image1 As Image(Of TColor, TDepth), _
	image2 As Image(Of TColor, TDepth) _
) As Image(Of TColor, TDepth)
Visual C++
public:
static Image<TColor, TDepth>^ operator -(
	Image<TColor, TDepth>^ image1, 
	Image<TColor, TDepth>^ image2
)

Parameters

image1
Type: Emgu.CV..::..Image<(Of <(<'TColor, TDepth>)>)>
The image to be subtracted
image2
Type: Emgu.CV..::..Image<(Of <(<'TColor, TDepth>)>)>
The second image to be subtracted from image1

Return Value

The result of elementwise subtracting img2 from image1

See Also