Home > General-Functions > Geometry > uncondition_Points.m

uncondition_Points

PURPOSE ^

% uncondition points, determine conditioning matrix

SYNOPSIS ^

function x = uncondition_Points(xc,M)

DESCRIPTION ^

% uncondition points, determine conditioning matrix
 see PCV (6.137)

 Usage:
   x = uncondition_Points(xc,M)
  
   xc - Nxd matrix of Cartesian coordinates of conditioned points
   M  - d+1 x d+1 matrix of conditioning

    x  - Nxd matrix of Cartesian coordinates

 Wolfgang Förstner 2/2013
 wfoerstn@uni-bonn.de 

 See also condition_Points, condition_Homography, uncondition_Homography

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %% uncondition points, determine conditioning matrix
0002 % see PCV (6.137)
0003 %
0004 % Usage:
0005 %   x = uncondition_Points(xc,M)
0006 %
0007 %   xc - Nxd matrix of Cartesian coordinates of conditioned points
0008 %   M  - d+1 x d+1 matrix of conditioning
0009 %
0010 %    x  - Nxd matrix of Cartesian coordinates
0011 %
0012 % Wolfgang Förstner 2/2013
0013 % wfoerstn@uni-bonn.de
0014 %
0015 % See also condition_Points, condition_Homography, uncondition_Homography
0016 
0017 function x = uncondition_Points(xc,M)
0018 
0019 % number and dimension
0020 [N,d]  =size(xc);
0021 
0022 % condition points
0023 xh =  (inv(M) * [xc ones(N,1)]')';                                          %#ok<MINV>
0024 
0025 % Cartesian coordinates
0026 x = xh(:,1:d);
0027 
0028

Generated on Sat 21-Jul-2018 20:56:10 by m2html © 2005