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

📄 multiplepointreconstruction.m

📁 三维重建
💻 M
字号:
function [ret, Py , V] = multiplePointReconstruction(ste,X,camnum,dsp)
%
%   [ret,  Py, V] = MULTIPLEPOINTRECONTRUCTION(ste,X[,camnum,dsp])
%
%   Estimates the depth of the image coordinate pairs stored in X from
%   camera camnum (camnum = {1|2}).
%
%   Py holds the difference between the two y-coordinates estimations and v
%   the confidence of the spatial coordinates' imrovements (see IMPROVESPATIALCOORDINATE
%   for further information about the confidence ellipsoid).
%
%   If dsp is set to 1 the estimations are displayed.
%

    if nargin < 3
        camnum = 1;    
    end
    if nargin < 4
        dsp = 0;    
    end

    ret = []; Py = []; V = []; 
    for i = 1:size(X,1)
        disp(['Reconstructing point #' num2str(i) ' with camera #' num2str(camnum)])
        [x,py,v] = singlePointReconstruction(ste,X(i,:),camnum,dsp);
        ret = [ret; x];
        Py = [Py;py];
        V = [V;v'];
    end
    

⌨️ 快捷键说明

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