page_title: Color balance
section_title: Illuminant estimation and adaptation
hierarchical_section_title: Color balance / Illuminant estimation and adaptation
caption_attribution_description: English: Clifton Beach, South Arm, Tasmania, Australia. Français&#160;: Clifton Beach. Commune de South Arm, Tasmanie (Australie).
context_page_description: In photography and image processing, color balance is the global adjustment of the intensities of the colors. An important goal of this adjustment is to render specific colors – particularly neutral colors – correctly. Hence, the general method is sometimes called gray balance, neutral balance, or white balance. Color balance changes the overall mixture of colors in an image and is used for color correction. Generalized versions of color balance are used to correct colors other than neutrals or to deliberately change them for effect.
  Image data acquired by sensors – either film or electronic image sensors – must be transformed from the acquired values to new values that are appropriate for color reproduction or display. Several aspects of the acquisition and display process make such color correction essential – including that the acquisition sensors do not match the sensors in the human eye, that the properties of the display medium must be accounted for, and that the ambient viewing conditions of the acquisition differ from the display viewing conditions.
context_section_description: Most digital cameras have means to select color correction based on the type of scene lighting, using either manual lighting selection, automatic white balance, or custom white balance. The algorithms for these processes perform generalized chromatic adaptation.
  Many methods exist for color balancing.  Setting a button on a camera is a way for the user to indicate to the processor the nature of the scene lighting. Another option on some cameras is a button which one may press when the camera is pointed at a gray card or other neutral colored object. This captures an image of the ambient light, which enables a digital camera to set the correct color balance for that light.
  There is a large literature on how one might estimate the ambient lighting from the camera data and then use this information to transform the image data. A variety of algorithms have been proposed, and the quality of these has been debated. A few examples and examination of the references therein will lead the reader to many others. Examples are Retinex, an artificial neural network or a Bayesian method.
caption: A seascape photograph at Clifton Beach, South Arm, Tasmania, Australia. The white balance has been adjusted towards the warm side for creative effect.
exif: {"Image Make": "Canon", "Image Model": "Canon EOS 400D DIGITAL", "Image Orientation": "Horizontal (normal)", "Image XResolution": "79629/25", "Image YResolution": "79629/25", "Image ResolutionUnit": "Pixels/Inch", "Image Software": "Adobe Photoshop CS4 Windows", "Image DateTime": "2010:09:30 19:34:36", "Image Artist": "unknown", "Image ExifOffset": "236", "Thumbnail Compression": "JPEG (old-style)", "Thumbnail XResolution": "72", "Thumbnail YResolution": "72", "Thumbnail ResolutionUnit": "Pixels/Inch", "Thumbnail JPEGInterchangeFormat": "738", "Thumbnail JPEGInterchangeFormatLength": "5528", "EXIF ExposureTime": "15", "EXIF FNumber": "9", "EXIF ExposureProgram": "Aperture Priority", "EXIF ISOSpeedRatings": "100", "EXIF ExifVersion": "0221", "EXIF DateTimeOriginal": "2009:10:03 19:48:11", "EXIF DateTimeDigitized": "2009:10:03 19:48:11", "EXIF ShutterSpeedValue": "-3906891/1000000", "EXIF ApertureValue": "126797/20000", "EXIF ExposureBiasValue": "2/3", "EXIF MaxApertureValue": "139/32", "EXIF MeteringMode": "Partial", "EXIF Flash": "Flash did not fire, compulsory flash mode", "EXIF FocalLength": "13", "EXIF ColorSpace": "sRGB", "EXIF ExifImageWidth": "3762", "EXIF ExifImageLength": "2508", "EXIF FocalPlaneXResolution": "3888000/877", "EXIF FocalPlaneYResolution": "432000/97", "EXIF FocalPlaneResolutionUnit": "2", "EXIF CustomRendered": "Normal", "EXIF ExposureMode": "Auto Bracket", "EXIF WhiteBalance": "Manual", "EXIF SceneCaptureType": "Standard"}