Assigns user data to the array header.
Header should be initialized before using cvCreate*Header, cvInit*Header or cvMat (in case of matrix) function.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void SetData<T>( CvArr arr, T[] data, int step ) where T : struct, new()
Parameters
- arr
- Type: OpenCvSharpCvArr
Array header. - data
- Type: T
User data. - step
- Type: SystemInt32
Full row length in bytes.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:OpenCvSharp.Cv.SetData``1(OpenCvSharp.CvArr,``0[],System.Int32)"]
See Also