搜索资源列表
image-processing1
- • 用‘imread’命令读取图像,观察图像像素矩阵的取值范围。 • 用‘rgb2gray’命令把彩色图像转换为灰度图像。 • 用’imshow’命令显示原始图像。 • 把原始图像的局部区域存储到另一个矩阵中,显示局部区域-• Use the imread command reads the range image, observed image pixel matrix. • Use rgb2gray c
morphology
- The morphology operation to read the image and convert the rgb2gray, and convert in to the binaring the input image.Adding the binary noise to the image next the input image to make text in white and background in black. Next do the two operation d
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
Gabor_Image_Features
- Gabor特征计算:平均能量和平均幅值[gaborSquareEnergy, gaborMeanAmplitude ]= phasesym(im) -Computation of Gabor Features- Mean Squared Energy, Mean Amplitude >>> im = rgb2gray(imread( 001.png )) >>> [gaborSquareEnergy, gaborMeanAmplitude
type-rgb2gray
- 以R、G、B为轴建立空间直角坐标系,则RGB图的每个象素的颜色可以用该三维空间的一个点来表示, 而Gray图的每个象素的颜色可以用直线R=G=B上的一个点来表示。于是rgb转gray图的本质就是寻找 一个三维空间到一维空间的映射,最容易想到的就是射影(即过rgb空间的一个点向直线R=G=B做垂线)-With R, G, B axis to build the space right angle coordinate system, then each pixel of RGB graph
GetRingpoint
- 灰度图形,提取一段圆环区域,并自动计算整个提取区域的灰度均值-rgb2gray , count the average of the ring gray
rgb2gray
- RGB三通道图像转灰度图像代码, 可以把里面一部分复制进程序里单独运行, 图像处理前进行的一步-RGB image convert to gray image
MATLAB_PICTURE_PROCESSING
- 使用MATLAB,实现以下四个功能 一、获取图片RGB值:给定一张图片,获取点(x,y),以及(x,y)周围8个点的R、G、B值。 二、实现rgb2gray函数:使用matlab实现rgb2gray的功能,并能计算出转换后灰度图片的方差。 三、灰度图对比度增强:分别使用灰度拉伸和直方图均衡化,增强给定图的对比度。 四、图像去噪:对给定图片加椒盐噪声,并选择两个去噪算法去除椒盐噪声。 -Using MATLAB, to achieve the following four fu
med
- Calculate the coordinates of the point , rgb2gray , Convert the gray code sequence to decimal number = column number
RGB2Gray-C6748DSP
- 将RGB格式的图像转换为灰度模式。 使用TI C6748 DSP 在CCS5.5下运行-convert RGB image to grey code. use in C6748DSP. written under CCS5.5.
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.3 图像的边缘检测
- 1.3-1 a=imread('xinglong.jpg'); a=rgb2gray(a); e=log_edge(a,0.25) 1.3-2 a=imread('lena.bmp'); e=canny_edge(a,0.25); 注:该程序要求输入的图像的长、宽应相等。 1.3-3 为1.3-2的子程序 1.3-4 im=imread('lena.bmp'); image_out = susan(im,0.25); 1.3-5 为1.3-4的子程序
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');
rgb2gray
- convert RGB image to a gray image(using function to change the color of an image)
RGB2Gray
- convert rgb to grayscale
图像的读取与写入
- (1) imread 函数用来实现图像文件的读取 (2) imwrite函数用来实现图像文件的写入 (3) imshow函数用来显示图像 (4) rgb2gray函数用来把彩色图像转换为灰度图像