Author Topic: Poor performance of ImportReference  (Read 2635 times)


  • Newbie
  • *
  • Posts: 4
    • View Profile
Poor performance of ImportReference
« on: September 06, 2018, 08:47:50 PM »

I'm using PhotoScan Professional in a fully integrated Python script workflow to process aerial images. For precise georeferencing after a rought alignment based on GPS coordinates, I'm using the non-coded GCP detection feature of PhotoScan with a very relaxed tolerance, followed by a reference import that assigns coordinates to the nearest detected GCP and discards all others:

Code: [Select]
chunk.detectMarkers(PhotoScan.TargetType.CrossTarget, tolerance=1)
   columns='nxyz', delimiter=',',
   ignore_labels=True, threshold = 0.4)

This code performs terribly slow if a lot of (false) GCPs were detected and had to become discarded. My 3.5 GHz 40 core CPU is on 3 % utilization, but the step takes up to 12 h. Could you please fix this performance issue, e.g. by allowing multiprocessing?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14888
    • View Profile
Re: Poor performance of ImportReference
« Reply #1 on: September 17, 2018, 06:04:06 PM »
Hello luroth,

How many markers are detected before you call import reference command?
Best regards,
Alexey Pasumansky,
Agisoft LLC