代码搜索结果
找到约 8,819 项符合
RGB 的代码
util_gdi.cpp
// util_gdi.cpp
#include "stdafx.h"
#include "util_gdi.h"
tag3DPens::tag3DPens()
{
pPenBlack = new CPen(PS_SOLID, 1, RGB(0,0,0));
pPenDarkGray = new CPen(PS_SOLID, 1, GetSysColor
car_dingwei.m
clear;clc;
tic;
filename='E:\5.jpg';
pic1=imread(filename);
pic=rgb2gray(pic1);
[height width]=size(pic);
Bpic=edge(pic,'sobel');
m=1;
a=zeros(1,width);b=zeros(1,width);
for x=height
vga_800_600.vhd
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
USE IEEE.STD_LOGIC_UNSIGNED.ALL;
ENTITY vga_800_600 IS
PORT(clk : IN STD_LOGIC;
hs,vs,r,g,b : out std_logic;
rgb_in : in std_logic_vector(
edgedetect_basedonwavelet.m
function edgedetect_basedonWavelet()
%load woman;
X=rgb2gray(imread('lena.jpg'));
clear coef1;
clear coef2;
clear coef3;
clear form;
x=X;
x=double(x);%200 line,300 column;
line=250;
colum
mtv130.h
/* Attribute Bytes */
#define ATTR_BGRGB_SHIFT 4
#define ATTR_BBLINK 0x08
#define ATTR_RGB_SHIFT 0
/* Row Attribute Control Register */
#define RACR_COL 30
#define RACR_CHS 0x02
#define
example.cpp
#include "windows.h"
#include "gl/gl.h"
#include "gl/glu.h"
#include "gl/glaux.h"
#include "conio.h"
void main(void)
{
auxInitDisplayMode(AUX_SINGLE|AUX_RGBA);
//窗口显示单缓存和RGB模式
auxIn
example.cpp
#include "windows.h"
#include "gl/gl.h"
#include "gl/glu.h"
#include "gl/glaux.h"
#include "conio.h"
void main(void)
{
auxInitDisplayMode(AUX_SINGLE|AUX_RGBA);
//窗口显示单缓存和RGB模式
auxIn
s3c2410fb.h
struct s3c2410fb_rgb {
struct fb_bitfield red;
struct fb_bitfield green;
struct fb_bitfield blue;
struct fb_bitfield transp;
};
struct s3c2410fb_lcd_reg {
unsigned long lcdcon
s3c2410fb.h
struct s3c2410fb_rgb {
struct fb_bitfield red;
struct fb_bitfield green;
struct fb_bitfield blue;
struct fb_bitfield transp;
};
struct s3c2410fb_lcd_reg {
unsigned long lcdcon
jconfig.h
#ifndef JCONFIG_H
#define JCONFIG_H
#define IMAGE_WIDTH 320
#define IMAGE_HEIGHT 240
#define VIDEO_PALETTE_RAW_JPEG 20
#define VIDEO_PALETTE_JPEG 21
#define SWAP_RGB 1
int bpp;
/* our own ioctl *