代码搜索结果
找到约 8,819 项符合
RGB 的代码
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
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
rgb2hsiqiuti.m
function hsi=rgb2hsiqiuti(rgb)
rgb=double(rgb);
R=rgb(:,:,1);
G=rgb(:,:,2);
B=rgb(:,:,3);
I=ones(size(rgb,1),size(rgb,2));
H=ones(size(rgb,1),size(rgb,2));
S=ones(size(rgb,1),size(rgb,2));
ycbcr2rgb.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="C:\ti\c5500\imglib\examples\ycbcr_rgb\"
ProjectType=Executable
CPUFamily=TMS320C55XX
rgb2ycrcb.mpf
; Copyright Mentor Graphics Corporation 2005
;
; All Rights Reserved.
;
; THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS THE PROPERTY OF
; MENTOR GRAPHICS CORPORATION OR IT
rgb2ycrcb.v
/////////////////////////////////////////////////////////////////////
//// ////
//// RGB to YCrCb Color Space converter
raw2rgb.v
module RAW2RGB( oRed,
oGreen,
oBlue,
oDVAL,
iX_Cont,
iY_Cont,
iDATA,
iDVAL,
iCLK,
iRST );
input [10:0] iX_Cont;
input [10:0] iY_Cont;
input [9:0] iDAT