代码搜索结果

找到约 8,819 项符合 RGB 的代码

rgb2xyz.m

%RGB2XYZ Convert RGB to XYZ color space % % [x, y, z] = RGB2XYZ(r, g, b) % xyz = RGB2XYZ(rgb) % % Convert (R,G,B) coordinates to (X,Y,Z) color space. % If RGB (or R, G, B) have more than one row, then

yuv2rgb.m

%YUV2RGB Convert YUV format to RGB % % [r,g,b] = yuvread(y, u, v) % rgb = yuvread(y, u, v) % % Returns the equivalent RGB image from YUV components. The Y image is % halved in resolution. % % Copyrig

yuv2rgb.h

#ifndef YUV2RGB_DOT_H #define YUV2RGB_DOT_H /* ripped from xawtv's libng/color_yuv2rgb.c */ /* needed by yuv2rgb() in camserv/video_v4l.c */ #define CLIP 320 #define RED_NULL 128 #define

yuv2rgb.c

/************************************************************************ * * yuv2rgb.c, colour space conversion for tmndecode (H.263 decoder) * ********************************************

rgb2long.txt

//************************************** // // Name: Convert 3 values (R,G&B) into a // Long value of the color // Description:The code take three value // s REd, Green and Blue and

ihs_use.m

clear g_R=0; %r清晰度描述 g_G=0; %g清晰度描述 g_B=0; %b清晰度描述 h_R=0;

代码6-4.txt

rgb = imread('board.tif'); ycbcr = rgb2ycbcr(rgb); rgb2 = ycbcr2rgb(ycbcr);

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

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

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