summaryrefslogtreecommitdiffhomepage
path: root/tracker-trackhat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-10-17 15:15:36 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-03-29 00:04:48 +0200
commitbc5584d601110b5215650d41a693ce64d69ca4cb (patch)
tree22d664731133e603c89151109340863f051e46b4 /tracker-trackhat
parent0abd7625ad329e291f33f86c4771813dc34235c5 (diff)
tracker/trackhat: fix threshold register range
Diffstat (limited to 'tracker-trackhat')
-rw-r--r--tracker-trackhat/dialog.ui2
-rw-r--r--tracker-trackhat/trackhat.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tracker-trackhat/dialog.ui b/tracker-trackhat/dialog.ui
index baa66054..e63fa465 100644
--- a/tracker-trackhat/dialog.ui
+++ b/tracker-trackhat/dialog.ui
@@ -132,7 +132,7 @@
<number>64</number>
</property>
<property name="maximum">
- <number>255</number>
+ <number>254</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
diff --git a/tracker-trackhat/trackhat.hpp b/tracker-trackhat/trackhat.hpp
index 01005e65..348d3cd6 100644
--- a/tracker-trackhat/trackhat.hpp
+++ b/tracker-trackhat/trackhat.hpp
@@ -29,7 +29,7 @@ struct trackhat_settings : opts
trackhat_settings();
value<slider_value> exposure{b, "exposure", {0x80, 0x10, 0xff}};
value<slider_value> gain{b, "gain", {16, 0, 47}};
- value<slider_value> threshold{b, "threshold", {0x97, 64, 0xff}};
+ value<slider_value> threshold{b, "threshold", {0x97, 64, 0xfe}};
value<slider_value> threshold_2{b, "threshold-2", {0x03, 1, 0xfe}};
value<model_type> model{b, "model", model_mini_clip_left};
value<double> min_pt_size{b, "min-point-size", 10};