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

📄 homo2cart.m

📁 RANSAC Toolbox by Marco Zuliani email: marco.zuliani@gmail.com -------------------------------
💻 M
字号:
function Q_cart = homo2cart(Q_homo)% Q_cart = homo2cart(Q_homo)%% DESC:% converts from cartesian coordinates to homegeneous ones%% VERSION:% 1.0.0% % INPUT:% Q_homo		= homogeneous coordinates of the points%% OUTPUT:% Q_cart		= cartesian 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 versionl = size(Q_homo, 1);% check if point or vectorif Q_homo(l) == 0   Q_homo(l) = 1;end;Q_cart = Q_homo(1:l - 1, :)./repmat(Q_homo(l, :), [l-1, 1]);return;

⌨️ 快捷键说明

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