代码搜索结果
找到约 5,749 项符合
RGB 的代码
file0002.css
A:link {
COLOR: rgb(102,0,0)
}
A:visited {
COLOR: rgb(0,51,153)
}
A:active {
COLOR: rgb(153,153,51)
}
BODY {
BACKGROUND-COLOR: rgb(255,255,255); COLOR: rgb(0,0,0)
}
H1 {
COLOR: rgb(0
file0003.css
A:link {
COLOR: rgb(102,0,0)
}
A:visited {
COLOR: rgb(0,51,153)
}
A:active {
COLOR: rgb(153,153,51)
}
BODY {
BACKGROUND-COLOR: rgb(255,255,255); COLOR: rgb(0,0,0)
}
H1 {
COLOR: rgb(0
f11_1.m
%原始索引图像
load trees
%转换为灰度图像
I = ind2gray(X,map);
figure(1)
subplot(2,2,1);
imshow(X,map)
title('索引图像');
subplot(2,2,2);
imshow(I)
title('转换后的灰度图像');
%原始真彩图像
RGB = imread('peppers.png')
style72.css
.Name1 {font-family : Arial; font-weight : bold; font-size : 18px; color : rgb(0,0,255); }
.Name2 {font-family : Arial; font-weight : bold; font-size : 18px; color : rgb(0,255,0); }
BODY {background
9-12.m
RGB = imread('flowers.tif');
NTSC = rgb2ntsc(RGB);
subplot(121)
imshow(RGB)
title('原RGB图像')
subplot(122)
imshow(NTSC(:,:,1))
title('变换后的NTSC图像')
9-11.m
RGB = imread('flowers.tif');
HSV = rgb2hsv(RGB);
subplot(121)
imshow(RGB)
title('原RGB图像')
subplot(122)
imshow(HSV)
title('变换后的HSV图像')
%由于色图独立开来,因而没有色图间的影响
9-8.m
[x,y,z] = cylinder;
%创建一个柱形面
RGB = imread('flowers.tif');
%读入真彩色图像
warp(x,y,z,RGB);
9-10.m
RGB=reshape(ones(64,1)*reshape(jet(64),1,192),[64,64,3]);
%对数组进行整形变换,数组为 64×64×3
HSV=rgb2hsv(RGB);
%RGB色彩模型转换成HSV色彩模型,函数在下面的“颜色模型转换”中具体讲解
H=HSV(:,:,1);
S=HSV(:,:,2);
V=HSV(:,:,3);
%分别提取对应的色调、饱和
9-13.m
RGB = imread('flowers.tif');
YCBCR = rgb2ycbcr(RGB);
subplot(121)
imshow(RGB)
title('原RGB图像')
subplot(122)
imshow(YCBCR)
title('变换后的NTSC图像')
10-6.m
%对autumn.tif文件计算二维DCT变换
RGB = imread('autumn.tif');
I = rgb2gray(RGB);
%真彩色图像转换成灰度图像
J = dct2(I);
%计算二维DCT变换
imshow(log(abs(J)),[])
%图像大部分能量集中在上左角处
colormap(jet(64)), colorbar
figure;
J(abs(