Elementwise substract another matrix from the current matrix

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public Matrix<TDepth> Sub(
	Matrix<TDepth> mat2
)
Public Function Sub ( _
	mat2 As Matrix(Of TDepth) _
) As Matrix(Of TDepth)
public:
Matrix<TDepth>^ Sub(
	Matrix<TDepth>^ mat2
)

Parameters

mat2
Matrix<(Of <(TDepth>)>)
The matrix to be substracted to the current matrix

Return Value

The result of elementwise substracting mat2 from the current matrix

See Also