center point of dense point cloud [closed]

asked 2015-12-07 00:58:11 -0600

dmngu9 gravatar image

assume that i have a dense point cloud. how can i find its centroid x, y, z?

edit retag flag offensive reopen merge delete

Closed for the following reason PCL Question: The PCL community prefers to answer questions at http://www.pcl-users.org/ by gvdhoorn
close date 2015-12-07 02:11:25.270890

Comments

This is really more a question for the PCL Answers site and note ROS specific at all. Please open one there.

gvdhoorn gravatar image gvdhoorn  ( 2015-12-07 02:11:16 -0600 )edit

You simply average all the X values to get the x component of the centroid, and do the same for Y and Z.

Airuno2L gravatar image Airuno2L  ( 2015-12-07 08:24:39 -0600 )edit