代码搜索结果
找到约 8,819 项符合
RGB 的代码
70b3a47ce719001b18a3bb142f0101dc
#define VGA_WIDTH 200
#define Vga_Set_Pixel(base,x,y,k) IOWR(base, y*VGA_WIDTH+x, k) //改动过
unsigned long RGB(unsigned int r,unsigned int g,unsigned int b)
{
unsigned lon
909c575bf219001b180790659e27d27b
#define VGA_WIDTH 200
#define Vga_Set_Pixel(base,x,y,k) IOWR(base, y*VGA_WIDTH+x, k) //改动过
unsigned long RGB(unsigned int r,unsigned int g,unsigned int b)
{
unsigned lon
1069a954e719001b18a3bb142f0101dc
#define VGA_WIDTH 200
#define Vga_Set_Pixel(base,x,y,k) IOWR(base, y*VGA_WIDTH+x, k) //改动过
unsigned long RGB(unsigned int r,unsigned int g,unsigned int b)
{
unsigned lon
makebmp.c
/*
* Copyright (c) 1999 Greg Haerr
*
* Framebuffer data to .bmp file converter
*
* 10/4/1999 g haerr
*/
#include
#include
#define BI_RGB 0L
#define BI_R
snap_jpg.c
/*
* snap_jpg - screen snapshot for Nano-X, jpeg format
*/
#include
#include
#include
#include
#include
#include
/* create RGB color
makebmp.c
/*
* Copyright (c) 1999 Greg Haerr
*
* Framebuffer data to .bmp file converter
*
* 10/4/1999 g haerr
*/
#include
#include
#define BI_RGB 0L
#define BI_R
makefile
#!/bin/make
# Uncomment to build for 555 format 16bpp system (565 default)
RGB555=Y
# Uncomment to build Nano-X version
NANOXDIR=/usr2/home/greg/net/microwin/src
GUIAPP=main_nx.c
GUIINC=$(NANOXDIR)/
realtime.cpp
#include "stdafx.h"
//#include
//#include
#include "RealTime.h"
CALine::CALine()
{
m_nColor = RGB(0, 0, 0);
m_nLineStyle = PS_SOLID;
m_nLineWidth = 0;
m_pVal
auto_thresh.m
function auto_thresh(im,L,S,H)
% im=imread('rice.tif');
% a=imread('mytu.tif');
% im=rgb2gray(a);
count=imhist(im);
u=diff(count);% Difference and approximate derivative.求差分曲线
% for i=1:255
%
qiuyuan.m
a=imread('C:\Documents and Settings\Administrator\桌面\bbb.bmp');
a=rgb2gray(a);
figure
imshow(a)
d=a>190;
figure
imshow(d)
b1=bwperim(d);
figure
imshow(b1)
h=0;
l=0;
n=0;
for i=224:278