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