ImageTColor, TDepth Properties
The ImageTColor, TDepth generic type exposes the following members.
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.
Get or Set an Array of bytes that represent the data in this array(Inherited from CvArrayTDepth.)
The number of cols for this array(Inherited from CvArrayTDepth.)
Get the equivalent opencv depth type for this image
Get or Set the data for this matrix. The Get function has O(1) complexity. The Set function make a copy of the data
Get the height (Rows) of the cvArray. If ROI is set, the height of the ROI(Inherited from CvArrayTDepth.)
Indicates if the region of interest has been set
Get or Set the color in the location
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.
Get or Set the color in the rowth row (y direction) and columnth column (x direction)
Get the underneath managed array(Overrides CvArrayTDepthManagedArray.)
Get the Mat header that represent this CvArr(Inherited from CvArrayTDepth.)
The IplImage structure
The norm of this Array(Inherited from CvArrayTDepth.)
Get the number of channels for this image(Overrides CvArrayTDepthNumberOfChannels.)
The pointer to the internal structure(Inherited from CvArrayTDepth.)
Get or Set the region of interest for this image. To clear the ROI, set it to System.Drawing.Rectangle.Empty
The number of rows for this array(Inherited from CvArrayTDepth.)
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.)
Get the size of the array(Overrides CvArrayTDepthSize.)
Sum of diagonal elements of the matrix(Inherited from CvArrayTDepth.)
Get the width (Cols) of the cvArray. If ROI is set, the width of the ROI(Inherited from CvArrayTDepth.)