Click or drag to resize
Mat Properties
http://www.emgu.com

The Mat type exposes the following members.

Properties
  NameDescription
Public propertyBitmap
The Get property provide a more efficient way to convert Image<Gray, Byte>, Image<Bgr, Byte> and Image<Bgra, Byte> into Bitmap such that the image data is shared with Bitmap. If you change the pixel value on the Bitmap, you change the pixel values on the Image object as well! For other types of image this property has the same effect as ToBitmap() Take extra caution not to use the Bitmap after the Mat object is disposed The Set property convert the bitmap to this Image type.
Public propertyCols
The number of columns
Public propertyData
Get the managed data used by the Mat
(Inherited from MatDataAllocator.)
Public propertyDataPointer
Pointer to the beginning of the raw data
Public propertyDepth
Depth type
Public propertyDims
The matrix dimensionality
Public propertyElementSize
The size of the elements in this matrix
Public propertyHeight
Get the height of the mat.
Public propertyIsContinuous
True if the data is continues
Public propertyIsEmpty
True if the Mat is empty
Public propertyIsSubmatrix
True if the matrix is a submatrix of another matrix
Public propertyNumberOfChannels
Number of channels
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Public propertyRows
The number of rows
Public propertySize
The size of this matrix
Public propertySizeOfDimemsion
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.
Public propertyStep
Step
Public propertyTotal
The method returns the number of array elements (a number of pixels if the array represents an image)
Public propertyWidth
Get the width of the mat
Top
See Also