cv::calibrateCamera results differ from cvCalibrateCamera_64d (Bug #53)
Description
I extended CV_CameraCalibrationTest for C++ calibration functions. Revealed that cv::calibrateCamera results differ from cvCalibrateCamera_64d. Greatest difference is in distortion.
distortion
r0 -0.057670030594622231
r1 -3.0182431811675663 !!!!!
r2 -0.0048551557040140648
r3 -0.0075294477824362632
goodDistortion
r0 -0.12820999999999999
r1 -0.39440999999999998 !!!!!
r2 -0.0043499999999999997
r3 -0.0073200000000000001
Similar to the bug.
Uncomment CV_CameraCalibrationTest_CPP calibrate_test_cpp (cvtest/acalibration.cpp) to reproduce this bug.
History
Updated by anonymous - about 15 years ago
fixed in 2585. it was a problem in test: in calibrate-camera-c just 4 distortion coefficients were estimated, whereas in calibrate-camera-cpp all the 5 coefficients are requested, thus they are different (no one knows yet, which variant is closer to the truth, since this is a regression test and there is no ground truth)
- Status changed from Open to Done
- (deleted custom field) set to fixed