parameters.dat 1.55 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
28
29
30
31
32
33
34
35
% I/O information
imgFname      =  'IMG_6614.JPG';
firstImgFname =  'IMG_6614.JPG';
lastImgFname  =  'IMG_6614.JPG';
outputFname   =  'g_rect.mat';

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

% Camera position 
% lat/lon for field situation 
% meter for lab situation
LON0 = -70.6010167;                 
LAT0 =  47.2713000;                   

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

% Parameters
hfov =      65.0;     % Field of view of the camera
lambda =    2;        % Dip angle above vertical (e.g. straight down = 90, horizontal = 0)  
phi =       0.0;      % Tilt angle (generally close to 0).
H =         720;      % Camera altitude
theta =     70.0;     % View angle clockwise from North (e.g. straight East = 90)

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

% Order of the polynomial correction (0, 1 or 2)
36
polyOrder = 0;
Daniel Bourgault's avatar
Daniel Bourgault committed
37
38
39
40
41
42
43
44

% 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). 
% The data must come right after the gcpData = true
gcpData = true;
45
46
47
48
49
50
 360  829  -70.561367  47.303783  0
  54  719  -70.54500   47.335     0
  99  661  -70.505     47.375     0
 452  641  -70.435     47.389     0
 429  633  -70.418     47.408     0
 816  644  -70.393     47.368     0