0
$\begingroup$

Rosanswers logo

Hi,

I would like to know which point is removed/filtered out from an input cloud after applying pcl::PassThrough and pcl::StatisticalOutlierRemoval filters. What I mean by "which point" is the x and y index values of a 3D Point in the sensor plane, or simply the index value of the point.

I have checked pcl::ExtractIndices and pcl_base.h and many other source files, but I couldn't find an easy way to do that.

Thanks...


Originally posted by Kadir Firat Uyanik on ROS Answers with karma: 288 on 2011-02-21

Post score: 0


Original comments

Comment by sam on 2014-05-09:
You can get x,y,z of points that you want when you call pcl::PassThrough and pcl::StatisticalOutlierRemoval filters. What I don't know is how to know the indices of original point cloud. Anyone know? Thank you~

$\endgroup$

2 Answers 2

0
$\begingroup$

Rosanswers logo

The statistical outlier removal object has a setNegative() method which will extract outliers instead of inliers. Simply pass this method 'true'.

For the passthrough filter, you can use setFilterLimitsNegative(). Pass this method 'true' as well to get the outliers.


Originally posted by Corey Montella with karma: 63 on 2011-02-22

This answer was NOT ACCEPTED on the original site

Post score: 2

$\endgroup$
0
$\begingroup$

Rosanswers logo

Hi Corey,

I think you misunderstood the actual problem here.

It is not possible to know which points are removed/filtered out in the current version of PCL for the filters that I have mentioned above. This feature/addon is going to be included in the upcoming versions of PCL, probably 2.0.


Originally posted by Kadir Firat Uyanik with karma: 288 on 2011-02-23

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.