aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/blind-arithm.14
-rw-r--r--man/blind-cross-product.132
-rw-r--r--man/blind-dot-product.131
-rw-r--r--man/blind-premultiply.127
-rw-r--r--man/blind-quaternion-product.136
-rw-r--r--man/blind-unpremultiply.129
-rw-r--r--man/blind-vector-projection.141
-rw-r--r--man/blind.718
8 files changed, 218 insertions, 0 deletions
diff --git a/man/blind-arithm.1 b/man/blind-arithm.1
index 3abd5b9..2e93364 100644
--- a/man/blind-arithm.1
+++ b/man/blind-arithm.1
@@ -77,6 +77,10 @@ Do not modify the Y channel (the second channel).
Do not modify the Z channel (the third channel).
.SH SEE ALSO
.BR blind (7),
+.BR blind-dot-product (1),
+.BR blind-cross-product (1),
+.BR blind-quaternion-product (1),
+.BR blind-vector-projection (1),
.BR blind-single-colour (1),
.BR blind-set-alpha (1),
.BR blind-set-luma (1),
diff --git a/man/blind-cross-product.1 b/man/blind-cross-product.1
new file mode 100644
index 0000000..ce8074e
--- /dev/null
+++ b/man/blind-cross-product.1
@@ -0,0 +1,32 @@
+.TH BLIND-CROSS-PRODUCT 1 blind
+.SH NAME
+blind-cross-product - Calculate the cross product of colours in a video
+.SH SYNOPSIS
+.B blind-cross-product
+.I right-hand-stream
+.SH DESCRIPTION
+.B blind-cross-product
+reads left-hand operands from stdin, and right-hand
+operands from
+.IR right-hand-stream ,
+and calculates the cross product of the colours.
+The values of the alpha channels multiple with each
+others with regular scalar-scalar multiplication.
+.P
+If stdin is longer than
+.IR right-hand-stream ,
+the remainder of stdin is printed without any changes.
+If stdin is shorter than
+.IR right-hand-stream ,
+the remainder of
+.I right-hand-stream
+is ignored but may be partially read.
+.SH SEE ALSO
+.BR blind (7),
+.BR blind-arithm (1),
+.BR blind-dot-product (1),
+.BR blind-quaternion-product (1),
+.BR blind-vector-projection (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >
diff --git a/man/blind-dot-product.1 b/man/blind-dot-product.1
new file mode 100644
index 0000000..6547d65
--- /dev/null
+++ b/man/blind-dot-product.1
@@ -0,0 +1,31 @@
+.TH BLIND-DOT-PRODUCT 1 blind
+.SH NAME
+blind-dot-product - Calculate the dot product of colours in a video
+.SH SYNOPSIS
+.B blind-dot-product
+.I right-hand-stream
+.SH DESCRIPTION
+.B blind-dot-product
+reads left-hand operands from stdin, and right-hand
+operands from
+.IR right-hand-stream ,
+and calculates the dot product of the colours. The
+product is store in all four channels.
+.P
+If stdin is longer than
+.IR right-hand-stream ,
+the remainder of stdin is printed without any changes.
+If stdin is shorter than
+.IR right-hand-stream ,
+the remainder of
+.I right-hand-stream
+is ignored but may be partially read.
+.SH SEE ALSO
+.BR blind (7),
+.BR blind-arithm (1),
+.BR blind-cross-product (1),
+.BR blind-quaternion-product (1),
+.BR blind-vector-projection (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >
diff --git a/man/blind-premultiply.1 b/man/blind-premultiply.1
new file mode 100644
index 0000000..8166bc0
--- /dev/null
+++ b/man/blind-premultiply.1
@@ -0,0 +1,27 @@
+.TH BLIND-PREMULTIPLY 1 blind
+.SH NAME
+blind-premultiply - Premultiply the alpha channel of a video
+.SH SYNOPSIS
+.B blind-premultiply
+[-xyz]
+.SH DESCRIPTION
+.B blind-premultiply
+reads a video from stdin and multiplies the
+colour values with the alpha value for each pixel,
+and prints the resulting video to stdout.
+.SH OPTIONS
+.TP
+.B -x
+Do not modify the X channel (the first channel).
+.TP
+.B -y
+Do not modify the Y channel (the second channel).
+.TP
+.B -z
+Do not modify the Z channel (the third channel).
+.SH SEE ALSO
+.BR blind (7),
+.BR blind-unpremultiply (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >
diff --git a/man/blind-quaternion-product.1 b/man/blind-quaternion-product.1
new file mode 100644
index 0000000..4c0f508
--- /dev/null
+++ b/man/blind-quaternion-product.1
@@ -0,0 +1,36 @@
+.TH BLIND-QUATERNION-PRODUCT 1 blind
+.SH NAME
+blind-quaternion-product - Calculate the quaternion product of colours in a video
+.SH SYNOPSIS
+.B blind-quaternion-product
+.I right-hand-stream
+.SH DESCRIPTION
+.B blind-quaternion-product
+reads left-hand operands from stdin, and right-hand
+operands from
+.IR right-hand-stream ,
+and calculates the quaternion product of the colours.
+The values in the the first channel (the X channel) are
+treated as real, the values in the the second channel
+(the Y channel) are treated as i-imaginary, the values
+in the the third channel (the Z channel) are treated
+as j-imaginary, and the values in the the fourth channel
+(the alpha channel) are treated as k-imaginary.
+.P
+If stdin is longer than
+.IR right-hand-stream ,
+the remainder of stdin is printed without any changes.
+If stdin is shorter than
+.IR right-hand-stream ,
+the remainder of
+.I right-hand-stream
+is ignored but may be partially read.
+.SH SEE ALSO
+.BR blind (7),
+.BR blind-arithm (1),
+.BR blind-cross-product (1),
+.BR blind-quaternion-product (1),
+.BR blind-vector-projection (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >
diff --git a/man/blind-unpremultiply.1 b/man/blind-unpremultiply.1
new file mode 100644
index 0000000..72f7b48
--- /dev/null
+++ b/man/blind-unpremultiply.1
@@ -0,0 +1,29 @@
+.TH BLIND-UNPREMULTIPLY 1 blind
+.SH NAME
+blind-unpremultiply - Unpremultiply the alpha channel of a video
+.SH SYNOPSIS
+.B blind-unpremultiply
+[-xyz]
+.SH DESCRIPTION
+.B blind-unpremultiply
+reads a video from stdin and divides the colour
+with the alpha value for each pixel, and prints
+the resulting video to stdout, effectively
+undoing affects of
+.BR blind-unpremultiply (1).
+.SH OPTIONS
+.TP
+.B -x
+Do not modify the X channel (the first channel).
+.TP
+.B -y
+Do not modify the Y channel (the second channel).
+.TP
+.B -z
+Do not modify the Z channel (the third channel).
+.SH SEE ALSO
+.BR blind (7),
+.BR blind-premultiply (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >
diff --git a/man/blind-vector-projection.1 b/man/blind-vector-projection.1
new file mode 100644
index 0000000..ee6b053
--- /dev/null
+++ b/man/blind-vector-projection.1
@@ -0,0 +1,41 @@
+.TH BLIND-VECTOR-PROJECTION 1 blind
+.SH NAME
+blind-vector-projection - Calculate the projection or rejection of colours in a video
+.SH SYNOPSIS
+.B blind-vector-projection
+[-r | -s]
+.I plane-stream
+.SH DESCRIPTION
+.B blind-vector-projection
+reads a video from stdin and a video from
+.IR plane-stream ,
+and calculates the projection of the colours from
+stdin onto the colours from
+.I plane-stream
+and prints the resulting video to stdout.
+.P
+If stdin is longer than
+.IR plane-stream ,
+the remainder of stdin is printed without any changes.
+If stdin is shorter than
+.IR plane-stream ,
+the remainder of
+.I plane-stream
+is ignored but may be partially read.
+.SH OPTIONS
+.TP
+.B -r
+Calculate the vector rejection instead of the vector projection.
+.TP
+.B -s
+Calculate the scalar projection instead of the vector projection.
+The scalar projection is stored in all four channels.
+.SH SEE ALSO
+.BR blind (7),
+.BR blind-arithm (1),
+.BR blind-dot-product (1),
+.BR blind-cross-product (1),
+.BR blind-quaternion-product (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >
diff --git a/man/blind.7 b/man/blind.7
index ff3f479..3a47864 100644
--- a/man/blind.7
+++ b/man/blind.7
@@ -43,6 +43,9 @@ Concatenate videos
.BR blind-convert (1)
Change pixel format of a video
.TP
+.BR blind-cross-product (1)
+Calculate the cross product of colours in a video
+.TP
.BR blind-crop (1)
Extract subframes for all frames
.TP
@@ -58,6 +61,9 @@ Fade a video by chaning it's alpha channel
.BR blind-disperse (1)
Framewise split a video into multiple videos
.TP
+.BR blind-dot-product (1)
+Calculate the dot product of colours in a video
+.TP
.BR blind-extend (1)
Add margins to a video
.TP
@@ -100,6 +106,12 @@ Create a custom convolution matrix
.BR blind-next-frame (1)
Extracts the next frame from a video
.TP
+.BR blind-premultiply (1)
+Premultiply the alpha channel of a video
+.TP
+.BR blind-quaternion-product (1)
+Calculate the quaternion product of colours in a video
+.TP
.BR blind-read-head (1)
Reads the head from a video
.TP
@@ -177,6 +189,12 @@ Perform framewise translation of a video
.BR blind-transpose (1)
Transpose a video
.TP
+.BR blind-unpremultiply (1)
+Unpremultiply the alpha channel of a video
+.TP
+.BR blind-vector-projection (1)
+Calculate the projection or rejection of colours in a video
+.TP
.BR blind-write-head (1)
Writes the head of a video
.SH SEE ALSO