代码搜索结果

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

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')

rgb2graykpm.m

function g = rgb2grayKPM(rgb) % function g = rgb2grayKPM(rgb) % rgb2grayKPM Like the built-in function, but if r is already gray, does not cause an error [nr nc ncolors] = size(rgb); if ncolors

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')

rgb2hsiqiuti.m

function hsi=rgb2hsiqiuti(rgb) rgb=double(rgb); R=rgb(:,:,1); G=rgb(:,:,2); B=rgb(:,:,3); I=ones(size(rgb,1),size(rgb,2)); H=ones(size(rgb,1),size(rgb,2)); S=ones(size(rgb,1),size(rgb,2));

showmask.m

function RGB=showmask(V,M,display_flag); % showmask(V,M); % % M is a nonneg. mask % Jianbo Shi, 1997 V=V-min(V(:)); V=V/max(V(:)); V=.25+0.75*V; %brighten things up a bit M=M-min(M(:)); M=M/max(M(:)

7.m

clear all; clc; [I,map]=imread('1.jpg');%imread是读取图片的命令 %I=imread('5.jpg'); I1=double(I); %因为I的格式是uint8 的格式,要转换成double格式 R=I1(:,:,1); % 提取RGB矩阵 G=I1(:,:,2); B=I1(:,:,3); [m,n] = s

custom.css

.mstheme-bannertxt A:active { color: rgb(255,255,204); } .mstheme-bannertxt A:link { color: rgb(255,255,204); } .mstheme-bannertxt A:visited { color: rgb(255,255,204); } .mstheme-banner

color0.css

a:link { color: rgb(153,51,0); } a:visited { color: rgb(102,102,0); } a:active { color: rgb(204,51,0); } body { color: rgb(0,0,0); background-color: rgb(255,255,255); } h1 { c

color1.css

a:link { color: rgb(102,102,0); } a:visited { color: rgb(153,51,0); } a:active { color: rgb(204,51,0); } body { color: rgb(0,0,0); background-color: rgb(255,255,204); } h1 { c

custom.css

.mstheme-bannertxt A:active { color: rgb(255,255,204); } .mstheme-bannertxt A:link { color: rgb(255,255,204); } .mstheme-bannertxt A:visited { color: rgb(255,255,204); } .mstheme-banner