From b9a4d906f1cde54ba05dd8be8d4971f0fa51d98e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 15 Oct 2021 13:27:23 +0200 Subject: tracker/pt: adjust max point size per fixed formula --- tracker-pt/pt-api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-pt') diff --git a/tracker-pt/pt-api.cpp b/tracker-pt/pt-api.cpp index 2e83d466..d71c6e13 100644 --- a/tracker-pt/pt-api.cpp +++ b/tracker-pt/pt-api.cpp @@ -31,7 +31,7 @@ f pt_point_extractor::threshold_radius_value(int w, int h, int threshold) f cx = w / f{640}, cy = h / f{480}; const f min_radius = f{1.75} * cx; - const f max_radius = f{15} * cy; + const f max_radius = f{30} * cy; const f radius = std::fmax(f{0}, (max_radius-min_radius) * threshold / f(255) + min_radius); -- cgit v1.2.3