Description Usage Arguments Value Author(s) References Examples
Color.Vision.Simulate
converts images so that the colors look similar to how they are seen by people with CVD.
1 | Color.Vision.Simulate(fileIN=NULL, fileOUT=NULL, myoptions=NULL, amount=1.0)
|
fileIN |
PNG input file |
fileOUT |
PNG output file |
myoptions |
CVD from "Protanope","Deuteranope" or "Tritanope" |
amount |
level from 0.0 to 1.0 for "Achromat" |
none
Jose Gama
Michael Deal Daltonize.org http://mudcu.be/labs/Color/Vision http://www.daltonize.org/p/about.html "Analysis of Color Blindness" by Onur Fidaner, Poliang Lin and Nevran Ozguven. "Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats" by Francoise Vienot, Hans Brettel and John D. Mollon http://vision.psychol.cam.ac.uk/jdmollon/papers/colourmaps.pdf
1 2 3 4 5 6 7 8 | # a "perfect" score
## Not run:
fname<-paste(system.file(package='CVD'),'/extdata/fruits.png',sep='')
Color.Vision.Simulate(fname, 'fruits.Simulate.Protanope.png','Protanope')
Color.Vision.Simulate(fname, 'fruits.Simulate.Deuteranope.png','Deuteranope')
Color.Vision.Simulate(fname, 'fruits.Simulate.Tritanope.png','Tritanope')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.