代码搜索结果

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

jpeg_rgb_decoder.c

#include #include #include #include "jpeg.h" #include #include #define CLAMP(x,a,b) ((x)(b) ? (b) : (x)))

rgb2hsi.cpp

/******************************************************************** * 函数名称:rgb2hsi * 功能:实现rgb到hsi的转换 * 参数:hsi - 长度为3的双精度数组 * rgb - 长度为3的双精度数组 ************************************

rgb2lcd.m

function LCD_COLOR = RGB2LCD( r,g,b ) %将有三个单字节表示的色彩值,转换为液晶显示器常见的16位两字节表示的彩色值 %其格式为 R红(五位);G绿(六位);B蓝(五位) %输入为三个单字节的RGB值 %输出为两个字节的16位彩色值 red=fix(r/8); green=fix(g/4); blue=fix(b/8); x = -pi:.1:pi; y = s

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

ycrcb2rgb.v

module YCrCb2RGB ( R, G, B, clk, rst, Y, Cr, Cb ); /* R=1.164*(Y-16)+1.596*(Cr-128) G=1.164*(Y-16)-0.813*(Cr-128)-0.392*(Cb-128) B=1.164*(Y-16)+1.596*(Cr-128) */ output [7:0] R, G, B; input

rgb2hsi.m

function hsi = rgb2hsi(rgb) %RGB2HSI Converts an RGB image to HSI. % HSI = RGB2HSI(RGB) converts an RGB image to HSI. The input image % is assumed to be of size M-by-N-by-3, where the third dim

hsi2rgb.m

function rgb = hsi2rgb(hsi) %HSI2RGB Converts an HSI image to RGB. % RGB = HSI2RGB(HSI) converts an HSI image to RGB, where HSI is % assumed to be of class double with: % hsi(:, :, 1) =

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

rgb2yuv.c

//颜色空间转换为色度空间的函数代码 #include "stdio.h" #include "stdlib.h" #include "rgb2yuv.h" static float RGBYUV02990[256], RGBYUV05870[256], RGBYUV01140[256]; static float RGBYUV01684[256], RGBYUV03316[256]; sta

rgb2yuv.h

int RGB2YUV (int x_dim, int y_dim, void *bmp, void *y_out, void *u_out, void *v_out);