Multi camera calibration with flat pattern, error minimization.
I have dataset from camera array with chessboard markers. For simplicity, assume that have 3 cameras. To calibrate I use calibrateCamera alternately for each camera to find intrinsic on all images where pattern was found. After I use stereoCalibrate with fixed intrinsic on all images with same timestamp where pattern found. stereoCalibrate was performed to cameras 1-2 and 1-3. Now I have related position and orientation camera1 to cam2 and cam3. Please advice me optimization extrinsic method to all cameras together. As I understood bundle adjustment is not suitable for flat pattern, "depth" needed? Thanks.
For the 3 camera case you may want to look into using the trifocal tensor instead of two stereo calibrations. I'm not aware of openCV support for trifocal tensor, though. (See Multiple View Geometry, Hartley / Zisserman for background information) This might get you the optimized results you want, for 3 cameras.
What error are you trying to minimize, specifically?
Thanks. I wrote 3 cameras for simplicity. Now there are 4, and maybe later there will be more. I try to minimize extrinsic reprojection errors on all cameras together.