Commit f6e72fc2 authored by Vitaly Tuzov's avatar Vitaly Tuzov

Fix for FAST feature detection on specific locations

parent 39af4822
...@@ -331,8 +331,6 @@ namespace { ...@@ -331,8 +331,6 @@ namespace {
int i, k, pixel[25]; int i, k, pixel[25];
makeOffsets(pixel, (int)img.step, patternSize); makeOffsets(pixel, (int)img.step, patternSize);
keypoints.clear();
threshold = std::min(std::max(threshold, 0), 255); threshold = std::min(std::max(threshold, 0), 255);
uchar threshold_tab[512]; uchar threshold_tab[512];
......
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