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