Skip to content

Update the stereo sample:#18129

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
pemmanuelviel:pev--update-stereo-sample
Aug 20, 2020
Merged

Update the stereo sample:#18129
opencv-pushbot merged 1 commit intoopencv:3.4from
pemmanuelviel:pev--update-stereo-sample

Conversation

@pemmanuelviel
Copy link
Copy Markdown
Contributor

@pemmanuelviel pemmanuelviel commented Aug 18, 2020

  • add the HH4 mode
  • option to display disparity with a color map
  • display current settings in the title bar
  • don't close app when wanting to take screenshots

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

@pemmanuelviel pemmanuelviel force-pushed the pev--update-stereo-sample branch 2 times, most recently from 022414f to 5dd857a Compare August 19, 2020 13:03
}

if(!disparity_filename.empty())
imwrite(disparity_filename, disp8);
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.

--color option handling is missed here.

@pemmanuelviel
Copy link
Copy Markdown
Contributor Author

pemmanuelviel commented Aug 20, 2020 via email

@asmorkalov
Copy link
Copy Markdown
Contributor

The default behavior is to produce one channel disparity image. It works with datasets as you expect. I just propose to have the consistent option behavior for case with window and in "no-display" mode. It can be used for testing.

* add the HH4 mode
* option to display disparity with a color map
* display current settings in the title bar
* don't close app when wanting to take screenshots
@pemmanuelviel pemmanuelviel force-pushed the pev--update-stereo-sample branch from 5dd857a to 6d1f7c2 Compare August 20, 2020 10:22
@asmorkalov asmorkalov self-requested a review August 20, 2020 11:43
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.

👍

@opencv-pushbot opencv-pushbot merged commit 14a9103 into opencv:3.4 Aug 20, 2020
@alalek alalek mentioned this pull request Aug 21, 2020
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.

5 participants