Filter or limit, points by range or distance, from sensor or setup on multiple clouds

Feel free to ask any question here
Post Reply
Landmåler
Posts: 2
Joined: Tue Feb 01, 2022 9:45 am

Filter or limit, points by range or distance, from sensor or setup on multiple clouds

Post by Landmåler »

This is in regard to an e57 cloud with 200 setups (approx 380m points). I want to remove all points that have a distance from the sensor greater than 20m.

To do this I am marking one sensor at a time edit->sensors->compute ranges then marking the associated cloud edit->scalar field->Filter By Value->split
Then delete the cloud and the extract outside. Rinse repeat 200 times.
Does anyone know how to do this in a more efficient way?


I have a feeling this might be batched in some way but I'm not sure since the "compute ranges" command prompts for a cloud to apply the uncertainty to with the associated cloud being default selected, but it allows for calculating from other clouds.

Simply having the ability to remove points based on distance from sensor after registration is a really big deal in my opinion as being able to pre align clouds using distant walls etc is really effective.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Filter or limit, points by range or distance, from sensor or setup on multiple clouds

Post by daniel »

Ah, sadly I don't think the "compute range" method is accessible via the command line mode sadly...

If it was, would you consider using the command line mode?
Daniel, CloudCompare admin
Landmåler
Posts: 2
Joined: Tue Feb 01, 2022 9:45 am

Re: Filter or limit, points by range or distance, from sensor or setup on multiple clouds

Post by Landmåler »

Yes absolutely. I've just dipped my toes in the CLI and while it's not easy it seems like a powerful tool.

I was actually trying to make a bat file for this to sub sample and filter by range then merge and export.

Got inspired by reading the forum here to apply this task automatically on all setups. I didn't get the sub sampling to work the way I want it to yet, but I just need more time and tries for this. The goal is having a good CloudCompare .bat file for a few standard tasks that I need. It will be worth the time of setting them up and I get to learn new stuff along the way.

Thanks for the response daniel!
raitisx
Posts: 6
Joined: Sun Feb 19, 2023 9:54 pm

Re: Filter or limit, points by range or distance, from sensor or setup on multiple clouds

Post by raitisx »

Reviving the subject, as I have exact same problem.
Would it be possible to add to CLI that so -FILTER_SF works with distance from scan center?
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Filter or limit, points by range or distance, from sensor or setup on multiple clouds

Post by daniel »

Ok, I've added this to the TODO list (however, it's already huge, and you'd better find a motivated developer who can add this directly to the code, because this TODO list doesn't go down as quick as new entries are added :( )
Daniel, CloudCompare admin
Post Reply