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

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

Added original make3d

File size: 301 bytes
Line 
1%       By Philip Torr 2002
2%       copyright Microsoft Corp.
3
4%gets two P matrcies from an F
5function [P1,P2] = torr_PfromF(FMat,m3)
6
7t = torr_get_right_epipole(FMat,m3);
8
9T = [0 -t(3) t(2); t(3) 0 -t(1); -t(2) t(1) 0];
10M = T * FMat;
11
12
13P1 = [1 0 0 0; 0 1 0 0; 0 0 1 0];
14
15P2 =  [M';t']';
16
17
18
19
20
Note: See TracBrowser for help on using the repository browser.