Create a matrix of the specific size

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

Syntax

C#
public Matrix(
	int rows,
	int cols
)
Visual Basic (Declaration)
Public Sub New ( _
	rows As Integer, _
	cols As Integer _
)
Visual C++
public:
Matrix(
	int rows, 
	int cols
)

Parameters

rows
Type: System..::.Int32
The number of rows (height)
cols
Type: System..::.Int32
The number of cols (width)

See Also