Fixed proposed values for speckleRange in StereoSGBM docs (bug #1937)
authorDaniil Osokin <daniil.osokin@itseez.com>
Wed, 30 Jan 2013 04:58:58 +0000 (08:58 +0400)
committerDaniil Osokin <daniil.osokin@itseez.com>
Wed, 30 Jan 2013 05:02:17 +0000 (09:02 +0400)
modules/calib3d/doc/camera_calibration_and_3d_reconstruction.rst

index 887accd..b21d6f2 100644 (file)
@@ -1201,7 +1201,7 @@ StereoSGBM::StereoSGBM
 
     :param speckleWindowSize: Maximum size of smooth disparity regions to consider their noise speckles and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the 50-200 range.
 
-    :param speckleRange: Maximum disparity variation within each connected component. If you do speckle filtering, set the parameter to a positive value, multiple of 16. Normally, 16 or 32 is good enough.
+    :param speckleRange: Maximum disparity variation within each connected component. If you do speckle filtering, set the parameter to a positive value, it will be implicitly multiplied by 16. Normally, 1 or 2 is good enough.
 
     :param fullDP: Set it to  ``true``  to run the full-scale two-pass dynamic programming algorithm. It will consume O(W*H*numDisparities) bytes, which is large for 640x480 stereo and huge for HD-size pictures. By default, it is set to ``false`` .