% Uncertain centered line from uncertain homogeneous line [x0,p,sp,sq] = sugr_Line_2D_hom2cen(l) * l = 2D line struct {l.h,l.Crr} * x0 = centroid, [x-coord. y-coord.]' * p = direction of normal * sp = standard deviation of normal direction * sq = standard deviation across line Jochen Meidow, Wolfgang Förstner wfoerstn@uni-bonn.de See also sugr_Line_2D, sugr_Line_2D_hom2Hes, sugr_Line_2D_Hes2hom, sugr_Line_2D_Hes2cen, sugr_Line_2D_cen2hom, sugr_get_Euclidean_Line_2D, sugr_get_centroid_Line_2D
0001 %% Uncertain centered line from uncertain homogeneous line 0002 % 0003 % [x0,p,sp,sq] = sugr_Line_2D_hom2cen(l) 0004 % 0005 % * l = 2D line struct {l.h,l.Crr} 0006 % 0007 % * x0 = centroid, [x-coord. y-coord.]' 0008 % * p = direction of normal 0009 % * sp = standard deviation of normal direction 0010 % * sq = standard deviation across line 0011 % 0012 % Jochen Meidow, Wolfgang Förstner 0013 % wfoerstn@uni-bonn.de 0014 % 0015 % See also sugr_Line_2D, sugr_Line_2D_hom2Hes, 0016 % sugr_Line_2D_Hes2hom, sugr_Line_2D_Hes2cen, sugr_Line_2D_cen2hom, 0017 % sugr_get_Euclidean_Line_2D, sugr_get_centroid_Line_2D 0018 0019 function [x0,p,sp,sq] = sugr_Line_2D_hom2cen(l) 0020 0021 [e,Cee] = sugr_Line_2D_hom2Hes(l); 0022 [x0,p,sp,sq] = sugr_Line_2D_Hes2cen(e,Cee); 0023