Color.Vision.VingrysAndKingSmith {CVD} | R Documentation |
Scoring the results of the "D-15", "D-15DS" or "FM1OO-Hue" tests
Description
Color.Vision.VingrysAndKingSmith
takes a vector with cap numbers from the "D-15", "D-15DS" or "FM1OO-Hue" tests and outputs the score by the method from Vingrys and King-Smith.
Usage
Color.Vision.VingrysAndKingSmith(capnumbers=NULL,testType='D-15',silent=TRUE)
Arguments
capnumbers |
vector with cap numbers |
testType |
test type, one of "D-15", "D-15DS" or "FM1OO-Hue" |
silent |
logical, if TRUE then the function will send output to the screen, similarly to the original version |
Value
Angle |
confusion angle which identifies the type of color defect |
MajRad |
major moment of inertia |
MinRad |
minor moment of inertia |
TotErr |
error score or estimate of the severity of color defect |
Sindex |
Selectivity-Index which quantifies the amount of polarity or lack of randomness in a cap arrangement |
Cindex |
Confusion-Index which quantifies the degree of color loss relative to a perfect arrangement of caps |
Author(s)
Jose Gama
References
Vingrys, A.J. and King-Smith, P.E. (1988). A quantitative scoring technique for panel tests of color vision. Investigative Ophthalmology and Visual Science, 29, 50-63.
Examples
Color.Vision.VingrysAndKingSmith(1:15,silent=FALSE)
#result from the original GW Basic version:
#SUMS OF U AND V 41.25999 -4.92
# ANGLE MAJ RAD MIN RAD TOT ERR S-INDEX C-INDEX
# 61.98 9.23 6.71 11.42 1.38 1.00
Color.Vision.VingrysAndKingSmith(1:15,'D-15DS',silent=FALSE)
#result from the original GW Basic version:
#SUMS OF U AND V 26.86001 -38.69
# ANGLE MAJ RAD MIN RAD TOT ERR S-INDEX C-INDEX
# 61.44 5.12 3.60 6.26 1.42 1.00
Color.Vision.VingrysAndKingSmith(1:85, 'FM1OO-Hue',silent=FALSE)
#result from the original GW Basic version:
#SUMS OF U AND V 423.7896 203.7294
# ANGLE MAJ RAD MIN RAD TOT ERR S-INDEX C-INDEX
# 54.15 2.53 1.97 3.20 1.28 1.00