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 Image<TColor, TDepth> Sub(
	Image<TColor, TDepth> img2
)
Visual Basic
Public Function Sub ( 
	img2 As Image(Of TColor, TDepth)
) As Image(Of TColor, TDepth)
Visual C++
public:
Image<TColor, TDepth>^ Sub(
	Image<TColor, TDepth>^ img2
)
F#
member Sub : 
        img2 : Image<'TColor, 'TDepth> -> Image<'TColor, 'TDepth> 

Parameters

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

Return Value

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

See Also