source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/torr/torr_get_right_epipole.m
@
177
Last change on this file since 177 was 37, checked in by , 15 years ago | |
---|---|
File size: 371 bytes |
Line | |
---|---|
1 | % By Philip Torr 2002 |
2 | % copyright Microsoft Corp. |
3 | % returns epipole such that Fmat1 * epipole = 0 |
4 | |
5 | |
6 | function epipole = torr_get_right_epipole(Fmat1,m3) |
7 | |
8 | [v,d] = eig(Fmat1); |
9 | |
10 | dd = [d(1,1)^2, d(2,2)^2, d(3,3)^2]; |
11 | [Y Index] = min(dd); |
12 | |
13 | |
14 | epipole = v(:,Index); |
15 | epipole = epipole * (m3/epipole(3)); |
16 | %Fmat1 * epipole |
17 |
Note: See TracBrowser
for help on using the repository browser.