Fix Holes in LiDAR Point Cloud

   1026   3   2
User Avatar
Member
1 posts
Joined: Feb. 2018
Offline
Hi there,

I'm currently playing around with using LiDAR data to generate high-quality terrains in Houdini and ran into a roadblock. I have these 'voids' or 'holes' in my point cloud that are not filled by the Particle Fluid Surface I'm using to generate the mesh.

Later, when projecting this mesh onto a Heightfield Project, these holes become an artifact as seen in the image.

I also tried a VDB From Particles route, by ended up with the same issue.

I've been trying lately with little success to isolate/mask these holes to scatter additional points in them, but I'm not sure if it's a good strategy.

Any suggestions would be highly appreciated.

Thanks!
Edited by kyozon - April 29, 2025 12:05:32

Attachments:
Screenshot 2025-04-28 132456.png (3.2 MB)
Screenshot 2025-04-28 132609.png (2.3 MB)
Screenshot 2025-04-25 212542.png (1.7 MB)
Screenshot 2025-04-25 212929.png (1.9 MB)

User Avatar
Member
1177 posts
Joined: April 2017
Offline
Either you fix the holes before the projection or you project differently. I currently don't have the time to create an example but here's how I used to do it:

1. use polyfil with Patch Group active
2. use split with that group
3. delete any patch pointing downward
4. Merge and fuse

The other methode is to project with a Volume Wrangle. You use the intersect function and for any voxel that doesnt hit anything (primhit == -1), you use the xyzdist function and primuv function to get the nearest position.

-Olivier
Edited by olivierth - April 29, 2025 15:19:43
User Avatar
Member
542 posts
Joined: Nov. 2016
Offline
Another way would be to follow your heightfield project with an inverted heightfield mask by geometry, and blur the masked height values.
User Avatar
Staff
653 posts
Joined: Aug. 2019
Offline
You may get better results by using the Point Cloud Surface node. Also of interest: Point Cloud Normal and Point Cloud Reduce nodes.
  • Quick Links