Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.4k
Description
System information (version)
- OpenCV => 3.3
- Operating System / Platform => -
- Compiler => -
Detailed description
The documentation forStereoSGBM::create mentionsSADWindowSize which is not a parameter of the constructor:
See stereo_match.cpp sample where some reasonably good P1 and P2 values are shown (like 8*number_of_image_channels*SADWindowSize*SADWindowSize and 32*number_of_image_channels*SADWindowSize*SADWindowSize , respectively).
I suppose that is due to the fact that the parameterblockSize was calledSADWindowSize in OpenCV 2.4.0 (cf.http://docs.opencv.org/2.4.0/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html#stereosgbm-stereosgbm). Maybe the documentation in the current version should be updated to avoid confusion. This seems to have been introduced with OpenCV 3.0.
Steps to reproduce
ReplaceSADWindowSize withblocksize in the documentation ofStereoSGBM::create.