-
Notifications
You must be signed in to change notification settings - Fork 5
/
m327_7.m
48 lines (38 loc) · 1.03 KB
/
m327_7.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
% Ŕý×Ó 7.8
% f = imread('Fig0708(a).tif');
% figure,imshow(f);
% [c,s] = wavefast(f,1,'sym4');
% figure;wavedisplay(c,s,-6);
% [nc,y] = wavecut('a',c,s);
% figure;wavedisplay(nc,s,-6);
% edges = abs(waveback(nc,s,'sym4'));
% figure,imshow(mat2gray(edges));
%%
% Ŕý×Ó 7-9
% f = imread('Fig0708(a).tif');
% [c,s] = wavefast(f,4,'sym4');
% wavedisplay(c,s,20);
% [c,g8] = wavezero(c,s,1,'sym4');
% [c,g8] = wavezero(c,s,2,'sym4');
% [c,g8] = wavezero(c,s,3,'sym4');
% [c,g8] = wavezero(c,s,4,'sym4');
%%
% Ŕý×Ó 7-10
f = imread('Fig0709(f).tif');
[c,s] = wavefast(f,4,'jpeg9.7');
wavedisplay(c,s,8);
f = wavecopy('a',c,s);
figure,imshow(mat2gray(f));
[c,s] = waveback(c,s,'jpeg9.7',1);
f = wavecopy('a',c,s);
figure,imshow(mat2gray(f));
[c,s] = waveback(c,s,'jpeg9.7',1);
f = wavecopy('a',c,s);
figure,imshow(mat2gray(f));
[c,s] = waveback(c,s,'jpeg9.7',1);
f = wavecopy('a',c,s);
figure,imshow(mat2gray(f));
[c,s] = waveback(c,s,'jpeg9.7',1);
f = wavecopy('a',c,s);
figure,imshow(mat2gray(f));
%%