c++opencvcamera-calibrationfisheyecamera-matrix

Do you obtain same Camera Matrix result using cv::calibrateCamera() that using cv::fisheye::calibrate()


I am working on a project to calibrate fisheye cameras, the main problem is that i want to save the parameters obtained in the calibration.

Using cv::calibrateCamera(), Camera Matrix is a cv::Mat that using cv::FileStorage i can easy read and write. Using cv::fisheye::calibrate() Camera Matrix is a cv::Matx33d, and i can't work with it using cv::FileStorage.

I read the openCV documentation and the arguments are the same in both methods, but i want to know if you obtain the same results, because maybe, arguments passed are the same, but algorithm inside the method could change.

Thank you


Solution

  • Coefficients are the same, but the equation to get them is different. You need to read about the difference between fisheye camera model and pinhole camera model in opencv.