torr_nonling.m

来自「There are some 79 or so Matlab files her」· M 代码 · 共 20 行

M
20
字号
%	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 [g,f] = torr_nonlinG(g_init,nx1,ny1,nx2,ny2, no_matches, m3, C)

%options = optimset('Display','iter','Diagnostics','off');
options = optimset('Display','off','Diagnostics','off');
g = fminunc('torr_errg_sse',g_init,options,nx1,ny1,nx2,ny2, m3, C);

%generate F matrix (in vector form)
f = torr_g2F(g,C);

⌨️ 快捷键说明

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