added FREAK (by Kirell Benzi, Raphael Ortiz, Alexandre Alahi and Pierre Vandergheynst)

This commit is contained in:
Marina Kolpakova
2012-06-28 16:46:29 +00:00
parent 3def843652
commit b156e2f7ed
8 changed files with 900 additions and 5 deletions

View File

@@ -150,8 +150,8 @@ static void updateContinuityFlag(Mat& m)
break;
}
int64 t = (int64)m.step[0]*m.size[0];
if( j <= i && t == (int)t )
uint64 t = (uint64)m.step[0]*m.size[0];
if( j <= i && t == (size_t)t )
m.flags |= Mat::CONTINUOUS_FLAG;
else
m.flags &= ~Mat::CONTINUOUS_FLAG;