Click or drag to resize

ImageTColor, TDepth Properties

The ImageTColor, TDepth generic 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 an Array of bytes that represent the data in this array
(Inherited from CvArrayTDepth.)
Public propertyCols
The number of cols for this array
(Inherited from CvArrayTDepth.)
Public propertyStatic memberCvDepth
Get the equivalent opencv depth type for this image
Public propertyData
Get or Set the data for this matrix. The Get function has O(1) complexity. The Set function make a copy of the data
Public propertyHeight
Get the height (Rows) of the cvArray. If ROI is set, the height of the ROI
(Inherited from CvArrayTDepth.)
Public propertyIsROISet
Indicates if the region of interest has been set
Public propertyItemPoint
Get or Set the color in the location
Public propertyItemInt32
Get or Set the specific channel of the current image. For Get operation, a copy of the specific channel is returned. For Set operation, the specific channel is copied to this image.
Public propertyItemInt32, Int32
Get or Set the color in the rowth row (y direction) and columnth column (x direction)
Public propertyManagedArray
Get the underneath managed array
(Overrides CvArrayTDepthManagedArray.)
Public propertyMat
Get the Mat header that represent this CvArr
(Inherited from CvArrayTDepth.)
Public propertyMIplImage
The IplImage structure
Public propertyNorm
The norm of this Array
(Inherited from CvArrayTDepth.)
Public propertyNumberOfChannels
Get the number of channels for this image
(Overrides CvArrayTDepthNumberOfChannels.)
Public propertyPtr
The pointer to the internal structure
(Inherited from CvArrayTDepth.)
Public propertyROI
Get or Set the region of interest for this image. To clear the ROI, set it to System.Drawing.Rectangle.Empty
Public propertyRows
The number of rows for this array
(Inherited from CvArrayTDepth.)
Public propertySerializationCompressionRatio
Get or set the Compression Ratio for serialization. A number between 0 - 9. 0 means no compression at all, while 9 means best compression
(Inherited from CvArrayTDepth.)
Public propertySize
Get the size of the array
(Overrides CvArrayTDepthSize.)
Public propertyTrace
Sum of diagonal elements of the matrix
(Inherited from CvArrayTDepth.)
Public propertyWidth
Get the width (Cols) of the cvArray. If ROI is set, the width of the ROI
(Inherited from CvArrayTDepth.)
See Also