PCL calculates the point cloud OBB bounding box based on the eccentric moment of inertia


insert image description here

1. Algorithm principle

    The pcl::MomentOfInertiaEstimation class is used to obtain descriptors based on moment of inertia and eccentricity. Another function of this class is to extract the oriented bounding box OBB and the coordinate axis aligned bounding box AABB. The oriented bounding box OBB extracted here is not necessarily the smallest bounding box .

2. Code implementation

#include<iostream>
#include

Guess you like

Origin blog.csdn.net/qq_36686437/article/details/131923943