aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-chroma-key.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-07-12 03:40:51 +0200
committerMattias Andrée <maandree@kth.se>2017-07-12 03:40:51 +0200
commit1fdf6986e7bc23e2bdf4b2b7973652a2cb2dd3b7 (patch)
tree89e8bb27cfcbb121ce59949b6ca2a05ebb27ef1c /src/blind-chroma-key.c
parentAdd blind-get-colours (diff)
downloadblind-1fdf6986e7bc23e2bdf4b2b7973652a2cb2dd3b7.tar.gz
blind-1fdf6986e7bc23e2bdf4b2b7973652a2cb2dd3b7.tar.bz2
blind-1fdf6986e7bc23e2bdf4b2b7973652a2cb2dd3b7.tar.xz
Add blind-apply-palette and blind-colour-ciexyz always outputs all three parameters
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/blind-chroma-key.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blind-chroma-key.c b/src/blind-chroma-key.c
index e7b1448..602457e 100644
--- a/src/blind-chroma-key.c
+++ b/src/blind-chroma-key.c
@@ -27,6 +27,7 @@ USAGE("key-stream")
z = z1 - keyxyza[6];\
a2 = keyxyza[7];\
variance2 = x * x + y * y + z * z;\
+ /* TODO add more formulae: https://en.wikipedia.org/wiki/Color_difference */\
if (a2 > a1) {\
a1 = 1 - a1;\
a2 = 1 - a2;\