Elementwise subtract another image from the current image

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public Image<TColor, TDepth> Sub(
	Image<TColor, TDepth> img2
)
Public Function Sub ( _
	img2 As Image(Of TColor, TDepth) _
) As Image(Of TColor, TDepth)
public:
Image<TColor, TDepth>^ Sub(
	Image<TColor, TDepth>^ img2
)

Parameters

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

Return Value

The result of elementwise subtracting img2 from the current image

See Also