aboutsummaryrefslogtreecommitdiffstats
path: root/man/blind-invert-luma.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/blind-invert-luma.1')
-rw-r--r--man/blind-invert-luma.143
1 files changed, 43 insertions, 0 deletions
diff --git a/man/blind-invert-luma.1 b/man/blind-invert-luma.1
new file mode 100644
index 0000000..2963c11
--- /dev/null
+++ b/man/blind-invert-luma.1
@@ -0,0 +1,43 @@
+.TH BLIND-INVERT-LUMA 1 blind
+.SH NAME
+blind-invert-luma - Invert the luminosity of a video
+.SH SYNOPSIS
+.B blind-invert-luma
+[-iw]
+.I mask-stream
+.SH DESCRIPTION
+.B blind-invert-luma
+reads a video from stdin and a mask video from
+.IR mask-stream .
+The video is printed to stdout, with the luminosity
+inverted where, in
+.IR mask-stream ,
+the product of the luminosity and the alpha value is
+1, and unchanged where the product is 0. For other
+products, the result is linearly interpolated or
+linearly extrapolated.
+.P
+If stdin is longer than
+.IR mask-stream ,
+the remainder or stdin is printed without any changes.
+If stdin is shorter than
+.IR mask-stream ,
+the remainder of
+.I mask-stream
+is ignored but may be partially read.
+.SH OPTIONS
+.TP
+.B -i
+Invert the luminosity in
+.I mask-stream
+before calculating the product of the luminosity and
+the alpha value.
+.TP
+.B -w
+Instead of using CIE Standard Illuminant D65 as the
+whitepoint, use the X and Z from each pixel in
+.I mask-stream
+for the whitepoint.
+.SH AUTHORS
+Mattias Andree
+.RI < maandree@kth.se >