Filter the point cloud for two different ranges on same field.

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

Filter the point cloud for two different ranges on same field.

BhanuKiran
Hi,

I am looking to filter Filed 'X' and obtain the points that only lie in the
range [-8 -0.15] U [0.15 8]. Some thing like filtering the range that lie in
two concentric circles.  How can i do that ? or is the way that i can create
my own filter such that (x>0.15 && x<8) || (x<-0.15 && x>-8)

Since my point cloud is obtained from Lidar data (LaserScan messges), it
contain both negative and positive values.

Thanks.



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Filter the point cloud for two different ranges on same field.

Sérgio Agostinho



On 03-03-2018 20:24, BhanuKiran wrote:
How can i do that ? or is the way that i can create
my own filter such that (x>0.15 && x<8) || (x<-0.15 && x>-8)

This is something you can achieve with two sequential stages of the PassThrough filter.

Cheers



_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users

signature.asc (836 bytes) Download Attachment