diff options
-rw-r--r-- | tracker-pt/module/point_extractor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/module/point_extractor.cpp b/tracker-pt/module/point_extractor.cpp index 6f42bb4e..e679e7fc 100644 --- a/tracker-pt/module/point_extractor.cpp +++ b/tracker-pt/module/point_extractor.cpp @@ -337,7 +337,7 @@ void PointExtractor::extract_points(const pt_frame& frame_, } } - const f radius = std::sqrt(cnt / pi); + const f radius = (f)(std::sqrt(cnt) / std::sqrt(pi)); if (radius > region_size_max || radius < region_size_min) continue; |