Skip to content

Doc bugfix - #15780

Merged
alalek merged 3 commits into
opencv:3.4from
oleg-alexandrov:master
Oct 31, 2019
Merged

alalek merged 3 commits into
opencv:3.4from
oleg-alexandrov:master

Conversation

@oleg-alexandrov

@oleg-alexandrov oleg-alexandrov commented Oct 25, 2019 •

Copy link
Copy Markdown
Contributor

The documentation page StereoBinaryBM and StereoBinarySGBM says that it returns a disparity that is scaled multiplied by 16. This scaling must be undone before calling reprojectImageTo3D, otherwise the results are wrong. The function reprojectImageTo3D() could do this scaling internally, maybe, but at least the documentation must explain that this has to be done.

relates #15779

oleg-alexandrov and others added 3 commits October 31, 2019 13:30
The documentation page StereoBinaryBM and StereoBinarySGBM says that it returns a disparity that is scaled multiplied by 16. This scaling must be undone before calling reprojectImageTo3D, otherwise the results are wrong. The function reprojectImageTo3D() could do this scaling internally, maybe, but at least the documentation must explain that this has to be done.
@alalek
alalek merged commit af433d0 into opencv:3.4 Oct 31, 2019
@alalek alalek mentioned this pull request Nov 4, 2019
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
* Doc bugfix

The documentation page StereoBinaryBM and StereoBinarySGBM says that it returns a disparity that is scaled multiplied by 16. This scaling must be undone before calling reprojectImageTo3D, otherwise the results are wrong. The function reprojectImageTo3D() could do this scaling internally, maybe, but at least the documentation must explain that this has to be done.

* calib3d: update reprojectImageTo3D documentation

* calib3d: add StereoBM/StereoSGBM into notes list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants