⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 torr_ftop.m

📁 matlab三维重建程序
💻 M
字号:
%	By Philip Torr 2002
%	copyright Microsoft Corp.
%this function will convert an fundamental matrix to a rotation and translation martix
%then establish a suitable frame eliminating the spurious solutions using constraints
%as set out in Hartley and Zisserman.
%and a suitable self calibration method!

%note E + T_x R
%%%
%F is the fundamental matrix, C is the calibration matrix
% C = 1 0 x_0
%     0 1 y_0
%     0 0 1/f
%where 1/f is the best estimate so far of the focal length

%also returns the structure

function [P1,P2,X] = torr_FtoP(F,C, matches)

focal_lenth = torr_self_calib_f(F,C);

[Tx,R1,R2] = torr_EtoRt(E)

%next correct the matches to make them lie on the optimal epipolar lines


 
%next solve for one of the four possible solutions:
 
 
 Tx
 R1
 R2
 
 
 P1 = ones(3,4);
 P2 = ones(3,4);
 
 
 %next we need to look at a single point to determine if it is front of both cameras;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -