Table of Contents

Class VectorOfMat

Namespace
OpenCvSharp.Internal.Vectors
Assembly
OpenCvSharp.dll
public class VectorOfMat : DisposableCvObject, ICvPtrHolder, IStdVector<Mat>, IDisposable
Inheritance
VectorOfMat
Implements
Inherited Members

Constructors

VectorOfMat()

Constructor

public VectorOfMat()

VectorOfMat(IEnumerable<Mat>)

Constructor

public VectorOfMat(IEnumerable<Mat> mats)

Parameters

mats IEnumerable<Mat>

VectorOfMat(int)

Constructor

public VectorOfMat(int size)

Parameters

size int

Properties

ElemPtr

&vector[0]

public nint ElemPtr { get; }

Property Value

nint

Size

vector.size()

public int Size { get; }

Property Value

int

Methods

DisposeUnmanaged()

Releases unmanaged resources

protected override void DisposeUnmanaged()

ToArray()

Converts std::vector to managed array

public Mat[] ToArray()

Returns

Mat[]

ToArray<T>()

Converts std::vector to managed array

public T[] ToArray<T>() where T : Mat, new()

Returns

T[]

Type Parameters

T