Hi there,
I want to filter my dense point cloud with some masks (by file).
The entire workflow with adding masks before depth map & dense creation works, but I would like to create the dense cloud first.
As far as I understood, the process is to select points by mask and then export those.
I'm trying to use the method
Metashape.DenseCloud.selectMaskedPoints(camera, softness=4)
with camera being camera = chunk.cameras
However, this gets me the following error:
TypeError: descriptor 'selectMaskedPoints' requires a 'Metashape.Metashape.DenseCloud' object but received a 'Metashape.Metashape.Camera'
Giving the argument of the dense cloud (object?) (chunk.dense_cloud) obviously returns
TypeError: selectMaskedPoints() missing required argument 'cameras' (pos 1)
Could you give me some pointers into the right direction?
Thanks!
Chris