Forum

Author Topic: OpenCV calibration conversion to Agisoft Metashape  (Read 1421 times)

Jose

  • Newbie
  • *
  • Posts: 3
    • View Profile
OpenCV calibration conversion to Agisoft Metashape
« on: July 10, 2021, 01:10:54 AM »
Hi!

I'm trying to convert an OpenCV calibration into an Agisoft one. When I import an OpenCV calibration into Agisoft, and export it as an Agisoft xml. The values are mostly the same on both .xml, aside from c_x and c_y that had 0.5 added to them. Does anyone know why that is?

Many thanks!

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 13120
    • View Profile
Re: OpenCV calibration conversion to Agisoft Metashape
« Reply #1 on: July 10, 2021, 02:02:37 AM »
Hello jserra,

The calibration models used in Metashape and OpenCV use different origin for the pixel coordinates calculation - one from the corner of the pixel and another from the pixel center.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Jose

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: OpenCV calibration conversion to Agisoft Metashape
« Reply #2 on: July 10, 2021, 05:44:00 PM »
I see. Thanks for clarifying that!