I am considering some image processing algorithms for manipulating white balance. It seems that the previous Stackoverflow question answers the question about automatic white balance algorithms pretty well.
However, I am wondering how to convert from one temperature to another, i.e. making an assumption (and its big assumption) that the white balance algorithm can process the processed image (for example, JPEG, etc.) and set the overall temperature in the scene to 6500, how would you algorithmically “cool” or “warm” the scene to a certain temperature? This would be a normal operation in an image editing program, although they usually work with RAW images that do not have processed processing (manipulating color space or otherwise). In the case of RAW files - is it possible that individual RAW files contain enough information (in the file header) regarding the color calibration of the camera sensor to make a certain temperature transformation more deterministic?
Any input is appreciated - thanks!
trican
source share