summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/module
diff options
context:
space:
mode:
authorAndy Sloane <andy@a1k0n.net>2020-06-05 08:26:57 -0700
committerAndy Sloane <andy@a1k0n.net>2020-06-05 08:26:57 -0700
commitc5d6ace1295ca93e42962c93742c62d56222bee8 (patch)
treedd3c66c0e9f837fdfef64aafa6b923f654419376 /tracker-pt/module
parent9d9f42c35044bd4cbd40eea1b670b7a5114b7344 (diff)
rename "filter" -> "chroma key"
Diffstat (limited to 'tracker-pt/module')
-rw-r--r--tracker-pt/module/point_extractor.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tracker-pt/module/point_extractor.cpp b/tracker-pt/module/point_extractor.cpp
index 8fea1742..a92c87c9 100644
--- a/tracker-pt/module/point_extractor.cpp
+++ b/tracker-pt/module/point_extractor.cpp
@@ -141,32 +141,32 @@ void PointExtractor::color_to_grayscale(const cv::Mat& frame, cv::Mat1b& output)
extract_single_channel(frame, 2, output);
break;
}
- case pt_color_red_filter:
+ case pt_color_red_chromakey:
{
filter_single_channel(frame, 1, -0.5, -0.5, output);
break;
}
- case pt_color_green_filter:
+ case pt_color_green_chromakey:
{
filter_single_channel(frame, -0.5, 1, -0.5, output);
break;
}
- case pt_color_blue_filter:
+ case pt_color_blue_chromakey:
{
filter_single_channel(frame, -0.5, -0.5, 1, output);
break;
}
- case pt_color_cyan_filter:
+ case pt_color_cyan_chromakey:
{
filter_single_channel(frame, -1, 0.5, 0.5, output);
break;
}
- case pt_color_yellow_filter:
+ case pt_color_yellow_chromakey:
{
filter_single_channel(frame, 0.5, 0.5, -1, output);
break;
}
- case pt_color_magenta_filter:
+ case pt_color_magenta_chromakey:
{
filter_single_channel(frame, 0.5, -1, 0.5, output);
break;