代码搜索结果
找到约 8,819 项符合
RGB 的代码
giftest.c
#ifdef HAVE_CONFIG_H
#include
#endif
#ifdef _WIN32
#include
#else
int __gba_multiboot;
#include
#include
#endif
#define RGB8(r,g,b) ( (((b)>>3)
nt7571-mtp.asm
;FOR 128*RGB*128;
;IC:NT7571
;DATE 2006/2/23
;8080-16-bit data:DB0~DB7 DB8~DB15
;*************************************
_CS EQU P3.0 ; if it can always be L
A0 EQU P3.1
RES EQU
直方图.txt
clear all
%一,图像的预处理,读入彩色图像将其灰度化
PS=imread('1.jpg'); %读入JPG彩色图像文件
imshow(PS) %显示出来
title('输入的彩色JPG图像')
imwrite(rgb2gray(PS),'PicSampleGray.bmp');
casd.m
% a=[1 2 3 4 5 6 7 8 9;
function anew =casd(a)
% a1=imread('sampleiris2s.jpg');
% a=rgb2gray(a1);
% anew=a;
[m,n]=size(a);
img=a;
anew=zeros(m,n);
s= (1/115) *[2 4 5 4 2;
4 9
casd.m
% a=[1 2 3 4 5 6 7 8 9;
function anew =casd(a)
% a1=imread('sampleiris2s.jpg');
% a=rgb2gray(a1);
% anew=a;
[m,n]=size(a);
img=a;
anew=zeros(m,n);
s= (1/115) *[2 4 5 4 2;
4 9
fenggfuc.m
function [a,yy]=fenggfuc(A)
aa=A;
%aa=rgb2gray(A);imshow(aa);
[m,n]=size(aa);
sigma=zeros([1,256]);
double mean1=0;
double mean2=0;
amap1=aa;
%amap2=edge(amap1,'prewitt');
%figure(3),imshow
fast_conv.c
if (byte_order == MSBFirst) {
if (rgb_order == RedFirst) {
switch (bytes_per_pixel) {
case 1:
red =
(((S1MR (i - 2, j - 4) + S1MR (i - 2, j - 3) + S1MR (i - 2, j - 2)) * G11) >> 8 +
(
t.c
#include
#include
#include
#include "math.h"
#include "RGB.h"
char *Cptr;
int val[256];
main()
{
FILE *Ip;
FILE *Op;
int j,k=0,i;
char *filename="/home2/H263/orig/tmn
Ȧ-
说 明
工程名 :Jpeg Decoder
功能描述:实现JPG图像解码,并显示
系统硬件:CPU-LM3S6918
DisplayController-ILI9320 240RGB x 320 262K Color TFT LCD
资源利用:8KB RAM
10
display.h
#include
#if 0 && defined(HK_DEBUG)
class hk_Vector3;
extern void HK_DISPLAY_POINT(const hk_Vector3& point, int rgb);
extern void HK_DISPLAY_RAY(const hk_Vector3& poin