fixed outlier filtering in cvStereoRectifyUncalibrated (bug #2367)

This commit is contained in:
Vadim Pisarevsky 2012-09-19 16:51:49 +04:00
parent 4e07561141
commit c3c49a317b

View File

@ -2693,7 +2693,7 @@ CV_IMPL int cvStereoRectifyUncalibrated(
m2[i].y*lines1[i].y +
lines1[i].z) <= threshold )
{
if( j > i )
if( j < i )
{
m1[j] = m1[i];
m2[j] = m2[i];