Frequently Asked Questions
To implement a Fixed White Balancing Algorithm, convention is to follow the following steps:
- Take an image of a sample white region of the picture.
- That is, ensure that the median of the region is less than the maximum value a pixel can take.
- Take either median of each of the red, green and blue values in the sample white region.
- Multiply the red and blue pixels by a gain value such that the median of the red and blue planes is the same as the green plane
Note: The black level should be set to 0.
Here is a good pdf on how to do color balancing:
Here are general websites for color balancing: