summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_extractor.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-13 15:06:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-13 15:09:27 +0200
commit535e81402a65fa410e98899cd1780784d2f9815a (patch)
treea84eb51afab232a2855e207027b8ce61c1910de8 /tracker-pt/point_extractor.h
parent98cb8723dcfbe27b9058cc21605f5a663d743bfe (diff)
tracker/pt: add threshold slider state description
Isolate point radius code and reuse it.
Diffstat (limited to 'tracker-pt/point_extractor.h')
-rw-r--r--tracker-pt/point_extractor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tracker-pt/point_extractor.h b/tracker-pt/point_extractor.h
index 8fd521c3..fd32e94b 100644
--- a/tracker-pt/point_extractor.h
+++ b/tracker-pt/point_extractor.h
@@ -39,6 +39,8 @@ public:
PointExtractor();
settings_pt s;
+
+ static double threshold_radius_value(int w, int h, int threshold);
private:
static constexpr int max_blobs = 16;