04 2012 档案

摘要:typedef struct _IplImage{ int nSize; /* sizeof(IplImage) */ int ID; /* version (=0)*/ int nChannels; /* Most of OpenCV functions support 1,2,3 or 4 chann... 阅读全文
posted @ 2012-04-25 10:42 trirocky 阅读(2599) 评论(0) 推荐(0)
摘要:彩色图像灰度化一般有四种方式: 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 阅读(1056) 评论(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 阅读(326) 评论(0) 推荐(0)
摘要:Bitmap类 Bitmap是用来处理由像素数据定义的图像的对象。 其继承层次结构:System.Object->System.MarshalByRefObject->System.Drawing.Image->System.Drawing.Bitmap 命名空间:System.Drawing 程序集:System.Drawing(在System.Drawing.dll中) 该类主要属性... 阅读全文
posted @ 2012-04-16 21:53 trirocky 阅读(430) 评论(1) 推荐(0)

点击右上角即可分享
微信分享提示