Agisoft Metashape

Agisoft Metashape => Camera Calibration => Topic started by: Jose on July 10, 2021, 01:10:54 AM

Title: OpenCV calibration conversion to Agisoft Metashape
Post by: Jose 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!
Title: Re: OpenCV calibration conversion to Agisoft Metashape
Post by: Alexey Pasumansky 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.
Title: Re: OpenCV calibration conversion to Agisoft Metashape
Post by: Jose on July 10, 2021, 05:44:00 PM
I see. Thanks for clarifying that!