title: White balance algorithm
body: <p>I'm doing some image processing and I need an automatic white balancing algorithm that's not too intensive in terms of CPU computation time. Any recommendations?</p>
  
  <p>EDIT: and if it's relevant to efficiency, I'll be implementing it in Java with color images as an array of integers.</p>