-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Reference to non-existent parameter name in documentation of StereoSGBM::create #9392
Description
System information (version)
- OpenCV => 3.3
- Operating System / Platform => -
- Compiler => -
Detailed description
The documentation for StereoSGBM::create mentions SADWindowSize 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 parameter blockSize was called SADWindowSize 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
Replace SADWindowSize with blocksize in the documentation of StereoSGBM::create.