Image Color Adjustment via CIELAB Transformation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing image processing methods for electronic devices often result in image distortion when directly adjusting a single color component in the RGB color space, leading to false contour effects and unsatisfactory color saturation.
Innovation Solution
The method involves transforming pixel data from a first color space to the CIELAB color space, adjusting the luminance and color components, and then transforming it back to the original color space using a specific color adjusting model to enhance color saturation without distortion.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If a single color component of the image is directly adjusted or improved in the RGB color space, then the color saturation of the image can be improved, but the image may distort and the color may become too bright which results in a false contour effect
Solution Approach 1:
The patent introduces an intermediary color space (HSV, HSL, or LAB) as a mediator between the RGB color space and the adjusted color output. Instead of directly adjusting RGB components, the method transforms RGB to the intermediary color space, adjusts only the saturation component (S in HSV/HSL or a*/b* in LAB), and then transforms back to RGB. This intermediary approach allows selective saturation enhancement without directly manipulating the problematic RGB components, thereby avoiding false contour effects and image distortion while achieving the desired color saturation improvement.
2Illumination intensity
If color saturation is improved by adjusting RGB components, then the image appears brighter and more vibrant, but false contour effects occur
Solution Approach 1:
The patent applies local quality adjustment by selectively modifying only the saturation component in the intermediary color space while keeping the luminance component unchanged. This localized adjustment approach ensures that only the color intensity is enhanced without affecting the brightness distribution, thereby achieving vibrant colors without introducing false contour effects that result from improper brightness modulation in direct RGB adjustment.
Data Source
AI summary
An image color adjusting method and an electronic device thereof are provided. The image color adjusting method includes following steps: obtaining multiple groups of first pixel data of an image in a first color space, and performing a color space transforming process for the first pixel data to obtain multiple groups of second pixel data of the image in a CIELAB color space, wherein each of the second pixel data includes a luminance component L*, a first color component a* and a second color component b*; adjusting the first color component and the second color component of the second pixel data to obtain multiple groups of third pixel data, and performing a color space transforming process for the third pixel data to obtain multiple groups of fourth pixel data corresponding to the third pixel data in the first color space.


