Forum

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

mcstieg

  • Jr. Member
  • **
  • Posts: 88
    • 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: 14816
    • 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

mcstieg

  • Jr. Member
  • **
  • Posts: 88
    • 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!