Skip to content

RegisterCameras function for heterogenious cameras pair#25061

Merged
asmorkalov merged 2 commits intoopencv:5.xfrom
asmorkalov:as/register_cameras
Feb 26, 2024
Merged

RegisterCameras function for heterogenious cameras pair#25061
asmorkalov merged 2 commits intoopencv:5.xfrom
asmorkalov:as/register_cameras

Conversation

@asmorkalov
Copy link
Copy Markdown
Contributor

Credits to Linfei Pan
Extracted from #24052

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

@asmorkalov asmorkalov added this to the 5.0 milestone Feb 21, 2024
@asmorkalov
Copy link
Copy Markdown
Contributor Author

/cc @ivashmak @lpanaf

@asmorkalov asmorkalov changed the title WIP: RegisterCameras function for heterogenious cameras pair RegisterCameras function for heterogenious cameras pair Feb 21, 2024
@asmorkalov asmorkalov requested a review from vpisarev February 21, 2024 12:01
@asmorkalov
Copy link
Copy Markdown
Contributor Author

cc @catree


///////////////////////////////// Register Cameras ////////////////////////////////////////////////

class CV_CameraRegistrationTest : public cvtest::BaseTest
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.

Most of the test are written in old style; perhaps, need to rewrite them in GTest-style sometimes, but it's not urgent, of course

J_LR.at<double>(p, 3+j) = de3dt2(j);
}

JtJ(Rect(0, 0, 6, 6)) += J_LR.t()*J_LR;
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.

btw, all such code would have to be rewritten if we get rid of matrix expressions; probably, it's easier to keep it (matrix expressions and this code)

@vpisarev vpisarev self-requested a review February 25, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants