diff options
author | Andy Sloane <andy@a1k0n.net> | 2020-06-05 08:26:57 -0700 |
---|---|---|
committer | Andy Sloane <andy@a1k0n.net> | 2020-06-05 08:26:57 -0700 |
commit | c5d6ace1295ca93e42962c93742c62d56222bee8 (patch) | |
tree | dd3c66c0e9f837fdfef64aafa6b923f654419376 /tracker-pt | |
parent | 9d9f42c35044bd4cbd40eea1b670b7a5114b7344 (diff) |
rename "filter" -> "chroma key"
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/FTNoIR_PT_Controls.ui | 12 | ||||
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt_dialog.cpp | 12 | ||||
-rw-r--r-- | tracker-pt/lang/nl_NL.ts | 12 | ||||
-rw-r--r-- | tracker-pt/lang/ru_RU.ts | 12 | ||||
-rw-r--r-- | tracker-pt/lang/stub.ts | 12 | ||||
-rw-r--r-- | tracker-pt/lang/zh_CN.ts | 12 | ||||
-rw-r--r-- | tracker-pt/module/point_extractor.cpp | 12 | ||||
-rw-r--r-- | tracker-pt/pt-settings.hpp | 12 |
8 files changed, 48 insertions, 48 deletions
diff --git a/tracker-pt/FTNoIR_PT_Controls.ui b/tracker-pt/FTNoIR_PT_Controls.ui index 113e4f49..f683d7c3 100644 --- a/tracker-pt/FTNoIR_PT_Controls.ui +++ b/tracker-pt/FTNoIR_PT_Controls.ui @@ -422,32 +422,32 @@ </item> <item> <property name="text"> - <string>Red filter</string> + <string>Red chroma key</string> </property> </item> <item> <property name="text"> - <string>Green filter</string> + <string>Green chroma key</string> </property> </item> <item> <property name="text"> - <string>Blue filter</string> + <string>Blue chroma key</string> </property> </item> <item> <property name="text"> - <string>Cyan filter</string> + <string>Cyan chroma key</string> </property> </item> <item> <property name="text"> - <string>Yellow filter</string> + <string>Yellow chroma key</string> </property> </item> <item> <property name="text"> - <string>Magenta filter</string> + <string>Magenta chroma key</string> </property> </item> </widget> diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp index 6c284381..32916cc5 100644 --- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp +++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp @@ -100,12 +100,12 @@ TrackerDialog_PT::TrackerDialog_PT(const QString& module_name) : pt_color_red_only, pt_color_green_only, pt_color_blue_only, - pt_color_red_filter, - pt_color_green_filter, - pt_color_blue_filter, - pt_color_cyan_filter, - pt_color_yellow_filter, - pt_color_magenta_filter, + pt_color_red_chromakey, + pt_color_green_chromakey, + pt_color_blue_chromakey, + pt_color_cyan_chromakey, + pt_color_yellow_chromakey, + pt_color_magenta_chromakey, }; for (unsigned k = 0; k < std::size(color_types); k++) diff --git a/tracker-pt/lang/nl_NL.ts b/tracker-pt/lang/nl_NL.ts index 4802dba5..3d12a7ea 100644 --- a/tracker-pt/lang/nl_NL.ts +++ b/tracker-pt/lang/nl_NL.ts @@ -233,27 +233,27 @@ Don't roll or change position.</source> <translation type="unfinished"></translation> </message> <message> - <source>Red filter</source> + <source>Red chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Green filter</source> + <source>Green chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Blue filter</source> + <source>Blue chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Cyan filter</source> + <source>Cyan chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Yellow filter</source> + <source>Yellow chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Magenta filter</source> + <source>Magenta chroma key</source> <translation type="unfinished"></translation> </message> </context> diff --git a/tracker-pt/lang/ru_RU.ts b/tracker-pt/lang/ru_RU.ts index 363d2061..0315d493 100644 --- a/tracker-pt/lang/ru_RU.ts +++ b/tracker-pt/lang/ru_RU.ts @@ -238,27 +238,27 @@ ROLL или X/Y-смещения.</translation> <translation type="unfinished"></translation> </message> <message> - <source>Red filter</source> + <source>Red chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Green filter</source> + <source>Green chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Blue filter</source> + <source>Blue chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Cyan filter</source> + <source>Cyan chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Yellow filter</source> + <source>Yellow chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Magenta filter</source> + <source>Magenta chroma key</source> <translation type="unfinished"></translation> </message> </context> diff --git a/tracker-pt/lang/stub.ts b/tracker-pt/lang/stub.ts index e2085052..4c8c4f82 100644 --- a/tracker-pt/lang/stub.ts +++ b/tracker-pt/lang/stub.ts @@ -233,27 +233,27 @@ Don't roll or change position.</source> <translation type="unfinished"></translation> </message> <message> - <source>Red filter</source> + <source>Red chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Green filter</source> + <source>Green chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Blue filter</source> + <source>Blue chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Cyan filter</source> + <source>Cyan chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Yellow filter</source> + <source>Yellow chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Magenta filter</source> + <source>Magenta chroma key</source> <translation type="unfinished"></translation> </message> </context> diff --git a/tracker-pt/lang/zh_CN.ts b/tracker-pt/lang/zh_CN.ts index e51484ca..bbbc7f8d 100644 --- a/tracker-pt/lang/zh_CN.ts +++ b/tracker-pt/lang/zh_CN.ts @@ -233,27 +233,27 @@ Don't roll or change position.</source> <translation type="unfinished"></translation> </message> <message> - <source>Red filter</source> + <source>Red chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Green filter</source> + <source>Green chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Blue filter</source> + <source>Blue chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Cyan filter</source> + <source>Cyan chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Yellow filter</source> + <source>Yellow chroma key</source> <translation type="unfinished"></translation> </message> <message> - <source>Magenta filter</source> + <source>Magenta chroma key</source> <translation type="unfinished"></translation> </message> </context> 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; diff --git a/tracker-pt/pt-settings.hpp b/tracker-pt/pt-settings.hpp index 1016d17e..ed13a1ec 100644 --- a/tracker-pt/pt-settings.hpp +++ b/tracker-pt/pt-settings.hpp @@ -13,12 +13,12 @@ enum pt_color_type pt_color_average = 5, pt_color_blue_only = 6, pt_color_green_only = 7, - pt_color_red_filter = 8, - pt_color_green_filter = 9, - pt_color_blue_filter = 10, - pt_color_cyan_filter = 11, - pt_color_yellow_filter = 12, - pt_color_magenta_filter = 13, + pt_color_red_chromakey = 8, + pt_color_green_chromakey = 9, + pt_color_blue_chromakey = 10, + pt_color_cyan_chromakey = 11, + pt_color_yellow_chromakey = 12, + pt_color_magenta_chromakey = 13, }; namespace pt_impl { |