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

📄 evaluateerror.m

📁 三维重建
💻 M
字号:
function err = evaluateError(ste,X,Y,meth)
%
%   err = EVALUATEERROR(ste,X,Y,meth)
%   
%   Evaluates the root mean squared error for the given data X,Y.
%   If meth = 0 the depth of a coordinate pair is computed by
%   getObjectCoordinates, otherwise by multiplePointReconstruction.
%   

if meth == 0
    [r err errx erry errz] = getObjectCoordinates(ste,X,Y)
else
    [r, Py , V] = multiplePointReconstruction(ste,X,1)
    err = sqrt(mean(sum (r - Y).^2 , 2)));
end
    

⌨️ 快捷键说明

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