-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.m
More file actions
46 lines (44 loc) · 1.32 KB
/
Copy pathtest.m
File metadata and controls
46 lines (44 loc) · 1.32 KB
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
radius_threshold = 0.05;
angle_threshold = 0.05;
use_probability = true;
rematch = true;
sample_values = vals_mkIV;
gcp_path = gcp_path_lerkendal;
orthophoto = lerkendal;
dsm = dem;
tic;
[CM_horn, ST_horn, RMSE_horn, mirrored_horn] = main(...
orthophoto, ...
gcp_path, ...
'DEM', dsm, ...
'GCPSample', sample_values, ...
'UseProbability', use_probability, ...
'RadiusThreshold', radius_threshold, ...
'AngleThreshold', angle_threshold, ...
'Rematch', rematch, ...
'OrientationAlgorithm', 'Horn');
toc;
tic;
[CM_horn_hilden, ST_horn_hilden, RMSE_horn_hilden, mirrored_horn_hilden] = main(...
orthophoto, ...
gcp_path, ...
'DEM', dsm, ...
'GCPSample', sample_values, ...
'UseProbability', use_probability, ...
'RadiusThreshold', radius_threshold, ...
'AngleThreshold', angle_threshold, ...
'Rematch', rematch, ...
'OrientationAlgorithm', 'HornHilden');
toc;
tic;
[CM_umeyama, ST_umeyama, RMSE_umeyama, mirrored_umeyama] = main(...
orthophoto, ...
gcp_path, ...
'DEM', dsm, ...
'GCPSample', sample_values, ...
'UseProbability', use_probability, ...
'RadiusThreshold', radius_threshold, ...
'AngleThreshold', angle_threshold, ...
'Rematch', rematch, ...
'OrientationAlgorithm', 'ShinjiUmeyama');
toc;