FIELD: data processing.
SUBSTANCE: invention relates to digital signal processing. Method of comparing an image with a template, in which an image is obtained, above the obtained image and the template, transformation is performed beforehand and correlation is calculated between the converted image and the template. Gradient conversion is carried out above the obtained image and the template using the following algorithm: for each pixel of the image, the difference between the values of the current pixel and the left pixel is calculated l = img(x, y)-img(x-1, y), the difference between the values of the current pixel and the upper pixel u = img(x, y)-img(x, y-1), difference between values of current pixel and upper-right pixel ru = img(x, y)-img(x + 1, y-1), then generating gradient images of template and obtained image, where each pixel is equal to maximum value from calculated grad (x, y) = max (l, u, ru), after obtaining gradient images correlation is calculated between them, and if correlation satisfies specified value, it is concluded that image contains desired template.
EFFECT: technical result consists in improvement of accuracy of determining conformity of an image and a template.
3 cl, 4 dwg
Title | Year | Author | Number |
---|---|---|---|
METHOD OF ELIMINATING SEAMS WHEN CREATING PANORAMIC IMAGES FROM VIDEO STREAM OF FRAMES IN REAL-TIME | 2016 |
|
RU2647645C1 |
METHOD OF AUTOMATIC CLASSIFICATION OF VEHICLES | 2012 |
|
RU2486597C1 |
METHOD OF DETECTING HOLOGRAPHIC ELEMENTS IN VIDEO STREAM | 2017 |
|
RU2644513C1 |
METHOD FOR GENERATING PANORAMIC IMAGES FROM VIDEO STREAM OF FRAMES IN REAL TIME MODE | 2016 |
|
RU2626551C1 |
METHOD OF IDENTIFYING MULTIMEDIA DATA STREAM FRAMES BASING ON CORRELATION ANALYSIS OF FRAME IMAGES HISTOGRAMS | 2015 |
|
RU2607415C2 |
METHOD OF IDENTIFYING INSERT FRAMES IN MULTIMEDIA DATA STREAM | 2012 |
|
RU2506640C2 |
METHOD FOR DETECTING THE LOGO OF A TV CHANNEL IN A TELEVISION BROADCAST | 2021 |
|
RU2771212C1 |
METHOD OF TELEVISION CHANNEL LOGO DETECTION IN TELEVISION BROADCAST | 2020 |
|
RU2738025C1 |
METHOD OF TELEVISION CHANNEL LOGO DETECTION IN TELEVISION BROADCAST | 2020 |
|
RU2739716C1 |
VIDEO STREAM ANALYSIS METHOD | 2018 |
|
RU2676026C1 |
Authors
Dates
2020-11-27—Published
2020-03-13—Filed