blob: 903f489afe66d0967249ff934c4f9661ffa85255 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
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, <newline>
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 >
|