Mat Properties |
The Mat type exposes the following members.
Name | Description | |
---|---|---|
![]() | Cols |
The number of columns
|
![]() | DataPointer |
Pointer to the beginning of the raw data
|
![]() | Depth |
Depth type
|
![]() | Dims |
The matrix dimensionality
|
![]() | ElementSize |
The size of the elements in this matrix
|
![]() | Height |
Get the height of the mat.
|
![]() | IsContinuous |
True if the data is continues
|
![]() | IsEmpty |
True if the Mat is empty
|
![]() | IsSubmatrix |
True if the matrix is a submatrix of another matrix
|
![]() | NumberOfChannels |
Number of channels
|
![]() | Ptr |
Pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
![]() | Rows |
The number of rows
|
![]() | Size |
The size of this matrix
|
![]() | SizeOfDimension |
Get an array of the size of the dimensions. e.g. if the mat is 9x10x11, the array of {9, 10, 11} will be returned.
|
![]() | Step |
Step
|
![]() | Total |
The method returns the number of array elements (a number of pixels if the array represents an image)
|
![]() | Width |
Get the width of the mat
|