Color.Vision.Daltonize {CVD}R Documentation

Daltonize images

Description

Color.Vision.Daltonize converts images so that the most problematic colors are more visible to people with CVD.

Usage

Color.Vision.Daltonize(fileIN=NULL, fileOUT=NULL, myoptions=NULL, amount=1.0)

Arguments

fileIN

PNG input file

fileOUT

PNG output file

myoptions

CVD from "Protanope","Deuteranope" or "Tritanope"

amount

UNUSED - level from 0.0 to 1.0 for "Achromat"

Value

none

Author(s)

Jose Gama

References

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

Examples

# a "perfect" score
## Not run: 
fname<-paste(system.file(package='CVD'),'/extdata/fruits.png',sep='')
Color.Vision.Daltonize(fname, 'fruits.Daltonize.Protanope.png','Protanope')
Color.Vision.Daltonize(fname, 'fruits.Daltonize.Deuteranope.png','Deuteranope')
Color.Vision.Daltonize(fname, 'fruits.Daltonize.Tritanope.png','Tritanope')

## End(Not run)

[Package CVD version 1.0.2 Index]