White Balance Adjustment Using Exposure Parameters and Pixel Color Data
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Traditional image processing technologies fail to effectively compensate for color differences in images captured across various lighting environments, leading to suboptimal image quality.
Innovation Solution
A white balance adjustment method that determines a first white balance gain based on environmental illumination modes, calculated using exposure time, exposure gain, and aperture values, and adjusts the white balance gain using a second gain derived from pixel three-primary-color values, combining environmental and pixel data for improved compensation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If white balance gain is determined only by three-primary-color values of pixel points, then the calculation process is simple, but the color difference compensation in different lighting environments is insufficient
Solution Approach 1:
The patent combines two white balance determination methods: (1) traditional three-primary-color value analysis, and (2) new method using brightness value plus exposure parameters (exposure time, exposure gain, aperture value). These two approaches are merged to calculate a comprehensive white balance gain that leverages both pixel color data and environmental illumination data, thereby improving color compensation accuracy while maintaining computational feasibility.
Solution Approach 2:
The patent introduces an intermediary variable - the environmental illumination mode - which is determined by mapping the calculated illumination value (derived from brightness and exposure parameters) to predefined illumination modes. This intermediary serves as a bridge between raw sensor data and the final white balance adjustment, enabling the system to adapt to different lighting conditions (sunny, cloudy, indoor, artificial light) more effectively.
2Productivity
If traditional three-primary-color value method is used, then the processing speed is fast, but the adaptability to different lighting environments is poor
Solution Approach 1:
The patent performs preliminary calculation of the illumination value using the formula: illumination value = brightness value × exposure time × exposure gain × aperture value. This pre-computed illumination value is then mapped to environmental illumination modes before the final white balance adjustment. By preparing this environmental context information in advance, the system can quickly adapt to different lighting conditions without adding significant processing overhead during image capture.
Data Source
Figure 1A~1B
Figure 2~3
Figure 4
AI summary
The application provides a white balance adjustment method, apparatus, camera, and medium. This method includes: obtaining a current image taken by the camera; determining a brightness value of the image and the acquisition parameter values with which the image is captured by the camera, in which the acquisition parameter values includes the exposure time, the exposure gain and the aperture value with which the image is captured by the camera; determining the first white balance gain, according to brightness value, exposure time, exposure gain and aperture value; calculating a second white balance gain with which the image is captured by the camera, according to the three-primary-color values of the pixel points of the image; adjusting the white balance gain of the camera according to the first white balance gain and the second white balance gain. The white balance gain determined by the embodiment of this application may better compensate for the color difference of the image taken by the camera.