//Image方法
Image<Bgr, Byte> img = new Image<Bgr, byte>(320, 240, new Bgr(255, 0, 0));
//Mat方法
Mat img = new Mat(200, 400, DepthType.Cv8U, 3);
img.SetTo(new Bgr(255, 0, 0).MCvScalar);
imageBox1.Image = img;
Emgu Mat方法和Image方法设置一张背景图像
最新推荐文章于 2024-08-16 13:19:58 发布