scoreD15TCDS: Total Color Difference Score (TCDS) for the D-15 tests

Description Usage Arguments Value Author(s) References Examples

View source: R/CVD.R

Description

scoreD15TCDS computes the Total Color Difference Score (TCDS) for the D-15 test, from Bowman's (1982). The input is either a vector of RGB colors or cap positions.

Usage

1
2
3
scoreD15TCDS(userD15colors=NULL,userD15values=NULL,
 distTable = get("BowmanTCDS", envir = environment()), 
D15colors = get("FarnsworthD15", envir = environment()))

Arguments

userD15colors

RGB colors chosen by tester

userD15values

position values chosen by tester

distTable

distance table - matrix with the color distances

D15colors

RGB colors for the CVD test

Value

TCDS

Total Color Difference Score (TCDS)

Author(s)

Jose Gama

References

Bowman's (1982) Total Color Difference Score (TCDS) for congenitally defective observers on the D-15 with enlarged tests. K.J. Bowman, A method for quantitative scoring of the Farnsworth Panel D-15, Acta Ophthalmologica, 60 (1982), pp. 907<e2><80><93>916

Examples

1
2
3
4
# a "perfect" score
## Not run: 
scoreD15TCDS(userD15values=1:15)
## End(Not run)

Example output

TCDS  CCI 
 117    1 

CVD documentation built on May 2, 2019, 1:58 p.m.

Related to scoreD15TCDS in CVD...