From 3287ab386c14ea44a72272c30a58529e3ad41a2f Mon Sep 17 00:00:00 2001 From: Ivar Clemens Date: Mon, 18 Apr 2016 13:04:04 +0100 Subject: [PATCH] Fixed typo in BRISK feature detector. --- modules/features2d/src/brisk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/features2d/src/brisk.cpp b/modules/features2d/src/brisk.cpp index 3e80c5d9e..d6e88a129 100644 --- a/modules/features2d/src/brisk.cpp +++ b/modules/features2d/src/brisk.cpp @@ -2046,13 +2046,13 @@ BriskScaleSpace::subpixel2D(const int s_0_0, const int s_0_1, const int s_0_2, c if (max1 > max2) { delta_x = delta_x1; - delta_y = delta_x1; + delta_y = delta_y1; return max1; } else { delta_x = delta_x2; - delta_y = delta_x2; + delta_y = delta_y2; return max2; } }