ColorMix.gif (1372 bytes) Color
A.  General Color Information  B.  Color Science/Theory   C.  Color and Computers

Also see
Delphi Graphics Color Page
  efg's Color Projects



Contents
C1. Color and Computers
C2. Color Quantization
C3. Palettes

C1. Color and Computers

Bibliography
[Foley96] James D. Foley, et al, Computer Graphics Principles and Practice (2nd edition in C), Addison Wesley, 1996.  Chapter 13:  Achromatic and Colored Light
[Fortner97] Brand Fortner and Theodore E. Meyer, Number by Colors:  A Guide to Using Color to Understand Technical Data, Springer-Verlag, 1997.   Excellent introduction to color.
[Jackson94] Richard Jackson, et al, Computer Generated Colour: A Practical Guide to Presentation and Display, John Wiley, 1994.
[Hunt1998] MeasuringColor
[Hunt2002] The Reproduction of Color
[Kang97] Henry R. Kang, Color Technology For Electronic Imaging Devices, SPIE Optical Engineering Press, 1997.
[Sangwine98] S.J. Sangwine and R.E.N. Horne (editors), 
The Colour Image Processing Handbook
, Chapman & Hill, 1998.

See bibliography section on General Color Info page or  Color Science page.

Calibration/ Color Management Also see:
- ICC Profiles
- ColorSync by Apple

Gernot Hoffman's Hardware Monitor Calibration
http://www.fho-emden.de/~hoffmann/caltutor270900.pdf 

Color Management
www.av8n.com/imaging/color-management.htm 

Colour Calibration for Colour Reproduction
http://diwww.epfl.ch/w3lsp/publications/colour/ccfcr.html

Correct monitor calibration
www.normankoren.com/makingfineprints.html

Displaymate Demos and Test Patterns
www.displaymate.com/demos.html

A Standard Default Color Space for the Internet - sRGB.
Proposal by Microsoft and HP.  A color space exclusively for CRT and onscreen display.
www.color.org/sRGB.html
www.w3.org/Graphics/Color/sRGB
sRGB calls for a gamma setting of 2.20. While most PC systems use a gamma of 2.20, Macintoshes as a factor default have a gamma of 1.70 and SGI systems have a gamma of 1.80. This is why Macintosh images typically display much darker on PC systems.

Color Blindness Color Blindness on the General Color Info page
Color Conversion Color Conversion on the Color Science page
Color Correction Reiner Lenz, et al, "Spectral-Based Illumination Estimation and Color Correction",
Color Research and Application, Vol 24, No 2, April 1999, pp. 98-111
Color Fringing Eliminating color fringing (lateral chromatic aberration)
www.normankoren.com/Tutorials/Chromatic.html 
Color Management Also see:
- Color Calibration
- ICC Profiles
- Integrated Color Management (ICM) by Microsoft
- ColorSync by Apple

Color Management: Current Practice and The Adoption of a New Standard
www.color.org/wpaper1.html

ColorSync

Mac OS X Developer Library:  ColorSync Manager Reference

Conversions See Color Conversion on Color Science/Theory page
Contrast Effective Color Contrast -- Designing for People with Partial Sight and Color Deficiencies
www.lighthouse.org/color_contrast.htm

Paola Campadelli, "An Algorithm for the Selection of High-Contrast Color Sets,"
Color Research and Application, Vol 24, No 2, April 1999, pp. 132-138

Evaluating Performance Mei-Chun Lo et al, "Evaluating Colour Models' Performance between Monitor and Print Images,"
Color Research and Application, Vol 21, No 4, August 1996, pp. 277-291
False Colors Why Should Engineers and Scientists Be Worried About Color? discusses problems with "rainbow" colormap; nominal, ordinal, interval, ratio data; hue is not a good dimension for encoding magnitude information; luminance and saturation colormaps are better for representing continuous variations in data magnitude.  www.research.ibm.com/people/l/lloydt/color/color.HTM

 


Accuweather's Precipitation Color Scales


Accuweather's
Radar Reflectivity Scale

 


False Colors used by Intellicast Precipitation Maps


False Colors used by The Weather Channel

Color by Numbers -- Using Color to Visualize Data, [Fortner97, Chapter 11]

Gernot Hoffman's Balanced Palettes
www.fho-emden.de/~hoffmann/palette30082003.pdf 

Section 4.6.3 Pseudo-color Image Processing, pp. 237-245
Digital Image Processing

Colour Rendering of Spectra
www.fourmilab.ch/documents/specrend  
Mitchell N Charity's comments about this article

Spectra -- wavelength to RGB, Chromaticity Diagram, Blackbody Radiation (excellent)
Dan Bruton's Color Science page, http://www.midnightkite.com/color.html


efg's
Spectra Lab Report

FractInt (a program to create fractals) has a number of colors maps that may be useful for false color sets.   Try Jacco's Colormap files for users of Fractint.  I used Jacco's color maps in my Cycle Colors Lab Report.

Colour Ramping for Data Visualisation
http://paulbourke.net/texture_colour/colourramp/

Richard Franzen's UseNet Post explaining "PseudoGrey," which is used to encode more than 8 bits of greyscale within a 24-bit color image.  Using the technique, exactly 1,786 levels of grey can be encoded and decoded.   The PseudoGrey page.

FAQs See on FAQs General Color Info page
Gamma Correction

Gernot Hoffman's Hardware Monitor Calibration
http://www.fho-emden.de/~hoffmann/caltutor270900.pdf 

Monitor adjustment and gamma
http://www.normankoren.com/makingfineprints1A.html

Directions for How To Find Display Gamma
http://www-mddsp.enel.ucalgary.ca/People/adilger/povray/gamma.html 

What is Gamma Correction?
http://paulbourke.net/texture_colour/gamma/

Charles Poynton's Gamma FAQ and Color FAQ, www.poynton.com 

Gamma Correction (for Simulation).  Gamma correction is essential for good quality image generation. Angus examines the problems associated with gamma correction, focusing on why it is important to simulation in particular.   Dr. Dobb's Journal, Sept. 1999, pp. 30-37

Computer Graphics Principles and Practice, pp. 564-568

About Gamma Correction
http://www-graphics.stanford.edu/gamma.html

sRGB Proposal (by Microsoft and HP).
A color space exclusively for CRT and onscreen display.
www.w3.org/Graphics/Color/sRGB

A Standard Default Color Space for the Internet - sRGB
www.color.org/sRGB.html

Grays/Greys 8-bits allows 256 shades of gray.  In Windows in 256-color mode, 20 colors are "reserved" for display of icons, panels, etc., so only 236 colors are possible.

When using 24-bit color graphics, the shades of gray are represented by RGB(i, i, i), where i = 0..255.  This means there are only 256-shades of gray even with 24-bit color.

Perceptually Optimized Grayscales
www.fho-emden.de/~hoffmann/optigray06102001.pdf 

Richard Franzen's UseNet Post explaining "PseudoGrey," which is used to encode more than 8 bits of greyscale within a 24-bit color image.  Using the technique, exactly 1,786 levels of grey can be encoded and decoded.  The PseudoGrey page.

Halftones and Scanning Computer Graphics Principles and Practice, pp. 568-573

Digital Halftones, [Fortner97, pp. 160-171]]

ICC Profiles
Little CMS Color Engine
  • lcms is a CMM engine. Implements fast transforms between ICC profiles.
  • lcms is a library only for programmers.
  • lcms is FREE and does include SOURCE CODE.
  • lcms is a standalone engine. It doesn't rely on Windows ICM to work.

International Color Consortium (ICC)
www.color.org

Spec ICC.1:1998-09, File Format for Color Profiles (PDF file - 797 kb)
www.color.org/ICC-1_1998-09.PDF

Document ICC.1A:1999-04, Addendum 2 to Spec. ICC.1:1998-09 (PDF file - 32 kb)
http://www.color.org/ICC-1A_1999-04.PDF

ICC C Header File
http://www.color.org/icc34.h

LCDs LCD chromaticity coordinates as a function of ambient temperature for CyberDisplay active-matrix LCD:

Neugebauer Equations "The Neugebauer equations are considered the basic physical model for printing systems."
Marc Mahy and Paul Delabastita, "Inversion of the Neugebauer Equations,"
Color Research and Application, Vol 21, No 6, pp. 404-411

Isaac Amidror and Roger D. Hersch, "Neugebauer and Demichel:  Dependence and Independence in n-Screen Superpositions for Colour Printing," Color Research and Application, Vol 25, No 4, August 2000, pp. 267-277

Phosphors

Phosphor Handbook   

Pseudo Colors See False Colors
"Red Eye" Automatic Red-Eye Detection and Correction in Digdital Photographs
http://research.microsoft.com/en-us/um/people/leizhang/Paper/ICIP04-Lei.pdf

An Efficient Automatic Redeye Detection and Correction Algorithm
http://www.hpl.hp.com/research/isl/redeye/redeye-icpr.pdf

Automatic Red-Eye Detection and Correction
http://www.hpl.hp.com/personal/Robert_Ulichney/papers/2002-redeye-ICIP.pdf

John Carey's UseNet Post about "red eye" effect removal.
Nathan Stewart's UseNet Post commenting that John Carey's method does not work with brown eyes.

Towards automatic redeye effect removal, Pattern Recognition Letters, (24)11:  1767-1785, July 2003.

Reproduction

Color Reproduction -- The Basics
http://www.tu-harburg.de/rzt/tuinfo/periph/drucker/Color_Reproduktion

Reproducing Colors -- Technologies
[Fortner97, Chapter 8]

Restoration See Restoration on efg's Image Processing Algorithms page
Web Colors

"Color documents in the Internet era" from The Industrial Physicist 
http://www.tipmagazine.com/tip/INPHFA/vol-7/iss-3/p16.pdf 

The Web Wheel
www.colorwheelco.com/webwheel 

Which Color Palette?  Optimizing Web Graphics
http://webreference.com/dev/graphics/palette.html

Browser safe color palette
www.lynda.com/hex.html

Color Matters
www.colormatters.com

A Standard Default Color Space for the Internet - sRGB
www.color.org/sRGB.html

Improved Color for the World Wide Web
www.color.org/wpaper2.html

Murphy's Colour Palette
http://homepages.enterprise.net/murphy/colpal.html

ColorChart.gif (1060 bytes) efg's ColorCharts Lab Report shows how to display a color chart for comparison with a GretagMacbeth ColorChecker, or a chart of Netscape colors in hue order
White-Point Conversion pp. 17-21, Color Technology for Electronic Imaging Devices by Henry R. Kang

C2. Color Quantization

Balanced Palettes Gernot Hoffman's Balanced Palettes
www.fho-emden.de/~hoffmann/palette30082003.pdf 
Color Image Quantization for Frame Buffer Display Paul Heckbert's thesis at MIT:  www.cs.cmu.edu/~ph/ciq_thesis
Color Multithresholding Multithresholding of color and gray-level images through a neural network technique
Color Reduction

Adaptive Color Reduction
http://www.papamarkos.gr/uploaded-files/Papaparkos/Journals/Adaptive%20Color%20Reduction.pdf

Dithering See efg's Image Processing Reference Library Algorithms page
Gervautz-Purgathofer Octree Color Quantization algorithm

parrots.gif (3545 bytes)

"Wicked Code," by Jeff Prosise in the October 1997 Microsoft Systems Journal. www.microsoft.com/msj/1097/wicked1097.htm

Also see efg's ShowDemoOne or ShowDemoMany Lab Reports  for  Delphi implementations of this code.

ImageMagick's color reduction algorithm www.chemie.fu-berlin.de/chemnet/use/suppl/imagemagick/www/quantize.html 
NeuQuant: Fast High-Quality Image Quantization www.ozemail.com.au/~dekker/NEUQUANT.HTML
Octree Color Quantization By I. Ashdown, C/C++ Users Journal, 13(3):31-44. Includes good article (in Microsoft Word) about algorithm. Code here shows how to reduce 24-bit bitmap to 8-bit bitmap using optimized palette. Also see Color Quantization Bibliography (above).

http://www.cubic.org/~submissive/sourcerer/octree.htm 

Quantization and dithering Phil McRevis' UseNet Post with suggestion on best approach to reduce 24-bit pixels to 15-/16-bit pixels using Floyd-Steinberg dithering

C3. Palettes

Browser Safe Palette by Victor Engel
The no-dither Netscape color palette. 6 x 6 x 6 Color Palette (216 colors).
http://the-light.com/netcol.html

16x16x16 Color Palette (4096 Colors)
http://the-light.com/palettes.html 
[Note: This is a test for a non-windows environment. A Windows palette usually is limited to 236 colors, since 20 of the colors in 256-color mode are reserved.]

Combine pf4Bit Bitmaps
CombinePf4bit.gif (1266 bytes) efg's Combine pf4Bit Bitmaps Lab Report
Delphi-Specific Palette Information Color Section of efg's Delphi Graphics Algorithms Page
efg's Scanline Tech Note
FADEIN Sample App Uses Palette Animation & Identity Palettes
http://support.microsoft.com/kb/q149855/
Microsoft Windows Palette Manager www.compuphase.com/palette.htm
Palette Animation Demo By Ray Lischner in Delphi.
Look for pal10.zip at www.tempest-sw.com/freeware
Palette Lab efg's Palette Lab Report
Palette Manager: How and Why It Does What It Does http://support.microsoft.com/kb/q137372/
Palettes Made Plain -- Demystifying Microsoft Windows Palettes By Ray Lischner in the July 1998 Delphi Informant, pp. 34-43. Excellent article explaining basics of Windows palettes. Shows gradient palette and palette animation demo.
Palettes Self-Study Module Microsoft's Palettes Self-Study Module:  "... many, if not most, devices are not palette capable.  Low-end devices such as VGA just can't display enough colors at one time to be palette "aware."  High-end devices can display so many colors that they don't need to be palette aware.  These factors severely limit the market for applications reliant on palette manipulation." 

ftp://ftp.microsoft.com/softlib/mslfiles/PW0777.EXE 

PixelFormats and Palettes Siggraph '97 OpenGL and Window System Integration
www.xmission.com/~nate/siggraph97/notes/pixlfrmt.htm 
Simulating Palette Animation on Non-Palette Displays http://support.microsoft.com/kb/q130476/

SPECTRUM.gif (1072 bytes) efg's Cycle Colors Lab Report
Using Device-Independent Bitmaps and Palettes http://support.microsoft.com/kb/q72041/

Updated 6 Nov 2011
Since 10 Sept 1998