Forum

Author Topic: Update transform with import data (dense cloud)  (Read 105 times)

Yoann Courtois

  • Sr. Member
  • ****
  • Posts: 277
  • Engineer in Geodesy, Cartography and Surveying
    • View Profile
Update transform with import data (dense cloud)
« on: February 14, 2020, 08:00:47 PM »
Dear Agisoft team,

Within an automated workflow, we would need to update the transformation of a chunk, including a imported dense cloud.
However, even if the point cloud import is done before the transformation, basic stuff (images + tie points) are transformed but the dense cloud remain at the imported coordinates.

Is it possible to include all 3D datas in updateTransform() command ? Or may it exist any solution to transform the dense cloud together with the rest of the chunk ?

P.S. I know it is impossible to "optimize" a dense cloud. What I would need is only apply a basic Helmert transform on this cloud.

Regards
--
Yoann COURTOIS
R&D Engineer in photogrammetric process and mobile application
Lyon, FRANCE
--

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 11235
    • View Profile
Re: Update transform with import data (dense cloud)
« Reply #1 on: February 14, 2020, 08:24:45 PM »
Hello Yoann,

Imported dense cloud by default has its own transformation dense_cloud.transform and coordinate system dense_cloud.crs.

To disable "Lock Transform" option via Python you should complete following steps:
Code: [Select]
dense_cloud.transform = Metashape.Matrix().Diag([1,1,1,1])
dense_cloud.crs = None

In this case the dense cloud would be affected by the applied chunk.transform as other elements of the chunk.
Best regards,
Alexey Pasumansky,
AgiSoft LLC