No BSD License
-
c_menu(varargin)
By Philip Torr 2002
-
c_menu(varargin)
By Philip Torr 2002
-
torr_c_menu(varargin)
By Philip Torr 2002
-
torr_c_menu(varargin)
By Philip Torr 2002
-
torr_tool(varargin)
By Philip Torr 2002
-
...
By Philip Torr 2002
-
calc_cubic_coefs(f1, f2)
Many thanks to Kurt Ditzel
-
gauss_mask(w, sigma)
By Philip Torr 2002
-
nonlinf(f_init, nx1,ny1,nx2,n...
By Philip Torr 2002
-
torr_EtoRt(E)
By Philip Torr 2002
-
torr_F_constrained_fit(x1,y1,...
% %designed for the good of the world by Philip Torr based on ideas contained in
-
torr_FtoP(F,C, matches)
By Philip Torr 2002
-
torr_PfromF(FMat,m3)
By Philip Torr 2002
-
torr_RCT2P(C,R,t)
By Philip Torr 2002
-
torr_Sampson_F(x1,y1,x2,y2, n...
By Philip Torr 2002
-
torr_add_manual_matches(ax_ha...
-
torr_charris(im, ncorners, wi...
-
torr_compare_epipoles(Fmat1,F...
By Philip Torr 2002
-
torr_corn_matcher(im1, im2, c...
% %designed for the good of the world by Philip Torr based on ideas contained in
-
torr_correctx4F(f, nx1,ny1,nx...
By Philip Torr 2002
-
torr_disp_epip_geom(f,matches...
By Philip Torr 2002
-
torr_display_epipolar(f,ax_ha...
By Philip Torr 2002
-
torr_display_epipoles(Fmat1,m...
By Philip Torr 2002
-
torr_display_matches(matches,...
By Philip Torr 2002
-
torr_display_structure(X, P1,...
By Philip Torr 2002
-
torr_errf2(f, nx1,ny1,nx2,ny2...
By Philip Torr 2002
-
torr_errf_sse(f, nx1,ny1,nx2,...
for nonlinear methods...
-
torr_errf_sseC(f, nx1,ny1,nx2...
By Philip Torr 2002
-
torr_errfa(fa, x1,y1,x2,y2, n...
-
torr_errg_sse(g, nx1,ny1,nx2,...
This function is used by torr_nonlinG and provides the sum of squared error for a
-
torr_errh(h, x1,y1,x2,y2, no_...
By Philip Torr 2002
-
torr_estf(x1,y1,x2,y2, no_mat...
By Philip Torr 2002
-
torr_estf_bookstein(x1,y1,x2,...
By Philip Torr 2002
-
torr_estf_bookstein_sampson(x...
By Philip Torr 2002
-
torr_estfa(x1,y1,x2,y2, no_ma...
By Philip Torr 2002
-
torr_esth(x1,y1,x2,y2,no_matc...
-
torr_estimateF( matches, m3, ...
By Philip Torr 2002
-
torr_f_reprojection_error(est...
By Philip Torr 2002
-
torr_g2F(g,C)
By Philip Torr 2002
-
torr_g2FP(g,C)
By Philip Torr 2002
-
torr_get_right_epipole(Fmat1,...
By Philip Torr 2002
-
torr_grad_f(f, nx1,ny1,nx2,ny...
By Philip Torr 2002
-
torr_linear_EtoPX(E,matches,C...
By Philip Torr 2002
-
torr_ls(D)
By Philip Torr 2002
-
torr_mapsac_F(x1,y1,x2,y2, no...
By Philip Torr 2002
-
torr_mapsac_F(x1,y1,x2,y2, no...
By Philip Torr 2002
-
torr_mapsac_H(x1,y1,x2,y2, no...
By Philip Torr 2002
-
torr_mlesac_F(x1,y1,x2,y2, no...
By Philip Torr 2002
-
torr_napsac_F(x1,y1,x2,y2, no...
By Philip Torr 2002
-
torr_napsac_H(x1,y1,x2,y2, no...
By Philip Torr 2002
-
torr_nonlcon_f(f, nx1,ny1,nx2...
By Philip Torr 2002
-
torr_nonlcon_f2x2(f, nx1,ny1,...
By Philip Torr 2002
-
torr_nonlinG(g_init,nx1,ny1,n...
By Philip Torr 2002
-
torr_nonlinf_mincon2x2(f_init...
By Philip Torr 2002
-
torr_quick_fit(M)
By Philip Torr 2002
-
torr_refine_f_sampson(x1,y1,x...
By Philip Torr 2002
-
torr_robust_chieral(X,P1,P2)
By Philip Torr 2002
-
torr_self_calib_f(F,CC)
By Philip Torr 2002
-
torr_self_calib_f(x1,y1,x2,y2...
By Philip Torr 2002
-
torr_skew_sym(t)
By Philip Torr 2002
-
torr_sphere2unit(srot_axis)
By Philip Torr 2002
-
torr_triangulate(matches, m3,...
By Philip Torr 2002
-
torr_unit2sphere(rot_axis)
By Philip Torr 2002
-
torr_compF_sc.m
-
torr_comp_sam_lin_script.m
-
torr_cor_script.m
-
torr_errf_nl_2.m
-
torr_evalFsc.m
-
torr_genf.m
-
torr_main_book_ave.m
-
torr_main_f_ave.m
-
torr_main_f_ave2.m
-
torr_main_rotation_ave2.m
-
torr_matcher_script.m
-
torr_rotations.m
-
torr_sym_f.m
-
torr_test_F.m
-
torr_test_SFMsc.m
-
torr_test_calib_sc.m
-
torr_test_calib_sc2.m
-
torr_test_correct_sc.m
-
torr_test_mat.m
-
View all files
from
Structure and Motion Toolkit in MATLAB
by Philip Torr
Structure and Motion Toolkit in MATLAB.
|
| torr_g2F(g,C)
|
% By Philip Torr 2002
% copyright Microsoft Corp.
%
% %here p is the set of paramets such that
% g(1) = focal length
% g(2-3) sperical coordinates of rotation axis
% g(4) rotation angle
% g(5-6) is the translation vector
function f = torr_g2F(g,C)
%convert intrinsic and extinsics to a F matrix
C(3,3) = 1/g(1);
rot_axis = torr_sphere2unit([g(2) g(3)]);
tt = torr_sphere2unit([g(5) g(6)]);
rot_angle = g(4);
%Rogregues
II = [1 0 0; 0 1 0; 0 0 1];
AX = torr_skew_sym(rot_axis);
RR = cos(rot_angle) * II +sin(rot_angle) * AX + (1 - cos(rot_angle)) * rot_axis * rot_axis';
TX = torr_skew_sym(tt);
nnE = TX * RR;
F = inv(C') * nnE * inv(C);
f = reshape(F',9,1);
|
|
Contact us at files@mathworks.com