代码搜索结果
找到约 8,819 项符合
RGB 的代码
makefile
# @(#)Makefile 1.1 92/07/30 SMI
HDRSPUBLIC = attr.h bitmask.h cms.h cms_colorcube.h cms_grays.h \
cms_mono.h cms_rainbow.h cms_rgb.h defaults.h filter.h hashfn.h \
io_stream.h notify.h pixwin.h pw_d
nn1f.m
function s=nn1f(in)
% 将32*32的样本图像变为1024*1的灰度向量
a=imread(in);
b=rgb2gray(a);
b=double(b);
[length,width]=size(b);
b1=mat2gray(b); % 0为黑 1为白 Convert matrix to intensity image.
s=reshape(b1
nn1f.m
function s=nn1f(in)
% 将32*32的样本图像变为1024*1的灰度向量
a=imread(in);
b=rgb2gray(a);
b=double(b);
[length,width]=size(b);
b1=mat2gray(b); % 0为黑 1为白 Convert matrix to intensity image.
s=reshape(b1
danfen.m
kk=imread('ziji5.jpg');
X=rgb2gray(kk);
X=double(X);
[cA1,cH1,cV1,cD1]=dwt2(X,'db2');
figure(1);
subplot(3,2,1);
imshow(X,[]);
title('原始图像');
subplot(3,2,3);
imshow(cA1,[]);
title('低
tuxiangyasuo2.m
kk=imread('ziji3.jpg');
X=rgb2gray(kk);
X=double(X);
figure();
subplot(221);
imshow(X,[]);
title('原始图像');
%colormap(map2);
[ca1,ch1,cv1,cd1]=dwt2(X,'bior3.7');
a1=upcoef2('a',ca1,'bior3.7',1)
s083.m
% 灰度图像层叠中值滤波 s083
I83=imread ('2.jpg');
I830=rgb2gray(I83);
I831=imnoise (I830,'salt & pepper',0.05);
[m,n]=size(I830);
I832=zeros(m,n);
for k=1:255
d=I831;
for i=1:m
for j=1:
s040.m
% 灰度图像伪彩色显示(十二色) s040
I40=imread('1.jpg');
I400=rgb2gray(I40);
[m,n]=size(I400);
for i=1:m
for j=1:n
if I400(i,j)
s032.m
%位宽uint8转换为双精度 s032
I32=imread('1.jpg');
I320=rgb2gray(I32);
I321=im2double(I320);
I320(1:5,1:5),I321(1:5,1:5)
s036.m
%位宽uint8转换为uint16 s036
I36=imread('1.jpg');
I360=rgb2gray(I36);
I361=im2uint16(I360);
I360(1:5,1:5),I361(1:5,1:5)
方形环向功率谱.m
% L503频谱分析
f=imread('E:\TUTU\L503.JPG'); % 读取图像;
h=rgb2gray(f); % 转化为灰度图;
h1=h(1:300,1:300); % 截缺取300*360大小的图像;
h11=zeros(500,500);
for i=1:300;
for j=1:3