Description Usage Arguments Value Author(s) References Examples
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.
1 | Color.Vision.VingrysAndKingSmith(capnumbers=NULL,testType='D-15',silent=TRUE)
|
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 |
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 |
Jose Gama
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 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
|
[1] "SUMS OF U AND V"
41.26 -4.92
[1] "STANDARD D-15"
ANGLE MAJ RAD MIN RAD TOT ERR S-INDEX C-INDEX
61.97628 9.234668 6.711339 11.41583 1.37598 0.9999999$Angle
[1] 61.97628
$MajRad
[1] 9.234668
$MinRad
[1] 6.711339
$TotErr
[1] 11.41583
$Sindex
[1] 1.37598
$Cindex
[1] 0.9999999
[1] "SUMS OF U AND V"
26.86 -38.69
[1] "DESATURATED D-15"
ANGLE MAJ RAD MIN RAD TOT ERR S-INDEX C-INDEX
61.44063 5.121258 3.597554 6.258569 1.423539 0.9999999$Angle
[1] 61.44063
$MajRad
[1] 5.121258
$MinRad
[1] 3.597554
$TotErr
[1] 6.258569
$Sindex
[1] 1.423539
$Cindex
[1] 0.9999999
[1] "SUMS OF U AND V"
423.79 203.73
[1] "FM-100 HUE"
ANGLE MAJ RAD MIN RAD TOT ERR S-INDEX C-INDEX
54.15447 2.525248 1.966265 3.200481 1.284287 0.9999997$Angle
[1] 54.15447
$MajRad
[1] 2.525248
$MinRad
[1] 1.966265
$TotErr
[1] 3.200481
$Sindex
[1] 1.284287
$Cindex
[1] 0.9999997
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.