Merge remote-tracking branch 'upstream/master' into rho
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
*************************************************
|
||||
calib3d. Camera Calibration and 3D Reconstruction
|
||||
*************************************************
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
camera_calibration_and_3d_reconstruction
|
File diff suppressed because it is too large
Load Diff
@@ -666,7 +666,7 @@ findStereoCorrespondenceBM( const Mat& left, const Mat& right,
|
||||
int thresh = minsad + (minsad * uniquenessRatio/100);
|
||||
for( d = 0; d < ndisp; d++ )
|
||||
{
|
||||
if( sad[d] <= thresh && (d < mind-1 || d > mind+1))
|
||||
if( (d < mind-1 || d > mind+1) && sad[d] <= thresh)
|
||||
break;
|
||||
}
|
||||
if( d < ndisp )
|
||||
|
Reference in New Issue
Block a user