Learn R Programming

CVD (version 1.0.2)

Color Vision Deficiencies

Description

Methods for color vision deficiencies (CVD), to help understanding and mitigating issues with CVDs and to generate tests for diagnosis and interpretation.

Copy Link

Version

Install

install.packages('CVD')

Monthly Downloads

150

Version

1.0.2

License

GPL (>= 3)

Maintainer

Last Published

November 28th, 2016

Functions in CVD (1.0.2)

Color.Vision.VingrysAndKingSmith

Scoring the results of the "D-15", "D-15DS" or "FM1OO-Hue" tests
attenuationNumberOfEyes

Attenuation as a function of number of eyes
B20

Farnsworth B-20 cap colors
BowmanTCDS

Table of color distance scores for quantitative scoring of the Farnsworth panel D-15 test
dichromaticCopunctalPoint

Copunctal points derived by Smith and Pokorny (1975)
effectiveCornealFluxDensity

Effective Corneal Flux Density
exampleBowman1982

Example of cap arrangements for the D-15d test
example2Lanthony1978

Example of cap arrangements for the D-15d test, Central Serous Choroidopathy/Optic Neuritis/Autosomal Dominant OpticAtrophy
example1Lanthony1978

Example of cap arrangements for the D-15d test, Simple/Extreme Anomalous Trichromacy
effectivePupilArea

Effective area of the illuminated pupil
createPNGbuttons

Creates PNG files to be used as colored caps (buttons)
D15Foutch

Quantitatively analyzes of D15 color panel tests
limitScore

Internal CVD functions
decolorize

Decolorize algorithm from Mark Grundland and Neil A. Dodgson
greyscale.avg

Greyscale algorithms
H16

Farnsworth H-16 cap colors
GellerTCDS

Table of color distance scores for quantitative scoring of the Lanthony desaturate D-15s test
FarnsworthMunsell100Hue

Farnsworth D-15 cap colors
FarnsworthD15

Farnsworth D-15 cap colors
illuminance2troland

Convert from luminance to troland and effective troland
exampleFarnsworth1974

Example of cap arrangements for the D-15 test, deuteranope/protanope/tritanope
exampleFM100

Example of cap arrangements for the FM-100 test
exampleNRC1981

Example of cap arrangements for the D-15 test, protanope/deuteranope/monochromat
exampleSimunovic2004

Example of cap arrangements for the D-15 test, rodMonochromat/blueConeMonochromat
lightAdaptedPupilSize.MoonAndSpencer

pupil diameter ranges from MoonAndSpencer, L. (1944)
lightAdaptedPupilSize.StanleyAndDavies

pupil diameter ranges from StanleyAndDavies, L. (1995)
showDuplicated

Show missing and duplicated cap numbers
lightAdaptedPupilSize.BlackieAndHowland

pupil diameter ranges from Blackie, C. A., & Howland, H. C. (1999)
lightAdaptedPupilSize.Barten

pupil diameter ranges from Barten, L. (1999)
typicalD15

Typical cap arrangements for the D-15 tests
lightAdaptedPupilSize.LeGrand

pupil diameter ranges from Le Grand (1992)
lightAdaptedPupilSize.Holladay

pupil diameter ranges from Holladay, L. (1926)
plotConfusionVectors

Plot confusion vectors for CIE 1976 uv, CIE 1931 xy and CIE 1960 uv
Roth28

Roth-28 cap colors
VKStable2

Table with results of D-15 tests scored with the Vingrys and King-Smith method
XYZ2scotopic.Rawtran

Approximation of the scotopic luminance
scoreRoth28Graphic

Graphical score for the D-15 tests
scoreFM100Graphic

Graphical score for the D-15 tests
lightAdaptedPupilSize.DeGrootAndGebhard

pupil diameter ranges from DeGrootAndGebhard, L. (1952)
lightAdaptedPupilSize.Crawford

pupil diameter ranges from Crawford, L. (1936)
neutralPoint

Neutral points for CIE 1976 uv, CIE 1931 xy and CIE 1960 uv
vectorPNGbuttons

Vector of PNG files representing colored caps (buttons)
loadPNG

Load a PNG file
VKSgraphic

Graphical score for the D-15 tests
scoreD15Graphic

Graphical score for the D-15 tests
interpretation.VingrysAndKingSmith

Automatic interpretation of test scores
scoreD15TCDS

Total Color Difference Score (TCDS) for the D-15 tests
lightAdaptedPupilSize.WinnEtAl

pupil diameter ranges from Winn et al (1995)
lightAdaptedPupilSize.WatsonAndYellott

pupil diameter ranges from Watson A. B., Yellott J. I. (2012)
LanthonyD15

Farnsworth H-16 cap colors
Color.Vision.Simulate

Simulate CVDs on images
Color.Vision.Daltonize

Daltonize images
approx.scotopic.luminance.LarsonEtAl.RGB

Approximation of the scotopic luminance
calculateCircle

Generate points from a circle
Color.Vision.c2g

Decolorize an image using the c2g algorithm
calculateTES

total error score (TES) using Farnsworth's or Kinnear's method