Is it possible to fill point clouds (.las) that have "scan lines" in them?

Added by V Matti about 2 years ago

I have point clouds (.las) that have “scan lines” in them.

I.e. between some intervals there are “no data” lines, where there’s no data.

If I produce a CHM (using GDAL/Python), then there’s a fill function for 2D data:

But I’m looking to do the equivalent for the 3D clouds or to segmented individual tree clouds in order to have uniform “blobs” of tree data,
since based on experimentation some algorithms act very weird on this “sliced data”.