| MatFromArrayTElem Method (TElem) |
Initializes as N x 1 matrix and copies array data to this
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static Mat<TElem> FromArray<TElem>(
params TElem[] arr
)
where TElem : struct, new()
Public Shared Function FromArray(Of TElem As {Structure, New}) (
ParamArray arr As TElem()
) As Mat(Of TElem)
public:
generic<typename TElem>
where TElem : value class, gcnew()
static Mat<TElem>^ FromArray(
... array<TElem>^ arr
)
static member FromArray :
arr : 'TElem[] -> Mat<'TElem> when 'TElem : struct, new()
Parameters
- arr
- Type: TElem
Source array data to be copied to this
Type Parameters
- TElem
[Missing <typeparam name="TElem"/> documentation for "M:OpenCvSharp.Mat.FromArray``1(``0[])"]
Return Value
Type:
MatTElem[Missing <returns> documentation for "M:OpenCvSharp.Mat.FromArray``1(``0[])"]
See Also