Forum

Author Topic: Batch script produces high error OR distorted ortho/DEM  (Read 409 times)

geomorph

  • Newbie
  • *
  • Posts: 4
    • View Profile
Batch script produces high error OR distorted ortho/DEM
« on: August 15, 2018, 05:08:03 PM »
Hello,

We have been using a batch processing script that was updated from ver 1.1 to 1.4. Our original script provided a beautiful ortho/DEM but the target error was quite high (>1 cm on a small scale object), which produced an overall 'doming' to the features.

By making the camera calibration automatic, the error was greatly reduced (2-3 mm) but the ortho/DEM are distorted or warped on the edges.

We have a dense target network and the only difference between the scripts is that the use of precalibrated camera parameters or automatic calibration (lines 61-67 in attached).

We are hoping that we don't need to choose between error OR distortion. Any help would be appreciated. Also, we have tried splitting the two cameras used into separate auto calibration but this did not improve error or distortion.

Thank you

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 10167
    • View Profile
Re: Batch script produces high error OR distorted ortho/DEM
« Reply #1 on: November 16, 2018, 09:20:48 PM »
Hello geomorph,

Were you able to solve the problem already?

If not, then I can suggest the following edits:
in line #44: chunk.alignCameras(adaptive_fitting = False)

in line #117: chunk.buildDem(source=PhotoScan.DataSource.DenseCloudData, interpolation=PhotoScan.EnabledInterpolation, projection=crs)
(I think you can skip mesh generation then)

If you are still observing some issues, it would be helpful to get the reports from the old and new version of the script for the same or similar projects.
Best regards,
Alexey Pasumansky,
AgiSoft LLC