I have ground LiDAR point cloud with some noise points. I would like to use filter.statistics
in PDAL (in Python 3.6) using JSON pipeline to filter the noise out.
json = """
{
"pipeline":[
"/9A-1B_subset15m.las",
{
"type":"filters.outlier",
"method":"statistical",
"mean_k":12,
"multiplier":2.2
},
"/9A-1B_subset15m_c.las"
]
} """
import pdal
pipeline = pdal.Pipeline(json)
pipeline.validate()
The code runs without error but doesn't create any file. I wonder if anyone can help solving this?