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.10.1935 (2.4.10.1935)

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
)
F#
static let inline (-)
        image1 : Image<'TColor, 'TDepth> * 
        image2 : Image<'TColor, 'TDepth>  : Image<'TColor, 'TDepth>

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

Type: Image<(Of <(<'TColor, TDepth>)>)>
The result of elementwise subtracting img2 from image1

See Also