摘要:
彩色图像灰度化一般有四种方式: 1、分量法 将彩色图像中的三分量的亮度作为三个灰度图像的灰度值 f1(i,j)=R(i,j),f2(i,j)=G(i,j),f3(i,j)=B(i,j) 2、最大值法 f(i,j)=max(R(i,j),G(i,j),B(i,j)) 3、平均值法 f(i,j)=(R(i,j),G(i,j),B(i,j))/3 4、加权平均法 根据人眼敏感度对RGB... 阅读全文
posted @ 2012-04-17 14:49
trirocky
阅读(1063)
评论(0)
推荐(0)
摘要:
private Bitmap srcBitmap = null; private Bitmap showBitmap = null;读入图像 private void button1_Click(object sender, EventArgs e) { OpenFileDialog openFileDialog = n... 阅读全文
posted @ 2012-04-17 11:34
trirocky
阅读(329)
评论(0)
推荐(0)
浙公网安备 33010602011771号