Logo detection module, timing controller comprising same and driving method thereof

The logo detection module generates and matches logo images through its preprocessing and compensation units, thus solving the degradation problem caused by logos in organic light-emitting display devices and achieving stable detection and compensation of logos.

CN117373405BActive Publication Date: 2026-11-24LX SEMICON CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310551908.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2022-07-06
Filing Date
2023-05-16
Publication Date
2026-11-24
Estimated Expiration
2043-05-16

AI Technical Summary

Technical Problem

Organic light-emitting display devices are prone to degradation due to the presence of logos, and it is difficult to reliably detect semi-transparent logos.

Method used

The logo detection module performs preprocessing to generate a logo image and perform matching. The logo template generation unit and the logo compensation unit are used to match and compensate the logo pixels, and a logo compensation signal is generated to correct the pixel data.

Benefits of technology

It reduces degradation caused by logos and enables stable detection of logos, especially effective identification and compensation of semi-transparent logos.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117373405B_ABST
    Figure CN117373405B_ABST
Patent Text Reader

Abstract

This application relates to a logo detection module, a timing controller therein, and a driving method thereof. A logo detection module includes: a preprocessing unit that extracts local image data corresponding to a predetermined logo detection window region from image data, and obtains grayscale values ​​based on the RGB pixel values ​​of multiple pixels included in the extracted local image data; a logo template generation unit that calculates the cumulative grayscale average value of each pixel based on the grayscale values ​​of the multiple pixels obtained using the first local image data, determines logo pixels based on the calculated cumulative grayscale average value of each pixel, and generates a logo image including the logo pixels; and a logo compensation unit that matches multiple pixels included in the second local image data extracted from the second image data input after the logo image is generated with the logo pixels included in the logo image to calculate a matching rate, and determines logo compensation based on the calculated matching rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to a logo detection module capable of reducing degradation caused by a logo, a timing controller including the logo detection module, and a driving method for the logo detection module. Background Technology

[0002] With the development of the information society, the demand for display devices for displaying images has increased in various forms. Recently, various display devices such as organic light-emitting diode (OLED) devices and liquid crystal display (LCD) devices have been used.

[0003] Among display devices, organic light-emitting diode (OLED) displays are self-emissive and offer advantages over liquid crystal displays (LCDs) such as superior viewing angles and contrast ratios, the elimination of the need for a separate backlight (resulting in lighter weight and thinner profiles), and lower power consumption. Furthermore, OLED displays are driven by low direct current (DC) voltages, have fast response times, and, most importantly, lower manufacturing costs.

[0004] However, due to the characteristics of organic light-emitting elements, organic light-emitting display devices are prone to degradation. Specifically, in organic light-emitting elements, degradation accelerates when the same high brightness data is maintained continuously, and thus residual images can remain. Summary of the Invention

[0005] This disclosure aims to provide a logo detection module capable of reducing degradation caused by logos, a timing controller including the logo detection module, and a driving method for the logo detection module.

[0006] In addition, this disclosure also provides a logo detection module capable of reliably detecting semi-transparent logos, a timing controller including the logo detection module, and a driving method for the logo detection module.

[0007] A logo detection module according to an embodiment of the present disclosure includes: a preprocessing unit configured to extract local image data corresponding to a predetermined logo detection window area from image data, and obtain grayscale values ​​based on the RGB pixel values ​​of a plurality of pixels included in the extracted local image data; a logo template generation unit configured to calculate a cumulative grayscale average value for each pixel based on the grayscale values ​​of a plurality of pixels obtained from first local image data extracted from first image data input from a first setting time or more, determine logo pixels based on the calculated cumulative grayscale average value for each pixel, and generate a logo image including the logo pixels; and a logo compensation unit configured to match a plurality of pixels included in second local image data extracted from second image data input after the logo image is generated with the logo pixels included in the logo image to calculate a matching rate, and determine logo compensation based on the calculated matching rate.

[0008] A timing controller according to another embodiment of the present disclosure includes: a logo detection module configured to, based on first image data input at a first set time, calculate the cumulative grayscale average of each of a plurality of pixels included in a logo detection window region, generate a logo image based on the calculated cumulative grayscale average, and compare second image data input after generating the logo image with the logo image to determine whether a logo is detected and generate a compensation signal; and a data processing unit configured to, according to the compensation signal, change the brightness of pixels included in the region in the second image data where the logo is detected.

[0009] A driving method for a logo detection module according to another embodiment of the present disclosure includes: calculating the cumulative grayscale average value of each of a plurality of pixels based on first image data input at a first setting time; identifying pixels among the plurality of pixels whose calculated cumulative grayscale average value exceeds a first threshold as logo target pixels; removing pixels from the logo target pixels whose grayscale change value exceeds a second threshold when the number of logo target pixels is greater than or equal to a predetermined value; and identifying logo target pixels as logo pixels when the number of logo target pixels does not change during a second setting time, and generating a logo image indicating the identified logo pixels. Attached Figure Description

[0010] The accompanying drawings are included to provide a further understanding of this disclosure and are incorporated in and constitute a part of this application. The drawings illustrate embodiments of the disclosure and, together with the description, serve to illustrate the principles of the disclosure. In the drawings:

[0011] Figure 1 This is a block diagram illustrating a display device according to one embodiment of the present disclosure;

[0012] Figure 2 This is an example Figure 1 The diagram shows the structure of the logo detection module.

[0013] Figure 3 This is a diagram used to describe the logo detection window area;

[0014] Figure 4 This is an example Figure 2 A block diagram illustrating the construction of the logo template generation unit;

[0015] Figure 5 This is an example image illustrating a logo;

[0016] Figure 6 This is an example Figure 2 A block diagram illustrating the construction of the logo compensation unit in the diagram;

[0017] Figure 7 It is a graph used to describe the change of the compensation gain value as a function of the background.

[0018] Figure 8 This is a flowchart illustrating a driving method for a logo detection module according to one embodiment of the present disclosure; and

[0019] Figure 9 This is a flowchart illustrating a method for generating a logo template. Detailed Implementation

[0020] The same reference numerals are used throughout the specification to refer to substantially the same components. In the following description, details of components and functions not related to the core components of this disclosure, as well as those known in the art, may be omitted. The terms described herein should be understood as follows.

[0021] The advantages and features of this disclosure, as well as methods for implementing them, will become clear from the detailed description of the embodiments taken in conjunction with the accompanying drawings. However, this disclosure is not limited to the embodiments described below and can be implemented in different forms. These embodiments are provided only to fully disclose the contents of this disclosure and to fully convey its scope to those skilled in the art, and this disclosure is limited only by the disclosed claims.

[0022] The same reference numerals are used throughout the specification to refer to the same components. Furthermore, in the description of this disclosure, detailed descriptions of relevant known technologies will be omitted where it is determined that such detailed descriptions might unnecessarily obscure the principles of this disclosure.

[0023] When using terms such as "comprising," "having," or "formed from," as mentioned in the instruction manual, other components may be added unless "only" is used. Unless otherwise specifically stated, the singular form of a component includes cases containing a plural form.

[0024] Describing time relationships, such as those described as “then,” “after,” “next,” “before,” etc., may include discontinuous relationships unless “immediately” or “directly” is used.

[0025] The terms "first," "second," etc., are used to describe various components, but these components are not limited by these terms. These terms are only used to distinguish one component from another. Therefore, within the technical spirit of this disclosure, the first component described below can be the second component.

[0026] It should be understood that the term "at least one" includes all combinations that can be derived from one or more related items. For example, "at least one of the first, second, and third items" can mean not only each of the first, second, and third items, but also all combinations of items that can be derived from two or more of the first, second, and third items.

[0027] The features of the various embodiments of this disclosure can be combined, technically linked and driven in various ways in part or in whole, and the embodiments can be implemented independently of each other or together in an associated relationship.

[0028] The embodiments of this specification will be described in detail below with reference to the accompanying drawings.

[0029] Figure 1 This is a block diagram illustrating a display device according to one embodiment of the present disclosure.

[0030] The display device 100 according to one embodiment of the present disclosure performs a display function and can be implemented as a flat panel display device such as a liquid crystal display (LCD) device or an organic light-emitting diode display (OLED) device.

[0031] like Figure 1 As shown, the display device 100 according to this disclosure includes a host system 110, a display panel 105, and a display driver for driving the display panel 105.

[0032] The display panel 105 includes a display area with a plurality of pixels P for displaying images. The display panel 105 includes a plurality of data lines D1 to Dn (n is a positive integer greater than or equal to 2), a plurality of gate lines G1 to Gm (m is a positive integer greater than or equal to 2), and a plurality of pixels P.

[0033] Each of the multiple data lines D1 to Dn receives a data signal. Each of the multiple gate lines G1 to Gm receives a gate signal. The multiple data lines D1 to Dn and the multiple gate lines G1 to Gm are configured to intersect each other on the substrate to define multiple pixels P. Each of the multiple pixels P can be connected to any one of the multiple data lines D1 to Dn and any one of the multiple gate lines G1 to Gm. Each of the multiple pixels P may include a driving transistor, a scan transistor that is turned on by the gate signal of the gate line to provide the data voltage of the data line to the gate electrode of the driving transistor, an organic light-emitting diode that emits light according to the drain-source current of the driving transistor, and a capacitor for storing the voltage of the gate electrode of the driving transistor. Therefore, each of the multiple pixels P can emit light according to the current supplied to the organic light-emitting diode.

[0034] The display driver provides data signals to a plurality of pixels P included in the display panel 105 to display an image through the display panel 105. For this purpose, the display driver may include a data driver 112, a strobe driver 114, and a timing controller 116.

[0035] The data driver 112 receives pixel data PDATA and data control signal DCS from the timing controller 116.

[0036] In one implementation, the data driver 112 can receive clock embedded data signal (CEDS) packets from the timing controller 116 and obtain clock signals, data control signals (DCS), and pixel data (PDATA) from the CEDS packets. Here, a CEDS packet can refer to a packet in which a clock is embedded between data segments.

[0037] In the following description, for ease of description, the scenario in which data driver 112 receives a CEDS packet including pixel data PDATA and data control signal DCS from timing controller 116 is described, but this disclosure is not limited thereto. Data driver 112 may receive each of pixel data PDATA and data control signal DCS from timing controller 116.

[0038] The data driver 112 converts the digital pixel data PDATA into analog positive / negative data signals according to the data control signal DCS, so as to provide the analog positive / negative data signals to the pixel P through multiple data lines D1 to Dn.

[0039] The gating driver 114 receives the gating control signal GCS from the timing controller 116. The gating driver 114 provides gating signals to multiple gating lines G1 to Gm according to the gating control signal GCS.

[0040] Specifically, under the control of the timing controller 116, the gating driver 114 generates a gating signal (or scan signal) synchronized with the data signal, and sequentially provides the gating signal to gating lines G1 to Gm while shifting the generated gating signal. For this purpose, the gating driver 114 may include multiple gating driver ICs (not shown). The gating driver ICs, under the control of the timing controller 116, can sequentially provide the gating signal synchronized with the data signal to multiple gating lines G1 to Gm to select the data line where the data signal is written. The gating signal can oscillate between a high gating voltage and a low gating voltage.

[0041] The timing controller 116 receives digital video data VDATA and timing signals TSS from the host system 110. The timing signals TSS may include a reference clock signal (e.g., a dot clock), a vertical sync signal, a horizontal sync signal, a data enable signal, etc. The vertical sync signal defines a frame duration. The horizontal sync signal defines a horizontal duration required to provide data signals to pixels P in a horizontal row of the display panel 105. The data enable signal defines a duration for inputting valid data. The dot clock is a signal that repeats at a predetermined short period.

[0042] The timing controller 116 includes a data processing unit (not shown) that uses digital video data VDATA and timing signal TSS to generate pixel data PDATA, data control signal DCS and gating control signal GCS.

[0043] The data processing unit of the timing controller 116 can generate a data control signal DCS for controlling the operation timing of the data driver 112 and a gating control signal GCS for controlling the operation timing of the gating driver 114 based on the timing signal TSS, so as to control the operation timing of the data driver 112 and the gating driver 114.

[0044] The data processing unit of the timing controller 116 can convert digital video data VDATA into pixel data PDATA by aligning it with the pixel structure formed on the display panel 105. For example, the data processing unit can use a predetermined conversion method to convert digital video data VDATA of three colors (red, green, and blue) into pixel data PDATA of four colors (white, red, green, and blue) and align the pixel data PDATA. Furthermore, the data processing unit can also correct the pixel data PDATA using various types of image processing, such as image quality compensation, external compensation, degradation compensation, and logo compensation.

[0045] Specifically, a display device 100 according to one embodiment of this disclosure includes a logo detection module 115 for logo compensation. For example... Figure 1As shown, the logo detection module 115 may be included in the timing controller 116, but this disclosure is not limited thereto. In another embodiment, the logo detection module 115 may be included in a configuration other than the timing controller 116, or it may be a separate, independent configuration.

[0046] The logo detection module 115 can detect logos in the digital video data VDATA for each frame and generate a logo compensation signal when a logo is detected. The logo detection module 115 can provide the logo compensation signal to the data processing unit of the timing controller 116. The data processing unit of the timing controller 116 can correct the pixel data PDATA according to the logo compensation signal. The following will refer to... Figures 2 to 7 A detailed description of the logo detection module 115.

[0047] During the display driving period, the timing controller 116 outputs pixel data PDATA and data control signal DCS to the data driver 112, and outputs gating control signal GCS to the gating driver 114.

[0048] The host system 110 converts the digital video data VDATA into a format suitable for display on the display panel 105. The host system 110 transmits the timing signal TSS along with the digital video data VDATA to the timing controller 116. The host system 110 can be implemented as any of a television system, set-top box, navigation system, digital multi-disc (DVD) player, Blu-ray player, electronic board, kiosk system, personal computer (PC), home theater system, and telephone system to receive input images.

[0049] Figure 2 This is an example Figure 1 The diagram shown illustrates the structure of the logo detection module. Figure 3 This is a diagram used to describe the logo detection window area. Figure 4 This is an example Figure 2 A block diagram illustrating the construction of the logo template generation unit, and Figure 5 This is an example image illustrating a logo. Figure 6 This is an example Figure 2 A block diagram of the construction of the logo compensation unit in the diagram, and Figure 7 It is a graph used to describe the change of the compensation gain value as a function of the background.

[0050] Reference Figures 2 to 7 The logo detection module 115 detects logos in the digital video data VDATA input from the host system 110 and generates a logo compensation signal when a logo is detected. For this purpose, the logo detection module 115 includes a preprocessing unit 210, a logo template generation unit 220, and a logo compensation unit 230.

[0051] The preprocessing unit 210 preprocesses the digital video data VDATA to obtain the grayscale value of each pixel among multiple pixels. In this case, the digital video data VDATA may include image data from multiple frames, and the image data from multiple frames may be divided into first image data and second image data depending on whether a logo image is present. The first image data may be the image data input when the logo image is absent (that is, before the logo image is generated). The second image data may be the image data input when the logo image is present (that is, after the logo image is generated).

[0052] The preprocessing unit 210 may include a region extraction unit 212 and a grayscale conversion unit 214 to perform preprocessing on the image data of each frame.

[0053] When a frame of image data is input, the region extraction unit 212 can extract local image data corresponding to the predetermined logo detection window region WA from the image data. For example... Figure 3 As shown, the logo detection window region WA can correspond to the region within the display area DA of the image displayed on the display panel 105 where the probability of logo detection is high. The logo detection window region WA can be determined based on statistical analysis of the regions where logos are detected in various images.

[0054] Considering the frequency of logo detection, at least one logo detection window area WA can be set. For example, such as Figure 3 As shown, the logo detection window area WA may include a first logo detection window area WA1 located in the upper left corner, a second logo detection window area WA2 located in the upper right corner, a third logo detection window area WA3 located in the lower left corner, and a fourth logo detection window area WA4 located in the lower right corner. As a result of statistical analysis of the areas where logos are detected, when the logo detection frequency appears in the order of the first logo detection window area WA1, the second logo detection window area WA2, the third logo detection window area WA3, and the fourth logo detection window area WA4, the first logo detection window area WA1 and the second logo detection window area WA2 can be ultimately determined as the logo detection window area WA. Alternatively, all of the first logo detection window areas WA1 to the fourth logo detection window areas WA4 can be ultimately determined as the logo detection window area WA.

[0055] When multiple logo detection window regions WA exist, the region extraction unit 212 can extract local image data for each of the multiple logo detection window regions WA. For example, when the logo detection window regions WA include a first logo detection window region WA1 and a second logo detection window region WA2, the region extraction unit 212 can extract first region image data corresponding to the first logo detection window region WA1 from the image data, and can extract second region image data corresponding to the second logo detection window region WA2 from the image data.

[0056] The grayscale conversion unit 214 uses the extracted local image data to obtain the grayscale value of each of the plurality of pixels included in the logo detection window region WA. The local image data may include the RGB pixel values ​​of each of the plurality of pixels included in the logo detection window region WA. The grayscale conversion unit 214 can use the RGB pixel values ​​of the plurality of pixels included in the local image data to obtain the grayscale value.

[0057] In one implementation, grayscale conversion unit 214 can use Equation 1 to obtain the grayscale value of each of the plurality of pixels included in the logo detection window region WA.

[0058] [Formula 1]

[0059] gray=(R+G+B) / 3

[0060] Here, gray represents the grayscale value of the corresponding pixel, R represents the red value of the corresponding pixel, G represents the green value of the corresponding pixel, and B represents the blue value of the corresponding pixel. Since the preprocessing unit 210 of the logo detection module 115 aims only to detect logos rather than improve image quality, the same weight of 1 / 3 can be applied to the red, green, and blue values.

[0061] According to one embodiment of the present disclosure, the logo detection module 115 can convert RGB values, which include three color values, into grayscale values ​​as a single color value through the preprocessing unit 210, thereby reducing the memory required for logo detection.

[0062] The preprocessing unit 210 can provide the grayscale values ​​of multiple pixels obtained using local image data to the logo template generation unit 220 or the logo compensation unit 230, depending on whether a logo image is present or not.

[0063] When no logo image exists, the preprocessing unit 210 can extract first local image data corresponding to a predetermined logo detection window region WA from the first image data input before generating the logo image. The preprocessing unit 210 can use the first local image data to obtain the grayscale value of each of the plurality of pixels included in the logo detection window region WA. The preprocessing unit 210 can then provide the grayscale value of each of the plurality of pixels obtained using the first local image data to the logo template generation unit 220.

[0064] When a logo image exists, the preprocessing unit 210 can extract second local image data corresponding to a predetermined logo detection window region WA from the second image data input after generating the logo image. The preprocessing unit 210 can use the second local image data to obtain the grayscale value of each of the plurality of pixels included in the logo detection window region WA. The preprocessing unit 210 can then provide the grayscale value of each of the plurality of pixels obtained using the second local image data to the logo compensation unit 230.

[0065] The logo template generation unit 220 generates a logo image using first local image data provided by the preprocessing unit 210. In one embodiment, when multiple logo detection window regions WA exist, the logo template generation unit 220 can generate a logo image for each of the multiple logo detection window regions WA. Specifically, the logo template generation unit 220 can receive first region image data of the first logo detection window region WA1 and second region image data of the second logo detection window region WA2 from the preprocessing unit 210. The logo template generation unit 220 can generate a first logo image based on the first region image data and a second logo image based on the second region image data.

[0066] like Figure 4 As shown, the logo template generation unit 220 includes a cumulative average calculation unit 420, a logo pixel determination unit 430, a logo image generation unit 450, and a logo image storage unit 470. In one embodiment, the logo template generation unit 220 may include at least one of a logo existence prediction unit 410, a first logo validity check unit 440, a logo feature extraction unit 460, and a second logo validity check unit 480.

[0067] The logo presence prediction unit 410 predicts the presence of a logo in the logo detection window area WA. Specifically, the logo presence prediction unit 410 can predict whether the first local image data includes a logo. The logo presence prediction unit 410 can predict the presence of a logo based on the number of pixels expected to be the logo among the multiple pixels included in the first local image data.

[0068] In one implementation, the logo presence prediction unit 410 can identify a pixel with a grayscale value greater than or equal to a first reference value as a logo. In this case, the logo presence prediction unit 410 can check the number of pixels with grayscale values ​​greater than or equal to the first reference value among the plurality of pixels included in the first local image data, and predict that the first local image data includes a logo when the number of checked pixels is greater than or equal to the first value.

[0069] The cumulative average calculation unit 420 uses the first local image data input within a first set time period to calculate the cumulative grayscale average of each pixel. The cumulative average calculation unit 420 can calculate the cumulative grayscale average of each pixel based on the grayscale values ​​of multiple pixels included in the first local image data.

[0070] In one implementation, for each input of first image data in a frame, the cumulative average calculation unit 420 can sum the grayscale values ​​of each of the plurality of pixels included in the first local image data. When the first setting time is completed, the cumulative average calculation unit 420 can calculate the cumulative grayscale average by dividing the summed grayscale value by the total number of frames.

[0071] For example, for description purposes, the cumulative average calculation unit 420 may include an accumulation buffer (not shown) that stores the grayscale value of each of a plurality of pixels. The accumulation buffer may store 0 as an initial value. When first local image data is input, the cumulative average calculation unit 420 may store the grayscale value of each of the plurality of pixels included in the first local image data in the accumulation buffer. In this case, the cumulative average calculation unit 420 may add the corresponding grayscale value to the value stored in the accumulation buffer and store the summed value in the accumulation buffer. When a first set time (e.g., five seconds) has elapsed, the cumulative average calculation unit 420 may calculate the cumulative grayscale average by dividing the cumulative grayscale value stored in the accumulation buffer by the number of frames. Here, the number of frames may represent the number of frames of the image data input in five seconds.

[0072] In another embodiment, for each input of first image data of a frame, the cumulative average calculation unit 420 can calculate the cumulative grayscale average of each of the plurality of pixels included in the first local image data based on the grayscale value.

[0073] For example, for the purpose of description, the cumulative average calculation unit 420 may include a cumulative buffer (not shown) that stores the cumulative grayscale average of each of a plurality of pixels. The cumulative buffer may store 0 as an initial value. When first local image data is input, the cumulative average calculation unit 420 may calculate a new cumulative grayscale average based on the grayscale value of each of the plurality of pixels included in the first local image data and the cumulative grayscale average stored in the cumulative buffer up to the previous frame.

[0074] Specifically, the accumulation buffer can store the cumulative grayscale average value for each pixel calculated based on the first local image data from the first frame to the (N-1)th frame. When the image data of the Nth frame is input, the cumulative average value calculation unit 420 can calculate a new cumulative grayscale average value for each pixel based on the grayscale value of each of the multiple pixels included in the first local image data of the Nth frame and the cumulative grayscale average value for each pixel stored in the accumulation buffer. Furthermore, the cumulative average value calculation unit 420 can update the accumulation buffer with the new cumulative grayscale average value for each pixel.

[0075] Compared to the implementation that accumulates and sums grayscale values ​​for each input of a first frame of image data, the implementation described above, which calculates the cumulative grayscale average for each input of a first frame of image data, has the advantage of reducing memory capacity. In the implementation that accumulates and sums grayscale values ​​for each input of a first frame of image data, the bit depth of the memory is increased to store the accumulated grayscale values, and therefore, the memory capacity can be increased.

[0076] Furthermore, the cumulative average calculation unit 420 can calculate the cumulative grayscale average regardless of whether a logo is present when the first local image data is input, but this disclosure is not limited thereto.

[0077] In one embodiment, when the logo presence prediction unit 410 predicts that the first local image data includes a logo, the cumulative average calculation unit 420 can use the first local image data input at the first setting time to calculate the cumulative grayscale average of each pixel. When the first local image data does not include a logo, since the cumulative grayscale average of each pixel is not calculated, the logo detection module 115 according to one embodiment of the present disclosure can reduce the load and shorten the logo detection time based on the calculation.

[0078] The logo pixel determination unit 430 determines the logo pixel among the plurality of pixels included in the logo detection window region WA. The logo pixel determination unit 430 can determine the logo pixel among the plurality of pixels included in the first local image data based on the cumulative grayscale average of each pixel.

[0079] Specifically, the logo pixel determination unit 430 includes a logo target pixel determination unit 432 and a logo non-target pixel removal unit 434.

[0080] The logo target pixel determination unit 432 can determine at least two or more pixels from a plurality of pixels as logo target pixels based on the cumulative grayscale average value. The logo target pixel determination unit 432 can examine the cumulative grayscale average value of each of the plurality of pixels calculated by the cumulative average value calculation unit 420, and since the logo has a high probability of high brightness, the logo target pixel determination unit 432 can determine pixels whose cumulative grayscale average value exceeds a first threshold as logo target pixels. On the other hand, the logo target pixel determination unit 432 can determine pixels from the plurality of pixels whose cumulative grayscale average value is less than or equal to the first threshold as normal pixels.

[0081] The logo target pixel determination unit 432 can check the number of logo target pixels and initialize the cumulative grayscale average value of each pixel stored in the cumulative buffer when the number of logo target pixels is less than a second value.

[0082] Logo non-target pixel removal unit 434 removes logo non-target pixels from the logo target pixels using the first local image data input after the logo target pixels have been determined.

[0083] The logo non-target pixel removal unit 434 can determine logo non-target pixels based on grayscale variation values. The logo non-target pixel removal unit 434 can obtain the grayscale value of the pixel corresponding to the logo target pixel from the first local image data input after the logo target pixel has been determined. The logo non-target pixel removal unit 434 can calculate the difference between the obtained grayscale value and the cumulative grayscale average of the logo target pixel, and determine pixels whose calculated difference exceeds a second threshold as logo non-target pixels.

[0084] Furthermore, the logo non-target pixel removal unit 434 can use the grayscale values ​​of multiple pixels included in the first local image data input after the logo target pixel has been determined to calculate a new cumulative grayscale average. In this case, when the difference between the acquired grayscale value and the cumulative grayscale average of the logo target pixel is too large, the logo non-target pixel removal unit 434 can reduce the newly calculated cumulative grayscale average to achieve rapid convergence. For example, the logo non-target pixel removal unit 434 can divide the newly calculated cumulative grayscale average by 2 when the difference between the acquired grayscale value and the cumulative grayscale average of the logo target pixel exceeds a third threshold.

[0085] According to one embodiment, the logo non-target pixel removal unit 434 can set different reduction rates for the newly calculated cumulative grayscale average value based on the difference between the acquired grayscale value and the cumulative grayscale average value of the logo target pixels. The logo non-target pixel removal unit 434 can set a larger reduction rate as the difference between the acquired grayscale value and the cumulative grayscale average value of the logo target pixels increases.

[0086] As described above, even when the difference between the acquired grayscale value and the cumulative grayscale average is large, the logo non-target pixel removal unit 434 can quickly reduce the difference between the acquired grayscale value and the cumulative grayscale average over several frames without reducing the cumulative grayscale average.

[0087] The logo non-target pixel removal unit 434 can remove identified logo non-target pixels from the logo target pixels. The logo non-target pixel removal unit 434 can check the number of logo target pixels and initialize the cumulative grayscale average value of each pixel stored in the cumulative buffer when the number of logo target pixels is less than a second value. Furthermore, the logo non-target pixel removal unit 434 can reset the first setting time of the cumulative average value calculation unit 420 and recalculate the cumulative grayscale average value of each pixel.

[0088] Since the logo is usually unchanged, the logo non-target pixel removal unit 434 can identify the remaining logo target pixels that have not been removed as logo pixels when the number of logo target pixels does not change in the second set time.

[0089] The first logo validity checking unit 440 checks whether a logo, including the logo pixels determined by the logo pixel determining unit 430, is valid. Specifically, the first logo validity checking unit 440 can generate logo size information based on the logo pixels determined by the logo pixel determining unit 430. The logo size information may include at least one of the following: the number of logo pixels, the shape of the logo, the area of ​​the logo, the length of the logo, the height of the logo, the proportion of the logo, and the position of the logo pixels.

[0090] For example, the first logo validity checking unit 440 can determine the length of the logo based on the X-axis coordinates of the rightmost and leftmost logo pixels in the logo detection window area WA. Furthermore, the first logo validity checking unit 440 can determine the height of the logo based on the Y-axis coordinates of the topmost and bottommost logo pixels in the logo detection window area WA. The first logo validity checking unit 440 can determine the proportions of the logo based on its length and height.

[0091] The first logo validity checking unit 440 can check the logo validity based on the logo's size information. The first logo validity checking unit 440 can determine whether the logo composed of the logo pixels determined by the logo pixel determining unit 430 is included within the logo's valid range. The logo's valid range is the range valid as a logo, and can include at least one of the following: the number of logo pixels, the shape of the logo, the area of ​​the logo, the length of the logo, the height of the logo, the proportion of the logo, and the position of the logo pixels.

[0092] For example, when the length of the logo composed of the logo pixels determined by the logo pixel determination unit 430 is within the valid range of the logo, the first logo validity check unit 440 can determine that the logo is valid. On the other hand, when the length of the logo composed of the logo pixels determined by the logo pixel determination unit 430 is too large and therefore exceeds the valid range of the logo, the first logo validity check unit 440 can determine that the logo is invalid.

[0093] When the logo is determined to be invalid, the first logo validity checking unit 440 can cause the logo pixel determining unit 430 to determine the logo pixel again.

[0094] In one implementation, when the logo is determined to be invalid, the first logo validity checking unit 440 can reset the second setting time and cause the logo non-target pixel removal unit 434 to remove logo non-target pixels from the logo pixels (i.e., the remaining logo target pixels).

[0095] When the first logo validity checking unit 440 determines that the logo is valid, the logo image generation unit 450 generates a logo image indicating the logo pixels. For example... Figure 5 As shown, the logo image generation unit 450 can generate a logo image in which the pixel corresponding to the logo pixel LP has a "1" and the pixel corresponding to the normal pixel NLP has a "0".

[0096] In one implementation, the logo image generation unit 450 can remove logo pixels corresponding to isolated points from the logo pixels. The logo image generation unit 450 can use a maximum filter to remove logo pixels corresponding to isolated points from the logo pixels.

[0097] Logo feature extraction unit 460 extracts features from the logo composed of logo pixels. Logo feature extraction unit 460 can extract at least one of logo type, logo size, and logo average grayscale value as logo features. Logo type can be at least one of opaque logo, semi-transparent logo, and letterbox-type logo. Logo feature extraction unit 460 can provide the extracted logo features to logo compensation unit 230.

[0098] Logo image storage unit 470 stores the logo image generated by logo image generation unit 450. Logo image storage unit 470 can map grayscale values ​​to the logo image to store the result as a logo template. The grayscale values ​​mapped to the logo image can correspond to the cumulative grayscale average of the corresponding pixels. The cumulative grayscale average can be obtained from a cumulative buffer.

[0099] The second logo validity checking unit 480 uses the logo image generated by the logo image generation unit 450 to check whether the logo is valid. In one embodiment, the second logo validity checking unit 480 can check whether the logo in the logo image corresponds to a portion. When a logo pixel that is "1" in the logo image is on the boundary line of the logo detection window area WA, the second logo validity checking unit 480 can determine that the logo in the logo image corresponds to a portion and is invalid.

[0100] When the logo image is determined to be invalid, the second logo validity checking unit 480 can initialize the cumulative grayscale average value of each pixel stored in the cumulative buffer. Furthermore, the second logo validity checking unit 480 can reset the first setting time of the cumulative average value calculation unit 420 and recalculate the cumulative grayscale average value of each pixel.

[0101] Refer again Figure 2 The logo compensation unit 230 compares the second image data input after generating the logo image with the logo image generated by the logo template generation unit 220 to determine whether the logo in the second image data is detected. The logo compensation unit 230 can also compare the second local image data provided from the preprocessing unit 210 with the logo image generated by the logo template generation unit 220 to determine whether the logo is detected. Here, the second local image data may correspond to the local image data extracted from the second image data input after generating the logo image.

[0102] In one implementation, when multiple logo detection window regions WA exist, the logo compensation unit 230 can compare second local image data for each of the multiple logo detection window regions WA with the corresponding logo image. Specifically, the logo compensation unit 230 can receive first region image data of the first logo detection window region WA1 and second region image data of the second logo detection window region WA2 from the preprocessing unit 210. The logo compensation unit 230 can compare the first region image data with the first logo image to determine whether a logo is detected in the first logo detection window region WA1. The logo compensation unit 230 can compare the second region image data with the second logo image to determine whether a logo is detected in the second logo detection window region WA2.

[0103] like Figure 6As shown, the logo compensation unit 230 includes a template matching unit 620, a compensation parameter acquisition unit 630, and a compensation unit 640. In one embodiment, the logo compensation unit 230 may further include an average value calculation unit 610.

[0104] The template matching unit 620 matches multiple pixels included in the second partial image data with logo pixels included in the logo image to calculate the matching rate. Specifically, the template matching unit 620 can extract pixels from the multiple pixels included in the second partial image data that correspond to the logo pixels included in the logo image, as logo target pixels. The template matching unit 620 can compare the grayscale value of each extracted logo target pixel with the grayscale value of the corresponding logo pixel to calculate the matching rate.

[0105] The template matching unit 620 can calculate the matching rate based on a first difference between the grayscale value of the logo target pixel in the second local image data and the grayscale value of the logo pixel in the corresponding logo image. In this case, the grayscale value of the logo pixel can correspond to the cumulative grayscale average value of the logo pixel calculated by the logo template generation unit 220.

[0106] The template matching unit 620 can calculate a first difference for each of the multiple logo pixels and normalize the sum of the first differences to the number of logo pixels to calculate the matching rate.

[0107] Furthermore, in semi-transparent logos, the logo pixel values ​​can vary depending on the degree of alpha blending. That is, in a semi-transparent logo, the logo pixel values ​​can vary based on the background pixel values ​​present in the image as the background behind the logo. Considering this, the grayscale value of the logo target pixel in the second local image data can vary greatly depending on the background, and in this case, the matching rate can decrease because the difference between the grayscale value of the logo pixels and the logo image can increase. Due to the low matching rate, it is possible that the logo may not be detected even in cases where the logo is identical.

[0108] To address this issue, the template matching unit 620 can calculate the matching rate by adding a compensation value based on the background to the grayscale value of the logo target pixel. For accurate compensation, background pixel values ​​should be extracted pixel by pixel; however, predicting background pixel values ​​is difficult when no logo is present, and it may add complex calculations. Therefore, the template matching unit 620 can perform an approximation using the average grayscale value in a specific region.

[0109] Template matching unit 620 can determine a second difference between the average grayscale value of the second local image data and the average grayscale value of the logo image as a compensation value based on the background. The average grayscale value of the second local image data can be calculated by average calculation unit 610. Average calculation unit 610 can sum the grayscale values ​​of multiple pixels included in the second local image data, and divide the summed value by the number of pixels to calculate the average grayscale value of the multiple pixels. Average calculation unit 610 can provide the calculated average grayscale value of the second local image data to template matching unit 620.

[0110] The average grayscale value of the logo image can be provided by the logo template generation unit 220. The logo feature extraction unit 460 of the logo template generation unit 220 can sum the grayscale values ​​of multiple pixels included in the logo image, and divide the summed value by the number of logo pixels to calculate the average grayscale value of the multiple logo pixels. The logo feature extraction unit 460 of the logo template generation unit 220 can provide the calculated average grayscale value of the logo image to the template matching unit 620.

[0111] In one implementation, the template matching unit 620 may calculate the matching rate based on a first difference and a second difference between the average grayscale value of the second local image data and the average grayscale value of the logo image.

[0112] In one implementation, the template matching unit 620 can use Equation 2 to calculate the matching value of the logo image and the second local image data.

[0113] [Equation 2]

[0114] matching[n]=|gray[n]+del–logowin[n]|

[0115] n represents the number of pixels to be matched, matching[n] represents the matching value between the nth logo pixel in the logo image and the nth logo target pixel in the second local image data, gray represents the gray value of the nth logo target pixel in the second local image data, logowin represents the gray value of the nth logo pixel in the logo image, and del represents the compensation value based on the background.

[0116] The template matching unit 620 can sum the matching values ​​of the logo target pixels for each of the multiple logo pixels to calculate the final matching value of the logo image and the second local image data. The template matching unit 620 can use Equation 3 to calculate the matching rate between the logo image and the second local image data.

[0117] [Formula 3]

[0118] matchingrates=100*(255-(matching / n)) / 255

[0119] The matching value represents the final matching value between the logo image and the second local image data, and the matching rates represent the matching rate between the logo image and the second local image data.

[0120] The template matching unit 620 determines whether a logo exists based on the matching rate. When the matching rate is greater than or equal to a fourth threshold, the template matching unit 620 can determine that the corresponding second local image data includes the logo. On the other hand, when the matching rate is less than the fourth threshold, the template matching unit 620 can determine that the corresponding second local image data does not include the logo. For example, when the matching rate is greater than or equal to 90%, the template matching unit 620 can determine that the corresponding second local image data includes the logo.

[0121] Furthermore, when a logo is identified, the template matching unit 620 can determine the logo type based on a compensation value for the background. When the compensation value for the background is greater than or equal to a fifth threshold, the template matching unit 620 can determine that the logo included in the corresponding second partial image data is a semi-transparent logo. Conversely, when the compensation value for the background is less than the fifth threshold, the template matching unit 620 can determine that the logo included in the corresponding second partial image data is an opaque logo. For example, when the compensation value for the background is greater than or equal to 16, the template matching unit 620 can determine that the logo included in the corresponding second partial image data is a semi-transparent logo.

[0122] The compensation parameter acquisition unit 630 acquires the compensation parameters required for logo compensation. The compensation parameters may include at least one of the following: the number of logo edge pixels, a lower limit of the number of logo edge pixels, the proportion of the number of logo edge pixels, a lower limit of the proportion of the number of logo edge pixels, an initial matching rate, an allowable rate of change of the matching rate, a lower limit of the matching rate, a waiting time, and a gain application time.

[0123] The compensation parameter acquisition unit 630 can examine the edge pixels within the logo target pixels of the second local image data to obtain the number of logo edge pixels or the proportion of logo edge pixels. When the number of logo edge pixels is low or zero, logo compensation may be unnecessary because the logo is surrounded by a background of the same color. To check for this, the compensation parameter acquisition unit 630 can obtain the number of logo edge pixels or the proportion of logo edge pixels. Furthermore, the compensation parameter acquisition unit 630 can set lower limits for the number of logo edge pixels and the proportion of logo edge pixels based on user input.

[0124] The compensation parameter acquisition unit 630 can determine the initial matching rate as the matching rate calculated by the template matching unit 620 when the initial logo is detected. Furthermore, the compensation parameter acquisition unit 630 can set the allowable change rate of the matching rate based on user input. The compensation parameter acquisition unit 630 can obtain the lower limit value of the matching rate by subtracting the allowable change rate of the matching rate from the initial matching rate. When the change in the matching rate is large, it can be determined that the screen or the logo has changed. In this case, since searching for a new logo is preferred, the compensation parameter acquisition unit 630 can obtain the lower limit value of the matching rate and provide it to the compensation unit 640. For example, when the initial matching rate is 90% and the allowable change rate of the matching rate is set to 5%, the compensation parameter acquisition unit 630 can obtain 85% as the lower limit value of the matching rate.

[0125] In one implementation, the allowable rate of change of the matching rate can be set to one of 3% to 5%, regardless of the logo type. For example, the compensation parameter acquisition unit 630 can set the allowable rate of change of the matching rate to 5%.

[0126] In another embodiment, the allowable variation rate of the matching rate can be set differently depending on the logo type. For example, when the logo type is an opaque logo, since opaque logos do not have a large variation rate, the compensation parameter acquisition unit 630 can set the allowable variation rate of the matching rate to 3%. Furthermore, when the logo type is a semi-transparent logo, since semi-transparent logos have a large variation rate depending on the background, the compensation parameter acquisition unit 630 can set the allowable variation rate of the matching rate to 5%.

[0127] The compensation parameter acquisition unit 630 can set a waiting time based on user input. The waiting time can be the time spent waiting before searching for a new logo due to unmet conditions. Here, the conditions can include: a condition where the number of logo edge pixels exceeds a lower limit, a condition where the proportion of logo edge pixels exceeds a lower limit, and a condition where the matching rate exceeds a lower limit.

[0128] The compensation parameter acquisition unit 630 can set the gain application time based on user input. For example... Figure 7 As shown, the logo detection module 115 according to one embodiment of this disclosure can perform logo compensation while gradually decreasing or increasing the compensation gain to prevent sudden changes in the compensation gain. The gain application time can correspond to the time it takes for the compensation gain to reach the final compensation gain while decreasing or increasing.

[0129] The compensation unit 640 performs logo compensation on the pixels included in the area where the logo is detected. The compensation unit 640 can perform logo compensation by reducing the brightness of the pixels included in the area where the logo is detected. The compensation unit 640 can multiply the brightness value by a compensation gain having a value less than 1 to reduce the pixel brightness. In this case, the compensation gain can have a value from 0 to 1.

[0130] The compensation unit 640 can directly change the brightness of the pixels included in the area where the logo is detected in the second image data, but this disclosure is not limited thereto. In another embodiment, the compensation unit 640 can generate a logo compensation signal for logo compensation and send the generated logo compensation signal to the data processing unit of the timing controller 116.

[0131] Furthermore, the compensation unit 640 can determine whether to perform logo compensation based on the compensation parameters obtained by the compensation parameter acquisition unit 630, and can perform logo compensation when it is determined to perform logo compensation.

[0132] The compensation unit 640 can determine whether to perform logo compensation based on the number of logo edge pixels or the proportion of logo edge pixels. Specifically, when the number of logo edge pixels is less than a lower limit or the proportion of logo edge pixels is less than a lower limit, the compensation unit 640 can determine that logo compensation is not needed. In this case, the compensation unit 640 can choose not to perform logo compensation. When logo compensation is being performed, the compensation unit 640 can change the compensation gain to 1. Subsequently, when the number of logo edge pixels is greater than or equal to the lower limit or the proportion of logo edge pixels is greater than or equal to the lower limit within the waiting time, the compensation unit 640 can change the compensation gain to a value less than 1. Furthermore, the compensation unit 640 can cause the logo template generation unit 220 to start a new logo search after the waiting time has elapsed.

[0133] For example, to illustrate, the number of pixels at the logo's edge can vary depending on the background. When the background has the same color as the logo, the percentage of pixels at the logo's edge can be less than the lower limit of the percentage of pixels at the logo's edge. In this case, as... Figure 7 As shown, the compensation unit 640 can change the compensation gain to 1. In this case, the compensation unit 640 can control the compensation gain to increase gradually to achieve a visually natural change.

[0134] Subsequently, when the logo is detected again during the waiting period as the background changes, the percentage of logo edge pixels can again exceed the lower limit of the logo edge pixel percentage. For example... Figure 7As shown, the compensation unit 640 can change the compensation gain to a value less than 1, as before. In this case, the compensation unit 640 can gradually decrease the compensation gain based on the gain application time control.

[0135] The compensation unit 640 can determine whether to perform logo compensation based on changes in the matching rate. Specifically, when the matching rate is less than a lower limit, the compensation unit 640 can determine that the logo has changed. In this case, the compensation unit 640 may not perform logo compensation. In one embodiment, when the matching rate remains below the lower limit for a waiting time, the compensation unit 640 may stop the current logo compensation and cause the logo template generation unit 220 to start a new logo search.

[0136] The compensation unit 640 can determine the logo compensation range based on the logo type. Specifically, the compensation unit 640 can determine either normal logo compensation or logo area compensation based on the logo type.

[0137] When the logo type is a mailbox logo, the compensation unit 640 can determine logo area compensation. In this case, the compensation unit 640 can perform logo compensation on the mailbox area, which includes logos represented by letters, numbers, etc. The mailbox area can be specified by an X-axis coordinate range and a Y-axis coordinate range. The compensation unit 640 can perform logo compensation on all pixels included in the mailbox area specified by the X-axis coordinate range and the Y-axis coordinate range.

[0138] Furthermore, when the logo type is not a mailbox logo, the compensation unit 640 can determine normal logo compensation. The compensation unit 640 can perform logo compensation on the pixels where the logo is detected.

[0139] Since the logo detection module 115 according to one embodiment of the present disclosure generates a logo image using the cumulative grayscale average value, it can be less affected by image noise, thereby improving the logo detection rate.

[0140] Furthermore, since the logo detection module 115 according to one embodiment of the present disclosure does not simply perform a comparison with the pixel value in the previous frame, but rather performs a comparison with the average grayscale value accumulated over a predetermined time, a high average value can be maintained even in the case of semi-transparent logos. Therefore, the logo detection module 115 according to one embodiment of the present disclosure can improve the detection rate of semi-transparent logos. Moreover, the logo detection module 115 according to one embodiment of the present disclosure can further improve the detection rate of semi-transparent logos by also considering a compensation value based on the background when calculating the matching rate.

[0141] In other words, the logo detection module 115 according to one embodiment of this disclosure can detect all types of logos, from opaque logos to semi-transparent logos and mailbox-shaped logos, and has high detection accuracy.

[0142] Figure 8 This is a flowchart illustrating a driving method for a logo detection module according to one embodiment of the present disclosure.

[0143] Reference Figure 8 First, when image data is input, the logo detection module 115 can extract local image data corresponding to the predetermined logo detection window area WA from the image data (S801).

[0144] When multiple logo detection window regions WA exist, the logo detection module 115 can extract local image data for each of the multiple logo detection window regions WA. For example, when the logo detection window regions WA include a first logo detection window region WA1 and a second logo detection window region WA2, the logo detection module 115 can extract first region image data corresponding to the first logo detection window region WA1 from the image data, and can extract second region image data corresponding to the second logo detection window region WA2 from the image data.

[0145] Next, the logo detection module 115 converts the RGB pixel value of each of the multiple pixels included in the logo detection window area WA into a grayscale value (S802).

[0146] The logo detection module 115 can use extracted local image data to obtain the grayscale value of each of the multiple pixels included in the logo detection window region WA. The local image data may include the RGB pixel values ​​of each of the multiple pixels included in the logo detection window region WA. The logo detection module 115 can use the RGB pixel values ​​of the multiple pixels included in the local image data to obtain the grayscale value.

[0147] The local image data may include first local image data and second local image data. The first local image data may be local image data extracted from first image data input before generating the logo image. The second local image data may be local image data extracted from second image data input after generating the logo image.

[0148] Next, the logo detection module 115 generates a logo template using the first local image data (S803). In the following text, reference will be made to... Figure 9 Describe in detail the method for generating logo templates.

[0149] Figure 9 This is a flowchart illustrating a method for generating a logo template.

[0150] Reference Figure 9 First, the logo detection module 115 uses the first local image data input at the first setting time to calculate the cumulative grayscale average value of each pixel (S901).

[0151] The logo detection module 115 can calculate the cumulative grayscale average value of each pixel based on the grayscale values ​​of multiple pixels included in the first local image data. For each input of the first image data of a frame, the logo detection module 115 can calculate the cumulative grayscale average value based on the grayscale value of each of the multiple pixels included in the first local image data.

[0152] Next, when the first setup time is complete, the logo detection module 115 determines at least two or more pixels among a plurality of pixels as logo target pixels based on the cumulative grayscale average value (S902 and S903).

[0153] The logo detection module 115 can examine the calculated cumulative grayscale average of each of the multiple pixels, and can identify pixels whose cumulative grayscale average exceeds a first threshold as logo target pixels. On the other hand, the logo detection module 115 can identify pixels whose cumulative grayscale average is less than or equal to the first threshold as normal pixels.

[0154] The logo detection module 115 can check the number of logo target pixels and initialize the cumulative grayscale average value of each pixel stored in the cumulative buffer when the number of logo target pixels is less than a second value.

[0155] Next, the logo detection module 115 uses the first local image data input after the logo target pixel has been determined to remove non-target pixels from the logo target pixel (S904).

[0156] The logo detection module 115 can determine non-target pixels of the logo based on grayscale variation values. The logo detection module 115 can obtain the grayscale value of the pixel corresponding to the logo target pixel from the first local image data input after the logo target pixel has been determined. The logo detection module 115 can calculate the difference between the obtained grayscale value and the cumulative grayscale average of the logo target pixel, and determine pixels whose calculated difference exceeds a second threshold as non-target pixels of the logo.

[0157] The logo detection module 115 can remove identified non-target logo pixels from the target logo pixels. The logo detection module 115 can check the number of target logo pixels and initialize the cumulative grayscale average value of each pixel stored in the cumulative buffer when the number of target logo pixels is less than a second value. Furthermore, the logo detection module 115 can reset the first setting time of the cumulative average value calculation unit 420 and recalculate the cumulative grayscale average value of each pixel.

[0158] When the number of logo target pixels does not change during the second set time, the logo detection module 115 identifies the remaining logo target pixels that have not been removed as logo pixels (S905).

[0159] Next, the logo detection module 115 checks whether the logo, including the logo pixels, is valid (S906).

[0160] The logo detection module 115 can generate logo size information based on logo pixels. The logo size information may include at least one of the following: the number of logo pixels, the shape of the logo, the area of ​​the logo, the length of the logo, the height of the logo, the proportion of the logo, and the position of the logo pixels.

[0161] The logo detection module 115 can check the validity of a logo based on its size information. The logo detection module 115 can determine whether a logo composed of logo pixels is included within the valid range of the logo. The valid range of the logo is defined as the area within which the logo is valid, and can include at least one of the following: the number of logo pixels, the shape of the logo, the area of ​​the logo, the length of the logo, the height of the logo, the proportion of the logo, and the position of the logo pixels.

[0162] When an invalid logo is determined, the logo detection module 115 can cause the logo pixel determination unit 430 to re-determine the logo pixel. In one embodiment, when an invalid logo is determined, the logo detection module 115 can reset the second setting time and remove non-target logo pixels from the logo pixels (i.e., the remaining logo target pixels).

[0163] Next, when the number of target pixels for the logo is less than the second value (min), the logo detection module 115 recalculates the cumulative grayscale average value of each pixel (S907).

[0164] The logo detection module 115 can detect the number of logo target pixels, and can initialize the cumulative grayscale average value of each pixel stored in the cumulative buffer when the detected number of logo target pixels is less than a second value. Furthermore, the logo detection module 115 can reset the first setting time and recalculate the cumulative grayscale average value of each pixel.

[0165] Next, when the logo is determined to be valid, the logo detection module 115 generates a logo template including a logo image indicating the logo pixels (S908).

[0166] The logo detection module 115 can generate a logo image such that pixels corresponding to logo pixels can have '1' and pixels corresponding to normal pixels (NLP) can have '0'. The logo detection module 115 can map grayscale values ​​to the logo image to store the result as a logo template. In this case, the grayscale values ​​mapped to the logo image can correspond to the cumulative grayscale average of the corresponding pixels. The cumulative grayscale average can be obtained from a cumulative buffer.

[0167] Refer again Figure 8 The logo detection module 115 matches the second local image data with the logo image (S804).

[0168] The logo detection module 115 can extract pixels corresponding to the logo pixels included in the logo image from the multiple pixels included in the second local image data, as logo target pixels. The logo detection module 115 can compare the grayscale value of each logo target pixel with the grayscale value of the corresponding logo pixel to calculate the matching rate.

[0169] The logo detection module 115 can calculate the matching rate based on a first difference between the grayscale value of the logo target pixel in the second local image data and the grayscale value of the logo pixel in the corresponding logo image. In this case, the grayscale value of the logo pixel can correspond to the cumulative grayscale average value of the logo pixel.

[0170] The logo detection module 115 can calculate a first difference for each of the multiple logo pixels separately, and normalize the sum of the first differences to the number of logo pixels to calculate the matching rate.

[0171] The logo detection module 115 can add a background-based compensation value to the grayscale value of the logo target pixel to calculate the matching rate. The logo detection module 115 can determine a second difference between the average grayscale value of the second local image data and the average grayscale value of the logo image as a background-based compensation value. The logo detection module 115 can sum the grayscale values ​​of multiple pixels included in the second local image data and divide the summed value by the number of pixels to calculate the average grayscale value of the multiple pixels. The logo detection module 115 can sum the grayscale values ​​of multiple pixels included in the logo image and divide the summed value by the number of logo pixels to calculate the average grayscale value of the multiple logo pixels.

[0172] In one implementation, the logo detection module 115 can calculate the matching rate based on a first difference and a second difference between the average grayscale value of the second local image data and the average grayscale value of the logo image.

[0173] Next, when the matching rate is greater than or equal to the fourth threshold, the logo detection module 115 determines that the corresponding second local image data includes the logo (S805).

[0174] Next, the logo detection module 115 determines the compensation parameters required for logo compensation (S806). The compensation parameters may include at least one of the following: the number of logo edge pixels, a lower limit of the number of logo edge pixels, the proportion of the number of logo edge pixels, a lower limit of the proportion of the number of logo edge pixels, an initial matching rate, an allowable rate of change of the matching rate, a lower limit of the matching rate, a waiting time, and a gain application time.

[0175] The logo detection module 115 can examine the edge pixels within the logo target pixels of the second local image data to obtain the number or proportion of logo edge pixels. When the number of logo edge pixels is low or zero, logo compensation is not required because the logo is surrounded by a background of the same color. The logo detection module 115 can set lower limits for the number and proportion of logo edge pixels based on user input.

[0176] Furthermore, the logo detection module 115 can determine the initial matching rate as the matching rate calculated when the initial logo is detected. Additionally, the logo detection module 115 can set an allowable variation rate for the matching rate based on user input. The logo detection module 115 can obtain a lower limit value for the matching rate by subtracting the allowable variation rate from the initial matching rate. When the matching rate changes significantly, it can be determined that the screen or the logo has changed. In this case, the logo detection module 115 can begin a new logo search.

[0177] The logo detection module 115 can set a waiting time based on user input. The waiting time can be the time spent waiting before searching for a new logo because a condition is not met. Here, the conditions can include: a condition that the number of logo edge pixels exceeds a lower limit, a condition that the proportion of logo edge pixels exceeds a lower limit, and a condition that the matching rate exceeds a lower limit.

[0178] The logo detection module 115 can set the gain application time according to user input. According to one embodiment of this disclosure, the logo detection module 115 can perform logo compensation while gradually decreasing or increasing the compensation gain to prevent sudden changes in the compensation gain. The gain application time can correspond to the time it takes for the compensation gain to reach the final compensation gain while decreasing or increasing.

[0179] Next, the logo detection module 115 performs logo compensation (S807) on the pixels included in the area where the logo is detected.

[0180] The logo detection module 115 can perform logo compensation by reducing the brightness of pixels included in the area where the logo is detected. The logo detection module 115 can reduce the pixel brightness by multiplying the brightness value by a compensation gain having a value less than 1. In this case, the compensation gain can have a value from 0 to 1.

[0181] The logo detection module 115 can directly change the brightness of pixels included in the area where the logo is detected in the second image data, but this disclosure is not limited thereto. In another embodiment, the logo detection module 115 can generate a logo compensation signal for logo compensation and send the generated logo compensation signal to the data processing unit of the timing controller 116.

[0182] In addition, the logo detection module 115 can determine whether to perform logo compensation based on compensation parameters, and can perform logo compensation when it is determined to do so.

[0183] In one implementation, the logo detection module 115 can determine whether to perform logo compensation based on the number of logo edge pixels or the proportion of logo edge pixels. When the number of logo edge pixels is less than a lower limit or the proportion of logo edge pixels is less than a lower limit, the logo detection module 115 can determine that logo compensation is not required.

[0184] In one implementation, the logo detection module 115 can determine whether to perform logo compensation based on changes in the matching rate. When the matching rate is less than a lower limit, the logo detection module 115 can determine that the logo has been changed. In this case, the logo detection module 115 may not perform logo compensation. In another implementation, when the matching rate remains below the lower limit for a certain period of time, the logo detection module 115 can stop the current logo compensation and begin a new logo search.

[0185] In one implementation, the logo detection module 115 can determine the logo compensation range based on the logo type. The logo detection module 115 can determine either normal logo compensation or logo area compensation based on the logo type. When the logo type is a mailbox-type logo, the logo detection module 115 can determine to perform logo area compensation. In logo area compensation, logo compensation can be performed on the mailbox area, including logos represented by letters, numbers, etc. The mailbox area can be specified by an X-axis coordinate range and a Y-axis coordinate range.

[0186] Furthermore, when the logo type is not a mailbox logo, the logo detection module 115 can determine normal logo compensation. In normal logo compensation, logo compensation can be performed on the pixels of the detected logo.

[0187] Those skilled in the art will understand that this disclosure may be embodied in other specific forms without altering the technical spirit or essential characteristics of this disclosure.

[0188] Furthermore, the methods described in this specification can be implemented, at least in part, using one or more computer programs or components. These components may be provided as a series of computer instructions via a computer-readable or machine-readable medium including volatile and non-volatile memory. The instructions may be provided as software or firmware and may be implemented wholly or partially in a hardware construct such as an ASIC, FPGA, DSP, or other similar element. The instructions may be configured to be executed by one or more processors or another hardware construct, and the processor or other hardware construct, upon executing the series of computer instructions, may perform all or some portions of the methods and processes disclosed herein, or cause all or some portions of the methods and processes to be executed.

[0189] According to this disclosure, since the logo image is generated using the cumulative grayscale average value, it is not significantly affected by image noise, thereby improving the logo detection rate.

[0190] Furthermore, in this disclosure, since a comparison with the pixel value of the previous frame is not performed, but rather a comparison with the average grayscale value accumulated over a predetermined time is performed, a high average value can be maintained even in the case of semi-transparent logos. Accordingly, the detection rate of semi-transparent logos can be improved in this disclosure.

[0191] Furthermore, in this disclosure, by reflecting a compensation value based on the background when calculating the matching rate, the detection rate of translucent logos can be further improved.

[0192] The above description is not limited to the embodiments and drawings described above, and it will be apparent to those skilled in the art that various substitutions, modifications, and alterations can be made without departing from the technical spirit of this description. Therefore, the scope of this description will be shown by the appended claims, and all possible changes or modifications in form derived from the meaning and scope of the claims and their equivalents should be understood to be within the scope of this description.

Claims

1. A logo detection module, the logo detection module comprising: A preprocessing unit is configured to extract local image data based on a predetermined logo detection window region from image data, and to obtain grayscale values ​​based on the RGB pixel values ​​of multiple pixels included in the extracted local image data. A logo template generation unit is configured to calculate the cumulative grayscale average of each pixel based on the grayscale values ​​of a plurality of pixels obtained using first local image data extracted from first image data input at a first set time or more, identify two or more pixels among the plurality of pixels whose cumulative grayscale average exceeds a first threshold as logo target pixels, remove pixels from the logo target pixels whose grayscale change value exceeds a second threshold, and when the number of logo target pixels does not change in a second set time, identify the logo target pixels as logo pixels and generate a logo image including the logo pixels; as well as A logo compensation unit is configured to match a plurality of pixels included in second local image data extracted from second image data input after the logo image is generated with the logo pixels included in the logo image to calculate a matching rate, and to determine logo compensation based on the calculated matching rate.

2. The logo detection module according to claim 1, wherein, The logo detection window area includes a first logo detection window area and a second logo detection window area spaced apart from the first logo detection window area; and The local image data includes first region image data corresponding to the first logo detection window region and second region image data corresponding to the second logo detection window region. The logo template generation unit generates a first logo image based on the first region image data and generates a second logo image based on the second region image data.

3. The logo detection module according to claim 1, wherein, The logo template generation unit includes: A logo presence prediction unit is configured to predict that the first partial image data includes the logo when the number of pixels predicted to be the logo among the plurality of pixels included in the first partial image data is greater than or equal to a first value; and A cumulative average calculation unit is configured to calculate the cumulative grayscale average of each pixel based on the grayscale value of each of the plurality of pixels included in the first local image data during the first set time period when it is predicted that the first local image data includes the logo.

4. The logo detection module according to claim 3, wherein, When the number of pixels whose grayscale value is greater than or equal to the reference value among the plurality of pixels included in the first local image data is greater than or equal to the first value, the logo presence prediction unit predicts that the first local image data includes the logo.

5. The logo detection module according to claim 1, wherein, The logo template generation unit includes a cumulative average calculation unit, which is configured to calculate a new cumulative grayscale average for each input of the first image data of a frame, based on the grayscale value of each of the plurality of pixels included in the first local image data extracted from the first image data of the corresponding frame.

6. The logo detection module according to claim 5, wherein, The cumulative average calculation unit includes a cumulative buffer configured to store the cumulative grayscale average of each pixel calculated based on the first local image data from the first frame to the (N-1)th frame. When the image data of the Nth frame is input, a new cumulative grayscale average of each pixel is calculated based on the grayscale value of each of the plurality of pixels included in the first local image data extracted from the image data of the Nth frame and the cumulative grayscale average of each pixel stored in the cumulative buffer, and the cumulative buffer is updated with the new cumulative grayscale average of each pixel.

7. The logo detection module according to claim 1, wherein, The logo template generation unit includes a logo non-target pixel removal unit. The logo non-target pixel removal unit acquires the grayscale value of the pixel corresponding to the logo target pixel from the plurality of pixels included in the first local image data extracted from the first image data input after the logo target pixel is determined, and determines the pixel whose difference between the acquired grayscale value and the cumulative grayscale average value of the logo target pixel exceeds the second threshold as a logo non-target pixel.

8. The logo detection module according to claim 1, wherein, The logo template generation unit includes a logo non-target pixel removal unit and a cumulative average value calculation unit. When the number of logo target pixels is less than a second value, the logo non-target pixel removal unit initializes the cumulative grayscale average value of each pixel and causes the cumulative average value calculation unit to recalculate the cumulative grayscale average value of each pixel.

9. The logo detection module according to claim 1, wherein, The logo compensation unit includes a template matching unit configured to extract logo target pixels corresponding to logo pixels included in the logo image from the plurality of pixels included in the second local image data, calculate a matching rate based on a first difference between the grayscale value of the extracted logo target pixel and the cumulative grayscale average value of the logo pixels included in the logo image, and determine that the second local image data includes a logo when the matching rate is greater than or equal to a third threshold.

10. The logo detection module according to claim 9, wherein, The template matching unit calculates the matching rate based on the sum of the second difference between the average grayscale value of the second local image data and the average grayscale value of the logo image and the first difference.

11. The logo detection module according to claim 1, wherein, The logo compensation unit includes a compensation unit configured to determine that the second local image data includes a logo when the matching rate is greater than or equal to a third threshold, and to determine a logo compensation range based on the type of the logo.

12. The logo detection module according to claim 11, wherein, When the logo is a mailbox-type logo, the compensation unit determines the entire mailbox area including the logo as the logo compensation range.

13. A timing controller, the timing controller comprising: A logo detection module is configured to calculate the cumulative grayscale average of each of a plurality of pixels included in a logo detection window region based on first image data input within a first set time period; identify pixels whose calculated cumulative grayscale average exceeds a first threshold as logo target pixels; remove pixels whose grayscale change value exceeds a second threshold from the logo target pixels; when the number of logo target pixels does not change within a second set time period, identify the logo target pixels as logo pixels and generate a logo image based on the logo pixels; and compare the second image data input after generating the logo image with the logo image to determine whether a logo is detected. as well as A data processing unit configured to change the brightness of pixels included in the region where a logo is detected in the second image data when the logo detection module determines that logo detection is to be performed.

14. The timing controller according to claim 13, wherein, The logo detection module compares the second image data with the logo image to calculate the matching rate, and determines whether the logo is detected based on the calculated matching rate.

15. The timing controller according to claim 14, wherein, The logo detection module calculates the matching rate based on a first difference between the cumulative average grayscale value of the logo pixels included in the logo image and the grayscale value of the pixel corresponding to the logo pixel in the second image data.

16. The timing controller according to claim 15, wherein, The logo detection module calculates the matching rate based on the first difference and a second difference between the average grayscale value of the second image data and the average grayscale value of the logo image.

17. A driving method for a logo detection module, the driving method comprising the following steps: Based on the first image data input within a first set time period, calculate the cumulative grayscale average value of each of the multiple pixels; The pixels whose calculated cumulative grayscale average value exceeds a first threshold are identified as logo target pixels; When the number of target pixels of the logo is greater than or equal to a predetermined value, pixels whose grayscale change value exceeds a second threshold are removed from the target pixels of the logo; as well as When the number of the logo target pixels does not change during the second set time, the logo target pixels are determined as logo pixels, and a logo image indicating the determined logo pixels is generated.

18. The driving method according to claim 17, wherein, When calculating the cumulative grayscale average value For each input of the first image data in a frame, the cumulative grayscale average of each of the plurality of pixels is recalculated.

19. The driving method according to claim 17, further comprising the following steps: When the number of target pixels for the logo is less than the predetermined value, the cumulative grayscale average value of each pixel is initialized.

20. The driving method according to claim 17, further comprising the following steps: The grayscale value of each of a plurality of pixels obtained from the second image data input after the logo image is generated is matched with the cumulative grayscale average value of each of the logo pixels included in the logo image to calculate the matching rate; as well as When the matching rate is greater than or equal to the third threshold, it is determined that the second image data includes the logo and a logo compensation signal is generated.

21. The driving method according to claim 20, wherein, When calculating the matching rate The matching rate is calculated based on a first difference between the cumulative average grayscale value of the logo pixels included in the logo image and the grayscale value of the pixel corresponding to the logo pixel in the second image data, and a second difference between the average grayscale value of the second image data and the average grayscale value of the logo image.

Citation Information

Patent Citations

  • Timing controller, driving method thereof, and display device using the same

    CN103839509A

  • Logo controller

    CN110880298A