Skip to content

geoffmaggi/Color2Gray

Repository files navigation

Color 2 Gray

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

Supports .jpg and .png images in RGB ColorSpace

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)

========== Bug fixes: ==================

NaN or out of range values in images* (Fixed)

About

Color2Gray written in .NET

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published