Skip to content

Reference to non-existent parameter name in documentation of StereoSGBM::create #9392

@dustsigns

Description

@dustsigns
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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions