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

📄 cart2homo.m

📁 RANSAC Toolbox by Marco Zuliani email: marco.zuliani@gmail.com -------------------------------
💻 M
字号:
function Q_homo = cart2homo(Q_cart, lambda)% Q_homo = cart2homo(Q_cart, lambda)%% DESC:% converts from homegeneous coordinates to cartesian ones %% VERSION:% 1.1% % INPUT:% Q_cart		= cartesian coordinates of the points% lambda        = scale factor (optional)%% OUTPUT:% Q_homo		= homogeneous coordinates of the points% 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.% HISTORY% 1.0.0         - ??/??/01 - Initial versionif nargin == 1   lambda = 1;end;l = size(Q_cart, 1);n = size(Q_cart, 2);Q_homo = zeros(l + 1, n, class(Q_cart));Q_homo(1:l, :) = (1 / lambda) * Q_cart(1:l, :);Q_homo(l + 1, :) = lambda;return;

⌨️ 快捷键说明

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