簡體   English   中英

如何將圖像轉換為emguCV圖像

[英]How to convert image into emguCV image

如何將圖像從表單轉換為emguCV圖像?

Image<Bgr, byte> img = new Bitmap(pictureBox1.Image); // error

您可以使用Image類的構造函數

Image<Bgr, byte> img = new Image<Bgr, byte>(new Bitmap(pictureBox1.Image));

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM