Initializes multi-dimensional array header.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static CvMatND InitMatNDHeader<T>( CvMatND mat, int dims, int[] sizes, MatrixType type, T[] data ) where T : struct, new()
Parameters
- mat
- Type: OpenCvSharpCvMatND
Reference to the array header to be initialized. - dims
- Type: SystemInt32
Number of array dimensions. - sizes
- Type: SystemInt32
Array of dimension sizes. - type
- Type: OpenCvSharpMatrixType
Type of array elements. The same as for CvMat. - data
- Type: T
Optional data pointer assigned to the matrix header.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:OpenCvSharp.Cv.InitMatNDHeader``1(OpenCvSharp.CvMatND,System.Int32,System.Int32[],OpenCvSharp.MatrixType,``0[])"]
Return Value
Type: CvMatND[Missing <returns> documentation for "M:OpenCvSharp.Cv.InitMatNDHeader``1(OpenCvSharp.CvMatND,System.Int32,System.Int32[],OpenCvSharp.MatrixType,``0[])"]
See Also