Description Usage Arguments Value Author(s) References Examples
Color.Vision.c2g
decolorizes an image using the c2g algorithm from Martin Faust (2008).
RGBtoHSL
converts from RGB to HSL, used by Color.Vision.c2g
1 | Color.Vision.c2g(fileIN=NULL, fileOUT=NULL, CorrectBrightness=FALSE)
|
fileIN |
PNG input file |
fileOUT |
PNG output file |
CorrectBrightness |
automatic brightness correction |
none
Jose Gama
Martin Faust 2008 http://www.e56.de/c2g.php
1 2 3 4 5 | ## Not run:
fname<-paste(system.file(package='CVD'),'/extdata/fruits.png',sep='')
Color.Vision.c2g(fname, 'fruits.c2g.png')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.