vgg_condition_2d.m

来自「实现了几何多视的功能」· M 代码 · 共 14 行

M
14
字号
function pc = vgg_condition_2d(p,C);
% function pc = vgg_condition_2d(p,C);
%
% Condition a set of 2D homogeneous or nonhomogeneous points using conditioner C

[r,c] = size(p);
if r == 2
  pc = vgg_get_nonhomg(C * vgg_get_homg(p));
elseif r == 3
  pc = C * p;
else
  error ('rows != 2 or 3');
end

⌨️ 快捷键说明

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