代码搜索结果
找到约 8,819 项符合
RGB 的代码
rgb2hsi.cpp
/********************************************************************
* 函数名称:rgb2hsi
* 功能:实现rgb到hsi的转换
* 参数:hsi - 长度为3的双精度数组
* rgb - 长度为3的双精度数组
************************************
ycbcr2rgb.v
// --------------------------------------------------------------------
// Copyright (c) 2005 by Terasic Technologies Inc.
// --------------------------------------------------------------------
/
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);
rgb2ind.m
function [a,map] = rgb2ind(r,g,b,cm,dith)
%RGB2IND Convert RGB image to indexed image.
% RGB2IND converts RGB images to indexed images using one of
% four different methods: direct translation,
ycbcr2rgb.m
function rgb = ycbcr2rgb(in)
%YCBCR2RGB Convert YCBCR values to RGB color space.
% RGBMAP = YCBCR2RGB(YCBCRMAP) converts the YCBCR values in the
% colormap YCBCRMAP to the RGB color space. If Y
rgb2ycbcr.m
function out = rgb2ycbcr(in)
%RGB2YCBCR Convert RGB values to YCBCR color space.
% YCBCRMAP = RGB2YCBCR(RGBMAP) converts the RGB values in RGBMAP to
% the YCBCR color space. YCBCRMAP is a M-by
rgb2ntsc.m
function [y,i,q] = rgb2ntsc(r,g,b)
%RGB2NTSC Convert RGB values to NTSC colorspace.
% YIQMAP = RGB2NTSC(RGBMAP) converts the M-by-3 RGB values in
% RGBMAP to NTSC colorspace. YIQMAP is an M-by-