Merge pull request #19539 from asmorkalov:as/calib_fix_focal_length
authorAlexander Smorkalov <2536374+asmorkalov@users.noreply.github.com>
Wed, 3 Mar 2021 14:06:59 +0000 (17:06 +0300)
committerGitHub <noreply@github.com>
Wed, 3 Mar 2021 14:06:59 +0000 (14:06 +0000)
commite2ca50f1cb87a7c624a1388f9a77d4c9295e3cc0
tree649f04bc308c8f4266fbe7a7ce8cc1c50667a261
parentbe24659c038952dde399f7efad2ba06ebdcbda18
Merge pull request #19539 from asmorkalov:as/calib_fix_focal_length

* Added CALIB_FIX_FOCAL_LENGTH to fisheye calibration #13450

Sometimes you want to calibrate just the principal point of a camera, or just the distortion coefficients. In this case, you can pass the CALIB_FIX_FOCAL_LENGTH flag to keep Fx and Fy

* Added test for CALIB_FIX_FOCAL_LENGTH option in fisheye callinration.
modules/calib3d/include/opencv2/calib3d.hpp
modules/calib3d/src/fisheye.cpp
modules/calib3d/test/test_fisheye.cpp