MatOfFloat4 Constructor (IEnumerableInt32, Vec4f, IEnumerableInt64) OpenCvSharp Class Library
constructor for matrix headers pointing to user-allocated data

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

public MatOfFloat4(
	IEnumerable<int> sizes,
	Vec4f[] data,
	IEnumerable<long> steps = null
)

Parameters

sizes
Type: System.Collections.GenericIEnumerableInt32
Array of integers specifying an n-dimensional array shape.
data
Type: OpenCvSharp.CPlusPlusVec4f
Pointer to the user data. Matrix constructors that take data and step parameters do not allocate matrix data. Instead, they just initialize the matrix header that points to the specified data, which means that no data is copied. This operation is very efficient and can be used to process external data using OpenCV functions. The external data is not automatically deallocated, so you should take care of it.
steps (Optional)
Type: System.Collections.GenericIEnumerableInt64
Array of ndims-1 steps in case of a multi-dimensional array (the last step is always set to the element size). If not specified, the matrix is assumed to be continuous.
See Also

Reference