Click or drag to resize

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()

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