【问题标题】:How to convert image into emguCV image如何将图像转换为 emguCV 图像
【发布时间】:2018-09-21 18:42:43
【问题描述】:

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

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

【问题讨论】:

    标签: c# image bitmap emgucv


    【解决方案1】:

    您可以使用Image 类的constructor:

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

    【讨论】:

      猜你喜欢
      • 2015-03-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-03
      • 1970-01-01
      • 1970-01-01
      • 2014-01-26
      相关资源
      最近更新 更多