-
Notifications
You must be signed in to change notification settings - Fork 5
/
imageTest.m
52 lines (44 loc) · 1021 Bytes
/
imageTest.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
49
50
51
52
load compDataMVL.mat;
figure;
env = abs(hilbert(compData(200:1300, :)));
env = env/max(env(:));
logEnvC = (20 * log10(env) + 60)/60 *255;
image(logEnvC);
colormap(gray(256));
xlim([150, 450])
load compDataL.mat;
figure;
env = abs(hilbert(compData(200:1300, :)));
env = env/max(env(:));
logEnvC = (20 * log10(env) + 60)/60 *255;
image(logEnvC);
colormap(gray(256));
xlim([150, 450])
%{
load compDataMV.mat;
figure;
env = abs(hilbert(compData(100:1800, :)));
env = env/max(env(:));
logEnvC = (20 * log10(env) + 68)/70 *255;
image(logEnvC);
colormap(gray(256));
% ylim([1350, 1450])
% xlim([45, 100])
load compDataDas.mat;
figure;
env = abs(hilbert(compData(100:1800, :)));
env = env/max(env(:));
logEnvC = (20 * log10(env) + 68)/70 *255;
image(logEnvC);
colormap(gray(256));
% ylim([1350, 1450])
% xlim([45, 100])
% load compDataDasSimFull.mat;
%
% figure;
% env = abs(hilbert(compData(100:1300, :)));
% env = env/max(env(:));
% logEnvC = (20 * log10(env) + 50)/60 *255;
% image(logEnvC);
% colormap(gray(256));
%}