point-cloud-librarypoint-cloudspdal

How do you compute the 90% percentile height (Z) in PDAL?


How can you use filters to compute the height (Z) of the point in a point view that is higher than 90% of the other points using PDAL?


Solution

  • Maybe you can use pdal's filters.python. In the filter use numpy.percentile to filter for the 90% percentile.