BitmapExtension Methods |
The BitmapExtension type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AsBitmapTColor, TDepth |
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 |
![]() ![]() | ColorPaletteToLookupTable |
Convert the color palette to four lookup tables
|
![]() ![]() | RawDataToBitmap |
Convert raw data to bitmap
|
![]() ![]() | ToBitmap(GpuMat) |
Convert the gpuMat into Bitmap, the pixel values are copied over to the Bitmap
|
![]() ![]() | ToBitmap(Mat) |
Convert the mat into Bitmap, the pixel values are copied over to the Bitmap
|
![]() ![]() | ToBitmap(UMat) |
Convert the umat into Bitmap, the pixel values are copied over to the Bitmap
|
![]() ![]() | ToBitmapTColor, TDepth(CudaImageTColor, TDepth) |
Convert the CudaImage to its equivalent Bitmap representation
|
![]() ![]() | ToBitmapTColor, TDepth(ImageTColor, TDepth) |
Convert this image into Bitmap, the pixel values are copied over to the Bitmap
|
![]() ![]() | ToBitmapTColor, TDepth(ImageTColor, TDepth, Int32, Int32) | Create a Bitmap image of certain size |
![]() ![]() | ToImageTColor, TDepth |
Create an Image < TColor, TDepth > from Bitmap
|