Merge remote-tracking branch 'upstream/master' into rho

This commit is contained in:
Olexa Bilaniuk
2015-01-12 02:11:14 -05:00
574 changed files with 32158 additions and 74521 deletions

View File

@@ -1,8 +0,0 @@
*************************************************
calib3d. Camera Calibration and 3D Reconstruction
*************************************************
.. toctree::
:maxdepth: 2
camera_calibration_and_3d_reconstruction

View File

@@ -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 )