I would like to use the cpd filter to transform a point cloud, but I am heading to the following error:
RuntimeError: Couldn't create filter stage of type 'filters.cpd'
which comes from the validation pipeline routine.
I installed pdal via conda on a specific virtual environment. My json pipeline is currently a straight copy/paste of the example available from the documentation:
import pdal, json
pip_cpd_est_trans = json.dumps(
{
"pipeline": [
"data/Middal_2017_06_14_clean.las",
"data/Middal_2017_07_12_clean.las",
{
"type": "filters.cpd",
"method": "rigid"
},
"output_cpd.las"
]
})
pipeline = pdal.Pipeline(pip_cpd_est_trans)
pipeline.validate()
pipeline.execute()