Timing controller, image display method, and display device

CN119007680BActive Publication Date: 2026-09-15BEIJING ESWIN COMPUTING TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411355540.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2026-09-15
Estimated Expiration
2044-09-26

AI Technical Summary

Benefits of technology

[0042] In this embodiment of the application, in order to avoid problems such as green screen, crosstalk, and flickering when displaying images, for the target image to be displayed, the target image is detected to match a certain template image based on the type of image blocks of a specific size and the number of each type of image block. If the target image matches a certain template image, the target image is displayed according to the polarity control method corresponding to the template image, so as to avoid problems such as green screen, crosstalk, and flickering when displaying the target image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119007680B_ABST
    Figure CN119007680B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a timing controller, an image display method and a display device, and belongs to the technical field of display. For a target image to be displayed, whether the target image matches a certain template image is detected according to the types of image blocks of a certain size appearing in the target image and the number of each type of image block. If the target image matches the certain template image, the target image needs to be displayed according to a polarity control mode corresponding to the template image, so as to avoid problems such as screen greenness, crosstalk and flicker when the target image is displayed. In this way, only the types of image blocks appearing in the target image and the number of each type of image block need to be cached, and the pixel values of each row of pixel points in the target image do not need to be cached to be compared with the template image, that is, the timing controller does not need to set a liner buffer when detecting the template image matched with the target image, and therefore the hardware cost of the timing controller can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display technology, and in particular to a timing controller, an image display method, and a display device. Background Technology

[0002] When displaying certain images, such as solid colors, horizontal lines, or vertical lines, monitors may exhibit greenish tint, crosstalk, or flickering. The timing controller can detect these images using a pattern detection function (PDF) and then adjust the polarity control (POL) based on the specific image type, thereby resolving issues such as greenish tint, crosstalk, and flickering when displaying images. Summary of the Invention

[0003] This application provides a timing controller, an image display method, and a display device, which can reduce the hardware cost of the timing controller. The technical solution is as follows:

[0004] On one hand, a timing controller is provided, the timing controller comprising:

[0005] The template detection module is used to determine a target template image that matches the target image based on the type of image blocks of a specific size that appear in the target image to be displayed and the number of each type of image block. The specific size is a size with M rows of pixels and N columns of pixels. M is greater than 1 and less than the total number of rows of pixels in the target image, and N is greater than 1 and less than the total number of columns of pixels in the target image.

[0006] The control module is used to control the display driver chip to display the target image according to the polarity control mode corresponding to the target template image.

[0007] In one possible implementation, the template detection module is used for:

[0008] The pixels of the target image are divided into multiple groups of rows of pixels, and each group of rows of pixels includes M adjacent rows of pixels.

[0009] Determine the type of image patch appearing in each group of row pixels and the number of each type of image patch;

[0010] Clustering is performed on the types and quantities of image blocks appearing in each group of rows of pixels to obtain the types and quantities of image blocks appearing in the target image.

[0011] In one possible implementation, the template detection module is used for:

[0012] For the k-th row of pixels in the multiple sets of rows, determine the multiple sets of pixels that appear in each row of pixels in the k-th row and the column position interval corresponding to each set of pixels in the multiple sets of pixels. Each set of pixels includes N adjacent pixels, and the column position interval is the set of column positions of the N pixels in the corresponding set of pixels.

[0013] Based on the multiple pixel sets appearing in each row of the k-th row of pixels and the column position range corresponding to each pixel set in the multiple pixel sets, determine the type of image block appearing in the k-th row of pixels and the number of each type of image block;

[0014] The k-th group of row pixels is one group of row pixels among the multiple groups of row pixels.

[0015] In one possible implementation, the template detection module is used for:

[0016] The types and quantities of the image blocks appearing in the target image are used as the first global pixel statistics of the target image, and a target template image matching the target image is determined based on the first global pixel statistics of the target image.

[0017] In one possible implementation, the template detection module is used for:

[0018] The pixel values ​​in each image block are processed to obtain an image block template corresponding to each image block, and the number of each image block is used as the number of corresponding image block templates;

[0019] The colors appearing in each image patch are merged to obtain a color set;

[0020] The type of image block template, the quantity of each type of image block template, and the color set are used as the second global pixel statistics of the target image. Based on the second global pixel statistics of the target image, a target template image that matches the target image is determined.

[0021] On the other hand, an image display method is provided, the method comprising:

[0022] Based on the types of image blocks of a specific size appearing in the target image to be displayed and the number of each type of image block, a target template image matching the target image is determined. The specific size is a size with M rows of pixels and N columns of pixels. M is greater than 1 and less than the total number of rows of pixels in the target image, and N is greater than 1 and less than the total number of columns of pixels in the target image.

[0023] The control display driver chip displays the target image according to the polarity control mode corresponding to the target template image.

[0024] In one possible implementation, the method further includes:

[0025] The pixels of the target image are divided into multiple groups of rows of pixels, and each group of rows of pixels includes M adjacent rows of pixels.

[0026] Determine the type of image patch appearing in each group of row pixels and the number of each type of image patch;

[0027] Clustering is performed on the types and quantities of image blocks appearing in each group of rows of pixels to obtain the types and quantities of image blocks appearing in the target image.

[0028] In one possible implementation, determining the type of image patch appearing in each group of row pixels and the number of each type of image patch includes:

[0029] For the k-th row of pixels in the multiple sets of rows, determine the multiple sets of pixels that appear in each row of pixels in the k-th row and the column position interval corresponding to each set of pixels in the multiple sets of pixels. Each set of pixels includes N adjacent pixels, and the column position interval is the set of column positions of the N pixels in the corresponding set of pixels.

[0030] Based on the multiple pixel sets appearing in each row of the k-th row of pixels and the column position range corresponding to each pixel set in the multiple pixel sets, determine the type of image block appearing in the k-th row of pixels and the number of each type of image block;

[0031] The k-th group of row pixels is one group of row pixels among the multiple groups of row pixels.

[0032] In one possible implementation, determining the target template image matching the target image based on the types of image blocks of specific sizes appearing in the target image to be displayed and the number of each type of image block includes:

[0033] The types and quantities of the image blocks appearing in the target image are used as the first global pixel statistics of the target image, and a target template image matching the target image is determined based on the first global pixel statistics of the target image.

[0034] In one possible implementation, determining the target template image matching the target image based on the types of image blocks of specific sizes appearing in the target image to be displayed and the number of each type of image block includes:

[0035] The pixel values ​​in each image block are processed to obtain an image block template corresponding to each image block, and the number of each image block is used as the number of corresponding image block templates;

[0036] The colors appearing in each image patch are merged to obtain a color set;

[0037] The type of image block template, the quantity of each type of image block template, and the color set are used as the second global pixel statistics of the target image. Based on the second global pixel statistics of the target image, a target template image that matches the target image is determined.

[0038] On the other hand, a display device is provided, the display device including any of the timing controllers described above; the display device also includes a display driver chip.

[0039] On the other hand, a computer-readable storage medium is provided, wherein a computer program is stored therein, and when executed by a timing controller, the computer program implements the steps of the aforementioned image display method.

[0040] On the other hand, a computer program product containing instructions is provided, which, when run on a timing controller, causes the timing controller to perform the steps of the aforementioned image display method.

[0041] The beneficial effects of the technical solutions provided in this application include at least the following:

[0042] In this embodiment of the application, in order to avoid problems such as green screen, crosstalk, and flickering when displaying images, for the target image to be displayed, the target image is detected to match a certain template image based on the type of image blocks of a specific size and the number of each type of image block. If the target image matches a certain template image, the target image is displayed according to the polarity control method corresponding to the template image, so as to avoid problems such as green screen, crosstalk, and flickering when displaying the target image.

[0043] Since the specific size is M rows of pixels and N columns of pixels, and M is greater than 1 and less than the total number of rows of pixels in the target image, and N is greater than 1 and less than the total number of columns of pixels in the target image, the present application embodiment can detect the target image by statistically analyzing the various types of image blocks appearing in the target image. In this way, it is only necessary to cache the types of image blocks appearing in the target image and the number of each type of image block, instead of caching the pixel values ​​of each row of pixels in the target image to compare with the template image. In other words, the timing controller does not need to set up a liner buffer when detecting the template image that matches the target image. The space required to cache the types of image blocks appearing in the target image and the number of each type of image block is much smaller than the liner buffer. Therefore, the method provided by the present application embodiment can simplify the circuit structure of the timing controller, reduce the hardware area of ​​the timing controller, and thus reduce the hardware cost of the timing controller. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1 This is a schematic diagram of the architecture of a display device provided in an embodiment of this application.

[0046] Figure 2 This is a flowchart of an image display method provided in an embodiment of this application.

[0047] Figure 3 This is a schematic diagram illustrating the relationship between column position intervals of two types of pixel point sets provided in an embodiment of this application.

[0048] Figure 4 This is a schematic diagram of determining an image block template provided in an embodiment of this application.

[0049] Figure 5 This is a schematic diagram of the structure of a timing controller provided in an embodiment of this application. Detailed Implementation

[0050] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0051] Before explaining the embodiments of this application, the application scenarios of the embodiments of this application will be introduced first.

[0052] To prevent damage to the properties of liquid crystal molecules in a liquid crystal display (LCD), the display voltage of an LCD is divided into positive and negative polarities, and the same grayscale can be displayed using both polarities. When the voltage of the display electrode is higher than the voltage of the common electrode, it is called positive polarity; when the voltage of the display electrode is lower than the voltage of the common electrode, it is called negative polarity.

[0053] When displaying certain special template images, such as solid colors, 1V1H, 1V2H, 2V1H, 2V2H, horizontal lines, vertical lines, and crosstalk images, LCDs may exhibit phenomena such as green tinge, crosstalk, and flickering. 1V1H means that the pixel values ​​of the images are repeated every other row and every other column. 1V2H means that the pixels in the images are repeated every other row and every two columns. 2V1H means that the pixels in the images are repeated every two rows and every other column. 2V2H means that the pixels in the images are repeated every two rows and every two columns. Crosstalk is a display anomaly where the display of one area of ​​the screen is affected by another area, causing image distortion. Typically, a solid color background with a patch of another color will cause crosstalk, hence the name "crosstalk image."

[0054] Greenish tint occurs when an LCD displays a specific image, typically due to a common electrode voltage shift that fails to recover in time. Crosstalk occurs when some pixels are affected by the values ​​of their neighboring pixels, causing image distortion. For example, a solid-color background with a patch of another color can cause horizontal or vertical crosstalk. Crosstalk has many causes, but its occurrence can be reduced by ensuring that adjacent pixels have different polarities. Flickering occurs when a common electrode voltage shift leads to a mismatch in the driving voltages for the positive and negative polarities of the liquid crystal, resulting in a flickering effect on the LCD screen. These problems all affect the overall display quality of the LCD and reduce the market competitiveness of the chip.

[0055] Currently, these images can be detected using the Pattern Detection Function (PDF), and then the Polarity Control (POL) method can be adjusted according to the specific image type to solve problems such as screen greening, crosstalk, and flickering.

[0056] Common polarity control methods include frame inversion, row inversion, column inversion, and dot inversion. Frame inversion means that all pixels within a frame have the same polarity. Row inversion means that adjacent rows have different polarities. Column inversion means that adjacent columns have different polarities. Dot inversion means that each pixel has a different polarity from its four adjacent pixels (up, down, left, and right).

[0057] The aforementioned template detection function is typically deployed in the timing controller of an LCD monitor, so as to control the polarity of the display voltage when the display driver chip in the LCD monitor displays an image.

[0058] Currently, template detection functions require a line buffer to cache the pixel values ​​of each row of pixels in the image to be detected before making a judgment, resulting in a large hardware implementation area for the timing controller. Based on this, embodiments of this application provide a timing controller, an image display method, and a display device. In this method, the timing controller can detect the target image by statistically analyzing the types and quantities of image blocks of specific sizes appearing in the target image. This way, it only needs to cache the types and quantities of image blocks appearing in the target image, without needing to cache the pixel values ​​of each row of pixels in the target image for comparison with the template image. In other words, the timing controller does not need to set up a line buffer when detecting a template image that matches the target image. Furthermore, the space required to cache the types and quantities of image blocks appearing in the target image is much smaller than that of a line buffer. Therefore, the method provided by embodiments of this application simplifies the circuit structure of the timing controller, reduces its hardware area, thereby lowering the hardware cost of the timing controller and enhancing the chip's market competitiveness.

[0059] Figure 1 This is a schematic diagram of the architecture of a display device provided in an embodiment of this application. Figure 1 As shown, the display device includes a timing controller, a display driver chip, and a display screen. The display driver chip includes a source driver chip and a gate driver chip.

[0060] The timing controller is connected to both the source driver chip and the gate driver chip. Assuming the display screen comprises m rows of pixels, with each row containing n pixels, the source driver chip is connected to each column of pixels in the display screen via source lines SL1 to SLn, and the gate driver chip is connected to each row of pixels in the display screen via gate lines GL1 to GLm.

[0061] The gate driver chip controls the switching on and off of the transistor corresponding to each row of pixels in response to row control signals from the timing controller. The source driver chip drives the display screen to display the corresponding display data in response to display data from the timing controller and configuration information required to display the image, such as the polarity of the display voltage.

[0062] like Figure 1 As shown, the timing controller is equipped with a template detection function. For an image to be displayed, the timing controller can use this template detection function to detect whether the image matches a certain template image. If the image matches a certain template image, the image is displayed according to the polarity control method corresponding to the template image, so as to avoid problems such as screen greening, crosstalk, and flickering when displaying the image.

[0063] Template images are images whose polarity transformation method needs to be adjusted during display to avoid problems such as greenish tint, crosstalk, and flickering on the screen. Examples of template images include solid colors, 1V1H, 1V2H, 2V1H, 2V2H, horizontal lines, vertical lines, and crosstalk images.

[0064] In this embodiment, the template detection function in the timing controller is improved to implement the image display method provided in this embodiment. Detailed implementation will be described in subsequent method embodiments.

[0065] The image display method provided in the embodiments of this application will now be explained in detail.

[0066] Figure 2 This is a flowchart of an image display method provided in an embodiment of this application. The method is applied to... Figure 1 In the timing controller shown, this method enables the timing controller to implement template detection functionality. For example... Figure 2 As shown, the method includes the following steps.

[0067] Step 201: Based on the types of image blocks of a specific size appearing in the target image to be displayed and the number of each type of image block, determine the target template image that matches the target image. The specific size is the size with M rows of pixels and N columns of pixels. M is greater than 1 and less than the total number of rows of pixels in the target image, and N is greater than 1 and less than the total number of columns of pixels in the target image.

[0068] Here, the specific size is a pre-set size, such as M=2 and N=4. Then, through step 201, the timing controller can determine the target template image that matches the target image based on the types of 2×4 image blocks appearing in the target image and the quantity of each type of image block. The values ​​of M and N will be explained in detail in subsequent embodiments and will not be elaborated here.

[0069] In step 201, the timing controller needs to first count the types of image blocks of a specific size that appear in the target image to be displayed, as well as the number of each type of image block.

[0070] In some embodiments, the timing controller can statistically analyze the types of image blocks of a specific size appearing in the target image and the number of each type of image block, which can be achieved, for example, through the following three steps.

[0071] Step (1): Divide the pixels of the target image into multiple groups of rows of pixels, each group of rows of pixels including M adjacent rows of pixels.

[0072] In this embodiment, considering that most template images have pixel values ​​that repeat every two rows of pixels, M is typically set to 2 to speed up the matching efficiency with the template image. Optionally, when applying this embodiment, those skilled in the art can set M to other values ​​based on experience, which will not be illustrated here.

[0073] For example, if M=2, the pixels in the target image are grouped according to every two adjacent rows of pixels. The pixels in the 1st and 2nd rows are grouped into one group, the pixels in the 3rd and 4th rows are grouped into another group, the pixels in the 5th and 6th rows are grouped into another group, and so on, until all the pixels in the target image have been divided.

[0074] Step (2): Determine the type of image patch that appears in each group of row pixels and the number of each type of image patch.

[0075] Step (3): Cluster the types of image blocks appearing in each group of row pixels and the number of each type of image block to obtain the types of image blocks appearing in the target image and the number of each type of image block.

[0076] By following the three steps above, we can first count the types of image blocks appearing in each group of row pixels and the number of each type of image block. Then, by merging the types of image blocks appearing in different groups of row pixels and the number of each type of image block, we can obtain the types of image blocks appearing in the target image and the number of each type of image block.

[0077] Let's take M=2 as an example. Through the three steps described above, we can first count the types and quantities of 2×4 image blocks appearing in the first group of pixels (composed of the first and second rows), then count the types and quantities of 2×4 image blocks appearing in the second group of pixels (composed of the third and fourth rows), and so on, until all groups of pixels have been counted. Finally, we combine the types and quantities of 2×4 image blocks appearing in each group of pixels to obtain the total number of types and quantities of 2×4 image blocks appearing in the target image.

[0078] For example, step (2) is implemented as follows: For any group of row pixels in multiple groups of row pixels, such as the kth group of row pixels, determine the multiple sets of pixels that appear in each row of pixels in the kth group of row pixels and the column position interval corresponding to each set of pixels in the multiple sets of pixels. Each set of pixels includes N adjacent pixels, and the column position interval is the sum of the column positions of the N pixels in the corresponding set of pixels. Based on the multiple sets of pixels that appear in each row of pixels in the kth group of row pixels and the column position interval corresponding to each set of pixels in the multiple sets of pixels, determine the type of image patch that appears in the kth group of row pixels and the number of each type of image patch.

[0079] The k-th row pixel is one of the multiple rows of pixels. In other words, the k-th row pixel is any one of the multiple rows of pixels. For example, if there are a total of 10 rows of pixels after the division, then k can be any value from 1 to 10.

[0080] The method for determining the multiple sets of pixels appearing in each row of pixels in the k-th group and the column position interval corresponding to each set of pixels can be as follows: Taking the i-th row of pixels in the k-th group as an example, the i-th row of pixels is divided into multiple sets of pixels. Each set of pixels includes N adjacent pixels. Each set of pixels corresponds to a column position interval, which is the set of column positions of the N pixels in the corresponding set of pixels.

[0081] The method for determining the type and quantity of image blocks appearing in the k-th row of pixels, based on multiple pixel sets appearing in each row of pixels and the column position interval corresponding to each pixel set, can be as follows: Based on multiple pixel sets appearing in each row of pixels and the column position interval corresponding to each pixel set, determine the row pixel statistics for each row of pixels. The row pixel statistics include at least one type of pixel set and the column position interval for each type of pixel set. Then, merge the row pixel statistics of each row of pixels in the k-th row of pixels to obtain the frame pixel statistics corresponding to the k-th row of pixels. The frame pixel statistics include at least one image block appearing in the k-th row of pixels and the quantity of each type of image block in the at least one image block.

[0082] For example, taking the i-th row of pixels in the k-th row as an example, after obtaining multiple sets of pixels in the i-th row and the column position interval corresponding to each set of pixels in the multiple sets of pixels, the multiple sets of pixels are merged into at least one type of set of pixels. Each type of set of pixels corresponds to at least one set of pixels with adjacent column position intervals, and the pixel features of different sets of pixels in these at least one set of pixels are the same. The column position interval of each type of set of pixels is the union of the column position intervals of the corresponding at least one set of pixels.

[0083] Here, the pixels in the i-th row can be understood as any row of pixels in the target image. The following explanation uses the row pixel statistics of the i-th row as an example.

[0084] In this embodiment, to avoid excessive computational load when comparing pixel statistics with the template image, N should not be set too high. Similarly, to avoid too many types of image blocks in the final statistics, leading to a large space required for caching the first global pixel statistics, N should not be set too low. In other words, N can be set based on the computing power and cache size of the timing controller. Optionally, N can also be set based on the computing power and cache size of the timing controller, as well as the features of the template image to be detected. Optionally, when applying this embodiment, those skilled in the art can set N to other values ​​based on experience, which will not be illustrated here.

[0085] For example, N can be set to 4. In this scenario, for the pixels in the i-th row, the pixels in the i-th row are grouped by dividing them into sets of four adjacent pixels. For example, in the i-th row, the pixels from the 1st to the 4th are grouped into a set of pixels from left to right, with column positions ranging from 0 to 3; the pixels from the 5th to the 8th are grouped into a set of pixels, with column positions ranging from 4 to 7; the pixels from the 9th to the 12th are grouped into a set of pixels, with column positions ranging from 8 to 11; and so on, until the pixels in the i-th row are completely divided.

[0086] After dividing the pixels in the i-th row into at least one set of pixels, since there may be adjacent sets of pixels with completely identical pixel distribution characteristics, the pixel characteristics of at least one set of pixels can be used to statistically analyze these sets of pixels to obtain the row pixel statistics corresponding to the pixels in the i-th row.

[0087] Suppose that the first set of pixels, consisting of the 1st to the 4th pixels, is represented as {(R0,G0,B0),(R1,G1,B1),(R2,G2,B2),(R3,G3,B3)}, with column positions ranging from 0 to 3. The second set of pixels, consisting of the 5th to the 8th pixels, is represented as {(R4,G4,B4),(R5,G5,B5),(R6,G6,B6),(R7,G7,B7)}, with column positions ranging from 4 to 7.

[0088] If R0 = R4, G0 = G4, B0 = B4, and R1 = R5, G1 = G5, B1 = B5, and R2 = R6, G2 = G6, B2 = B6, and R3 = R7, G3 = G7, B3 = B7, then the pixel features of the first and second pixel sets are considered to be the same. Therefore, these two pixel sets can be statistically classified into the same type of pixel set, represented as {(R0,G0,B0),(R1,G1,B1),(R2,G2,B2),(R3,G3,B3)}. The column position intervals corresponding to this type of pixel set are the union of 0 to 3 and 4 to 7, i.e., 0-7.

[0089] The above example illustrates that the pixel features of two pixel sets are the same, using the example that the pixel values ​​of corresponding pixels in the first pixel set and the second pixel set are exactly the same. Optionally, if the pixel differences between corresponding pixels in the first pixel set and the second pixel set are all within a first difference threshold, the pixel features of these two pixel sets can also be considered the same.

[0090] For example, for the first and second pixel sets, the pixels in these two sets are divided into four groups of pixels. Each group of pixels includes one pixel from the first set and one corresponding pixel from the second set. That is, (R0,G0,B0) and (R4,G4,B4) are divided into one group of pixels, (R1,G1,B1) and (R5,G5,B5) are divided into one group of pixels, (R2,G2,B2) and (R6,G6,B6) are divided into one group of pixels, and (R3,G3,B3) and (R7,G7,B7) are divided into another group of pixels. If the pixel values ​​between any two pixels in each group satisfy the following formula (1), then the pixel features of the two pixel sets are considered to be the same.

[0091]

[0092] Where T is a pre-set first difference threshold. In this scenario, the pixel value of each pixel in a set of pixels after statistics can be obtained from the pixel values ​​of pixels at the same position in the two sets of pixels. For example, the pixel values ​​of pixels at the same position in the two sets of pixels can be averaged to obtain the pixel value of each pixel in the set of pixels.

[0093] Correspondingly, if the pixel difference between two pixels in any set of pixels does not satisfy the above formula, then the pixel features of these two sets of pixels are considered to be different.

[0094] Similarly, if the pixel features of the third pixel set are the same as those of the first pixel set, then the column position range corresponding to this pixel set {(R0,G0,B0),(R1,G1,B1),(R2,G2,B2),(R3,G3,B3)} can be updated to 0-11. Conversely, if the pixel features of the third pixel set are different from those of the first pixel set, then the third pixel set is recorded as a new pixel set, and the column position range of this new pixel set is recorded as 8-11. This process is repeated for each remaining pixel set to obtain the row pixel statistics corresponding to the i-th row.

[0095] After obtaining the row pixel statistics for each row of pixels using the above method, the row pixel statistics for each row of pixels in the same group are merged to obtain the frame pixel statistics for that group of rows of pixels, which in turn gives the type of image block appearing in that group of rows of pixels and the number of each type of image block.

[0096] For example, the implementation of merging the row pixel statistics of each row of pixels in the kth row of pixels to obtain the frame pixel statistics corresponding to the kth row of pixels can be as follows: For M rows of pixels in the kth row of pixels, select M sets of pixels corresponding to each of the M rows of pixels from the row pixel statistics of each of the M rows of pixels. There are overlapping column positions between the column position intervals of any two sets of pixels in the M sets of pixels. Combine the M sets of pixels and take the combined data as a type of image block. The number of this image block is the number of pixel sets corresponding to the overlapping column positions.

[0097] For example, M equals 2 and N equals 4. Let's take a group of pixels consisting of the first row and the second row as an example.

[0098] Assume that the row pixel statistics for the first row of pixels include: the set of pixels of the first class {(R0)} p G0 p B0 p ),(R1 p G1 p B1 p ),(R2 p G2 p B2 p ),(R3 p G3 p B3 p The corresponding column position range is 0-11. The row pixel statistics information corresponding to the second row of pixels includes: the second type of pixel set {(R0)} c G0 c B0 c ),(R1 c G1 c B1 c ),(R2 c G2 c B2 c ),(R3 c G3 c B3 c The corresponding column position range is 0-7. A 2×4 image block obtained by merging these two row cell data is represented as follows:

[0099] (R0 p G0 pB0 p ),(R1 p G1 p B1 p ),(R2 p G2 p B2 p ),(R3 p G3 p B3 p )

[0100] (R0 c G0 c B0 c ),(R1 c G1 c B1 c ),(R2 c G2 c B2 c ),(R3 c G3 c B3 c )

[0101] The number of image blocks is the number of pixel sets included in the overlapping column positions 0-7. Since each pixel set includes 4 pixels, the number of image blocks of this type is 2.

[0102] Figure 3 This is a schematic diagram illustrating the relationship between column position intervals of two types of pixel sets provided in an embodiment of this application. For example... Figure 3 As shown, assume that the row pixel statistics of the first row of pixels include a set of pixels, and the column position interval of this set of pixels is labeled (p0_s, p0_e), where p0_s is the starting column coordinate and p0_e is the ending column coordinate. The row pixel statistics of the second row of pixels also include a set of pixels, and the column position interval of this set of pixels is labeled (p1_s, p1_e). Figure 3 As shown, there are six illustrative cases regarding the relationship between these two column position intervals, labeled as Case 1 to Case 6.

[0103] exist Figure 3 In cases 1, 2, 3, and 4, there are overlapping column positions between the two column position intervals, i.e., there is an overlapping area. Therefore, each of these cases can be combined to obtain an image block. Specifically, the number of image blocks obtained in case 1 is (p1_e-p1_s) / N, the number of image blocks obtained in case 2 is (p1_e-p0_s) / N, the number of image blocks obtained in case 3 is (p0_e-p1_s) / N, and the number of image blocks obtained in case 4 is (p0_e-p0_s) / N.

[0104] exist Figure 3 In cases 5 and 6, no image patch is obtained because there are no overlapping column positions between the column position intervals of the two types of pixel sets, i.e., no overlapping area.

[0105] After performing step (2), for example, in step (3), the types of image blocks appearing in each group of row pixels in multiple groups of row pixels and the number of each type of image block are clustered to obtain the types of image blocks appearing in the target image and the number of each type of image block.

[0106] For example, for two image blocks in the frame pixel statistics information corresponding to different groups of row pixels, if the pixel values ​​of the pixels at the same position in these two image blocks are the same, then these two image blocks are considered to belong to the same type of image block.

[0107] For example, for two image blocks in the frame pixel statistics information corresponding to different groups of row pixels, if the difference between the pixel values ​​of the pixels at the same position in these two image blocks is less than a specified second difference threshold, then the two image blocks are considered to belong to the same type of image block.

[0108] The method of comparing the difference between the pixel values ​​of pixels at the same position in two image blocks to see if it is less than the second difference threshold can be exemplified by the aforementioned formula (1). For example, if M=2 and N=4, then each image block includes the pixel values ​​of 2×4 pixels. In this scenario, the difference between the pixel values ​​of two pixels at the same position in two image blocks can be compared. If the difference between the pixel values ​​of any two pixels at the same position is less than the second difference threshold, then the two image blocks are considered to belong to the same type of image block. In this scenario, the pixel values ​​of the pixels of a certain type of image block obtained by final statistics can be the average value of the pixels at the same position in image blocks belonging to that type.

[0109] Alternatively, other similarity clustering methods can be used to obtain the types of image patches appearing in the target image and the number of each type of image patch, which will not be illustrated here. For ease of explanation later, the types of image patches appearing in the target image and the number of each type of image patch are referred to as the first global pixel statistics of the target image.

[0110] Furthermore, in the above steps, row pixel statistics for each row of pixels are first calculated, and then the row pixel statistics of adjacent rows of pixels are merged to obtain frame pixel statistics, thereby obtaining the first global pixel statistics. Optionally, in this embodiment, column pixel statistics for each column of pixels can also be calculated first, and then the column pixel statistics of adjacent columns of pixels can be merged to obtain frame pixel statistics, thereby obtaining the first global pixel statistics. This will not be described in detail here.

[0111] It should be noted that the above description uses the timing controller determining the first global pixel statistics of the target image as an example. Optionally, in this embodiment, other devices may also determine the first global pixel statistics of the target image and then send the first global pixel statistics of the target image to the timing controller.

[0112] In addition, after obtaining the types of image blocks of a specific size that appear in the target image and the number of each type of image block, the timing controller can determine the target template image that matches the target image based on the types of image blocks of a specific size that appear in the target image and the number of each type of image block.

[0113] In some embodiments, step 201 can be implemented by: taking the types of image blocks of a specific size appearing in the target image and the number of each type of image block as the first global pixel statistics of the target image, and determining the target template image that matches the target image based on the first global pixel statistics of the target image.

[0114] For example, based on the first global pixel statistics of the target image, a target template image matching the target image is determined from multiple template images, and the multiple template images correspond to multiple polarity control methods.

[0115] In some embodiments, determining a target template image that matches the target image from multiple template images based on the first global pixel statistics of the target image can be achieved by: determining a target template image that matches the target image based on the first global pixel statistics of the target image and the first global pixel statistics of each template image in the multiple template images.

[0116] In this scenario, to improve the efficiency of step 201, the first global pixel statistics of each template image in multiple template images can be pre-configured in the timing controller.

[0117] The method for determining the first global pixel statistics of each template image is described in the reference steps and will not be repeated here.

[0118] For example, the implementation of determining the target template image that matches the target image based on the first global pixel statistics of the target image and the first global pixel statistics of each template image in a plurality of template images can be as follows: For any template image, if the type of image block in the first global pixel statistics of the target image is the same as the type of image block in the first global pixel statistics of the template image, and the number of each type of image block in the first global pixel statistics of the target image is the same as the number of each type of image block in the first global pixel statistics of the template image, then the template image can be used as the target template image that matches the target image.

[0119] Optionally, in other embodiments, step 201 can be implemented as follows: processing the initial pixel values ​​in each image block to obtain an image block template corresponding to each image block, and using the number of each image block as the number of corresponding image block templates; merging the colors appearing in each image block to obtain a color set; using the type of image block template, the number of each image block template, and the color set as the second global pixel statistics of the target image; and determining the target template image that matches the target image based on the second global pixel statistics of the target image.

[0120] The purpose of processing the initial pixel values ​​in each image block is to reset the pixel number of each pixel in the corresponding image block based on the total number of different pixel values ​​appearing in that block. This allows for a more intuitive understanding of the pixel value variation patterns within the resulting image block template by analyzing the pixel numbers. This method reduces the computational load required to determine the target template image.

[0121] Therefore, processing the initial pixel values ​​in each image block is also called performing a template operation on each image block.

[0122] For example, the implementation of processing the initial pixel values ​​in each image block to obtain an image block template corresponding to each image block can be as follows: For the first pixel in each image block, set the pixel number of the first pixel to a reference integer; for the j-th pixel in each image block, if the initial pixel value of the j-th pixel is the same as the initial pixel value of any target pixel among the first to (j-1)-th pixels, use the pixel number of that target pixel as the pixel number of the j-th pixel; or, if the initial pixel value of the j-th pixel is different from the initial pixel values ​​of the first to (j-1)-th pixels, add 1 to the maximum value of the pixel numbers of the first to (j-1)-th pixels, and use it as the pixel number of the j-th pixel.

[0123] The reference integer mentioned above can be any integer that is preset. For example, the reference integer can be set to 0. In this scenario, if the initial pixel values ​​of all pixels in the image block are only two different pixel values, then the pixel numbers of the pixels in the image block template obtained after the template operation will only be 0 and 1.

[0124] Figure 4 This is a schematic diagram illustrating a method for determining an image block template according to an embodiment of this application. For example... Figure 4 As shown on the left, a 2×4 image block of a specific size includes eight pixels from the top left to the bottom right, named sequentially as: pixel 0, pixel 1, ..., pixel 7. For pixel 0, its pixel number is set to 0. For pixel 1, since its pixel value is different from pixel 0, its pixel number is incremented by 1 to obtain its pixel number. For pixel 2, since its pixel value is the same as pixel 0, its pixel number is set to the same as pixel 0, i.e., its pixel number is 0. This process continues until... Figure 4 The image block template shown on the right.

[0125] Since the pixel number in each image block template is only used to distinguish the initial pixel value in that image block template and cannot count the total number of colors in the entire target image, after the image blocks are templated, the colors appearing in each image block need to be merged to obtain a color set.

[0126] For example, for the first type of image patch, which has two initial pixel values ​​(i.e., two colors), these two colors are added to the color set. For the second type of image patch, which also has two initial pixel values, one of these values ​​is the same as one of the initial pixel values ​​in the first type of image patch, while the other is different. In this case, it indicates that a new color has appeared in the second type of image patch, so this new color is added to the color set. This process continues until all types of image patches have been processed.

[0127] After obtaining the second global pixel statistics, for example, the implementation of determining the target template image matching the target image based on the second global pixel statistics of the target image can be as follows: For any template image, if the type of image block template in the second global pixel statistics of the target image is the same as the type of image block template in the second global pixel statistics of the template image, and the number of each type of image block template in the second global pixel statistics of the target image is the same as the number of each type of image block template in the second global pixel statistics of the template image, and the color types in the color set in the second global pixel statistics of the target image are exactly the same as the color types in the color set in the second global pixel statistics of the template image, then the template image can be used as the target template image matching the target image.

[0128] The fact that two image block templates are of the same type can be understood as: the pixel numbers of two pixels at any identical position in the two image block templates are the same.

[0129] In this scenario, to improve the efficiency of step 201, the second global pixel statistics of each template image in multiple template images can also be pre-configured in the timing controller.

[0130] Step 202: Control the display driver chip to display the target image according to the polarity control method corresponding to the target template image.

[0131] In some embodiments, the timing controller can determine the polarity of the display voltage of each pixel in the target image according to the polarity control method corresponding to the target template image, and then send the polarity of the display voltage of each pixel in the target image in the configuration information to the display driver chip, so that the display driver chip drives the display screen to display the target image according to the polarity of the received display voltage.

[0132] In summary, in this embodiment of the application, to avoid problems such as screen greening, crosstalk, and flickering when displaying images, multiple template images and corresponding polarity control methods are pre-configured. Thus, for a target image to be displayed, the type and number of image blocks of a specific size appearing in the target image are used to detect whether the target image matches a certain template image. If the target image matches a template image, it must be displayed according to the polarity control method corresponding to that template image to avoid problems such as screen greening, crosstalk, and flickering when displaying the target image.

[0133] Since the specific size is M rows of pixels and N columns of pixels, and M is greater than 1 and less than the total number of rows of the target image, and N is greater than 1 and less than the total number of columns of the target image, the present application embodiment can detect the target image by statistically analyzing the various types of image blocks appearing in the target image. In this way, it is only necessary to cache the types of image blocks appearing in the target image and the number of each type of image block, instead of caching the pixel values ​​of each row of pixels in the target image to compare with the template image. In other words, the timing controller does not need to set up a line buffer when detecting the template image that matches the target image. The space required to cache the types of image blocks appearing in the target image and the number of each type of image block is much smaller than the line buffer. Therefore, the method provided by the present application embodiment can simplify the circuit structure of the timing controller, reduce the hardware area of ​​the timing controller, and thus reduce the hardware cost of the timing controller.

[0134] All of the above-mentioned optional technical solutions can be combined in any way to form optional embodiments of this application, and the embodiments of this application will not be described in detail one by one.

[0135] Figure 5 This is a schematic diagram of a timing controller provided in an embodiment of this application. The timing controller can be implemented by software, hardware, or a combination of both. Figure 5 As shown, the timing controller can include the following modules.

[0136] The template detection module 501 is used to determine the target template image that matches the target image based on the type of image blocks of a specific size that appear in the target image to be displayed and the number of each type of image block. The specific size is a size with M rows of pixels and N columns of pixels, where M is greater than 1 and less than the total number of rows of pixels in the target image, and N is greater than 1 and less than the total number of columns of pixels in the target image.

[0137] The control module 502 is used to control the display driver chip to display the target image according to the polarity control method corresponding to the target template image.

[0138] In one possible implementation, the template detection module 501 is used for:

[0139] The pixels of the target image are divided into multiple groups of rows of pixels, and each group of rows of pixels includes M adjacent rows of pixels;

[0140] Determine the types of image patches appearing in each group of row pixels and the number of each type of image patch;

[0141] Clustering is performed on the types and quantities of image patches appearing in each group of rows of pixels in multiple groups of rows to obtain the types and quantities of image patches appearing in the target image.

[0142] In one possible implementation, the template detection module 501 is used for:

[0143] For the k-th row of pixels in multiple sets of rows, determine the set of multiple pixels that appear in each row of pixels in the k-th row and the column position interval corresponding to each set of pixels in the multiple sets of pixels. Each set of pixels includes N adjacent pixels, and the column position interval is the set of column positions of the N pixels in the corresponding set of pixels.

[0144] Based on the set of multiple pixels appearing in each row of pixels in the k-th group and the column position range corresponding to each set of pixels in the multiple pixel sets, determine the type of image patch appearing in the k-th group and the number of each type of image patch;

[0145] The k-th row of pixels is one of the multiple groups of row pixels.

[0146] In one possible implementation, the template detection module 501 is used for:

[0147] The types of image patches appearing in the target image and the number of each type of image patch are used as the first global pixel statistics of the target image. Based on the first global pixel statistics of the target image, the target template image that matches the target image is determined.

[0148] In one possible implementation, the template detection module 501 is used for:

[0149] The pixel values ​​in each image block are processed to obtain an image block template corresponding to each image block, and the number of each image block is used as the number of corresponding image block templates;

[0150] The colors appearing in each image patch are merged to obtain a color set;

[0151] The types of image block templates, the quantity of each type of image block template, and the color set are used as the second global pixel statistics of the target image. Based on the second global pixel statistics of the target image, the target template image that matches the target image is determined.

[0152] In this embodiment, to avoid issues such as greenish tint, crosstalk, and flickering when displaying images, multiple template images and corresponding polarity control methods are pre-configured. Thus, for a target image to be displayed, the type and number of image blocks of a specific size appearing in the target image are used to detect whether the target image matches a template image. If the target image matches a template image, it is displayed according to the polarity control method corresponding to that template image to avoid issues such as greenish tint, crosstalk, and flickering when displaying the target image.

[0153] Since the specific size is M rows of pixels and N columns of pixels, and M is greater than 1 and less than the total number of rows of the target image, and N is greater than 1 and less than the total number of columns of the target image, the present application embodiment can detect the target image by statistically analyzing the various types of image blocks appearing in the target image. In this way, it is only necessary to cache the types of image blocks appearing in the target image and the number of each type of image block, instead of caching the pixel values ​​of each row of pixels in the target image to compare with the template image. In other words, the timing controller does not need to set up a line buffer when detecting the template image that matches the target image. The space required to cache the types of image blocks appearing in the target image and the number of each type of image block is much smaller than the line buffer. Therefore, the method provided by the present application embodiment can simplify the circuit structure of the timing controller, reduce the hardware area of ​​the timing controller, and thus reduce the hardware cost of the timing controller.

[0154] It should be noted that the timing controller provided in the above embodiments, when controlling the display driver chip to display images, is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the timing controller can be divided into different functional modules to complete all or part of the functions described above. In addition, the timing controller provided in the above embodiments and the image display method embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0155] This application also provides a non-transitory computer-readable storage medium, which, when the instructions in the storage medium are executed by a timing controller, enables the timing controller to execute the image display method provided in the above embodiment.

[0156] This application also provides a computer program product containing instructions that, when run on a timing controller, causes the timing controller to execute the image display method provided in the above embodiments.

[0157] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0158] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of the embodiments of this application.

Claims

1. A timing controller, characterized in that, The timing controller includes: The template detection module is used to obtain the types of image blocks of a specific size appearing in the target image to be displayed, the number of each type of image block, and the global pixel statistics information corresponding to each template image in multiple template images. The global pixel statistics information corresponding to each template image includes the types of image blocks of a specific size appearing in the corresponding template image and the number of each type of image block. The specific size is a size with M rows of pixels and N columns of pixels. M is greater than 1 and less than the total number of rows of pixels in the target image, and N is greater than 1 and less than the total number of columns of pixels in the target image. Image blocks of the same type are defined as pixels at the same location having the same pixel features. The template detection module is further configured to determine a target template image that matches the target image based on the types of image blocks of a specific size appearing in the target image and the number of each type of image block, as well as the global pixel statistics information corresponding to each template image in the plurality of template images, wherein the types of image blocks of a specific size appearing in the target image are the same as the types of image blocks of a specific size appearing in the target template image, and the number of each type of image block appearing in the target image is the same as the number of the same type of image blocks in the target template image; The control module is used to control the display driver chip to display the target image according to the polarity control mode corresponding to the target template image.

2. The timing controller as described in claim 1, characterized in that, The template detection module is used for: The pixels of the target image are divided into multiple groups of rows of pixels, and each group of rows of pixels includes M adjacent rows of pixels. Determine the type of image patch appearing in each group of row pixels and the number of each type of image patch; Clustering is performed on the types and quantities of image blocks appearing in each group of rows of pixels to obtain the types and quantities of image blocks appearing in the target image.

3. The timing controller as described in claim 2, characterized in that, The template detection module is used for: For the k-th row of pixels in the multiple sets of rows, determine the multiple sets of pixels that appear in each row of pixels in the k-th row and the column position interval corresponding to each set of pixels in the multiple sets of pixels. Each set of pixels includes N adjacent pixels, and the column position interval is the set of column positions of the N pixels in the corresponding set of pixels. Based on the multiple pixel sets appearing in each row of the k-th row of pixels and the column position range corresponding to each pixel set in the multiple pixel sets, determine the type of image block appearing in the k-th row of pixels and the number of each type of image block; The k-th group of row pixels is one group of row pixels among the multiple groups of row pixels.

4. The timing controller as described in any one of claims 1-3, characterized in that, The template detection module is used for: The types and quantities of the image blocks appearing in the target image are used as the first global pixel statistics of the target image, and a target template image matching the target image is determined based on the first global pixel statistics of the target image.

5. The timing controller as described in any one of claims 1-3, characterized in that, The template detection module is used for: The pixel values ​​in each image block are processed to obtain an image block template corresponding to each image block, and the number of each image block is used as the number of corresponding image block templates; The colors appearing in each image patch are merged to obtain a color set; The type of image block template, the quantity of each type of image block template, and the color set are used as the second global pixel statistics of the target image. Based on the second global pixel statistics of the target image, a target template image that matches the target image is determined.

6. An image display method, characterized in that, The method includes: The method obtains the types and quantities of image blocks of a specific size appearing in the target image to be displayed, as well as the global pixel statistics corresponding to each template image in multiple template images. The global pixel statistics corresponding to each template image include the types and quantities of image blocks of a specific size appearing in the corresponding template image. The specific size is a size with M rows of pixels and N columns of pixels. M is greater than 1 and less than the total number of rows of pixels in the target image, and N is greater than 1 and less than the total number of columns of pixels in the target image. Image blocks of the same type are defined as pixels at the same location having the same pixel features. Based on the types of image blocks of a specific size appearing in the target image and the number of each type of image block, as well as the global pixel statistics corresponding to each of the multiple template images, a target template image matching the target image is determined, wherein the types of image blocks of a specific size appearing in the target image are the same as the types of image blocks of a specific size appearing in the target template image, and the number of each type of image block appearing in the target image is the same as the number of the same type of image block in the target template image; The control display driver chip displays the target image according to the polarity control mode corresponding to the target template image.

7. The method as described in claim 6, characterized in that, The method further includes: The pixels of the target image are divided into multiple groups of rows of pixels, and each group of rows of pixels includes M adjacent rows of pixels. Determine the type of image patch appearing in each group of row pixels and the number of each type of image patch; Clustering is performed on the types and quantities of image blocks appearing in each group of rows of pixels to obtain the types and quantities of image blocks appearing in the target image.

8. The method as described in claim 7, characterized in that, Determining the type of image patch appearing in each group of row pixels and the number of each type of image patch includes: For the k-th row of pixels in the multiple sets of rows, determine the multiple sets of pixels that appear in each row of pixels in the k-th row and the column position interval corresponding to each set of pixels in the multiple sets of pixels. Each set of pixels includes N adjacent pixels, and the column position interval is the set of column positions of the N pixels in the corresponding set of pixels. Based on the multiple pixel sets appearing in each row of the k-th row of pixels and the column position range corresponding to each pixel set in the multiple pixel sets, determine the type of image block appearing in the k-th row of pixels and the number of each type of image block; The k-th group of row pixels is one group of row pixels among the multiple groups of row pixels.

9. The method as described in any one of claims 6-8, characterized in that, The step of determining a target template image that matches the target image based on the types of image blocks of specific sizes appearing in the target image to be displayed and the number of each type of image block includes: The types and quantities of the image blocks appearing in the target image are used as the first global pixel statistics of the target image, and a target template image matching the target image is determined based on the first global pixel statistics of the target image.

10. The method according to any one of claims 6-8, characterized in that, The step of determining a target template image that matches the target image based on the types of image blocks of specific sizes appearing in the target image to be displayed and the number of each type of image block includes: The pixel values ​​in each image block are processed to obtain an image block template corresponding to each image block, and the number of each image block is used as the number of corresponding image block templates; The colors appearing in each image patch are merged to obtain a color set; The type of image block template, the quantity of each type of image block template, and the color set are used as the second global pixel statistics of the target image. Based on the second global pixel statistics of the target image, a target template image that matches the target image is determined.

11. A display device, characterized in that, The display device includes the timing controller according to any one of claims 1-5; The display device also includes a display driver chip.

Citation Information

Patent Citations

  • Image processing method and device of display panel, storage medium and display device

    CN116229914A