aboutsummaryrefslogtreecommitdiffstats
path: root/man/blind-matrix-shear.1
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-07-14 16:30:30 +0200
committerMattias Andrée <maandree@kth.se>2017-07-14 16:30:30 +0200
commit0ca8f64f61b534ba2428236fec2c8879fe58c059 (patch)
tree0b7f40e2c9277aafc28801dbc0a351e00e641103 /man/blind-matrix-shear.1
parentImprove performance of blind-stack (diff)
downloadblind-0ca8f64f61b534ba2428236fec2c8879fe58c059.tar.gz
blind-0ca8f64f61b534ba2428236fec2c8879fe58c059.tar.bz2
blind-0ca8f64f61b534ba2428236fec2c8879fe58c059.tar.xz
Add blind-matrix-{orthoproject,reflect,rotate,scale,shear,translate,transpose}
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/blind-matrix-shear.1')
-rw-r--r--man/blind-matrix-shear.158
1 files changed, 58 insertions, 0 deletions
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 >