Author Topic: duplicate chunk (chunk.copy) & resetting alignment - bad results after new align  (Read 2363 times)


  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Hello Alexey,

for a code that
  • duplicates a chunk for
  • testing several match and
  • alignment parameters
I need your help.

I'm duplicating a chunk to use my photos and masks again in some other chunks to test different parameters. But  I recognized, that the alignment results of my code are worse than using the same parameters in a new chunk (or via GUI), where I load the photos and masks manually.
So what am I doing wrong?

To make it short:   
Code: [Select]
chunk = chunk.copy(keypoints=False)
for camera in chunk.cameras:
                camera.transform = None
chunk.point_cloud = None
Then I match and align photos (reset matches = True).

Thank you!!!  :)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14971
    • View Profile
Hello mcstieg,

Can you share the project with two chunks - results in new chunk (good), results in duplicated chunk (not so good)? If it is possible, please send the project (as PSZ of PSX+files folder) to
Best regards,
Alexey Pasumansky,
Agisoft LLC


  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Hello Alexey,

hopefully it will be a good new year for you!

Can you please tell me the currently best way to fully clear an alignment when duplicating a chunk? Still having problems some times when doing this.
Is it necessary to remove tiepoints, keypoints... or should "tranform=none" do the job?

Thank you very much!