如何将图像转换为emguCV图像

时间:2018-09-21 18:42:44

标签: c# image bitmap emgucv

如何将图像从表单转换为emguCV图像?

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

1 个答案:

答案 0 :(得分:0)

您可以使用Image类的constructor

Image<Bgr, byte> img = new Image<Bgr, byte>(new Bitmap(pictureBox1.Image));
相关问题