RTAB-Map 0.23.10
Real-Time Appearance-Based Mapping
Loading...
Searching...
No Matches
Remove NaN Points from a Point Cloud

Removes points with NaN normal values from a point cloud. More...

Functions

pcl::PointCloud< pcl::PointNormal >::Ptr RTABMAP_CORE_EXPORT rtabmap::util3d::removeNaNNormalsFromPointCloud (const pcl::PointCloud< pcl::PointNormal >::Ptr &cloud)
 Removes points with NaN normal values from a point cloud of type pcl::PointNormal.
 
pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr RTABMAP_CORE_EXPORT rtabmap::util3d::removeNaNNormalsFromPointCloud (const pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr &cloud)
 Removes points with NaN normal values from a point cloud of type pcl::PointXYZRGBNormal.
 
pcl::PointCloud< pcl::PointXYZINormal >::Ptr RTABMAP_CORE_EXPORT rtabmap::util3d::removeNaNNormalsFromPointCloud (const pcl::PointCloud< pcl::PointXYZINormal >::Ptr &cloud)
 Removes points with NaN normal values from a point cloud of type pcl::PointXYZINormal.
 

Detailed Description

Removes points with NaN normal values from a point cloud.

This function filters out all points in the input point cloud whose normal components contain NaN (Not-a-Number) values. It uses the PCL utility function pcl::removeNaNNormalsFromPointCloud to perform the filtering operation.

Parameters
cloudThe input point cloud, which may contain NaN normal values.
Returns
A new point cloud with all NaN normals removed.