Based off Color2Gray: Salience-Preserving Color Removal. Amy A. Gooch, Sven C. Olsen, Jack Tumblin, and Bruce Gooch. SIGGRAPH 05 http://www.cs.northwestern.edu/~ago820/color2gray/color2gray.pdf
To Do's:
Upload Images (done)
Convert Images From RGB to CIE LaB (done)
- RGB -> XYZ //Reduced to one step (done)
- XYZ -> LMS //Reduced to one step (done)
- RGB -> LMS (done)
- LMS -> LaB (done)
Compute Target Differences using luminance and chrominance differences
Use a Least Square Optimization to selectively modulate the source luminance differences (VIA iterations)
Convert Images from CIE LaB to RGB to be displayed (done)
- LaB -> LMS (done)
- LMS -> RGB (done)
Extras:
- Multiple Gray Scale algorithms (done)
- Recoloring for individuals with color blindness :) (done)
- Based off the work of Dalton J(http://www.daltonize.org)
========== Bug fixes: ==================
NaN or out of range values in images* (Fixed)