dltpoints.m

来自「一个很好用的摄像机标定程序」· M 代码 · 共 24 行

M
24
字号
function points = DLTpoints(DLT, icoords, z)%DEVELOPMENT PHASE%%get the point corresponding to the image positions icoords with the given z%coordinate%%DLT ... 3 x 4%icoords ... n x 2%default z = 0%%points = n x 3if (nargin < 3)    z = 0;endn = size(icoords, 1);tempDLT = DLT(:, [1 2 4]);tempDLT(:, 3) = tempDLT(:, 3) + z * DLT(:, 3);points = applyDLT(inv(tempDLT), icoords);points = [points, z * ones(n, 1)];

⌨️ 快捷键说明

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