搜索资源列表
RGB2GRAY
- To convert a Color image to a gray image
rgb2gray
- 实现图像的由rgb转gray,我自己写的-Image by rgb to gray, I wrote it myself
1
- matlab使用垂直Sobel算子,自动选择阈值 [VSFAT Threshold]=edge(f, sobel , vertical ) 边缘探测 figure,imshow(f),title( 原始图像 ), 显示原始图像 figure,imshow(VSFAT),title( 垂直图像边缘检测 ) 显示边缘探测图像 使用水平和垂直Sobel算子,自动选择阈值 SFST=edge(f, sobel ,2) figure,imshow(SFS
rgbTOgray
- rgb转灰度的源码,现在很多rgb转灰度图像都会存在失真,解决该问题-code for rgb2gray
3x3-neighbor-pixel
- Descr iption All the filters have needed neighbor data the current pixel in the image,here this function(res_window=cover_window(how many neighbor value for row ,how many neighbor value for column ,input image) produce the result( res_window(r
1.2图像的矩特征
- 例程1.2-1 in_image=imread('qingdao.jpg'); inv_m7 = invariable_moment(in_image); 注:输入图像应为RGB图像;若要是输入的是灰度图像,应去掉image=rgb2gray(in_image); 例程1.2-2 img=imread('qingdao.jpg'); img=rgb2gray(img); [A_nm,zmlist,cidx,V_nm] = zernike(img); 注:输入图像应为灰度图
1.4图像的斑点检测
- 1.4-1 img=imread('sunflower.jpg'); imshow(img) pt=log_Blob(rgb2gray(img)); draw(img,pt,'LoG Lindeberg'); 1.5-1 img=imread('patrol.jpg'); imshow(img) pt=log_Blob(rgb2gray(img)); draw(img,pt,'Gilles');