CvMat Constructor (Int32, Int32, MatrixType, IntPtr) OpenCvSharp Class Library
Allocates header for the new matrix and underlying data, and returns a pointer to the created matrix. (cvCreateMatHeader + cvSetData)

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public CvMat(
	int rows,
	int cols,
	MatrixType type,
	IntPtr data
)

Parameters

rows
Type: SystemInt32
Number of rows in the matrix.
cols
Type: SystemInt32
Number of columns in the matrix.
type
Type: OpenCvSharpMatrixType
Type of the matrix elements.
data
Type: SystemIntPtr
Data pointer of elements.

Return Value

Type: 
See Also

Reference