Home > General-Functions > SUGR > Line_2D > sugr_get_centroid_Line_2D.m

sugr_get_centroid_Line_2D

PURPOSE ^

% Centroid representation from minimal representation

SYNOPSIS ^

function [x0,p,sp,sq] = sugr_get_centroid_Line_2D(l)

DESCRIPTION ^

% Centroid representation from minimal representation

 [x0,p,sp,sq] = sugr_get_centroid_Line_2D(l)

 * l     = 2D line struct, minimal representation {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_hom2cen,
 sugr_Line_2D_Hes2hom, sugr_Line_2D_Hes2cen, sugr_Line_2D_cen2hom,
 sugr_get_Euclidean_Line_2D, sugr_get_centroid_Line_2D

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %% Centroid representation from minimal representation
0002 %
0003 % [x0,p,sp,sq] = sugr_get_centroid_Line_2D(l)
0004 %
0005 % * l     = 2D line struct, minimal representation {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, sugr_Line_2D_hom2cen,
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_get_centroid_Line_2D(l)
0020 
0021 [e,Cee]      = sugr_get_Euclidean_Line_2D(l);
0022 [x0,p,sp,sq] = sugr_Line_2D_Hes2cen(e,Cee);

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