Method, TV set and system for recognizing TV station logo
First Claim
1. A method for recognizing a TV station logo, comprising:
- receiving position information of opaque portions of a standard TV station logo from a server, the position information being obtained in a coordinate system;
obtaining a TV screen image;
for each pre-stored standard TV station logo, selecting, according to the position information of the opaque portions of the standard TV station logo, an area from the TV screen image as a matching area of the opaque portions of the standard TV station logo;
converting a color space of the TV screen image into a converted color space in which luminance and chrominance of the TV screen image are separated;
for each standard TV station logo, calculating a difference between a luminance value of each pixel in the opaque portions of the standard TV station logo and a luminance value of a corresponding pixel in the matching area, wherein calculating comprises;
for each pixel in the opaque portions of the standard TV station logo, detecting whether the luminance value of the pixel is 0; and
if the luminance value of the pixel is not 0, calculating the difference between the luminance value of the pixel and the luminance value of the corresponding pixel in the matching area;
summing the differences for all the calculated pixels in the opaque portions of the standard TV station logo so as to obtain a matching value; and
determining the TV station logo in the TV screen image according to the standard TV station logo with a minimum matching value.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure discloses a method, a TV set and a system for recognizing a TV station logo. The method includes: obtaining a TV screen image; for each of a plurality of pre-stored standard TV station logos, selecting a matching area of the standard TV station logo from the TV screen image according to position information of the standard TV station logo, the position information indicating a position of the standard TV station logo in a TV screen; and recognizing a TV station logo in the TV screen image by matching the standard TV station logos with their respective matching areas. The present disclosure reduces the size of the matching area for logo recognition, solves the low speed problem of conventional logo recognition methods due to the selected matching area being large, and brings the effects of reducing the matching area and improving the speed for logo recognition.
-
Citations
13 Claims
-
1. A method for recognizing a TV station logo, comprising:
-
receiving position information of opaque portions of a standard TV station logo from a server, the position information being obtained in a coordinate system; obtaining a TV screen image; for each pre-stored standard TV station logo, selecting, according to the position information of the opaque portions of the standard TV station logo, an area from the TV screen image as a matching area of the opaque portions of the standard TV station logo; converting a color space of the TV screen image into a converted color space in which luminance and chrominance of the TV screen image are separated; for each standard TV station logo, calculating a difference between a luminance value of each pixel in the opaque portions of the standard TV station logo and a luminance value of a corresponding pixel in the matching area, wherein calculating comprises; for each pixel in the opaque portions of the standard TV station logo, detecting whether the luminance value of the pixel is 0; and if the luminance value of the pixel is not 0, calculating the difference between the luminance value of the pixel and the luminance value of the corresponding pixel in the matching area; summing the differences for all the calculated pixels in the opaque portions of the standard TV station logo so as to obtain a matching value; and determining the TV station logo in the TV screen image according to the standard TV station logo with a minimum matching value. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A TV set, comprising:
-
one or more processors; a TV screen and a memory, wherein the processor is configured to execute instructions for; receiving position information of opaque portions of a standard TV station logo from a server, the position information being obtained in a coordinate system; obtaining a TV screen image; for each pre-stored standard TV station logo, selecting, according to the position information of the opaque portions of the standard TV station logo, an area from the TV screen image as a matching area of the opaque portions of the standard TV station logo; converting a color space of the TV screen image into a converted color space in which luminance and chrominance of the TV screen image are separated; for each standard TV station logo, calculating a difference between a luminance value of each pixel in the opaque portions of the standard TV station logo and a luminance value of a corresponding pixel in the matching area, wherein calculating comprises; for each pixel in the opaque portions of the standard TV station logo, detecting whether the luminance value of the pixel is 0; and if the luminance value of the pixel is not 0, calculating the difference between the luminance value of the pixel and the luminance value of the corresponding pixel in the matching area; summing the differences for all the calculated pixels in the opaque portions of the standard TV station logo so as to obtain a matching value; and determining the TV station logo in the TV screen image according to the standard TV station logo with a minimum matching value. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory computer-readable storage medium having stored therein instructions that, when executed by one or more processors of a TV set, cause the TV set to perform:
-
receiving position information of opaque portions of a standard TV station logo from a server, the position information being obtained in a coordinate system; obtaining a TV screen image; for each pre-stored standard TV station logo, selecting, according to the position information of the opaque portions of the standard TV station logo, an area from the TV screen image as a matching area of the opaque portions of the standard TV station logo; converting a color space of the TV screen image into a converted color space in which luminance and chrominance of the TV screen image are separated; for each standard TV station logo, calculating a difference between a luminance value of each pixel in the opaque portions of the standard TV station logo and a luminance value of a corresponding pixel in the matching area, wherein calculating comprises; for each pixel in the opaque portions of the standard TV station logo, detecting whether the luminance value of the pixel is 0; and if the luminance value of the pixel is not 0, calculating the difference between the luminance value of the pixel and the luminance value of the corresponding pixel in the matching area; summing the differences for all the calculated pixels in the opaque portions of the standard TV station logo so as to obtain a matching value; and determining the TV station logo in the TV screen image according to the standard TV station logo with a minimum matching value.
-
Specification