From 0a034f2bd5a44c3cc0c033eacc940bb3bf73662c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 18 Jul 2017 19:42:27 +0200 Subject: Add blind-mosaic-corners and fix enset_pixel_format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man/blind-hexagon-tessellation.1 | 1 + man/blind-mosaic-corners.1 | 41 ++++++++++++++++++++++++++++++++++++++ man/blind-mosaic-edges.1 | 1 + man/blind-mosaic.1 | 1 + man/blind-rectangle-tessellation.1 | 1 + man/blind-repeat-tessellation.1 | 1 + man/blind-triangle-tessellation.1 | 1 + man/blind.7 | 3 +++ 8 files changed, 50 insertions(+) create mode 100644 man/blind-mosaic-corners.1 (limited to 'man') diff --git a/man/blind-hexagon-tessellation.1 b/man/blind-hexagon-tessellation.1 index 8062ace..092b6e6 100644 --- a/man/blind-hexagon-tessellation.1 +++ b/man/blind-hexagon-tessellation.1 @@ -30,6 +30,7 @@ for more information. .BR blind-get-colours (1), .BR blind-apply-palette (1), .BR blind-mosaic (1), +.BR blind-mosaic-corners (1), .BR blind-mosaic-edges (1) .SH AUTHORS Mattias Andrée diff --git a/man/blind-mosaic-corners.1 b/man/blind-mosaic-corners.1 new file mode 100644 index 0000000..47ad936 --- /dev/null +++ b/man/blind-mosaic-corners.1 @@ -0,0 +1,41 @@ +.TH BLIND-MOSAIC-CORNERS 1 blind +.SH NAME +blind-mosaic-corners - Find corners in a mosaic video +.SH SYNOPSIS +[-xy] +.B blind-mosaic-corners +.SH DESCRIPTION +.B blind-mosaic-corners +reads a mosaic pattern from stdin and set the values +of each change to 1 at corners and to 0 everywhere else. +.IR mosaic-stream-corners . +.SH OPTIONS +.TP +.B -x +At the left and right edges of the video, +wrap around to the opposite edges. +.TP +.B -y +At the upper and lower edges of the video, +wrap around to the opposite edges. +.SH REQUIREMENTS +.B blind-mosaic-corners +requires enough free memory to load one full frame into +memory and 1 bit per pixel on a frame. A frame requires +32 bytes per pixel it contains. +.B blind-mosaic-corners +is optimised for simplicity rather the memory usage. +.SH NOTES +.B blind-mosaic-corners +only works as intended if the tesserae are convex. +.SH SEE ALSO +.BR blind (7), +.BR blind-mosaic-edges (1), +.BR blind-hexagon-tessellation (1), +.BR blind-rectangle-tessellation (1), +.BR blind-triangle-tessellation (1), +.BR blind-repeat-tessellation (1), +.BR blind-mosaic (1) +.SH AUTHORS +Mattias Andrée +.RI < maandree@kth.se > diff --git a/man/blind-mosaic-edges.1 b/man/blind-mosaic-edges.1 index 92b7edc..265a857 100644 --- a/man/blind-mosaic-edges.1 +++ b/man/blind-mosaic-edges.1 @@ -27,6 +27,7 @@ memory and 1 bit per pixel on a frame. A frame requires is optimised for simplicity rather the memory usage. .SH SEE ALSO .BR blind (7), +.BR blind-mosaic-corners (1), .BR blind-hexagon-tessellation (1), .BR blind-rectangle-tessellation (1), .BR blind-triangle-tessellation (1), diff --git a/man/blind-mosaic.1 b/man/blind-mosaic.1 index ce93b15..a6cf673 100644 --- a/man/blind-mosaic.1 +++ b/man/blind-mosaic.1 @@ -31,6 +31,7 @@ memory. A frame requires 32 bytes per pixel it contains. .BR blind-rectangle-tessellation (1), .BR blind-triangle-tessellation (1), .BR blind-repeat-tessellation (1), +.BR blind-mosaic-corners (1), .BR blind-mosaic-edges (1) .SH AUTHORS Mattias Andrée diff --git a/man/blind-rectangle-tessellation.1 b/man/blind-rectangle-tessellation.1 index f497977..6bcd4c0 100644 --- a/man/blind-rectangle-tessellation.1 +++ b/man/blind-rectangle-tessellation.1 @@ -32,6 +32,7 @@ for more information. .BR blind-get-colours (1), .BR blind-apply-palette (1), .BR blind-mosaic (1), +.BR blind-mosaic-corners (1), .BR blind-mosaic-edges (1) .SH AUTHORS Mattias Andrée diff --git a/man/blind-repeat-tessellation.1 b/man/blind-repeat-tessellation.1 index a6c18fc..5f1ca55 100644 --- a/man/blind-repeat-tessellation.1 +++ b/man/blind-repeat-tessellation.1 @@ -35,6 +35,7 @@ bytes per pixel it contains. .BR blind-rectangle-tessellation (1), .BR blind-triangle-tessellation (1), .BR blind-mosaic (1), +.BR blind-mosaic-corners (1), .BR blind-mosaic-edges (1) .SH AUTHORS Mattias Andrée diff --git a/man/blind-triangle-tessellation.1 b/man/blind-triangle-tessellation.1 index 93a0468..ed0b9a9 100644 --- a/man/blind-triangle-tessellation.1 +++ b/man/blind-triangle-tessellation.1 @@ -35,6 +35,7 @@ for more information. .BR blind-get-colours (1), .BR blind-apply-palette (1), .BR blind-mosaic (1), +.BR blind-mosaic-corners (1), .BR blind-mosaic-edges (1) .SH AUTHORS Mattias Andrée diff --git a/man/blind.7 b/man/blind.7 index 98a0a23..e0ec8c5 100644 --- a/man/blind.7 +++ b/man/blind.7 @@ -160,6 +160,9 @@ Create an affine 2D-transformation matrix for transposition .BR blind-mosaic (1) Redraw each frame in video as a mosaic .TP +.BR blind-mosaic-corners (1) +Find corners in a mosaic video +.TP .BR blind-mosaic-edges (1) Find edges in a mosaic video .TP -- cgit v1.2.3-70-g09d2