Table of Contents

Class VectorOfGMat

Namespace
Emgu.CV.Util
Assembly
Emgu.CV.dll

Wrapped class of the C++ standard vector of GMat.

public class VectorOfGMat : UnmanagedVector, IDisposable, IAsyncDisposable
Inheritance
VectorOfGMat
Implements
Inherited Members

Constructors

VectorOfGMat()

Create an empty standard vector of GMat

public VectorOfGMat()

VectorOfGMat(params GMat[])

Create an standard vector of GMat with the initial values

public VectorOfGMat(params GMat[] values)

Parameters

values GMat[]

The initial values

VectorOfGMat(int)

Create an standard vector of GMat of the specific size

public VectorOfGMat(int size)

Parameters

size int

The size of the vector

Properties

this[int]

Get the item in the specific index

public GMat this[int index] { get; }

Parameters

index int

The index

Property Value

GMat

The item in the specific index

Length

The size of memory in bytes, that is needed to hold all the items in this vector

public override long Length { get; }

Property Value

long

Size

Get the size of the vector

public override int Size { get; }

Property Value

int

SizeOfItemInBytes

The size of the item in this Vector, counted as size in bytes.

public static int SizeOfItemInBytes { get; }

Property Value

int

StartAddress

The pointer to the first element on the vector. In case of an empty vector, IntPtr.Zero will be returned.

public override nint StartAddress { get; }

Property Value

nint

Methods

Clear()

Clear the vector

public void Clear()

DisposeObject()

Release the standard vector

protected override void DisposeObject()

Push(GMat)

Push a value into the standard vector

public void Push(GMat value)

Parameters

value GMat

The value to be pushed to the vector

Push(GMat[])

Push multiple values into the standard vector

public void Push(GMat[] values)

Parameters

values GMat[]

The values to be pushed to the vector

Push(VectorOfGMat)

Push multiple values from the other vector into this vector

public void Push(VectorOfGMat other)

Parameters

other VectorOfGMat

The other vector, from which the values will be pushed to the current vector