代码搜索结果
找到约 8,819 项符合
RGB 的代码
8-12.m
[X,map]=imread('canoe.tif');
newmap=rgb2gray(map);
imshow(X,newmap);
8-3.m
RGB=imread('flowers.tif');
image(RGB);
%显示RGB图像
pause;
imshow(RGB);
%显示RGB图像
9-8.m
[x,y,z] = cylinder;
%创建一个柱形面
RGB = imread('flowers.tif');
%读入真彩色图像
warp(x,y,z,RGB);
8-12.m
[X,map]=imread('canoe.tif');
newmap=rgb2gray(map);
imshow(X,newmap);
8-3.m
RGB=imread('flowers.tif');
image(RGB);
%显示RGB图像
pause;
imshow(RGB);
%显示RGB图像
b74.m
[X,map]=imread('canoe.tif');
newmap=rgb2gray(map);
imshow(X,newmap);
代码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)
change_color_mode.m
function [M,ColorP] = change_color_mode(M,dir,options)
% change_color_mode - change of color representation
%
% M = change_color_mode(M,dir,options);
%
% switch between RGB and another color mode
zgh27.m
P=imread('PIC4','bmp');
subimage(P);
rgb2gray(P)
51.txt
窗体加入抖动背景
Ever wonder how the SETUP.EXE screen gets its cool shaded background coloring? This color shading is called dithering, and you can easily incorporate it into your forms. Add the following ro