Interactive White Balance Adjustment for Photographic Images

Due to different lighting conditions, white or gray areas in a photograph may not be displayed as neutral white or gray. White balance correction rescales the pixel values in the image in order to make gray areas display correctly.
This Demonstration lets you adjust the white balance of the entire photograph by analyzing a presumed gray pixel in the image and adjusting the remaining pixels proportionally. A pixel with red, green, and blue intensities is assumed to be neutral gray when .
Putting the locator in the original image on top of a pixel converts it in the right image to neutral gray and recalculates the remaining pixels, making the complete image "white balanced."
  • Contributed by: Erik Mahieu
  • With coding help from: Giulio Alessandrini

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]

DETAILS

Reference
[1] Wikipedia. "Color Balance." (Jun 30, 2015) en.wikipedia.org/wiki/Color_balance.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.