From 13858cd5619910aff051465ff97ca01b5124c05a Mon Sep 17 00:00:00 2001 From: Vitaly Tuzov Date: Tue, 12 Apr 2016 17:31:12 +0300 Subject: [PATCH] Cost estimation boundaries description updated --- modules/calib3d/src/stereosgbm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/calib3d/src/stereosgbm.cpp b/modules/calib3d/src/stereosgbm.cpp index e27f8e4f8..4c8adb9f9 100644 --- a/modules/calib3d/src/stereosgbm.cpp +++ b/modules/calib3d/src/stereosgbm.cpp @@ -99,7 +99,7 @@ StereoSGBM::~StereoSGBM() } /* - For each pixel row1[x], max(-maxD, 0) <= minX <= x < maxX <= width - max(0, -minD), + For each pixel row1[x], max(-maxD, 0) <= minX <= x < maxX <= width - max(0, minD), and for each disparity minD<=d