White Balance Algorithm for Face Region Using Background Color
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing white balance algorithms in mobile terminals often require user-setting and fail to match the actual scene, leading to poor white balance effects in images taken under different lighting conditions.
Innovation Solution
A method that extracts color characteristics from the background region of an image to match with specific application conditions of a white balance algorithm for the face region, adjusting the image to achieve accurate skin color representation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If user-setting manner is adopted to select white balance algorithm, then user has control over the process, but the white balance algorithm may not match with actual scene resulting in poor white balance effect
Solution Approach 1:
The system automatically analyzes the background region color characteristics and selects the appropriate white balance algorithm without requiring user intervention. The processor extracts color information from the background region and autonomously determines which white balance algorithm to apply, making the system self-serve the white balance adjustment need.
Solution Approach 2:
The system changes the parameter of algorithm selection based on the extracted color characteristics of the background region. By analyzing color parameters such as color temperature and hue from the background, the system dynamically selects the most suitable white balance algorithm to match the actual lighting conditions.
2Reliability
If automatic algorithm selection is implemented, then white balance effect is improved, but system complexity increases
Solution Approach 1:
The system segments the image into face region and background region, and further segments the background region into multiple color zones. By analyzing color characteristics of different zones separately and combining their weighted average, the system achieves accurate color temperature detection without requiring complex full-image analysis.
Solution Approach 2:
The system introduces color characteristic extraction as an intermediary step between image capture and white balance processing. The extracted color information from the background region serves as a mediator that guides the selection of appropriate white balance algorithms, simplifying the overall decision-making process.
Data Source
AI summary
A white balance method for an image and a terminal device are provided. The image includes a face region and a background region. The method includes extracting a color characteristic from the background region in the image, wherein the color characteristic is configured for indicating color distribution of the background region; matching the color characteristic with at least one application condition of a white balance algorithm for the face region, wherein the white balance algorithm is configured to adjust the face region in the image to be in a skin color; and performing a white-balance processing on the face region in the image according to the white balance algorithm in response to the color characteristic being matched with a corresponding one of the at least one application condition.


