代码搜索结果
找到约 8,819 项符合
RGB 的代码
ycbcr2rgb.v
// --------------------------------------------------------------------
// Copyright (c) 2005 by Terasic Technologies Inc.
// --------------------------------------------------------------------
/
rgb2luv.m
function out = rgb2luv(in)
%RGB2LUV Convert RGB values to CIE LUV color space.
% Copyright Changjiang Yang, 2003
% Email: yangcj@umiacs.umd.edu
% $Revision: 1.13 $ $Date: 2002/03/15 15:29
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
rgb2ycc.m
function [Y, Cr, Cb] = RGB2YCC(seq)
[N M c num] = size(seq);
Y = zeros(N, M, num);
Cr = zeros(N, M, num);
Cb = zeros(N, M, num);
frames = double(seq);
for i = 1 : num
Y(:,:,i) = 0.29
ycc2rgb.m
function z = YCC2RGB(Y, Cr, Cb);
[N M num] = size(Y);
z = zeros(N, M, 3, num);
for i = 1 : num
z(:,:,1,i) = Y(:,:,i) - 0.00092460 * Cr(:,:,i) + 1.40168676 * Cb(:,:,i);
z(:,:,2,i) = Y(
jpeg_rgb_decoder.c
#include
#include
#include
#include "jpeg_internal.h"
#include "jpeg.h"
#include
#include
//#include
configurable_yuv_to_rgb.v
// ***************************Declaration*************************************************************** //
// *
configurable_rgb_to_yuv.v
// ***************************Declaration*************************************************************** //
// *
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
fsgui_rgb8.inc
/*
//Standard 256 color table
//RGB8_Y : RGB 256 color -> Y(YCrCb) mapping table
const BYTE RGB8_Y[256]= {
0x0, 0x7, 0xe, 0x15, 0x12, 0x1a, 0x21, 0x28, 0x25, 0x2c, 0x34, 0x3b, 0x38, 0x3f, 0x46, 0x