Skip to content

Stereo calibration perView pose output: port to 5.x#23150

Merged
asmorkalov merged 12 commits intoopencv:5.xfrom
savuor:port5_stereo_calib_per_obj
Feb 2, 2023
Merged

Stereo calibration perView pose output: port to 5.x#23150
asmorkalov merged 12 commits intoopencv:5.xfrom
savuor:port5_stereo_calib_per_obj

Conversation

@savuor
Copy link
Copy Markdown
Contributor

@savuor savuor commented Jan 19, 2023

Changes

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@savuor savuor marked this pull request as ready for review January 27, 2023 06:54
InputOutputArray cameraMatrix2, InputOutputArray distCoeffs2,
Size imageSize, InputOutputArray R, InputOutputArray T, OutputArray E, OutputArray F,
OutputArray perViewErrors, int flags = CALIB_FIX_INTRINSIC,
TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 1e-6) );
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why TermCriteria limited to 30 iterations, but not 100 as in other overloads?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No idea, that what was introduced in the original PR.
I've replaced 100 by 30 everywhere in stereoCalibrate, everything works fine. I propose to leave these 30 iterations since we reach the same level of quality with less iterations

@asmorkalov asmorkalov merged commit 23dec32 into opencv:5.x Feb 2, 2023
@asmorkalov asmorkalov self-assigned this Feb 2, 2023
@asmorkalov asmorkalov added this to the 5.0 milestone Feb 2, 2023
@savuor savuor deleted the port5_stereo_calib_per_obj branch February 2, 2023 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants