CvMatInitMatHeaderT Method (Int32, Int32, MatrixType, T) OpenCvSharp Class Library
Initializes matrix header.

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

public CvMat InitMatHeader<T>(
	int rows,
	int cols,
	MatrixType type,
	T[] data
)
where T : struct, new()

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: T
Optional data pointer assigned to the matrix header.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:OpenCvSharp.CvMat.InitMatHeader``1(System.Int32,System.Int32,OpenCvSharp.MatrixType,``0[])"]

Return Value

Type: CvMat

[Missing <returns> documentation for "M:OpenCvSharp.CvMat.InitMatHeader``1(System.Int32,System.Int32,OpenCvSharp.MatrixType,``0[])"]

See Also

Reference