aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man/blind-matrix-orthoproject.143
-rw-r--r--man/blind-matrix-reflect.143
-rw-r--r--man/blind-matrix-rotate.145
-rw-r--r--man/blind-matrix-scale.143
-rw-r--r--man/blind-matrix-shear.158
-rw-r--r--man/blind-matrix-translate.147
-rw-r--r--man/blind-matrix-transpose.143
-rw-r--r--man/blind.721
8 files changed, 343 insertions, 0 deletions
diff --git a/man/blind-matrix-orthoproject.1 b/man/blind-matrix-orthoproject.1
new file mode 100644
index 0000000..f23e437
--- /dev/null
+++ b/man/blind-matrix-orthoproject.1
@@ -0,0 +1,43 @@
+.TH BLIND-MATRIX-ORTHOPROJECT 1 blind
+.SH NAME
+blind-matrix-orthoproject - Create an affine 2D-transformation matrix for othogonal projection
+.SH SYNOPSIS
+.B blind-matrix-orthoproject
+[-c]
+.SH DESCRIPTION
+.B blind-matrix-orthoproject
+creates an affine 2D-transformation matrix for
+othogonal projection. The parameters for the
+matrix is read in stdin in format of a blind video,
+one matrix per frame in stdin created and printed
+to stdout in format of a blind video.
+.P
+Each frame in stdin shall contain exactly 2 pixels,
+the first pixel holds the x-value of the vector the
+image is projected along, the second pixel holds the
+y-value of this vector.
+.P
+The luma (encoding in the Y-channel, the second
+channel) multiplied by the alpha (the fourth channel)
+of the input pixels are used as the values. Each
+values in the resulting matrices are stored
+in all channels.
+.SH OPTIONS
+.TP
+.B -c
+Create different matrices for each channel. Use
+values from each channel in stdin to create
+matrices whose values are stored in the same
+channels in stdout.
+.SH SEE ALSO
+.BR blind (7),
+.BR blind-from-text (1),
+.BR blind-matrix-reflect (1),
+.BR blind-matrix-rotate (1),
+.BR blind-matrix-scale (1),
+.BR blind-matrix-shear (1),
+.BR blind-matrix-translate (1),
+.BR blind-matrix-transpose (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >
diff --git a/man/blind-matrix-reflect.1 b/man/blind-matrix-reflect.1
new file mode 100644
index 0000000..6cc294c
--- /dev/null
+++ b/man/blind-matrix-reflect.1
@@ -0,0 +1,43 @@
+.TH BLIND-MATRIX-REFLECT 1 blind
+.SH NAME
+blind-matrix-reflect - Create an affine 2D-transformation matrix for reflection about a line
+.SH SYNOPSIS
+.B blind-matrix-reflect
+[-c]
+.SH DESCRIPTION
+.B blind-matrix-reflect
+creates an affine 2D-transformation matrix for
+reflection about a line. The parameters for the
+matrix is read in stdin in format of a blind video,
+one matrix per frame in stdin created and printed
+to stdout in format of a blind video.
+.P
+Each frame in stdin shall contain exactly 2 pixels,
+the first pixel holds the x-value of the line going
+out from origo the image is reflected around, the
+second pixel holds the y-value of this line.
+.P
+The luma (encoding in the Y-channel, the second
+channel) multiplied by the alpha (the fourth channel)
+of the input pixels are used as the values. Each
+values in the resulting matrices are stored
+in all channels.
+.SH OPTIONS
+.TP
+.B -c
+Create different matrices for each channel. Use
+values from each channel in stdin to create
+matrices whose values are stored in the same
+channels in stdout.
+.SH SEE ALSO
+.BR blind (7),
+.BR blind-from-text (1),
+.BR blind-matrix-orthoproject (1),
+.BR blind-matrix-rotate (1),
+.BR blind-matrix-scale (1),
+.BR blind-matrix-shear (1),
+.BR blind-matrix-translate (1),
+.BR blind-matrix-transpose (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >
diff --git a/man/blind-matrix-rotate.1 b/man/blind-matrix-rotate.1
new file mode 100644
index 0000000..b97206b
--- /dev/null
+++ b/man/blind-matrix-rotate.1
@@ -0,0 +1,45 @@
+.TH BLIND-MATRIX-ROTATE 1 blind
+.SH NAME
+blind-matrix-rotate - Create an affine 2D-transformation matrix for rotation
+.SH SYNOPSIS
+.B blind-matrix-rotate
+[-c]
+.SH DESCRIPTION
+.B blind-matrix-rotate
+creates an affine 2D-transformation matrix for
+rotation. The parameters for the matrix is read
+in stdin in format of a blind video, one matrix
+per frame in stdin created and printed to stdout
+in format of a blind video.
+.P
+Each frame in stdin shall contain exactly 1 pixel,
+this pixel holds the number of radians the image
+is to be rotated clockwise around origo.
+.P
+The luma (encoding in the Y-channel, the second
+channel) multiplied by the alpha (the fourth channel)
+of the input pixels are used as the values. Each
+values in the resulting matrices are stored
+in all channels.
+.SH OPTIONS
+.TP
+.B -c
+Create different matrices for each channel. Use
+values from each channel in stdin to create
+matrices whose values are stored in the same
+channels in stdout.
+.SH NOTES
+The image is rotated anti-clockwise if the Y-axis
+grows upwards rather than downwards.
+.SH SEE ALSO
+.BR blind (7),
+.BR blind-from-text (1),
+.BR blind-matrix-orthoproject (1),
+.BR blind-matrix-reflect (1),
+.BR blind-matrix-scale (1),
+.BR blind-matrix-shear (1),
+.BR blind-matrix-translate (1),
+.BR blind-matrix-transpose (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >
diff --git a/man/blind-matrix-scale.1 b/man/blind-matrix-scale.1
new file mode 100644
index 0000000..9d35527
--- /dev/null
+++ b/man/blind-matrix-scale.1
@@ -0,0 +1,43 @@
+.TH BLIND-MATRIX-SCALE 1 blind
+.SH NAME
+blind-matrix-scale - Create an affine 2D-transformation matrix for scaling
+.SH SYNOPSIS
+.B blind-matrix-scale
+[-c]
+.SH DESCRIPTION
+.B blind-matrix-scale
+creates an affine 2D-transformation matrix for
+scaling. The parameters for the matrix is read
+in stdin in format of a blind video, one matrix
+per frame in stdin created and printed to stdout
+in format of a blind video.
+.P
+Each frame in stdin shall contain exactly 2 pixel,
+the first pixel holds the scale factor for the
+width and the second pixel holds the scale factor
+for the height.
+.P
+The luma (encoding in the Y-channel, the second
+channel) multiplied by the alpha (the fourth channel)
+of the input pixels are used as the values. Each
+values in the resulting matrices are stored
+in all channels.
+.SH OPTIONS
+.TP
+.B -c
+Create different matrices for each channel. Use
+values from each channel in stdin to create
+matrices whose values are stored in the same
+channels in stdout.
+.SH SEE ALSO
+.BR blind (7),
+.BR blind-from-text (1),
+.BR blind-matrix-orthoproject (1),
+.BR blind-matrix-reflect (1),
+.BR blind-matrix-rotate (1),
+.BR blind-matrix-shear (1),
+.BR blind-matrix-translate (1),
+.BR blind-matrix-transpose (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >
diff --git a/man/blind-matrix-shear.1 b/man/blind-matrix-shear.1
new file mode 100644
index 0000000..1eed202
--- /dev/null
+++ b/man/blind-matrix-shear.1
@@ -0,0 +1,58 @@
+.TH BLIND-MATRIX-SHEAR 1 blind
+.SH NAME
+blind-matrix-shear - Create an affine 2D-transformation matrix for shearing
+.SH SYNOPSIS
+.B blind-matrix-shear
+[-ac]
+.SH DESCRIPTION
+.B blind-matrix-shear
+creates an affine 2D-transformation matrix for
+shearing. The parameters for the matrix is read
+in stdin in format of a blind video, one matrix
+per frame in stdin created and printed to stdout
+in format of a blind video.
+.P
+Each frame in stdin shall contain exactly 2 pixel.
+The first pixel holds the amount the image shall
+be sheared horizontally, that is, how much all
+pixels 1 pixel above the X-axis shall be moved
+rightward. The second pixel holds the amount the
+image shall be sheared vertically, that is, how
+much all pixels 1 pixel right of the Y-axis shall
+be moved downward.
+.P
+The luma (encoding in the Y-channel, the second
+channel) multiplied by the alpha (the fourth channel)
+of the input pixels are used as the values. Each
+values in the resulting matrices are stored
+in all channels.
+.SH OPTIONS
+.TP
+.B -a
+The pixels holds the angles of the shearing rather
+than the amount of the shearing.
+.TP
+.B -c
+Create different matrices for each channel. Use
+values from each channel in stdin to create
+matrices whose values are stored in the same
+channels in stdout.
+.SH NOTES
+The description assumes the Y-axis grows downwards.
+.P
+Horizontal shearing and vertical shearing is not
+mutually commutative, this tool performs the
+shearing at the same time rather than after each
+other.
+.SH SEE ALSO
+.BR blind (7),
+.BR blind-from-text (1),
+.BR blind-matrix-orthoproject (1),
+.BR blind-matrix-reflect (1),
+.BR blind-matrix-rotate (1),
+.BR blind-matrix-scale (1),
+.BR blind-matrix-translate (1),
+.BR blind-matrix-transpose (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >
diff --git a/man/blind-matrix-translate.1 b/man/blind-matrix-translate.1
new file mode 100644
index 0000000..d2b4d00
--- /dev/null
+++ b/man/blind-matrix-translate.1
@@ -0,0 +1,47 @@
+.TH BLIND-MATRIX-TRANSLATE 1 blind
+.SH NAME
+blind-matrix-translate - Create an affine 2D-transformation matrix for translation
+.SH SYNOPSIS
+.B blind-matrix-translate
+[-c]
+.SH DESCRIPTION
+.B blind-matrix-translate
+creates an affine 2D-transformation matrix for
+translation. The parameters for the matrix is read
+in stdin in format of a blind video, one matrix
+per frame in stdin created and printed to stdout
+in format of a blind video.
+.P
+Each frame in stdin shall contain exactly 2 pixel,
+the first pixel holds the number of pixels the
+image shall be translated rightwards, and the
+second pixel holds the number of pixels the
+image shall be translated downwards.
+.P
+The luma (encoding in the Y-channel, the second
+channel) multiplied by the alpha (the fourth channel)
+of the input pixels are used as the values. Each
+values in the resulting matrices are stored
+in all channels.
+.SH OPTIONS
+.TP
+.B -c
+Create different matrices for each channel. Use
+values from each channel in stdin to create
+matrices whose values are stored in the same
+channels in stdout.
+.SH NOTES
+The image upwards rather than downwards if the
+Y-axis grows upwards rather than downwards.
+.SH SEE ALSO
+.BR blind (7),
+.BR blind-from-text (1),
+.BR blind-matrix-orthoproject (1),
+.BR blind-matrix-reflect (1),
+.BR blind-matrix-rotate (1),
+.BR blind-matrix-scale (1),
+.BR blind-matrix-shear (1),
+.BR blind-matrix-transpose (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >
diff --git a/man/blind-matrix-transpose.1 b/man/blind-matrix-transpose.1
new file mode 100644
index 0000000..c8aafd0
--- /dev/null
+++ b/man/blind-matrix-transpose.1
@@ -0,0 +1,43 @@
+.TH BLIND-MATRIX-TRANSPOSE 1 blind
+.SH NAME
+blind-matrix-transpose - Create an affine 2D-transformation matrix for transposition
+.SH SYNOPSIS
+.B blind-matrix-transpose
+[-c]
+.SH DESCRIPTION
+.B blind-matrix-transpose
+creates an affine 2D-transformation matrix for
+transposition. The parameters for the matrix is read
+in stdin in format of a blind video, one matrix
+per frame in stdin created and printed to stdout
+in format of a blind video.
+.P
+Each frame in stdin shall contain exactly 1 pixel,
+this pixel holds degree of the transposition, 0
+meaning no transposition at all, 1 meaning full
+transposition.
+.P
+The luma (encoding in the Y-channel, the second
+channel) multiplied by the alpha (the fourth channel)
+of the input pixels are used as the values. Each
+values in the resulting matrices are stored
+in all channels.
+.SH OPTIONS
+.TP
+.B -c
+Create different matrices for each channel. Use
+values from each channel in stdin to create
+matrices whose values are stored in the same
+channels in stdout.
+.SH SEE ALSO
+.BR blind (7),
+.BR blind-from-text (1),
+.BR blind-matrix-orthoproject (1),
+.BR blind-matrix-reflect (1),
+.BR blind-matrix-rotate (1),
+.BR blind-matrix-scale (1),
+.BR blind-matrix-shear (1),
+.BR blind-matrix-translate (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >
diff --git a/man/blind.7 b/man/blind.7
index 7386861..eac666b 100644
--- a/man/blind.7
+++ b/man/blind.7
@@ -133,6 +133,27 @@ Generate a video with a linear gradient
.BR blind-make-kernel (1)
Create a custom convolution matrix
.TP
+.BR blind-matrix-orthoproject (1)
+Create an affine 2D-transformation matrix for othogonal projection
+.TP
+.BR blind-matrix-reflect (1)
+Create an affine 2D-transformation matrix for reflection about a line
+.TP
+.BR blind-matrix-rotate (1)
+Create an affine 2D-transformation matrix for rotation
+.TP
+.BR blind-matrix-scale (1)
+Create an affine 2D-transformation matrix for scaling
+.TP
+.BR blind-matrix-shear (1)
+Create an affine 2D-transformation matrix for shearing
+.TP
+.BR blind-matrix-translate (1)
+Create an affine 2D-transformation matrix for translation
+.TP
+.BR blind-matrix-transpose (1)
+Create an affine 2D-transformation matrix for transposition
+.TP
.BR blind-mosaic (1)
Redraw each frame in video as a mosaic
.TP