summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/module/point_extractor.h
diff options
context:
space:
mode:
authorTom Brazier <tom_github@firstsolo.net>2023-05-28 20:48:01 +0100
committerTom Brazier <tom_github@firstsolo.net>2023-05-28 20:48:01 +0100
commitc143e560b1f4c8b05ce51a3ca245d220e45670b5 (patch)
tree2ecca3a454fbf4f38b60815ea65e698867a5e8a9 /tracker-pt/module/point_extractor.h
parent8403a2d052ef4230f903d2de12cb886300ce677e (diff)
When selecting chroma keying, include unsaturated colours for overexposed pixels
Diffstat (limited to 'tracker-pt/module/point_extractor.h')
-rw-r--r--tracker-pt/module/point_extractor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/module/point_extractor.h b/tracker-pt/module/point_extractor.h
index 3f7fb4ee..fbfdbb0b 100644
--- a/tracker-pt/module/point_extractor.h
+++ b/tracker-pt/module/point_extractor.h
@@ -51,7 +51,7 @@ private:
void ensure_buffers(const cv::Mat& frame);
void extract_single_channel(const cv::Mat& orig_frame, int idx, cv::Mat1b& dest);
- void filter_single_channel(const cv::Mat& orig_frame, float r, float g, float b, cv::Mat1b& dest);
+ void filter_single_channel(const cv::Mat& orig_frame, float r, float g, float b, bool overexp, cv::Mat1b& dest);
void color_to_grayscale(const cv::Mat& frame, cv::Mat1b& output);
void threshold_image(const cv::Mat& frame_gray, cv::Mat1b& output);