From f69ec5134ffc1fc27764ca70d10be92517ec4498 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 13 May 2017 20:35:26 +0200 Subject: Add blind-make-kernel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man/blind-make-kernel.1 | 84 +++++++++++++++++++++++++++++++++++++++++++++++++ man/blind.7 | 3 ++ 2 files changed, 87 insertions(+) create mode 100644 man/blind-make-kernel.1 (limited to 'man') diff --git a/man/blind-make-kernel.1 b/man/blind-make-kernel.1 new file mode 100644 index 0000000..903f489 --- /dev/null +++ b/man/blind-make-kernel.1 @@ -0,0 +1,84 @@ +.TH BLIND-MAKE-KERNEL 1 blind +.SH NAME +blind-make-kernel - Create a custom convolution matrix +.SH SYNOPSIS +.B blind-make-kernel +[-d +.IR denominator ]\ ... +[-nxyza] +-- +.IR value \ ...]\ ... +.SH DESCRIPTION +.B blind-make-kernel +creates a convolution matrix that can be applied to +a video using +.BR blind-apply-kernel (1). +.P +The matrix is construct from each +.I value +with +.B -- +delimiting the rows. For example +.P +.nf + blind-make-kernel 1 2 3 -- 4 5 6 +.fi +.P +creates the matrix +.P +.nf + 1 2 3 + 4 5 6 +.fi +.P +If no +.I value +is specified (and at most one +.B -- +is used) +the matrix is read from stdin, +is used to delimit rows and other whitespace +is used to delimit cells. +.SH OPTIONS +.TP +.B -a +Apply the values to the alpha channel, set the +values for all unselected channels to zero. +.TP +.BR -d \ \fIdenominator\fP +Divide the matrix by +.IR denominator . +This option is applied after +.B -n +and can be used multiple times. The product of +all specified values are used as the denominator. +.TP +.B -n +Normalise the matrix, that is, divide it by the +sum of all its elements. This option is applied +before +.BR -d . +.TP +.B -x +Apply the values to the X channel, set the values +for all unselected channels to zero. +.TP +.B -y +Apply the values to the Y channel, set the values +for all unselected channels to zero. +.TP +.B -z +Apply the values to the Z channel, set the values +for all unselected channels to zero. +.SH NOTES +.B blind-make-kernel +Create a single frame, to that it can be stored to +disk. When applying it to a video, you want to use +.BR blind-repeat (1). +.SH SEE ALSO +.BR blind (7), +.BR blind-apply-kernel (1), +.BR blind-repeat (1) +.SH AUTHORS +Mattias Andrée +.RI < maandree@kth.se > diff --git a/man/blind.7 b/man/blind.7 index 1d9b579..2f8d872 100644 --- a/man/blind.7 +++ b/man/blind.7 @@ -76,6 +76,9 @@ Apply Gaussian blur to a video .BR blind-invert-luma (1) Invert the luminosity of a video .TP +.BR blind-make-kernel (1) +Create a custom convolution matrix +.TP .BR blind-next-frame (1) Extracts the next frame from a video .TP -- cgit v1.2.3-70-g09d2