projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cffd89f
)
fixed parallel block matching stereo correspondence algorithm (ticket #997; thanks...
author
Vadim Pisarevsky
<no@email>
Sat, 6 Aug 2011 19:28:20 +0000
(19:28 +0000)
committer
Vadim Pisarevsky
<no@email>
Sat, 6 Aug 2011 19:28:20 +0000
(19:28 +0000)
modules/calib3d/src/stereobm.cpp
patch
|
blob
|
history
diff --git
a/modules/calib3d/src/stereobm.cpp
b/modules/calib3d/src/stereobm.cpp
index
d9a1cba
..
354e4fc
100644
(file)
--- a/
modules/calib3d/src/stereobm.cpp
+++ b/
modules/calib3d/src/stereobm.cpp
@@
-718,7
+718,7
@@
struct FindStereoCorrespInvoker
uchar *ptr = state->slidingSumBuf->data.ptr + range.begin() * stripeBufSize;
int FILTERED = (state->minDisparity - 1)*16;
- Rect roi = validDisparityRect & Rect(0, _row0, cols, _row1);
+ Rect roi = validDisparityRect & Rect(0, _row0, cols, _row1
- _row0
);
if( roi.height == 0 )
return;
int row0 = roi.y;