Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OdometryFrame: arg order changed #3388

Merged
merged 2 commits into from
Dec 12, 2022
Merged

Conversation

savuor
Copy link
Contributor

@savuor savuor commented Dec 8, 2022

Connected PR in main repo: #22925@main

Changes

OdometryFrame constructor signature changed to more convenient where depth goes at 1st place, RGB image at 2nd.
This works better for depth-only Odometry algorithms.

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
Copy link
Contributor

@savuor Please take a look on failed tests.

@asmorkalov asmorkalov self-requested a review December 9, 2022 13:36
@savuor
Copy link
Contributor Author

savuor commented Dec 11, 2022

@asmorkalov The tests were broken because I pushed to the contrib repo before the main.
Pushing in the opposite order solved the problem.

@asmorkalov asmorkalov merged commit bdf24e6 into opencv:5.x Dec 12, 2022
asmorkalov pushed a commit to opencv/opencv that referenced this pull request Dec 12, 2022
Fixes #22799

Replaces #21559 which was taken as a base

Connected PR in contrib: [#3388@contrib](opencv/opencv_contrib#3388)

### Changes
OK, now this is more Odometry-related PR than Volume-related. Anyway,
* `Volume` class gets wrapped
* The same was done for helper classes like `VolumeSettings`, `OdometryFrame` and `OdometrySettings`
* `OdometryFrame` constructor signature changed to more convenient where depth goes on 1st place, RGB image on 2nd.
This works better for depth-only `Odometry` algorithms.
* `OdometryFrame` is checked for amount of pyramid layers inside `Odometry::compute()`
* `Odometry` was fully wrapped + more docs added
* Added Python tests for `Odometry`, `OdometryFrame` and `Volume`
* Added Python sample for `Volume`
* Minor fixes including better var names

### Pull Request Readiness Checklist

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

- [x] I agree to contribute to the project under Apache 2 License.
- [x] 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
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
@savuor savuor deleted the pytsdf_from_scratch branch December 12, 2022 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants