Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - masamasace

Pages: [1]
1
I am currently working with 3D reconstruction using a set of equirectangular images and trying to see the calibration result.
Fortunately, I managed to export the calibration xml file using Python api

Code: [Select]
chunk = Metashape.app.document.chunk
cameras = chunk.cameras

for camera in cameras:
    if camera.sensor:
        calibration = camera.sensor.calibration
        calibration_path = f"DIR_PATH\\calibration_{camera.label}.xml"
        calibration.save(calibration_path)

and I got this xml file for example;

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<calibration>
  <projection>spherical</projection>
  <width>2560</width>
  <height>1440</height>
  <f>407.4366543152521</f>
  <k1>-3.5572726500569751e-322</k1>
  <date>2024-08-18T08:15:02Z</date>
</calibration>

I have two questions regarding this output.

1. Are the output values of f and k1 meaningful or just random?
2. If they are meaningful, how are these parameters used during projection? What do focal length and radial distortion mean in an equirectangular image?

I would like to know if there are any academic papers or blogs that can help me.

Pages: [1]