blind-invert-luma - Invert the luminosity of a video

NAME  SYNOPSIS  DESCRIPTION  OPTIONS  SEE ALSO  AUTHORS 

NAME

blind-invert-luma - Invert the luminosity of a video

SYNOPSIS

blind-invert-luma [-iw] mask-stream

DESCRIPTION

blind-invert-luma reads a video from stdin and a mask video from mask-stream. The video is printed to stdout, with the luminosity inverted where, in 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.

If stdin is longer than mask-stream, the remainder of stdin is printed without any changes. If stdin is shorter than mask-stream, the remainder of mask-stream is ignored but may be partially read.

OPTIONS

-i

Invert the luminosity in mask-stream before calculating the product of the luminosity and the alpha value.

-w

Instead of using CIE Standard Illuminant D65 as the whitepoint, use the X and Z from each pixel in mask-stream for the whitepoint.

SEE ALSO

blind(7), blind-single-colour(1), blind-arithm(1), blind-set-alpha(1), blind-set-luma(1), blind-set-saturation(1)

AUTHORS

Mattias Andrée <[email protected]>


jenkler.se | uex.se