blob: b97206b6e6eeb20e9b2c9059b5dc5654a903d5ec (
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
|
.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 >
|