Page 1 of 1

Rasterize/Resample input cloud - Keep the point closest to the desired value

Posted: Sun Nov 10, 2019 7:37 pm
by Stefan
Hi there, CloudCompare-People

First, WOW, what a nice software! I just started to work with Pointclouds and was looking for something appropiate and I did find. Thank you guys for making this!

And as it so gooood, i feel a little bad that I come here as a newbie and requesting stuff. But not too bad, that i would shut up...he he!

Mostly Im using the Rasterize-Tool for cleaning my pointcloud. That works out pretty well but than i found the "resample input cloud" option where the point closest to the center is used with the desired value (like min. height). Would it be possible to keep the point which is closest to the desired value
and than keep that point and its value.

For example Im going for the min. height. So (at least) one point in my rastercell will has the "min. height"-value. And i want to keep this point.
So I can nicely clean my inputcloud and have in my generated cloud the "original"-points.

That would be nice
regards Stefan

PS: Maybe something like this already exists and I just didnt found it

Re: Rasterize/Resample input cloud - Keep the point closest to the desired value

Posted: Sun Nov 10, 2019 8:24 pm
by daniel
Hum, not sure if it's possible (can't remember exactly ;).

You could also export the 'regular' raster with the lowest points, and then compute the distances between the original cloud and the raster to extract the closest points? Depending on your original cloud density, that may work?