DichromatColorFilter: Color filter emulating dichromatic color blindness

Description Usage Arguments Details Fields and Methods Author(s) References See Also

Description

Package: R.colors
Class DichromatColorFilter

Object
~~|
~~+--ColorFilter
~~~~~~~|
~~~~~~~+--DichromatColorFilter

Directly known subclasses:

public static class DichromatColorFilter
extends ColorFilter

Color filter emulating dichromatic color blindness.

Usage

1
DichromatColorFilter(type=c("deutan", "protan"))

Arguments

type

A character string specifying the type of color blindness to emulate. See dichromat [1] for more details.

Details

This color filter requires that the dichromat package [1] is installed. The easiest way to install this is by calling install.packages("dichromat").

Color blindness: 1) Protanope (L-cone - red cone cells defective), 2) Deuteranope (M-cone - green cone cells defective), and 3) Tritanope (S-cone - blue cone cells defective).

For a dichromat safe color palette, see [4].

To modify an image such that its colors are more accessable to color blind people see [3].

Fields and Methods

Methods:

getColors -

Methods inherited from ColorFilter:
getColors

Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clone, detach, equals, extend, finalize, gc, getEnvironment, getFields, getInstantiationTime, getStaticInstance, hasField, hashCode, ll, load, objectSize, print, registerFinalizer, save

Author(s)

Henrik Bengtsson, but all credits to Thomas Lumley who wrote the dichromat package, which this class utilizes.

References

[1] Thomas Lumley, R package dichromat, CRAN. http://cran.r-project.org/.
[2] Vischeck, webpage, 2003. http://www.vischeck.com/
[3] Daltonize, webpage, 2003. http://www.vischeck.com/daltonize/
[4] Masataka Okabe and Kei Ito,
Barrier-free presentation that is friendly to colorblind, http://jfly.iam.u-tokyo.ac.jp/html/color_blind/

See Also

See also the dichromat package [1].


HenrikBengtsson/R.colors documentation built on May 6, 2019, 11:53 p.m.