Method, electronic apparatus and storage medium for detecting a static logo of a video

US11710315B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11710315-B2
Application numberUS-202117443843-A
CountryUS
Kind codeB2
Filing dateJul 28, 2021
Priority dateJul 30, 2020
Publication dateJul 25, 2023
Grant dateJul 25, 2023

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.

A method for detecting a static logo of a video, an electronic apparatus and a storage medium. The method includes: calculating a pixel grayscale flag value, an edge gradient flag value and an edge direction flag value; calculating, in a preset neighborhood centered on the pixel at each pixel position of the current video frame, a first local confidence degree of the pixel grayscale flag value, a second local confidence degree of the edge gradient flag value, and a third local confidence degree of the edge direction flag value respectively; calculating a contribution score of each local confidence degree and a total contribution score of each pixel position; and gathering the total contribution score of each pixel position of the current video frame, and determining a static logo in the current video frame according to the total contribution score of each pixel position.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method for detecting a static logo of a video, comprising: calculating an absolute value of a difference value between a pixel grayscale value of each pixel position in a current video frame and a pixel grayscale value of a corresponding pixel position in an immediately preceding video frame, and obtaining a pixel grayscale flag value of the each pixel position according to the absolute value; calculating a grayscale gradient between a pixel at each pixel position in the current video frame and a pixel in a preset neighborhood of the pixel, and obtaining an edge gradient flag value of each pixel position according to the grayscale gradient; determining a pixel position having an edge according to the grayscale gradient, and determining an edge direction of a pixel at the pixel position having the edge according to the grayscale gradient of the pixel at the pixel position having the edge; calculating, in the preset neighborhood centered on the pixel at the pixel position having the edge in the current video frame, a local direction correlation coefficient between the edge direction of the pixel at the pixel position having the edge in the current video frame and an edge direction of a pixel at the corresponding pixel position of the immediately preceding video frame, and determining an edge direction flag value of the pixel at the pixel position having the edge according to the local direction correlation coefficient; calculating, in a preset neighborhood centered on the pixel at each pixel position in the current video frame, a first local confidence degree of the pixel grayscale flag value, a second local confidence degree of the edge gradient flag value, and a third local confidence degree of the edge direction flag value respectively; calculating a first contribution score of the first local confidence degree, a second contribution score of the second local confidence degree and a third contribution score of the third local confidence degree respectively, and calculating a total contribution score of the first contribution score, the second contribution score and the third contribution score; and gathering the total contribution score of each pixel position of the current video frame, and determining a static logo in the current video frame according to the total contribution score of each pixel position. 2. The method for detecting a static logo of a video according to claim 1 , wherein said obtaining a pixel grayscale flag value of the each pixel position according to the absolute value comprises: assigning a value of 1 to the pixel grayscale flag value when the absolute value is less than a grayscale difference threshold, and assigning a value of 0 to the pixel grayscale flag value when the absolute value is greater than or equal to the grayscale difference threshold. 3. The method for detecting a static logo of a video according to claim 1 , wherein said calculating a grayscale gradient between a pixel at each pixel position in the current video frame and a pixel in a preset neighborhood of the pixel, and obtaining an edge gradient flag value of each pixel position according to the grayscale gradient comprises: calculating a grayscale gradient between a current pixel of the current video frame and a pixel in the preset neighborhood of the current pixel using a gradient operator with a size of m*n; assigning a value of 1 to the edge gradient flag value of the current pixel when the grayscale gradient is greater than a gradient threshold; and assigning a value of 0 to the edge gradient flag value when the grayscale gradient is less than or equal to the gradient threshold. 4. The method for detecting a static logo of a video according to claim 1 , wherein said determining a pixel position having an edge according to the grayscale gradient, and determining an edge direction of a pixel at the pixel position having the edge according to the grayscale gradient of the pixel at the pixel position having the edge comprises: determining the pixel position as the pixel position having the edge if the grayscale gradient is greater than a gradient threshold; and determining an edge direction of the pixel at the pixel position having the edge according to the pixel position having the edge and a change trend of the grayscale gradient of a pixel at a pixel position within the preset neighborhood. 5. The method for detecting a static logo of a video according to claim 1 , wherein said calculating, in the preset neighborhood centered on the pixel at the pixel position having the edge in the current video frame, a local direction correlation coefficient between the edge direction of a pixel at the pixel position having the edge in the current video frame and an edge direction of the pixel at the corresponding pixel position of the immediately preceding video frame, and determining an edge direction flag value of the pixel at the pixel position having the edge according to the local direction correlation coefficient comprises: obtaining, in the preset neighborhood centered on the pixel at the current pixel position having the edge, a local direction correlation coefficient between an edge direction of the pixel at the current pixel position having the edge and an edge direction of the pixel at the corresponding pixel position of an immediately preceding video frame according to any of a least squares correlative method, a mean-square error method and a structural similarity index method; assigning a value of 1 to the edge direction flag value of the current pixel position having the edge when the local direction correlation coefficient is greater than a preset direction correlation coefficient threshold; and assigning a value of 0 to the edge direction flag value of the current pixel position having the edge when the local direction correlation coefficient is less than or equal to the preset direction correlation coefficient threshold. 6. The method for detecting a static logo of a video according to claim 5 , wherein in the mean-square error (MSE) method, the local direction correlation coefficient is calculated according to MSE = 1 M * N ⁢ ∑ i = 1 N ⁢ ∑ j = 1 M ⁢ (  f t ⁡ ( i , j ) -

Assignees

Inventors

Classifications

  • G06V20/40Primary

    in video content (extracting overlay text G06V20/62; video retrieval G06F16/70; processing of video elementary streams in video servers H04N21/234; processing of video elementary streams in video clients H04N21/44) · CPC title

  • Matching criteria, e.g. proximity measures · CPC title

  • using feature-based methods · CPC title

  • Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components · CPC title

  • Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames · 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 US11710315B2 cover?
A method for detecting a static logo of a video, an electronic apparatus and a storage medium. The method includes: calculating a pixel grayscale flag value, an edge gradient flag value and an edge direction flag value; calculating, in a preset neighborhood centered on the pixel at each pixel position of the current video frame, a first local confidence degree of the pixel grayscale flag value,…
Who is the assignee on this patent?
Amlogic Shanghai Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06V20/40. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 25 2023 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 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).