代码搜索结果
找到约 8,819 项符合
RGB 的代码
libmpeg3.h
#ifndef LIBMPEG3_H
#define LIBMPEG3_H
#ifdef __cplusplus
extern "C" {
#endif
#include "mpeg3private.h"
/* Supported color models for mpeg3_read_frame */
#define MPEG3_RGB565 2
#define
unpalette.h
#ifndef _UNPALETTE_H_
#define _UNPALETTE_H_
/* $Id: unpalette.h,v 1.3 2004/09/28 06:58:53 donn Exp $ */
struct image;
/* Converts an image from some palette into rgb24 format.
* The image struct c
skin.m
function segment=skin(I);
I=double(I);
[hue,s,v]=rgb2hsv(I);
cb = 0.148* I(:,:,1) - 0.291* I(:,:,2) + 0.439 * I(:,:,3) + 128;
cr = 0.439 * I(:,:,1) - 0.368 * I(:,:,2) -0.071 * I(:,:,3) + 128
edu_imgpreprocess.m
function img = edu_imgpreprocess(I)
Igray = rgb2gray(I);
Ibw = im2bw(Igray,graythresh(Igray));
Iedge = edge(uint8(Ibw));
se = strel('square',3);
Iedge2 = imdilate(Iedge, se);
Ifill=
semantics.h
#include
#include
extern HDC hDC;
#ifdef _BC_COMPILER
#include
#include
#endif
#include"parser.h"
#define red RGB(255,0,0)
#define black
vga_gen_46.v
// VGA DRIVER,640x480
// INPUT CLOCK=25MHZ
// OUTPUT RGB 2-BIT
module vga_gen_46(clk,h_sync,v_sync,red,green,blue);
//==================================
// base io define
input clk;
outpu
edu_imgpreprocess.m
function img = edu_imgpreprocess(I)
Igray = rgb2gray(I);
Ibw = im2bw(Igray,graythresh(Igray));
Iedge = edge(uint8(Ibw));
se = strel('square',3);
Iedge2 = imdilate(Iedge, se);
Ifill=
vga_gen_46.v
// VGA DRIVER,640x480
// INPUT CLOCK=25MHZ
// OUTPUT RGB 2-BIT
module vga_gen_46(clk,h_sync,v_sync,red,green,blue);
//==================================
// base io define
input clk;
outpu
unpalette.h
#ifndef _UNPALETTE_H_
#define _UNPALETTE_H_
/* $Id: unpalette.h,v 1.7 2002/09/28 16:00:35 dfx Exp $ */
struct image;
/* Converts an image from some palette into rgb24 format.
* The image struct co
blndma.h
// SUNPLUS S+core IDE generated include file.
#ifndef JPEG_DECODER_BLNDMA_H_32757_32662__INCLUDED_
#define JPEG_DECODER_BLNDMA_H_32757_32662__INCLUDED_
void BLNDMA_YUV2RGB(void *SrcAddr, void *DstAd