EmguCV:图像灰度化和二值化(VS2010窗体+代码)

一、EmguCV图像灰度化 //原始图像 Bitmap xjBitmapOld = (Bitmap)this.pictureBox1.Image; //灰度化 Image<Gray, Byte> xjImageGray = new Image<Gray, Byte>(xjBitmapOld); //显示 this.pictureBox2.Image = xjImageGray.ToBitmap()
相关文章
相关标签/搜索