代码搜索结果

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

ex624.m

%******************************************************** %程序:EX624.M %功能:把一幅真彩色图像转换为一个YCbCr模型空间对应的图像 %******************************************************** RGB=imread('pic001.jpg'); %将图像格式文

ex406.m

%******************************************************** %程序:EX406.M %功能:RGB真彩着色使用实例 %******************************************************** [x,y]=meshgrid(-1:0.2:1); %设置矩形网格 z=x.^2+sin(y*pi

program_01_03.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'); %转换为索引图

color me less_pre.cpp

#include #include #include #include using namespace std; struct RGB { int red; int green; int blue; }; int get_lowest_distance_index(int *distance,

color me less.cpp

#include #include #include #include using namespace std; struct RGB { int red; int green; int blue; }; #ifdef DEBUG int compare_red(const void

cconv_yuv2rgb.c

/*! ************************************************************************************* * \file img_distortion.c * * \brief * YUV to RGB color conversion * * \author * Main c

ipsec_sha1.h

/* * RCSID $Id: ipsec_sha1.h,v 1.5 1999/12/13 13:59:13 rgb Exp $ */ /* * Here is the original comment from the distribution: SHA-1 in C By Steve Reid 100% Public Domain * Ada

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-1.m

%例程7-1 噪声图像维纳滤波 % e.g.7-1.m for example7-1; %test the function of weina filter. RGB = imread('saturn.png'); I = rgb2gray(RGB); J = imnoise(I,'gaussian',0,0.005); figure, imshow(J); K = wien

7-1.m

%例程7-1 噪声图像维纳滤波 % e.g.7-1.m for example7-1; %test the function of weina filter. RGB = imread('saturn.png'); I = rgb2gray(RGB); J = imnoise(I,'gaussian',0,0.005); figure, imshow(J); K = wien