代码搜索结果
找到约 8,819 项符合
RGB 的代码
xcol9.ini
! 128 RGB values for color-scheme: Test
0 0 0
0 2 13
0 4 25
0 6 38
0 8 50
0 10 62
0 12 75
0 14 87
0 16 98
0 18 110
0 20 121
0 22 132
0 24 143
0 26 153
0 28 163
0 30 172
0 32 181
0 34
chapter4q3.m
clear all;close all;
I=imread('peppers.TIF');
I=rgb2gray(I);
Idouble=double(I)/256;
imwrite(I,'image_a.jpg','jpg');
H0=1/8*[-1 2 6 2 -1];
H1=1/2*[-1 2 -1];
G0=1/2*[1 2 1];
G1=1/8*[-1 -2 6 -2 -
mythre.m
hzsx1=imread('f:/pictures/hzsx1.bmp');
sx=rgb2gray(hzsx1);
subplot(2,2,1),imshow(sx);
subplot(2,2,1),image(sx);
title('原始图像');
axis square;
[c1,l1]=wavedec2(sx,2,'sym4');
a1=wrcoef2('a',c1,l1,'
ex2.m
I = imread('car.jpg'); %
I2 = rgb2gray(I);%取灰度图
I4 = im2bw(I2, 0.2); %二值化
bw = bwareaopen(I4, 500); %删除小面积对像
se = strel('disk',15); %指定领域的平面结构化元素
bw = imclose(bw,se);
bw = imfill(bw,[1
caiseerwei.m
I=imread('E:\毕业设计\matlab\Lena256.bmp','bmp');
%I=rgb2gray(I);
[LL1,HL1,LH1,HH1]=dwt2(I,'db1');
subplot(2,2,1);imshow(LL1,[]);
title('近似分量');
subplot(2,2,2);imshow(HL1);
title('水平细节');
subplot
dcdcg.m
kk=imread('ziji1.jpg');
X=rgb2gray(kk);
X=double(X);
[c,s]=wavedec2(X,2,'db1');
sc=size(c)
val_s=s
[nc,ns]=upwlev2(c,s,'db1');
snc=size(nc)
val_ns=ns
cal=appcoef2(nc,ns,'db1',1);
figure(5
s081.m
% 灰度图像中值滤波 s081
I81=imread('3.jpg');
I810=rgb2gray(I81);
I811=imnoise(I810,'salt & pepper',0.05);
I812=medfilt2(I811);
subplot(1,2,1),imshow(I811);
subplot(1,2,2),imshow(I812)
s059.m
clear;
I57=imread('1.jpg');
I570=rgb2gray(I57);
I571=histeq(I570);
subplot(2,2,1),imshow(I570);
subplot(2,2,2),imhist(I570);
subplot(2,2,3),imshow(I571);
subplot(2,2,4),imhist(I571)
s088.m
% 灰度图像二维离散付氏变换幅度谱水平、竖直方向平移半周朝 s088
I87=imread('2.jpg');
I870=rgb2gray(I87);
I871=fft2(I870);
I872=fftshift(I871);
imshow(log(abs(I872)),[]),colormap(jet(64))
test_img11_3.m
clear;
I=imread('img11.bmp');
I2=rgb2gray(I);
figure;
subplot(3,3,1)
imshow(I2);
title('原图像')
I3=fft2(I2);
subplot(3,3,4)
imshow(I3);
title('FFT变换结果');
subplot(3,3,7)
I4=fftshift(I3);
W