Create a matrix of the specific size and channels

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,
	int channels
)
Visual Basic (Declaration)
Public Sub New ( _
	rows As Integer, _
	cols As Integer, _
	channels As Integer _
)
Visual C++
public:
Matrix(
	int rows, 
	int cols, 
	int channels
)

Parameters

rows
Type: System..::.Int32
The number of rows
cols
Type: System..::.Int32
The number of cols
channels
Type: System..::.Int32
The number of channels

See Also