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_sym_f.m |
% By Philip Torr 2002
% copyright Microsoft Corp.
%%%%%%this is going to be my first try at some symbolic stuff
%%%the purpose of this file is to set up an essential matrix that you can later do symbolic manipulation of,.
syms tx ty tz;
Tx = [0 -tz ty; tz 0 -tx; -ty tx 0];
%rodriggues formula a rotation angle l m n axis
syms lx ly lz a
Id = [1 0 0; 0 1 0; 0 0 1]
Ax = [0 -lz ly; lz 0 -lx; -ly lx 0];
rot_axT = [ lx ly lz]
rot_ax = [ lx; ly; lz]
R = (cos(a) * Id + sin(a) * Ax + (1 - cos(a)) * rot_ax * rot_axT)
E = Tx * R
syms foc
Ca = [1 0 0; 0 1 0; 0 0 foc]
G = Ca * E * Ca
%det(E)
%0.5 * (trace( E * E'))^2 - trace((E * E')^2)
syms x1 x2 y1 y2
r = [x2 y2 1] * G * [x1; y1; 1]
|
|
Contact us at files@mathworks.com