2012年3月25日
摘要: 边缘检测算子比较I=imread('milkdrop.gif'); bw1=edge(I,'sobel'); bw2=edge(I,'prewitt'); bw3=edge(I,'roberts'); bw4=edge(I,'log'); bw5=edge(I,'canny'); subplot(3,2,1);imshow(I);title('source'); subplot(3,2,2);imshow(bw1);title('sobel'); subplot(3, 阅读全文
posted @ 2012-03-25 14:46 _song 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、rgb颜色空间灰度图像是一个特殊的彩色图像,r=g=b,如图所以,要将彩色图像转化为灰度图像,只需令每个像素的r=g=b=x即可.而x等于多少,视不同情况而定。补充:黑色 r=0 g=0 b=0白色 r=255 g=255 b=255黑色物体之所以是黑色,是因为它吸收了所有的可见光,所以看上去是黑的,而相反,白色物体反射了所有可见光,而所有可见光组合成白色,所以看上去是白的。绿色的物体之所以是绿色,是因为它的表面分子、原子的特点是吸收其他颜色 阅读全文
posted @ 2012-03-25 13:31 _song 阅读(2914) 评论(0) 推荐(0) 编辑
摘要: 、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、图像进行傅立叶运算的物理意义http://met.fzu.edu.cn/dip/chapter4.htmlhttp://www.360doc.com/content/10/1128/20/2226925_73234298.shtmlhttp://blog.csdn.net/depraved_survival/article/details/1739743http://www.360doc.com/content/12/0218/13/8795013_ 阅读全文
posted @ 2012-03-25 04:35 _song 阅读(2079) 评论(1) 推荐(0) 编辑
摘要: 滤波过程就是在图像f(x,y)中逐点移动模板(即滤波器),使模板中心和点(x,y)重合,滤波器在每一点的响应是根据模板的具体内容并通过预先定义的关系计算的。将图像的模板在图像中逐像素移动,并对每个像素进行指定数量的计算的过程就是卷积过程。包括图像的平滑和锐化。平滑用于去除噪声,锐化用于加强边缘。在平滑处理中平滑的对象是噪声而不是边缘,在锐化处理中锐化的对象是边缘而不是噪声。包括平滑滤波器(低通滤波器)和锐化滤波器(高通滤波器) p171、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、5.3图像平滑imfilter滤波>> 阅读全文
posted @ 2012-03-25 04:34 _song 阅读(940) 评论(0) 推荐(0) 编辑
摘要: 、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、imresizeIMRESIZE Resize image. IMRESIZE resizes an image of any type using the specified interpolation method. Supported interpolation methods include: 'nearest' (default) nearest neighbor interpolation 'bilinea 阅读全文
posted @ 2012-03-25 04:32 _song 阅读(637) 评论(0) 推荐(0) 编辑
摘要: -------------------------------------------------------------------------------------------------------------------灰度直方图imhist IMHIST(I) displays a histogram for the intensity image I whose number of bins are specified by the image type. If I is a grayscale image, IMHIST uses 256 bins as a default v 阅读全文
posted @ 2012-03-25 04:32 _song 阅读(1049) 评论(0) 推荐(0) 编辑