Forum

Author Topic: Split Calibration Groups for Multi-Camera Systems from Python  (Read 618 times)

TiltedTowers

  • Newbie
  • *
  • Posts: 1
    • View Profile
Split Calibration Groups for Multi-Camera Systems from Python
« on: February 26, 2025, 12:25:21 AM »
Hello,

My issue arises when I try to import multiple multi-camera systems. It appears that Metashape thinks the sensors from the subsequent multi-camera systems are the same sensors from the first multi-camera system, even though they are not and have different calibration parameters. If I open the Camera Calibration window in the GUI, I'm able to right click on the master camera and select "Split Groups" to create unique sensors for each camera, which is what I'm looking for.
I did come across this solution on the forum https://www.agisoft.com/forum/index.php?topic=4769.0, but implementing it with a multi-camera system seems to break apart the multi-camera system into single cameras.

Is there a way to "Split Groups" from the Python API and maintain a multi-camera system? Or better yet, a way for these groups to not be created in the first place?
« Last Edit: March 03, 2025, 11:23:10 PM by TiltedTowers »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15420
    • View Profile
Re: Split Calibration Groups for Multi-Camera Systems from Python
« Reply #1 on: February 28, 2025, 01:46:31 PM »
Hello TiltedTowers,

I think that the easiest way to solve such task would be to create a new chunk each time a new multi-camera system should be added, then make the new chunk active and add the images as multi-camera system to it. If necessary - repeat several times for all different multi-camera systems used. Then merge the chunks, set merged chunk as active and remove the others.

Such approach would keep separate calibration groups for multi-camera systems from different chunks (so the sensors would not be merged with the chunks, they will remain as separate instances).
Best regards,
Alexey Pasumansky,
Agisoft LLC