validatetheta_homography.m

来自「RANSAC Toolbox by Marco Zuliani email: 」· M 代码 · 共 39 行

M
39
字号
function flag = validateTheta_homography(X, Theta, s)% flag = validateMSS_homography(X, Theta, s)%% DESC:% Validates the parameter vector%% INPUT:% X                 = samples on the manifold% Theta             = parameter vector% s                 = indices of the MSS%% OUTPUT:% flag              = true if the MSS is valid% AUTHOR:% Marco Zuliani, email: marco.zuliani@gmail.com% Copyright (C) 2008 by Marco Zuliani % % LICENSE:% This toolbox is distributed under the terms of the GNU LGPL.% Please refer to the files COPYING and COPYING.LESSER for more information.% condition number thresholdT_K = 1e12;% perform here the check on the parameter vector ThetaH = reshape(Theta, 3, 3);K = cond(H);if (K > T_K)    flag = false;else    flag = true;end;return

⌨️ 快捷键说明

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