diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-06-04 16:46:14 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-06-04 16:46:14 +0200 |
| commit | b87d6efb6fdca579c23020a93212f8f35375e1fe (patch) | |
| tree | 8de46ff2f777f4b76f3961c3ded48e3cc226d13a /man/blind-find-rectangle.1 | |
| parent | Update todo (diff) | |
| download | blind-b87d6efb6fdca579c23020a93212f8f35375e1fe.tar.gz blind-b87d6efb6fdca579c23020a93212f8f35375e1fe.tar.bz2 blind-b87d6efb6fdca579c23020a93212f8f35375e1fe.tar.xz | |
Add blind-find-rectangle
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
| -rw-r--r-- | man/blind-find-rectangle.1 | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/man/blind-find-rectangle.1 b/man/blind-find-rectangle.1 new file mode 100644 index 0000000..beb16fa --- /dev/null +++ b/man/blind-find-rectangle.1 @@ -0,0 +1,70 @@ +.TH BLIND-FIND-RECTANGLE 1 blind +.SH NAME +blind-find-rectangle - Locate a coloured rectangle +.SH SYNOPSIS +.B blind-find-rectangle +[-a +.IR min-area ] +[-h +.IR min-height ] +[-w +.IR min-width ] +.I X +.I Y +.I Z +.RI [ alpha ] +.SH DESCRIPTION +.B blind-find-rectangle +reads a video from stdin, and locates the largest +rectangle of a specified colour. If there are two +or more maximal rectangles, one is choosen arbitrarily. +The specified by the arguments +.IR X , +.IR Y , +and +.IR Z , +and the selected +.I alpha +value. The colour is specified in CIE XYZ. If +.I X +and +.I Z +are not specified, the colour will be CIE Standard Illuminant +D65-grey with the luminosity +.IR Y . +If +.I alpha +is not specified, 1, which means fully opaque, will be used. +.SH STDOUT +The location and dimensions of the rectangle is printed stdout. +Exactly one line is printed per frame. Each line has the format +.nf + + \fB"%zu %zu %zu %zu\\n"\fP, <\fIleft\fP>, <\fItop\fP>, <\fIwidth\fP>, <\fIheight\fP> + +.fi +where +.I left +is position on the X-axis (measured from the left) on the +left-most pixels in the rectangle, +.I top +is position on the Y-axis (measured from the top) on the +top-most pixels in the rectangle, +.I width +is the width of the rectangle, and +.I height +is the width of the rectangle. +.SH NOTES +.B blind-find-rectangle +may be changed in the future to use some other colour model, +therefore, it is recommended to also use +.BR blind-colour-ciexyz (1) +if you are specifying the colour in CIE XYZ. If however +your values are colour space-agnostic, you should not. +.SH SEE ALSO +.BR blind (7), +.BR blind-colour-ciexyz (1), +.BR blind-colour-srgb (1) +.SH AUTHORS +Mattias Andrée +.RI < maandree@kth.se > |
