Class VectorOfMat
Inherited Members
Namespace: OpenCvSharp.Internal.Vectors
Assembly: OpenCvSharp.dll
Syntax
public class VectorOfMat : DisposableCvObject, ICvPtrHolder, IStdVector<Mat>
Constructors
| Improve this Doc View SourceVectorOfMat()
Constructor
Declaration
public VectorOfMat()
VectorOfMat(IEnumerable<Mat>)
Constructor
Declaration
public VectorOfMat(IEnumerable<Mat> mats)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Mat> | mats |
VectorOfMat(Int32)
Constructor
Declaration
public VectorOfMat(int size)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | size |
Properties
| Improve this Doc View SourceElemPtr
&vector[0]
Declaration
public IntPtr ElemPtr { get; }
Property Value
Type | Description |
---|---|
IntPtr |
Size
vector.size()
Declaration
public int Size { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceDisposeUnmanaged()
Releases unmanaged resources
Declaration
protected override void DisposeUnmanaged()
Overrides
| Improve this Doc View SourceToArray()
Converts std::vector to managed array
Declaration
public Mat[] ToArray()
Returns
Type | Description |
---|---|
Mat[] |
ToArray<T>()
Converts std::vector to managed array
Declaration
public T[] ToArray<T>()
where T : Mat, new()
Returns
Type | Description |
---|---|
T[] |
Type Parameters
Name | Description |
---|---|
T |
Implements
IDisposable