代码搜索结果
找到约 5,749 项符合
RGB 的代码
p0703.m
I=imread('cancer.bmp');
[y,x,z]=size(I);
myI=double(I); % 图象的数据类型为无符号整型,必须转换为双精度实型才能计算
%%%%%%%%%%% RGB to HSI %%%%%%%%
H=zeros(y,x);
S=H;
HS_I=H;
for i=1:x
for j=1:y
p0804.m
I=imread('Car.jpg');
[y,x,z]=size(I);
myI=double(I);
%%%%%%%%%%% RGB to HSI %%%%%%%%
tic % 测定算法执行的时间,开始计时
%%%%%%%%%%% 统计分析 %%%%%%%%%%%%%%%
%%%%%%%% Y 方向 %%%%%%%%%%
Blue_y=zeros(y,1);
for
p0801.m
%I=imread('24-1.jpg'); 该图像的试验结果读者自行试验。
I=imread('22-2.jpg');
tic
[y,x,z]=size(I);
myI=double(I);
%%%%%%%%%%% RGB to HSI %%%%%%%%
HS_I=(myI(:,:,1)+myI(:,:,2)+myI(:,:,3))/3;
t1=toc
tic
jpegfile.h
////////////////////////////////////////////////////////////
//
// JpegFile - A C++ class to allow reading and writing of
// RGB and Grayscale JPEG images. (actually, it reads all forms
// that th
jpegfile.cpp
////////////////////////////////////////////////////////////
// JpegFile - A C++ class to allow reading and writing of
// RGB and Grayscale JPEG images.
// It is based on the IJG V.6 code.
//
//
test.h
// 编码表RGB数组
const BYTE C[4][256][4] =
{
{ // 彩虹编码 1
{ 0, 0, 0,0 }, { 7, 0, 0,0 }, { 15, 0, 0,0 }, { 23, 0, 0,0 }, //4
{ 31, 0, 0,0 }, { 39, 0, 0,0 }, { 47, 0, 0,0 }, {
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
vb6+
#include "stm32f10x.h"
#include "systick.h"
#include "GLCD.h"
#include
u8 FLAG=0;
u8 iii;
u16 count=0;
u16 rgb;
u8 RGB_BUFFER[7]={1,2,3,4,5,6,7};
void USART1IRQHandle(void);
void
texttool.h
#ifndef __TEXTTOOL
#define __TEXTTOOL
#define TEXT_BOTTOM_RIGHT 0
#define TEXT_BOTTOM_CENTER 1
#define TEXT_CENTER 2
#define TEXT_USER 3
#define TC_BLACK RGB(0,0,0)
#define TC_BLUE RGB(0,0,
texttool.h
#ifndef __TEXTTOOL
#define __TEXTTOOL
#define TEXT_BOTTOM_RIGHT 0
#define TEXT_BOTTOM_CENTER 1
#define TEXT_CENTER 2
#define TEXT_USER 3
#define TC_BLACK RGB(0,0,0)
#define TC_BLUE RGB(0,0,