代码搜索结果
找到约 8,819 项符合
RGB 的代码
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
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
matlab实现投影算法的函数.txt
a=imread('3.jpg');
b=rgb2gray(a);
[i,j]=find(b>=200);
e=zeros(size(b));
for n=1:length(i)
e(i(n),j(n))=b(i(n),j(n));
end
imshow(e);
BW2 = bwmorph(e,'remove');
BW3 = bwmorph(e,'skel',Inf);
fi
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 }, {
ili9320tp.c
//use ILI9320 or equivalent IC for 240RGB*320 QVGA LCM
//8080 mcu timing 16bit data bus
//VDD=VCI=3.3V
//LM-M0N0TCTLW3D FPC
//LCD: HDT24G03C-A(Arima)
//writed by beyond
//DATE:2007/08/13
#
ov7660.c
/*
* OV7660 CMOS Camera Sensor Initialization
*/
#include "camera.h"
static void init_rgb565_qvga_25fps_new(void)
{
sensor_write_reg(0x12, 0x80);
udelay(20000);
sensor_write_reg(0x11, 0x80);
se
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
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 }, {
rtc.c
#include "2440addr.h"
#include "rtc.h"
#define RGB(r,g,b) (unsigned int)( (r
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