How to get ransac outliers?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to get ransac outliers?

pointman
How do I do the opposite of  ransac.getInliers(inliers);
I want to get the Outliers.
thanks,
Reply | Threaded
Open this post in threaded view
|

Re: How to get ransac outliers?

james
Administrator
This is covered in the ECE tutorial:
http://pointclouds.org/documentation/tutorials/cluster_extraction.php#cluster-extraction

Pay attention to this part:

ECE Tutorial wrote
// Remove the planar inliers, extract the rest
    extract.setNegative (true);
    extract.filter (*cloud_f);
    cloud_filtered = cloud_f;