Forum

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

mcstieg

  • Jr. Member
  • **
  • Posts: 84
    • 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.removeKeypoints()
chunk.point_cloud = None
chunk.remove(chunk.markers)
Then I match and align photos (reset matches = True).


Thank you!!!  :)
 

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14003
    • 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 support@agisoft.com.
Best regards,
Alexey Pasumansky,
Agisoft LLC