*! version 1.0.0 21MAR2016

Command to transform a variable of RGB strings into color sight impaired variables

help for brewtransform

brewtransform -- a program to transform a Stata formatted RGB string
into RGB values that simulate the conditions of achromatopsia, protanopia, deuteranopia, and tritanopia.

Syntax

brewtransform RGB_varname

Description

brewtransform is used to create four variables containing Stata
formatted RGB strings that simulate complete color blindness and red, green, and
blue color perception impairments. The program takes a single variable formatted
as str11 as the sole argument and creates/returns four variables: achromatopsia,
protanopia, deuteranopia, and tritanopia.

Examples

Transform the RGB Strings contained in the variable rgb.

brewtransform rgb

References

Wickline, M. (2014). Color.Vision.Simulate, Version 0.1. Retrieved from:
http://galacticmilk.com/labs/Color-Vision/Javascript/Color.Vision.Simulate.js.
Retrieved on: 24nov2015.

Meyer, G. W., & Greenberg, D. P. (1988). Color-Defective Vision and Computer Graphics Displays.
Computer Graphics and Applications, IEEE 8(5), pp. 28-40.

Smith, V. C., & Pokorny, J. (2005). Spectral sensitivity of the foveal cone photopigments between 400 and 500nm.
Journal of the Optical Society of America A, 22(10), pp. 2060-2071.

Lindbloom, B. (2001). RGB working space information. Retrieved from: http://www.brucelindbloom.com/WorkingSpaceInfo.html. Retrieved on 24nov2015.

Author

William R. Buchanan, Ph.D.

Data Scientist

Minneapolis Public Schools

William.Buchanan at mpls [dot] k12 [dot] mn [dot] us