代码搜索结果
找到约 8,819 项符合
RGB 的代码
clcd.c
#include
#include "..\inc\44b.h"
#include "..\inc\44blib.h"
#include "..\inc\clcd.h"
#include "..\inc\def.h"
void Lcd_PutPixel(int x,int y,U8 rgb);
void DrawLine(void);
unsigned
wingdi.h
#ifndef _WINGDI_H
#define _WINGDI_H
#if __GNUC__ >=3
#pragma GCC system_header
#endif
#ifdef __cplusplus
extern "C" {
#endif
#define WINGDIAPI
#define BI_RGB 0
#define BI_RLE8 1
#define BI_RLE4 2
#d
wingdi.h
#ifndef _WINGDI_H
#define _WINGDI_H
#if __GNUC__ >=3
#pragma GCC system_header
#endif
#ifdef __cplusplus
extern "C" {
#endif
#define WINGDIAPI
#define BI_RGB 0
#define BI_RLE8 1
#define BI_RLE4 2
#d
convolution.m
clear all;
close all'
clc
L=imread('Lenna.jpg');
L=rgb2gray(L);
L=im2double(L);
subplot(2,2,1), imshow(L);title('Original picture'); subplot(2,2,3), imhist(L);title('Original Histogram');
wingdi.h
#ifndef _WINGDI_H
#define _WINGDI_H
#if __GNUC__ >=3
#pragma GCC system_header
#endif
#ifdef __cplusplus
extern "C" {
#endif
#define WINGDIAPI
#define BI_RGB 0
#define BI_RLE8 1
#define BI_RLE4 2
#d
jpeg1.m
clear;
clc;
close all;
I=imread( 'lena.jpg');%读取图
I=rgb2gray(I);
figure;
subplot(2,2,1),imshow(I) ;
title('原始图象');
I=double(I);
% 量化表
mask = [16 11 10 16 24 40 51 61
clcd.c
#include
#include "..\inc\44b.h"
#include "..\inc\44blib.h"
#include "..\inc\clcd.h"
#include "..\inc\def.h"
void Lcd_PutPixel(int x,int y,U8 rgb);
void DrawLine(void);
unsigned
bianyuanjiance.m
a1=imread('tutu.bmp');
blood=rgb2gray(a1);
[x,y]=size(blood); % 求出图象大小
b=double(blood);
N =sqrt(100) * randn(x,y); % 生成方差为10的白噪声
I=b+N;
bmpconverter.c
#include
#include
#include
#define U8 unsigned char
typedef enum
{
STB_BMP_ARGB1555=2,
STB_BMP_RGB888
}STB_BMP_FORMAT;
#define MAX_DEAL_BMP 100
type
main.prg
set talk off &&关闭对话模式
set safe off
set stat off
set dele on &&不处理已删除的记录
set cent on
set date to ansi
close all
RELEASE WINDOW 常用
if mod(day(date()),2)=0
_SCREEN.backcolor=rgb(80,180