From e9c9e036db752ce26ce30b6182c1f9366f3af4ce Mon Sep 17 00:00:00 2001 From: Austin Van Blanton Date: Mon, 12 Aug 2013 11:03:30 -0400 Subject: [PATCH] Grid was switching x and y. Rename vars for clarity --- openbr/plugins/keypoint.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openbr/plugins/keypoint.cpp b/openbr/plugins/keypoint.cpp index 18f234c..ca9710b 100644 --- a/openbr/plugins/keypoint.cpp +++ b/openbr/plugins/keypoint.cpp @@ -222,9 +222,9 @@ class GridTransform : public UntrainableTransform QList landmarks; const float row_step = 1.f * src.m().rows / rows; const float column_step = 1.f * src.m().cols / columns; - for (float i=row_step/2; i