[英]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.