43 inPlaceFilter(output);
52 const int nbPointsIn = cloud.
features.cols();
55 for (
int i = 0; i < nbPointsIn; ++i)
57 const BOOST_AUTO(colArray, cloud.
features.col(i).array());
58 const BOOST_AUTO(hasNaN, !(colArray == colArray).all());
void setColFrom(Index thisCol, const DataPoints &that, Index thatCol)
Set column thisCol equal to column thatCol of that, copy features and descriptors if any...
Remove points having NaN as coordinate.
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
void conservativeResize(Index pointCount)
Resize the cloud to pointCount points, conserving existing ones.
Matrix features
features of points in the cloud