代码搜索结果

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

b58.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('变换后的图像');

b59.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('变换后的图像');

代码5-18.txt

RGB=reshape(ones(64,1)*reshape(jet(64),1,192),[64,64,3]); R=RGB(:,:,1); G=RGB(:,:,2); B=RGB(:,:,3); imshow(R) figure, imshow(G) figure, imshow(B) figure, imshow(RGB)

代码11-4.txt

RGB = imread('peppers.png'); % 读入图像 [X,map] = rgb2ind(RGB,128); % 转换为索引图像 imshow(RGB) % 显示原图 figure; % 建立新窗口 imshow(X,m

代码29.6.1.txt

function Gray_Callback(hObject, eventdata, handles) file=get(handles.edit1,'string'); % 得到图像的文件名和路径 rgb=imread(file); % 读入图像 A=rgb2gray(rgb); %

代码6-1.txt

RGB = imread('peppers.png'); imshow(RGB); YIQ = rgb2ntsc(RGB); figure; imshow(YIQ);

代码6-4.txt

rgb = imread('board.tif'); ycbcr = rgb2ycbcr(rgb); rgb2 = ycbcr2rgb(ycbcr);

代码6-3.txt

RGB = imread('board.tif');%读入电路板照片 YCBCR = rgb2ycbcr(RGB);%将RGB模式图像转换为YcbCr模式图像 Imshow(RGB);% figure; Imshow(YCBCR)% map = jet(256); newmap = rgb2ycbcr(map);

代码6-2.txt

YIQ = rgb2ntsc(RGB); I = YIQ(:,:,1); imshow(I);

代码24-7.txt

RGB = imread('test.bmp'); % 读入图像 figure, % 新建窗口 imshow(RGB), % 显示原始图像 title('Original Image');