Image Color Mapping Using Gamma and 2D LUTs
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing electronic devices face challenges in implementing three-dimensional lookup tables (3D LUTs) for image processing due to high storage and computational requirements, particularly in devices with performance constraints.
Innovation Solution
The method employs a two-dimensional lookup table in conjunction with gamma processing to reduce computational load, using a first mapping in gamma processing and a second mapping in the two-dimensional lookup table to process images, allowing for efficient color correction and style adjustment.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If a three-dimensional lookup table (3D LUT) is used for color correction and image style adjustment, then image processing quality is improved, but storage size and computing capability requirements increase significantly
Solution Approach 1:
The patent divides the 3D LUT processing into two separate 2D LUT processing stages. First, a luminance mapping table processes the luminance component, and second, a color mapping table processes the color components. This segmentation reduces the computational complexity from three-dimensional interpolation to two separate two-dimensional lookups, significantly lowering storage requirements and computing power needs while maintaining image processing quality.
2Adaptability or versatility
If a three-dimensional lookup table (3D LUT) is implemented, then color correction and image style adjustment capabilities are enhanced, but power consumption and performance constraints are exceeded
Solution Approach 1:
The patent segments the image processing into luminance processing and color processing stages, using separate 2D mapping tables. This reduces the computational load and power consumption compared to a full 3D LUT implementation, making it suitable for electronic devices with performance and power constraints while still providing comprehensive color correction and image style adjustment capabilities.
3Manufacturing precision
If a three-dimensional lookup table (3D LUT) is used, then comprehensive color mapping is achieved, but computational load becomes unacceptable for constrained devices
Solution Approach 1:
The patent separates color mapping into two sequential 2D lookup operations: first mapping luminance values, then mapping color values based on the corrected luminance. This segmentation reduces computational load from complex 3D interpolation to simpler 2D lookups, making comprehensive color mapping feasible for devices with limited computational resources.
Solution Approach 2:
The patent introduces an intermediate luminance mapping stage that serves as a mediator between the original image and the final color-corrected image. By first correcting luminance and then applying color corrections based on the corrected luminance values, the system achieves comprehensive color mapping with reduced computational complexity compared to direct 3D LUT processing.
Data Source
AI summary
An image processing method and an electronic device are disclosed. The image processing method includes: displaying a first screen in a first shooting mode, where the first screen includes a first control; detecting a first operation on the first control; in response to the first operation, determining a first mapping in gamma processing and a second mapping in a two-dimensional lookup table, where the first mapping corresponds to the first control, the second mapping corresponds to the first control, and the first mapping is associated with the second mapping; obtaining a to-be-processed image; and processing the to-be-processed image based on the first mapping and the second mapping to obtain a first image. On the basis of the technical method of this application, computational load of electronic devices during image processing can be effectively reduced.


