USAGE: showcontrast [] [ ..] shows rectangle in window with default colour 128/128/128. Sliders are created to adjust the colours. USAGE: showcontrast - write list of " // #" to stdout. KEY VALUE DESCRIPTION AND DEFAULTS -b[asename] Default: "showcontrast", save images as "-######-######.". Where ###### are RGB-hexvalues of colours. -d[elay] Default: 40.02 mS. -e[xt] Default: "bmp" -F[ont] //// Default: 0.50/0.50/1.0/10/5 -l[og] append. Default: stdout -T[rack] / trackbars. Default: 800/30 -w[xh] //// Default: 600/400/300/200/2 PROTOCOL: Press q to terminate. Press 0 to reset to initial values. Press f,s blink (update) faster,slower. Press S to save image. Press h,v,a start/stop horizontal,vertical lines, alternating. Press +,- to increase,decrease rectangle size or line spacing. Press t to change the target of the colour-change keys. Press r/R,g/G,b/B decrease/increase red, green, blue. Press c/C,m/M,y/Y decrease/increase cyan, magenta, yellow. Press k or W increase white. Press K or w decrease white. Press j change (blinking) state: 0: coloured rectangle inside border 1: blinking RGB colour on/off 2: border colour only 3: RGB-colour in border-colour / border-colour in RGB-colour 4: RGB colour only 5: blinking border on/off Press x swap colours. Press SPACE to write colour info to log-file or stdout. Press TAB to enter memnonic text. Press D to write date and time to log-file or stdout. Press ? to write this help info stderr. COLOUR: // on scale [0..255]. # 6 hexadecimal digits RRGGBB. See "". USING: OpenCV version 1.1.0 (1.1.0) VERSION: Jun 24 2014 Copyright (C) 2014 by Harm J. Schoonhoven Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.