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
matsIEnumerable<Mat>
VectorOfMat(int)
Constructor
public VectorOfMat(int size)
Parameters
sizeint
Properties
ElemPtr
&vector[0]
public nint ElemPtr { get; }
Property Value
Size
vector.size()
public int Size { get; }
Property Value
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