Elementwise substract another matrix from the current matrix

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

Syntax

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

Parameters

mat2
Type: Emgu.CV..::.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