Video Processing With LOG Curves and LUTs for High-Fidelity Grading
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current mobile phone video filters fail to meet high color grading requirements, and existing video processing methods do not effectively apply look-up tables (LUTs) to achieve desired video styles and resolutions.
Innovation Solution
A video processing method that utilizes a logarithmic (LOG) curve and LUTs to process video streams in real-time, allowing for high color grading and style effects, even at lower storage resolutions, by converting video and snapped images using a camera's ISO and LUTs corresponding to determined video style templates.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If a filter principle is used in shooting mode to capture video, then the video processing is simple and fast, but the color grading quality cannot meet high requirements
Solution Approach 1:
The patent applies LOG curve processing to the video stream during recording, transforming the video data into a logarithmic color space that preserves more luminance information. This preliminary transformation enables high-quality color grading to be performed later through LUT processing, resolving the contradiction between simple filtering and high-quality color grading.
Solution Approach 2:
The patent introduces LUT (Look-Up Table) as an intermediary processing step between the captured video and the final output. The LUT serves as a pre-calculated mapping that transforms LOG-encoded video into various color styles, enabling high-quality color grading without requiring complex real-time processing algorithms.
2Manufacturing precision
If video is processed with high resolution to maintain image details, then image quality is improved, but storage space and processing load increase
Solution Approach 1:
The patent changes the color space parameter from linear to logarithmic (LOG) during video capture. This parameter transformation allows the video to store more luminance information efficiently, enabling high-quality image details to be preserved with better storage efficiency. The LOG encoding compresses the dynamic range in a way that maintains detail quality while optimizing storage utilization.
Applied Scientific Principles
This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.
Function Achieved in This Case
Enables videos to achieve movie-quality color grading and high-definition snapped images, maintaining image details and tone consistency, regardless of storage resolution.
Implementation Method 1
the lens is configured to project light onto the photosensitive element and the photosensitive element is configured to convert light projected onto it by the lens into electrical signals
Data Source
Figure 1
Figure 2
Figure 3~4
AI summary
Embodiments of this application relate to the technical field of video shooting, and provide a video processing method and apparatus, an electronic device, and a storage medium, to enable a video shot through the electronic device to present a different style effect based on a characteristic of a LUT, meeting a higher color grading requirement. The video processing method includes: determining one video storage resolution; determining one video style template; obtaining a video shot through a camera lens; snapping a corresponding image in the video as a snapped image in response to a snapping instruction; processing the video by using a LOG curve; processing the snapped image by using the LOG curve; converting a LOG video into a determined video storage resolution if the determined video storage resolution is less than a preset resolution, and processing the LOG video based on a LUT; and processing a LOG-based snapped image based on the LUT, where a resolution of the snapped image is equal to the preset resolution.