diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-08 13:17:13 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-08 13:17:13 +0200 |
commit | bf167d28bc496d80cc391d3cb47e76d7b6974394 (patch) | |
tree | 997baf2a8a3a88792ed35a5a4e7563bcb461fbbd /tracker-pt/ftnoir_tracker_pt_settings.h | |
parent | 5c2627ec26aeae563cbaaaa7e5b68caf6f2e929f (diff) |
tracker/pt: grayscale methods work
- fix a braino (don't divide by two)
- default to exact averaging, not perceptual weighted
- use more specific cv::addWeighted
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt_settings.h')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt_settings.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt_settings.h b/tracker-pt/ftnoir_tracker_pt_settings.h index 265d382e..6bbba16b 100644 --- a/tracker-pt/ftnoir_tracker_pt_settings.h +++ b/tracker-pt/ftnoir_tracker_pt_settings.h @@ -15,9 +15,10 @@ enum pt_color_type { // explicit values, gotta preserve the numbering in .ini // don't reuse when removing some of the modes - pt_color_normal = 2, + pt_color_natural = 2, pt_color_red_only = 3, pt_color_floppy_filter = 4, + pt_color_average = 5, }; struct settings_pt : opts @@ -74,6 +75,6 @@ struct settings_pt : opts dynamic_pose(b, "dynamic-pose-resolution", true), init_phase_timeout(b, "init-phase-timeout", 250), auto_threshold(b, "automatic-threshold", true), - blob_color(b, "blob-color", pt_color_normal) + blob_color(b, "blob-color", pt_color_average) {} }; |