Auto White Balancing Utility Algorithm Primary Software: Driver Software>>Vision Acquisition SoftwarePrimary Software Version: 2.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: How does Auto Calculate Gains work in the White Balancing Utility? Solution: The White Balancing Utility determines what R, G and B gains to apply during the Bayer decoding process so that we get a picture that accurately represents the colors. It operates on the raw grayscale values. First, the user marks a region on the camera and tells the program that the pixel values in that area are white. The program then knows the grayscale values in those regions and knows that after Bayer conversion they should be white (255, 255, 255), so it knows what scaling (gain) to apply to each color to achieve that result. By doing the appropriate math to get these gains for each color, the program determines the gains that it will apply to the entire image and the auto white balancing is complete. Related Links: NI Developer Zone: Bayer Encoding for Color Images Attachments:
Report Date: 05/02/2007 Last Updated: 05/03/2007 Document ID: 491H21P9 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
