Elementwise subtract another image from the current image

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

Syntax

C#
public Image<TColor, TDepth> Sub(
	Image<TColor, TDepth> img2
)
Visual Basic (Declaration)
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
)

Parameters

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

Return Value

The result of elementwise subtracting img2 from the current image

See Also