CvInitMatHeaderT Method (CvMat, 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 static CvMat InitMatHeader<T>(
	CvMat mat,
	int rows,
	int cols,
	MatrixType type,
	T[] data
)
where T : struct, new()

Parameters

mat
Type: OpenCvSharpCvMat
Reference to the matrix header to be initialized.
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.Cv.InitMatHeader``1(OpenCvSharp.CvMat,System.Int32,System.Int32,OpenCvSharp.MatrixType,``0[])"]

Return Value

Type: CvMat

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

See Also

Reference