Skip to content

Recover pose from different cameras (version 2)#20636

Merged
alalek merged 4 commits intoopencv:masterfrom
thezane:recoverPoseFromDifferentCameras
Sep 25, 2021
Merged

Recover pose from different cameras (version 2)#20636
alalek merged 4 commits intoopencv:masterfrom
thezane:recoverPoseFromDifferentCameras

Conversation

@thezane
Copy link
Copy Markdown
Contributor

@thezane thezane commented Aug 31, 2021

Finish PR from #17981, which creates a new api for computing pose from different cameras.

The original author and commit is preserved. I got the go-ahead from a maintainer to finish the original PR: #17981 (comment)

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 other license that is incompatible with OpenCV
  • The PR is proposed to proper branch
  • There is reference to 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
force_builders_only=linux,docs

@thezane thezane changed the title Recover pose from different cameras Recover pose from different cameras (version 2) Aug 31, 2021

// Estimation of fundamental matrix using the RANSAC algorithm
Mat E, E2, E3, R, t;
Mat E, E2, R, t;
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.

I'm checking the different camera case first as the same camera case modifies the points input.

@thezane thezane marked this pull request as ready for review September 1, 2021 01:09
@thezane thezane force-pushed the recoverPoseFromDifferentCameras branch 4 times, most recently from 3288274 to ad08dbe Compare September 6, 2021 04:10
@thezane thezane force-pushed the recoverPoseFromDifferentCameras branch from ad08dbe to ea00e10 Compare September 12, 2021 19:16
@thezane
Copy link
Copy Markdown
Contributor Author

thezane commented Sep 12, 2021

@alalek Thanks for your detailed review and appreciate your patience.

I addressed the comments. Specifically, the latest changes ensure:
(1) The new recoverPose API only executes undistortPoints on each input points once.
(2) Existing API and functionality is preserved.

Please let me know of any other concerns.

@thezane thezane force-pushed the recoverPoseFromDifferentCameras branch from ea00e10 to beb3a98 Compare September 12, 2021 20:03
@thezane
Copy link
Copy Markdown
Contributor Author

thezane commented Sep 24, 2021

@alalek @asmorkalov Gentle reminder about this PR. It's been 2 weeks since I addressed concerns raised from the previous review. Is there anything else that should be addressed?

@asmorkalov asmorkalov self-requested a review September 24, 2021 12:01
Copy link
Copy Markdown
Contributor

@asmorkalov asmorkalov left a comment

Choose a reason for hiding this comment

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

👍 Well Done!

@thezane thezane force-pushed the recoverPoseFromDifferentCameras branch from beb3a98 to 91e72e4 Compare September 25, 2021 04:36
@alalek alalek merged commit 9e835e8 into opencv:master Sep 25, 2021
@alalek alalek mentioned this pull request Oct 15, 2021
@thezane thezane deleted the recoverPoseFromDifferentCameras branch October 16, 2021 22:34
a-sajjad72 pushed a commit to a-sajjad72/opencv that referenced this pull request Mar 30, 2023
…Cameras

Recover pose from different cameras (version 2)

* add recoverPose for two different cameras

* Address review comments from original PR

* Address new review comments

* Rename private api

Co-authored-by: tompollok <tom.pollok@gmail.com>
Co-authored-by: Zane <zane.huang@mail.utoronto.ca>
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.

4 participants