代码搜索结果

找到约 5,749 项符合 RGB 的代码

example4_12.m

RGB=imread('hr.jpg'); YCbCr=rgb2ycbcr(RGB); subplot(1,2,1); subimage(RGB); title('原图像'); subplot(1,2,2); subplot(1,2,2); subimage(YCbCr); title('变换后的图像');

example4_10.m

RGB=imread('hr.jpg'); HSV=rgb2hsv(RGB); subplot(1,2,1); subimage(RGB); title('原图像'); subplot(1,2,2); subimage(HSV); title('变换后的图像');

example4_11.m

RGB=imread('hr.jpg'); YIQ=rgb2ntsc(RGB); I=YIQ(:,:,1); subplot(1,2,1); subimage(RGB); title('原图像'); subplot(1,2,2); subimage(I); title('变换后的图像');

example3_3.m

RGB=imread('flowers.tif'); image(RGB)

example5_3.m

%顶点坐标为(40 , 50) , (40 , 250),(240,50)和(240,250)。 RGB=imread('flowers.tif'); imshow(RGB); RGB2=imcrop(RGB,[40,50,200,200]); figure,imshow(RGB2);

sumarize11_5_2a.m

%调入与显示RGB图像 RGB = imread('peppers.png'); isrgb(RGB); figure(1); imshow(RGB); %RGB图转换为灰度图像 I = rgb2gray(RGB); figure(2); imshow(I); colorbar('horiz'); isgray(I); %边缘检测 ED = edge(I,'sobel',0

sumarize11_5_4b.m

%载入图像 RGB = imread('saturn.png'); %RGB转换为灰度图 I = rgb2gray(RGB); %加入高斯白噪声 J = imnoise(I,'gaussian',0,0.005); %采用自适应滤波 K = wiener2(J,[5 5]); %显示原始图像、加入噪声的图像以及滤波后的噪声 imshow(I) figure,imshow(J)

sumarize11_2_2cl.m

RGB = imread('saturn.png'); I = rgb2gray(RGB); h = [1 2 1; 0 0 0; -1 -2 -1]; I2 = filter2(h,I); imshow(I2,[]), colorbar

sumarize11_6_3.m

%载入图像 load trees %RGB转换为灰度图 I = ind2gray(X,map); imshow(I) %指定特定区域,并进行填充 I2 = roifill; imshow(I2)

sumarize11_4_2ars.m

%载入图像 RGB = imread('autumn.tif'); figure(1); imshow(RGB); %将真彩图转换为灰度图 I = rgb2gray(RGB); figure(2); imshow(I); %进行余弦变换 J = dct2(I); figure(3); imshow(log(abs(J)),[]); colormap(jet(64)); c