EmguCV:圖像灰度化和二值化(VS2010窗體+代碼)

一、EmguCV圖像灰度化 //原始圖像 Bitmap xjBitmapOld = (Bitmap)this.pictureBox1.Image; //灰度化 Image<Gray, Byte> xjImageGray = new Image<Gray, Byte>(xjBitmapOld); //顯示 this.pictureBox2.Image = xjImageGray.ToBitmap()
相關文章
相關標籤/搜索