| MatFromArrayTElem Method (IEnumerableTElem) |
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>(
IEnumerable<TElem> enumerable
)
where TElem : struct, new()
Public Shared Function FromArray(Of TElem As {Structure, New}) (
enumerable As IEnumerable(Of TElem)
) As Mat(Of TElem)
public:
generic<typename TElem>
where TElem : value class, gcnew()
static Mat<TElem>^ FromArray(
IEnumerable<TElem>^ enumerable
)
static member FromArray :
enumerable : IEnumerable<'TElem> -> Mat<'TElem> when 'TElem : struct, new()
Parameters
- enumerable
- Type: System.Collections.GenericIEnumerableTElem
Source array data to be copied to this
Type Parameters
- TElem
[Missing <typeparam name="TElem"/> documentation for "M:OpenCvSharp.Mat.FromArray``1(System.Collections.Generic.IEnumerable{``0})"]
Return Value
Type:
MatTElem[Missing <returns> documentation for "M:OpenCvSharp.Mat.FromArray``1(System.Collections.Generic.IEnumerable{``0})"]
See Also