USAGE: textinimage [ ..] writes with text/graphics overlay by componentwise transformation: (0,1..127,128..254,255)-->(255,128..254,1..127,0) by default. pixel-value 0: add , pixel-value 1..127: add int(/2), pixel-value 128..254: subtract int(/2), pixel-value 255: subtract . Where =255 by default. NOTE: This operation is an involution. However using this software to remove a copyright message (or any other message for that matter) from an image is illegal in all civilized countries and constitutes a breach of international law. USAGE: textinimage -///// [ ..] idem, using a monochrome image as . KEY VALUE DESCRIPTION AND DEFAULTS -/[-]/ use [negative of] at (,) as mask. -b[inary] minimum level in mask. Default: 170.00 -c[ircle] // draw closed circle. -c[ircle] /// draw open circle. -f[ont] /// define font Default: 0.5/0.5/0.0/1 -h[eight] define fontheight, scale fontwidth. Default: 0.5 -i[mage] // write monochrome mask in RGB foreground colour. -i[nvert] i[nvert] inverts mask, allows XOR graphics. -i[mage] o[verlay] write binary mask in foreground colour. -k Range [0,255]. Default: 255 -l[ine] //// draw simple line. -l[ine] / store coordinate. -l[ine] e[nd]/ draw line. -l[ine] f[ill] draw filled polygon. -l[ine] p[oly]/ draw open polygon. -p[aint] ///// write monochrome mask as black-->//, white-->//. -P[AINT] ///// redefine black and white for -p[aint]. Default: 0/0/0/255/255/255 -r[ect] /// draw filled rectangle. -r[ect] //// draw rectangle outline. -s[tring] "" text to write. Default: "(C) Harm J. Schoonhoven, All rights reserved." -m[argin] / in pixels. Default: 20/10 -m[argin] centered text. -t[ype] C[OMPLEX] HERSHEY_COMPLEX - normal size serif font -t[ype] c[omplex] HERSHEY_COMPLEX_SMALL - small size serif font -t[ype] D[UPLEX] HERSHEY_DUPLEX - normal size sans-serif font -t[ype] H[AND] HERSHEY_SCRIPT_SIMPLEX - hand-writing font default fontface. -t[ype] p[lain] HERSHEY_PLAIN - small size sans-serif font -t[ype] S[IMPLEX] HERSHEY_SIMPLEX - normal size sans-serif font -t[ype] T[IPLEX] HERSHEY_TRIPLEX - normal size serif font -t[ype] W[RITING] HERSHEY_SCRIPT_COMPLEX - hand-writing font Copyright (C) 2011 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. USING: OpenCV version 1.1.0 (1.1.0) VERSION: May 31 2014