代码搜索结果
找到约 8,819 项符合
RGB 的代码
yuv2rgb.c
#include
#include "portab.h"
#include "yuv2rgb.h"
/**
*
**/
void (*convert_yuv)(unsigned char *puc_y, int stride_y,
unsigned char *puc_u, unsigned char *puc_v, int stride
yuv2rgb.c
/************************************************************************
*
* yuv2rgb.c, colour space conversion for tmndecode (H.263 decoder)
* Copyright (C) 1995, 1996 Telenor R&D, Norway
ycbcr2rgb.v
// --------------------------------------------------------------------
// Copyright (c) 2005 by Terasic Technologies Inc.
// --------------------------------------------------------------------
/
yuv2rgb.m
function [R,G,B]=YUV2RGB(Y,U,V)
T=[.299 .587 .114; -.169 -.332 .5;.5 -.419 -0.0813];
P=inv(T);
L=size(Y,3);
for i=1:1:L
yuv(:,:,1) = double(Y(:,:,i));
yuv(:,:,2) = imresize(double(U(:,
rgb2yuv.m
function [Y,U,V]=RGB2YUV(filename,length)
T = [.299 .587 .114; -.169 -.332 .5;.5 -.419 -0.0813];
for i=1:1:length
num=int2str(i-1);
p='.ppm';
name=strcat(filename,num,p);
A1 = imread(n
yuv2rgb.h
/*
* yuv2rgb.h
*
* The YUV to RGB for Symbian Project
*
* Copyright (c) 2005-2008 for Cyansoft Studio (www.cyansoft.com.cn).
* All Rights Reserved.
*
* Contributor(s): ________________
yuv2rgb.cpp
#include "yuv2rgb.h"
CYuv2Rgb* CYuv2Rgb::NewL(TDisplayMode aMode)
{
CYuv2Rgb* self = CYuv2Rgb::NewLC(aMode);
CleanupStack::Pop( self );
return self;
}
CYuv2Rgb* CYuv2Rgb::NewLC(TDisplay
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) =
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