Hi David
White balance is fundamentally about getting a neutral gray object to have equal R,G and B values in the processed image. The raw RGB values are not equal as a result of two main factors
- The unequal response to spectrally uniform light of the three channels in the camera
- The spectral response of the actual illuminant is not uniform
When the camera does it's calculation of how to correct for these two factors, it comes up with a set of channel multipliers which are embedded in the raw file. eg Rx1.5, G x1, B x0.95. It is these multipliers that are used by the raw processor to implement White Balance. The contribution to these multipliers from 1 above will always be the same for a given camera however the contribution from 2 above varies according to the nature of the illuminant. For this reason, a white balance adjustment is seen as adjusting for the illuminant, which is characterised by a correlated color temperature.
The raw processing software calculates the color temperature from the multiplier values, a camera color profile and the known color characteristics of black body radiators at different temperatures. However because real life illuminants aren't true black body radiators, there is also a tint factor introduced to make allowance for this.
So the color temperature is never actually measured, it is just a conventional and convenient way of organising the software user interface.
This is a very simplified account of course.
Dave