source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/torr/torr_nonlinf.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 669 bytes
Line 
1%       By Philip Torr 2002
2%       copyright Microsoft Corp.
3% estimate fundamental matrix from perfect points??
4% so plan is:----
5%disp('estimating error on f')
6%f = fmins('sseff',f,[], [],nx1,ny1,nx2,ny2, no_matches, m3);
7
8%global nx1 ny1 nx2 ny2 no_matches m3
9function f = nonlinf(f_init, nx1,ny1,nx2,ny2, no_matches, m3)
10
11% stage 1 est F using linear methods
12%f_init = estf(nx1,ny1,nx2,ny2, no_matches,m3);
13
14%stage 2 estimate f non-linearly
15
16%options(1) = 0;
17%display results
18options(13) = 2;
19%number of equality constraints
20% option(14) = 300;
21% number of iterations
22f = constr('torr_errf_sseC', f_init, options, [],[],[], nx1, ny1, nx2, ny2, m3);
23
24
Note: See TracBrowser for help on using the repository browser.