代码搜索结果
找到约 8,819 项符合
RGB 的代码
clcd.c.bak
//44BTEST : 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(v
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
makefile.am
AM_CFLAGS = $(OPT_CFLAGS) $(LIBMPEG2_CFLAGS)
lib_LTLIBRARIES = libmpeg2convert.la
libmpeg2convert_la_SOURCES = rgb.c uyvy.c
libmpeg2convert_la_LIBADD = libmpeg2convertarch.la
libmpeg2convert_la_LDFLA
example7_1.m
load xpmndrll
image(X2)
title('原始彩色索引图像')
colormap(map);
colorbar
%================================
%分解彩色索引图像为RGB分量
R=map(X2,1);
R=reshape(R,size(X2));
G=map(X2,2);
G=reshape(G,size(X2));
B
srgb.c
#include "IIC.H"
#include "Scaler.H"
#include "MyDef.H"
#include "RAM.H"
#include "sRGB.H"
#include "PANEL.H"
#include
code int rgb2yuv[3][3]={
{ 0x041B, 0x0810, 0x0191 },
{
srgb.c
#include "IIC.H"
#include "Scaler.H"
#include "MyDef.H"
#include "RAM.H"
#include "sRGB.H"
#include "PANEL.H"
#include
code int rgb2yuv[3][3]={
{ 0x041B, 0x0810, 0x0191 },
{
example7_1.m
load xpmndrll
image(X2)
title('原始彩色索引图像')
colormap(map);
colorbar
%================================
%分解彩色索引图像为RGB分量
R=map(X2,1);
R=reshape(R,size(X2));
G=map(X2,2);
G=reshape(G,size(X2));
B
p0903.m
I=imread('z12.JPG');
[y,x,z]=size(I);
myI=double(I);
tic
%%%%%%%%%%% RGB to HSI %%%%%%%%
H=zeros(y,x);
S=H;
HS_I=H;
for i=1:x
for j=1:y
HS_I(j,i)=((myI(j,i,1)+myI(j,i,2)+myI(j,i
example7_1.m
load xpmndrll
image(X2)
title('原始彩色索引图像')
colormap(map);
colorbar
%================================
%分解彩色索引图像为RGB分量
R=map(X2,1);
R=reshape(R,size(X2));
G=map(X2,2);
G=reshape(G,size(X2));
B
xingxin.m
tic
clc
clear
I=imread('1.bmp');
subplot(2,2,1);
imshow(I);
title('原始图像');
I=rgb2gray(I);
subplot(2,2,2);
imshow(I);
title('灰度图像');
[Row,Col]=size(I);
Row
Col
I1=medfilt2(I);
I