improved performance of GFTT

This commit is contained in:
Ilya Lavrenov
2014-03-04 20:04:16 +04:00
parent 0692a674d1
commit 86a3ed4162
3 changed files with 169 additions and 48 deletions

View File

@@ -114,6 +114,7 @@ OCL_TEST_P(GoodFeaturesToTrack, Accuracy)
for (size_t i = 0; i < pts.size(); ++i)
{
Point2i a = upts[i], b = pts[i];
bool eq = std::abs(a.x - b.x) < 1 && std::abs(a.y - b.y) < 1;
if (!eq)