diff options
author | Tom Brazier <tom_github@firstsolo.net> | 2023-05-31 15:09:16 +0100 |
---|---|---|
committer | Tom Brazier <tom_github@firstsolo.net> | 2023-05-31 15:09:16 +0100 |
commit | 0081061e580c4933b0c7731496916df2cfc0a95c (patch) | |
tree | eeda4e2eb6a8087875702753ad5cefe08a44a895 /tracker-pt/pt-settings.hpp | |
parent | 98ab4962ba9a1940b8068af658def92e1fb64011 (diff) |
Added a slider to control the strength of the color matching for chroma key
Diffstat (limited to 'tracker-pt/pt-settings.hpp')
-rw-r--r-- | tracker-pt/pt-settings.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tracker-pt/pt-settings.hpp b/tracker-pt/pt-settings.hpp index 29bb348f..5d16d973 100644 --- a/tracker-pt/pt-settings.hpp +++ b/tracker-pt/pt-settings.hpp @@ -65,6 +65,7 @@ struct pt_settings final : options::opts value<bool> auto_threshold { b, "automatic-threshold", true }; value<pt_color_type> blob_color { b, "blob-color", pt_color_bt709 }; value<bool> use_mjpeg { b, "use-mjpeg", false }; + value<slider_value> chroma_key_strength{ b, "chroma-key-strength", { 1.0, 0.5, 4. } }; value<bool> chroma_key_overexposed{ b, "chroma-key-overexposed", false }; value<slider_value> threshold_slider { b, "threshold-slider", { 128, 0, 255 } }; |