IP Library › Granted Patent US 12,425,535
Granted Patent B2
US 12,425,535 · App. 18/262,809 · Granted Sep 23, 2025

Video processing method and apparatus, electronic device, and storage medium

Inventors: Hantao Cui (Shenzhen, CN); Weilong Hou (Shenzhen, CN); Guoqiao Chen (Shenzhen, CN); Yu Wang (Shenzhen, CN)
Assignee: HONOR DEVICE CO., LTD.
H04N7/0117G06T5/50G06T7/20H04N5/265H04N23/951G06T2207/20221
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,425,535
App. No.
18/262,809
Granted
Sep 23, 2025
Kind
B2
Abstract

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. 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.

Claims (72)

1. A video processing method, comprising:

determining one video storage resolution from a plurality of video storage resolutions;

determining one video style template among a plurality of video style templates, wherein each video style template is corresponding to a preset look up table (LUT);

obtaining a video through a camera, wherein the video is corresponding to a preset resolution;

snapping a corresponding image in the video as a snapped image in response to a snapping instruction;

processing the video by using a logarithm (LOG) curve corresponding to a current photosensitivity ISO of the camera, to obtain a LOG video;

processing the snapped image by using the LOG curve corresponding to the current photosensitivity ISO of the camera, to obtain a LOG-based snapped image;

converting the LOG video from the preset resolution to a determined video storage resolution if the determined video storage resolution is less than the preset resolution, and processing the LOG video based on a LUT corresponding to the determined video style template, to obtain a video corresponding to the determined video style template; and

processing the LOG-based snapped image based on the LUT corresponding to the determined video style template, to obtain a snapped image corresponding to the determined video style template, wherein a resolution of the snapped image is equal to the preset resolution.

2. The video processing method according to claim 1 , further comprising:

processing the LOG video based on the LUT corresponding to the determined video style template if the determined video storage resolution is equal to the preset resolution, to obtain a video corresponding to the determined video style template.

3. The video processing method according to claim 1 , wherein

the obtaining a video shot through a camera comprises:

alternately obtaining a video image of a first exposure frame and a video image of a second exposure frame, wherein a time for which the video image of a first exposure frame is exposed is greater than a time for which the video image of a second exposure frame is exposed; and

a process of snapping a corresponding image in the video as a snapped image in response to a snapping instruction comprises:

using the video image of a second exposure frame as a reference frame if a moving object is detected in a current video; or

using the video image of a first exposure frame as a reference frame if no moving object is detected in a current video; and

fusing a plurality of frames of video images into the snapped image based on the reference frame.

4. The video processing method according to claim 1 , wherein

before a process of processing the LOG-based snapped image based on the LUT corresponding to the determined video style template, to obtain a snapped image corresponding to the determined video style template, the method further comprises:

converting the LOG-based snapped image from 10-bit image data to 8-bit image data.

5. The video processing method according to claim 1 , wherein

in a first video processing procedure, a process of processing the video by using a logarithm (LOG) curve corresponding to a current photosensitivity ISO of the camera, to obtain a LOG video, and a process of processing the LOG video based on a LUT corresponding to the determined video style template, to obtain a video corresponding to the determined video style template are performed;

the video processing method further comprises a second video processing procedure, and the second video processing procedure comprises:

processing the video through the camera, by using a logarithm (LOG) curve, to obtain a LOG video; and

processing the LOG video based on a LUT corresponding to the determined video style template, to obtain a video corresponding to the determined video style template; and

the video processing method further comprises:

storing the video corresponding to the determined video style template in the first video processing procedure; and

previewing the video corresponding to the determined video style template in the second video processing procedure.

6. The video processing method according to claim 5 , wherein

a video resolution in the second video processing procedure is less than a resolution of the snapped image.

7. An electronic device, comprising:

a camera, a processor and a memory, wherein the memory is configured to store at least one instruction that, when executed by the processor, causes the electronic device to perform video processing operations comprising:

determining one video storage resolution from a plurality of video storage resolutions;

determining one video style template among a plurality of video style templates, wherein each video style template is corresponding to a preset look up table (LUT);

obtaining a video through a camera, wherein the video is corresponding to a preset resolution;

snapping a corresponding image in the video as a snapped image in response to a snapping instruction;

processing the video by using a logarithm (LOG) curve corresponding to a current photosensitivity ISO of the camera, to obtain a LOG video;

processing the snapped image by using the LOG curve corresponding to the current photosensitivity ISO of the camera, to obtain a LOG-based snapped image;

converting the LOG video from the preset resolution to a determined video storage resolution if the determined video storage resolution is less than the preset resolution, and processing the LOG video based on a LUT corresponding to the determined video style template, to obtain a video corresponding to the determined video style template; and

processing the LOG-based snapped image based on the LUT corresponding to the determined video style template, to obtain a snapped image corresponding to the determined video style template, wherein a resolution of the snapped image is equal to the preset resolution.

8. A non-transitory, computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is run on a computer, the computer is enabled to perform video processing operations comprising:

determining one video storage resolution from a plurality of video storage resolutions;

determining one video style template among a plurality of video style templates, wherein each video style template is corresponding to a preset look up table (LUT);

obtaining a video through a camera, wherein the video is corresponding to a preset resolution;

snapping a corresponding image in the video as a snapped image in response to a snapping instruction;

processing the video by using a logarithm (LOG) curve corresponding to a current photosensitivity ISO of the camera, to obtain a LOG video;

processing the snapped image by using the LOG curve corresponding to the current photosensitivity ISO of the camera, to obtain a LOG-based snapped image;

converting the LOG video from the preset resolution to a determined video storage resolution if the determined video storage resolution is less than the preset resolution, and processing the LOG video based on a LUT corresponding to the determined video style template, to obtain a video corresponding to the determined video style template; and

processing the LOG-based snapped image based on the LUT corresponding to the determined video style template, to obtain a snapped image corresponding to the determined video style template, wherein a resolution of the snapped image is equal to the preset resolution.

9. The electronic device according to claim 7 , further comprising:

processing the LOG video based on the LUT corresponding to the determined video style template if the determined video storage resolution is equal to the preset resolution, to obtain a video corresponding to the determined video style template.

10. The electronic device according to claim 7 , wherein

the obtaining a video shot-through a camera comprises:

alternately obtaining a video image of a first exposure frame and a video image of a second exposure frame, wherein a time for which the video image of a first exposure frame is exposed is greater than a time for which the video image of a second exposure frame is exposed; and

a process of snapping a corresponding image in the video as a snapped image in response to a snapping instruction comprises:

using the video image of a second exposure frame as a reference frame if a moving object is detected in a current video; or

using the video image of a first exposure frame as a reference frame if no moving object is detected in a current video; and

fusing a plurality of frames of video images into the snapped image based on the reference frame.

11. The electronic device according to claim 7 , wherein

before a process of processing the LOG-based snapped image based on the LUT corresponding to the determined video style template, to obtain a snapped image corresponding to the determined video style template, the video processing operations further comprise:

converting the LOG-based snapped image from 10-bit image data to 8-bit image data.

12. The electronic device according to claim 7 , wherein

in a first video processing procedure, a process of processing the video by using a logarithm (LOG) curve corresponding to a current photosensitivity ISO of the camera, to obtain a LOG video, and a process of processing the LOG video based on a LUT corresponding to the determined video style template, to obtain a video corresponding to the determined video style template are performed;

the video processing operations further comprise a second video processing procedure, and the second video processing procedure comprises:

processing the video through the camera, by using a logarithm (LOG) curve, to obtain a LOG video; and

processing the LOG video based on a LUT corresponding to the determined video style template, to obtain a video corresponding to the determined video style template; and

the video processing operations further comprise:

storing the video corresponding to the determined video style template in the first video processing procedure; and

previewing the video corresponding to the determined video style template in the second video processing procedure.

13. The electronic device according to claim 12 , wherein

a video resolution in the second video processing procedure is less than a resolution of the snapped image.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 13, 2023
From: CUI, HANTAO; HOU, WEILONG; CHEN, GUOQIAO; WANG, YU
To: HONOR DEVICE CO., LTD.
Reel/Frame 065852/0531 →
Priority Claims (1)
CN 202110926946.0 · Aug 12, 2021 · national
Continuity (1)
Related Publication 20240073360A1 · Feb 29, 2024
References Cited (20)
US 7847827B2 · Shin · 2010 [cited by applicant]
US 9338349B2 · Sharma · 2016 [cited by examiner]
US 20100158366A1 · Brown · 2010 [cited by applicant]
US 20130083212A1 · Baek et al. · 2013 [cited by applicant]
US 20140307960A1 · Sharma et al. · 2014 [cited by applicant]
US 20140358005A1 · Hiriyannaiah · 2014 [cited by examiner]
US 20190052790A1 · Kang et al. · 2019 [cited by applicant]
CN 101163221A · 2008 [cited by applicant]
CN 102572451A · 2012 [cited by applicant]
CN 105578014A · 2016 [cited by applicant]
CN 109688340A · 2019 [cited by applicant]
CN 110121882A · 2019 [cited by applicant]
CN 111510698A · 2020 [cited by applicant]
CN 111698388A · 2020 [cited by applicant]
CN 111970440A · 2020 [cited by applicant]
CN 112767295A · 2021 [cited by applicant]
CN 113810642A · 2021 [cited by applicant]
JP 2005284168A · 2005 [cited by applicant]
WO 2011019101A1 · 2011 [cited by applicant]
Hongbin Zhang; “Adaptive Imaging Control System Based on Traffic Video Analysis”; Journal of Southwest Jiaotong Unive r sity; May 31, 2018; 8 pages (with English abstract). [cited by applicant]