Commit c3c49a31 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed outlier filtering in cvStereoRectifyUncalibrated (bug #2367)

parent 4e075611
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment