代码搜索结果
找到约 5,749 项符合
RGB 的代码
代码17-6.txt
I = imread('test1.bmp');
BW1 = im2bw(I); %一般输入的图像是彩色的,需要转成黑白的
X = bwlabel(BW1,4);
RGB = label2rgb(X, @jet, 'k');
imshow(RGB,'notruesize')
代码13-19.txt
RGB = imread('peppers.png');
RGB2 = imresize(RGB, [64 NaN]);
imshow(RGB);
figure,imshow(RGB2);
代码16-5.txt
RGB = imread('autumn.tif'); % 读入原始图像
I = rgb2gray(RGB); % 将彩色图像转化为灰度图像,以便进行DCT变换。
J = dct2(I); % DCT变换
imshow(log(abs(J)),[]), % 显示变换结果
colormap(jet(64)),
rgb.c
//mozne hodnoty promennych: h = , s = , v =
// rgb jsou komparacni registry PWM kanalu
#define r OCR1A
#define g OCR2
#define b OCR1B
// ---------------------------
dipproj.m
clear all;
%%%%%%%%%%%%%%%%%%%%% Color conversion example %%%%%%%%%%%%%%%%%%%%%%%
[RGB] = imread('lenna.bmp'); % Reads image. Could be other image type.
R = RGB(:,:,1); % Extract
tab.webfx.css
/*
bright: rgb(234,242,255);
normal: rgb(120,172,255);
dark: rgb(0,66,174);
*/
.dynamic-tab-pane-control.tab-pane {
position: relative;
width: 100%;
}
.dynamic-tab-pane-contr
shrink.m
function shrink
global filename path NEW;
full_path = strcat(path, '\', filename);
RGB = imread(full_path);
figure,imshow(RGB);
[height, width, colormap] = size(RGB);
NEW = zeros(round
zooming.m
function zooming
global filename path NEW;
% int_reply = str2num(reply);
%
% int_reply = reply(1:1);
% disp(int_reply);
full_path = strcat(path, '\', filename);
RGB = imread(full_path)
hslutils.pas
//------------------------------------------------------------------------------
//
// HSL - RGB colour model conversions
//
// These four functions can be used to convert between the RGB and HSL