diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-15 13:27:23 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-16 18:20:50 +0200 |
commit | b9a4d906f1cde54ba05dd8be8d4971f0fa51d98e (patch) | |
tree | 10b85bc1b36b183a24b74a82715af5a45271ff95 /tracker-pt | |
parent | 6cf5d42bdcdf42c248d575cf3976b1ca7a4916a4 (diff) |
tracker/pt: adjust max point size per fixed formula
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/pt-api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |