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

US12401916B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12401916-B2
Application numberUS-202218274326-A
CountryUS
Kind codeB2
Filing dateMay 24, 2022
Priority dateAug 12, 2021
Publication dateAug 26, 2025
Grant dateAug 26, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

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 style template among a plurality of video style templates, where each video style template is corresponding to a preset look up table LUT; obtaining a video shot through a camera lens; processing the video shot through the camera lens by using a logarithm LOG curve corresponding to a current photosensitivity ISO of the camera lens, 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.

First claim

Opening claim text (preview).

What is claimed is: 1. A video processing method, comprising: determining a first video style template among a plurality of video style templates, wherein each video style template of the plurality of video style templates corresponds to a preset look up table (LUT); obtaining a video shot through a camera; dividing the video shot into two video data streams; processing the two video data streams through the camera by using a logarithm (LOG) curve corresponding to a current photosensitivity ISO of the camera, to obtain two LOG videos; processing the two LOG videos based on a LUT corresponding to the first video style template, to obtain a first video and a second video, wherein the first video and the second video correspond to the first video style template; saving the first video; previewing the second video; and storing one frame of image of the second video as a picture, wherein the picture is the image in which a display effect is adjusted by the first video style template. 2. The video processing method according to claim 1 , wherein processing the two LOG videos based on the LUT corresponding to the first video style template, to obtain a first video and a second video, wherein the first video and the second video correspond to the first video style template, comprises: establishing cube interpolation space based on the LUT, wherein the LUT is a 3D-LUT; determining a cube to which each pixel in each LOG video belongs in the cube interpolation space, wherein the cube is divided into six tetrahedrons; determining a tetrahedron to which each pixel in each LOG video belongs; converting a pixel value of a pixel corresponding to a vertex of the cube into a pixel value processed by using the LUT; and performing interpolation, based on the tetrahedron to which each pixel belongs, on a pixel not corresponding to the vertex of the cube, and converting the pixel value into a pixel value obtained by LUT processing. 3. The video processing method according to claim 2 , wherein the cube has a 0 th vertex to a 7 th vertex, a direction from the 0 th vertex to a 1 st vertex is a coordinate axis direction of a blue B channel, a direction from the 0 th vertex to a 4 th vertex is a coordinate axis direction of a red R channel, a direction from the 0 th vertex to a 2 nd vertex is a coordinate axis direction of a green G channel, the 0 th vertex, the 1 st vertex, the 2 nd vertex, and a 3 rd vertex are located in a same plane, the 1 st vertex, the 3 rd vertex, a 5 th vertex, and the 7 th vertex are located in a same plane, the 4 th vertex, the 5 th vertex, a 6 th vertex, and the 7 th vertex are located in a same plane, and the 0 th vertex, the 2 nd vertex, the 4 th vertex, and the 6 th vertex are located in a same plane; the 0 th vertex, the 1 st vertex, the 5 th vertex, and the 7 th vertex form a first tetrahedron, the 0 th vertex, the 1 st vertex, the 3 rd vertex, and the 7 th vertex form a second tetrahedron, the 0 th vertex, the 2 nd vertex, the 3 rd vertex, and the 7 th vertex form a third tetrahedron, the 0 th vertex, the 4 th vertex, the 5 th vertex, and the 7 th vertex form a fourth tetrahedron, the 0 th vertex, the 4 th vertex, the 6 th vertex, and the 7 th vertex form a fifth tetrahedron, the 0 th vertex, the 2 nd vertex, the 6 th vertex, and the 7 th vertex form a sixth tetrahedron; performing interpolation, based on the tetrahedron to which each pixel belongs, on the pixel not corresponding to the vertex of the cube, and converting the pixel value into a pixel value obtained by LUT processing comprises: generating a pixel value VE (R, G, B) of a E channel obtained by LUT processing based on a current pixel (R, G, B), wherein E is R, G, and B respectively; VE (R, G, B)=VE (R0, G0, B0)+(delta_valueR_E×deltaR+delta_valueG_E×deltaG+delta_valueB_E×deltaB+(step_size>>1))/(step_size); VE (R0, G0, B0) is a pixel value of a E channel obtained by LUT processing at the 0 th vertex (R0, G0, B0), wherein E is R, G, and B respectively; delta_valueR is a difference between pixel values of the R channel that are obtained by LUT processing and that are of two vertices in the coordinate axis direction of the R channel corresponding to the tetrahedron to which the current pixel belongs, delta_valueG is a difference between pixel values of the G channel that are obtained by LUT processing and that are of two vertices in the coordinate axis direction of the G channel corresponding to the tetrahedron to which the current pixel belongs, and delta_valueB is a difference between pixel values of the B channel that are obtained by LUT processing and that are of two vertices in the coordinate axis direction of the B channel corresponding to the tetrahedron to which the current pixel belongs; deltaR is a difference between an R value in the current pixel (R, G, B) and an R0 value at the 0 th vertex (R0, G0, B0), deltaG is a difference between a G value in the current pixel (R, G, B) and a G0 value at the 0 th vertex (R0, G0, B0), and deltaB is a difference between a B value in the current pixel (R, G, B) and a B0 value at the 0 th vertex (R0, G0, B0); and step_size is a side length of the cube, and >>represents a right shift operation. 4. The video processing method according to claim 1 , wherein before processing the two LOG videos based on the LUT corresponding to the first video style template, to obtain the first video and the second video, wherein the first video and the second video correspond to the first video style template, the method further comprises: converting each LOG video from a LOG video in RGB color space to LOG videos in YUV color space; and performing YUV denoising on each LOG video in the YUV color space, to obtain denoised LOG videos. 5. The video processing method according to claim 4 , wherein before processing the two LOG videos based on the LUT corresponding to the first video style template, to obtain the first video and the second video, wherein the first video and the second video correspond to the determined video style template, the method further comprises: converting the denoised LOG videos from LOG videos in RGB color space to LOG videos in YUV color space; and after processing the two LOG videos based on the LUT corresponding to the first video style template, to obtain the video corresponding to the first video style template, the method further comprises: converting a video in RGB color space corresponding to the first video style template into a video in YUV color space. 6. The video processing method according to claim 1 , wherein before processing the two LOG videos based on the LUT corresponding to the first video style template, to obtain the first video and the second video, wherein the first video and the second video correspond to the determined video style template, the method further comprises: storing the two LOG videos. 7. The video processing method according to claim 1 , wherein before processing the two LOG videos based on the LUT corresponding to the first video style template, to obtain the first video and the second video, wherein the first video and the second video correspond to the first video style template, the method further comprises: converting the two LOG videos into videos with a Rec.709 color standard; and storing the videos with the Rec.709 color standard. 8. An electronic device, comprising: a camera, a processor and a memory, wherein the memory is configured to store at least one instruction, and when the at least one instruction is loaded and executed by the processor, the electronic device is caused to perform: determining a first video style template among a plurality of video style templates, wherein each video style templa

Assignees

Inventors

Classifications

  • Processing of colour television signals in connection with recording · CPC title

  • for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters · CPC title

  • Mixing · CPC title

  • for obtaining special effects (H04N9/65 - H04N9/73 take precedence) · CPC title

  • for controlling the level of the chrominance signal, e.g. by means of automatic chroma control circuits · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12401916B2 cover?
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 style template among a plurality of video style templates, where each video style template is corresponding to a preset look up table LUT; obtaining a video sh…
Who is the assignee on this patent?
Honor Device Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04N23/843. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Aug 26 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).