Ask Your Question

Revision history [back]

How to use the MultiCameraCalibration Class to calibrate two stereo cameras?

Currently, I am trying to implement a depth estimation algorithm similar to that of MatLAB's implementation: Depth Estimation with MatLAB.

Right now, I am trying to calibrate the 2 stereo cameras using the MultiCameraCalibration class by referring to the OpenCV tutorial:OpenCV Multiple Camera Calibration.

I have a few questions:

  1. Do you have to calibrate each camera individually, before running the multiCameraCalibration class methods?
  2. "to calibrate the extrinsic parameters, one pattern need to be viewed by multiple cameras (at least two) at the same time.", does this mean I have to take a picture with both cameras opened at the same time or am I supposed to take a picture from each camera from a single position?
  3. How do I use imagelist_creator, currently I see it as a .cpp file from my samples folder, how do I run it as a command? Furthermore, I have also referred to this link: Calibrating Camera with Square Chessboard , and it stated one must first navigate to the bin folder, and then run it, however the imagelist_creator instance is not included in that folder.