CvMatInitMatHeaderT Method (Int32, Int32, MatrixType, T, Int32) 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,
	int step
)
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.
step
Type: SystemInt32
Full row width in bytes of the data assigned. By default, the minimal possible step is used, r.e., no gaps is assumed between subsequent rows of the matrix.

Type Parameters

T

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

Return Value

Type: CvMat

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

See Also

Reference