| MatFromArrayTElem Method (TElem) |
Initializes as M x N 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>(
TElem[,] arr
)
where TElem : struct, new()
Public Shared Function FromArray(Of TElem As {Structure, New}) (
arr As TElem(,)
) As Mat(Of TElem)
public:
generic<typename TElem>
where TElem : value class, gcnew()
static Mat<TElem>^ FromArray(
array<TElem,2>^ 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[0:,0:])"]
Return Value
Type:
MatTElem[Missing <returns> documentation for "M:OpenCvSharp.Mat.FromArray``1(``0[0:,0:])"]
See Also