代码搜索结果
找到约 8,819 项符合
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
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
ding1231l.m
close all;
clear;
%A2=imread('D:\a实验用\nh1.bmp','bmp');
%figure(9),imshow(A2);
A1=imread('qwer.bmp');
%A1=rgb2gray(A0);
%imwrite(A1,'A000.bmp')
%A=A1;
%figure(1),imshow(A1);
%dd=0.5;
%A
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
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
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 }, {
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
主程序.bak
_screen.windowstate=2
_screen.caption="武汉武电材料管理系统"
_screen.closable=.f.
_screen.maxbutton=.t.
_screen.minbutton=.t.
_screen.controlbox=.t.
_screen.backcolor=RGB(50,100,128)
set path to c:\武汉武电科
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 }, {