No BSD License  

Highlights from
Structure and Motion Toolkit in MATLAB

Structure and Motion Toolkit in MATLAB

by

 

04 Mar 2004 (Updated )

Structure and Motion Toolkit in MATLAB.

torr_PfromF(FMat,m3)
%	By Philip Torr 2002
%	copyright Microsoft Corp.

%gets two P matrcies from an F
function [P1,P2] = torr_PfromF(FMat,m3)

t = torr_get_right_epipole(FMat,m3);

T = [0 -t(3) t(2); t(3) 0 -t(1); -t(2) t(1) 0];
M = T * FMat;


P1 = [1 0 0 0; 0 1 0 0; 0 0 1 0];

P2 =  [M';t']';





Contact us