parameters.dat 1.63 KB
Newer Older
Daniel Bourgault's avatar
Daniel Bourgault committed
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


% I/O information
imgFname      =  'IMG_8368.jpg';
firstImgFname =  'IMG_8368.jpg';
lastImgFname  =  'IMG_8368.jpg';
outputFname   =  'IMG_8368.mat';

% Field or lab case situation. 
% Set field = true for field situation and field = false for lab situation. 
field = false;

% Camera position 
% lat/lon for field situation 
% meter for lab situation
LON0 = 1.01;                 
LAT0 = 2.36;                   

% Offset from center of the principal point (generally zero)
ic = 0;
jc = 0;

% Parameters
hfov =      62.00;     % Field of view of the camera
lambda =    53.0;      % Dip angle below horizontal (e.g. straight down = 90, horizontal = 0)  
phi =       1.0;      % Tilt angle (generally close to 0).
H =          1.755;    % Camera altitude (m)
28
theta =     180.0;     % View angle clockwise from North (e.g. straight East = 90)
Daniel Bourgault's avatar
Daniel Bourgault committed
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

% Uncertainty in parameters. Set the uncertainty to 0.0 for fixed parameters.
dhfov =     5.0;
dlambda =   10.0;
dphi =      5.0;
dH =        0.5;
dtheta =    20.0;

% Order of the polynomial correction (0, 1 or 2)
polyOrder = 2;


% To save memory calculation can be done in single precision. 
% For higher precision set the variable 'precision' to 'double';
precision = 'double';


% Ground Control Points (GCP). 
gcpData = true;
48
49
50
51
52
53
54
55
56
57
58
59
2999  226  0.500  0.00  0
1694  220  1.500  0.00  0
 528  677  2.290  0.50  0
 289 1231  2.290  1.00  0
3819  686  0.000  0.50  0
4018 1266  0.000  1.00  0
2566 1235  0.890  0.99  0
3806 2118  0.255  1.56  0
4131 1580  0.000  1.23  0
 521 2548  1.910  1.82  0
 248 2328  2.060  1.71  0
  14 1868  2.290  1.46  0
Daniel Bourgault's avatar
Daniel Bourgault committed
60
61
62
63
64
65
66
67