% Minimal representation of Projection P 3D-->2D P = sugr_minimal_Projection_3D_2D(P,Cpp) Wolfgang Förstner 2/2013 wfoerstn@uni-bonn.de See also sugr_Projection_3D_2D, sugr_minimal_vector
0001 %% Minimal representation of Projection P 3D-->2D 0002 % 0003 % P = sugr_minimal_Projection_3D_2D(P,Cpp) 0004 % 0005 % Wolfgang Förstner 2/2013 0006 % wfoerstn@uni-bonn.de 0007 % 0008 % See also sugr_Projection_3D_2D, sugr_minimal_vector 0009 0010 function Ps = sugr_minimal_Point_Projection_3D_2D(P,Cpp) 0011 0012 p = P(:); % vectorize 0013 p_minimal = sugr_minimal_vector(p,Cpp); % determine minimal vector 0014 Ps.P = reshape(p_minimal.h,3,4); % build P-matrix 0015 Ps.Crr = p_minimal.Crr; % store CovM_rr