Click or drag to resize

BitmapExtension Class

http://www.emgu.com
Provide extension method to convert IInputArray to and from Bitmap
Inheritance Hierarchy
SystemObject
  Emgu.CVBitmapExtension

Namespace:  Emgu.CV
Assemblies:   Emgu.CV.Platform.NetCore (in Emgu.CV.Platform.NetCore.dll) Version: 4.3.0.3890
  Emgu.CV.Platform.NetFramework (in Emgu.CV.Platform.NetFramework.dll) Version: 4.3.0.3890 (4.3.0.3890)
Syntax
public static class BitmapExtension

The BitmapExtension type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAsBitmapTColor, 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
Public methodStatic memberColorPaletteToLookupTable
Convert the color palette to four lookup tables
Public methodStatic memberRawDataToBitmap
Convert raw data to bitmap
Public methodStatic memberToBitmap(GpuMat)
Convert the gpuMat into Bitmap, the pixel values are copied over to the Bitmap
Public methodStatic memberToBitmap(Mat)
Convert the mat into Bitmap, the pixel values are copied over to the Bitmap
Public methodStatic memberToBitmap(UMat)
Convert the umat into Bitmap, the pixel values are copied over to the Bitmap
Public methodStatic memberToBitmapTColor, TDepth(CudaImageTColor, TDepth)
Convert the CudaImage to its equivalent Bitmap representation
Public methodStatic memberToBitmapTColor, TDepth(ImageTColor, TDepth)
Convert this image into Bitmap, the pixel values are copied over to the Bitmap
Public methodStatic memberToBitmapTColor, TDepth(ImageTColor, TDepth, Int32, Int32)
Create a Bitmap image of certain size
Public methodStatic memberToImageTColor, TDepth
Create an Image < TColor, TDepth > from Bitmap
Top
Fields
  NameDescription
Public fieldStatic memberGrayscalePalette
The ColorPalette of Grayscale for Bitmap Format8bppIndexed
Top
See Also