Forum

Author Topic: How to combine alignment of the laser scans and images ?  (Read 5807 times)

shendahong

  • Newbie
  • *
  • Posts: 2
    • View Profile
How to combine alignment of the laser scans and images ?
« on: August 10, 2023, 01:55:53 PM »
Hello,

I tried to combine alignment of the laser scans and images manually by the following link with the topic "Processing terrestrial laser scans and images":
https://agisoft.freshdesk.com/support/solutions/articles/31000168474-terrestrial-laser-scans-processing-in-metashape-2-0-0

But I don't know how to combine alignment of the laser scans and images by python API while I cannot find the Reset Alignment command for laser scans in python API.

I tried to Reset Alignment manually and align images by the following command, but it doesn't work.

Code: [Select]
chunk.matchPhotos(downscale=1,
    keypoint_limit=80000,
    tiepoint_limit=6000,
    generic_preselection=False,
    reference_preselection=False,
    filter_stationary_points=True,
    reset_matches=True,
    filter_mask=True)
doc.save()
chunk.alignCameras(reset_alignment=True)
doc.save()

Hong

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15629
    • View Profile
Re: How to combine alignment of the laser scans and images ?
« Reply #1 on: August 10, 2023, 03:33:49 PM »
Hello Hong,

What is the version and build number of Metashape application that you are using?
Best regards,
Alexey Pasumansky,
Agisoft LLC

shendahong

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: How to combine alignment of the laser scans and images ?
« Reply #2 on: August 11, 2023, 05:20:13 AM »
Hello Hong,

What is the version and build number of Metashape application that you are using?

Hi Alexey,

I'm using Professional Edition with version 2.0.1 and build number 16069 (3 April 2023, hotfix release).
And Python 3 Module is Metashape-2.0.2-cp37.cp38.cp39.cp310.cp311-abi3-linux_x86_64.whl

Hong