HDR Image Generation Using Pixel Count Ratio Expansion
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
HDR image merging processes are time-consuming, requiring significant hardware resources and leading to high power consumption and costs.
Innovation Solution
Calculating expansion factors based on the pixel count ratio of dark and saturate areas in a normal-exposure frame, allowing direct mapping of pixel values from LDR frames to HDR space without real-time camera response function calculation, reducing the need for extensive hardware resources.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If traditional HDR merging methods are used to combine multiple exposure frames, then HDR image quality is improved, but processing time and computational resources increase significantly
Solution Approach 1:
The patent extracts and removes the computationally intensive camera response function calculation step from the HDR merging process. By pre-calibrating the camera response function offline and only performing simple pixel value mapping during actual HDR merging, the method retains HDR image quality while dramatically reducing processing time and computational resource requirements.
Solution Approach 2:
The patent performs the complex camera response function calibration in advance during an offline preprocessing stage. This preliminary action stores the response characteristics in lookup tables, so that during real-time HDR merging, only simple value substitutions are needed rather than complex calculations, thus resolving the time-quality contradiction.
2Measurement precision
If online calculation of camera response function is performed for each LDR frame, then measurement accuracy is improved, but hardware resource consumption and power usage increase
Solution Approach 1:
The patent separates the heavy computational task of camera response function calculation from the online processing stage. By extracting this function and pre-computing it offline, the method maintains measurement precision through accurate response characterization while eliminating the need for continuous high-power calculations during HDR merging, thus reducing power consumption.
Solution Approach 2:
The patent creates a simplified copy of the camera response function in the form of lookup tables that store pre-computed mapping relationships. Instead of performing complex calculations for each frame, the system copies and applies these pre-stored values, maintaining accuracy while minimizing computational energy expenditure during real-time operation.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A method for generating HDR (High Dynamic Range) images, performed by a processing unit, the method at least containing: acquiring a frame 0; obtaining frame statistics information at least includes a first pixel count for a dark area and a second pixel count for a saturate area; calculating the ratio according to the first pixel count and the second pixel count; calculating a first expansion factor and a second expansion factor according to the ratio and the exposure setting of the frame 0; expanding the frame 0 to HDR space using the first expansion factor; expanding a frame 1 to the HDR space using the second expansion factor; and fusing the expanded frame 0 with the expanded frame 1.