Urban / Remco – I’m not quite sure what either of you are arguing here. If you have a dispute with the term AWB, then perhaps you have a point and a better name like “automated colour cast removal tool” might be a more appropriate name for the functionality. If you are suggesting that it is impossible to create an algorithm that works 100% if the time, then I would have to agree with you as well. Does it have anything to do with the actual colour temperature; well perhaps not, because it has the same drawbacks as a reflected light metering system; it is based on some assumptions that do not always hold.
On the other hand if you suggest that a technique that provides an overall neutral colour balance to an image is not a valid approach, then I will have to strongly disagree with you. This technique has been around for a very long time. When I was doing colour darkroom work as a hobbiest over 30 years ago, my Durst Color Analyser worked exactly this way. It would take an overall reading of the colour negative and averaged everything out and allowed me to produce prints with an overall neutral colour. Just like the AWB function in a camera, it would be fooled by specific lighting conditions or specific subject matter. There were spot colorimeters available that allowed one to target skin tones and neutral targets, much like modern PP works. In fact, some of the basic functions in Lightroom and ACR / Photoshop seem to work exactly the same way
Just like the autofocus, metering and many other camera functions, these can be fooled and are not 100% reliable, the same can be said for AWB. That being said, it works adequately for most people, most of the time, so what is the issue? Frankly I have enough shots that work that even working from the basic RAW image does not give me a correct colour balace because of the large number of different light sources; but in the end, the images do work.