---
# System prepended metadata

title: EMGU IMAGE

---

### EMGU IMAGE
Gray, byte: 1* 2^29 - 21  (536870891)
            46340 * 46341 (2147441940)
            [13* 2^27 = 1744830464 X]
Bgr, byte: 1* 2^27 + 44739235 (536870889)
            26753 * 26753 (2147169027)
 >>new      30892 * 23169 (2147210244)  [7723]
            [16* 2^25 = 3221225472 O]
### EMGU Vedio
Bgr, byte: 9000* 9000(用非CxVis檔案開啟)
 >>new    -> CxVis可以接受23170* 23170的video

### Bitmap
Gray, byte: 1* 2^25 - 1 (33554431)
            46340 * 46340

Bgr, byte: 1* 2^25 - 1 (33554431)
            26754 * 26754

### Skia SKBitmap
Gray, byte: 1* 2^25 - 1 (33554431)
            23170 * 23170

Bgr, byte: 1* 2^25 - 1 (33554431)
            23170 * 23170
 >>new      26752 * 20064   [6688]




#### ErrorMSG
at System.Drawing.SafeNativeMethods.Gdip.GdipGraphicsClear(HandleRef graphics, Int32 argb)
at System.Drawing.Graphics.Clear(Color color)
at SkiaSharp.Views.Desktop.Extensions.ToSKPixmap(Bitmap bitmap, SKPixmap pixmap)
at SkiaSharp.Views.Desktop.Extensions.ToSKBitmap(Bitmap bitmap)
at Corex.Vision.UI.Component.ImageWidget.SetImage(IImmutableImage& image, MmPerPix mmPerPix) in C:\Users\yichen\source\repos\CxVis\20230712_v0.3-ui\CxVis\Corex.Vision.UI\Component\ImageWidget.cs:line 633
嘗試讀取或寫入受保護的記憶體。這通常表示其他記憶體已損毀。
   
   
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y)
at SkiaSharp.Views.Desktop.Extensions.ToSKPixmap(Bitmap bitmap, SKPixmap pixmap)
at SkiaSharp.Views.Desktop.Extensions.ToSKBitmap(Bitmap bitmap)
at Corex.Vision.UI.Component.ImageWidget.SetImage(IImmutableImage& image, MmPerPix mmPerPix) in C:\Users\yichen\source\repos\CxVis\20230712_v0.3-ui\CxVis\Corex.Vision.UI\Component\ImageWidget.cs:line 633
溢位錯誤。
   
   
