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_dialog.cpp | |
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_dialog.cpp')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt_dialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp index 2f554cbf..6b31ac8a 100644 --- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp +++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp @@ -83,7 +83,8 @@ TrackerDialog_PT::TrackerDialog_PT() connect(this, &TrackerDialog_PT::poll_tracker_info, this, &TrackerDialog_PT::poll_tracker_info_impl, Qt::DirectConnection); static constexpr pt_color_type color_types[] = { - pt_color_normal, + pt_color_average, + pt_color_natural, pt_color_floppy_filter, pt_color_red_only, }; |