[opencv] 82/98: Cost estimation boundaries description updated
Mattia Rizzolo
mattia at debian.org
Tue Oct 4 17:51:30 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to annotated tag 2.4.13
in repository opencv.
commit 13858cd5619910aff051465ff97ca01b5124c05a
Author: Vitaly Tuzov <vitaly.tuzov at itseez.com>
Date: Tue Apr 12 17:31:12 2016 +0300
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 e27f8e4..4c8adb9 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<maxD the function
computes the cost (cost[(x-minX)*(maxD - minD) + (d - minD)]), depending on the difference between
row1[x] and row2[x-d]. The subpixel algorithm from
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git
More information about the debian-science-commits
mailing list