From bf167d28bc496d80cc391d3cb47e76d7b6974394 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 8 Oct 2017 13:17:13 +0200 Subject: 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 --- tracker-pt/ftnoir_tracker_pt_dialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tracker-pt/ftnoir_tracker_pt_dialog.cpp') 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, }; -- cgit v1.2.3