Click or drag to resize

UMat Properties

The UMat type exposes the following members.

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 Image object is disposed The Set property convert the bitmap to this Image type.
Public propertyBytes
Get or Set the raw image data
Public propertyCols
The number of columns
Public propertyData
Get the managed data used by the Mat
(Inherited from MatDataAllocator.)
Public propertyDepth
Depth type
Public propertyDims
The matrix dimensionality
Public propertyElementSize
The size of the elements in this matrix
Public propertyIsContinuous
True if the data is continues
Public propertyIsEmpty
True if the matrix 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 propertyTotal
The method returns the number of array elements (a number of pixels if the array represents an image)
See Also