-
Notifications
You must be signed in to change notification settings - Fork 1
/
calibimages.m
31 lines (24 loc) · 1.03 KB
/
calibimages.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
function calibimages
% CALIBIMAGES The main routine for manual preprocessing of
% calibration images. If a circular image lens is used the ellipse
% bounding the image field is also located. CALIBIMAGES
% contains two subroutines, PROCESSIMAGES and FINDELLIPSE.
%
% See also CALIBCONFIG, PROCESSIMAGES, FINDELLIPSE
%
% Copyright (C) 2004-2006 Juho Kannala
%
% This software is distributed under the GNU General Public
% Licence (version 2 or later); please refer to the file
% Licence.txt, included with the software, for details.
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
configname=input('Give the name of your configuration (same as in file calibconfig.m): ','s');
sys=calibconfig(configname);
%imagenames=preprocessimgs(sys);
imagenames=processimages(sys);
if strcmp(sys.circularimage,'yes')
findellipse(imagenames);
end