Gray scale adjustment method and device, display panel and storage medium

CN120472851BActive Publication Date: 2026-10-16HKC CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510891082.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2025-05-30
Filing Date
2025-06-27
Publication Date
2026-10-16
Estimated Expiration
2045-06-27

AI Technical Summary

Technical Problem

[0005]本申请提供了一种灰阶的调整方法、装置、显示面板及存储介质,以解决叠屏架构显示面板中次屏像素单元的灰阶调整难以适应于主屏像素单元的实际显示情况的技术问题

Benefits of technology

[0043] The method provided in this application, when adjusting the grayscale of any sub-pixel unit in the sub-screen, first determines the central main pixel unit cluster corresponding to the sub-pixel unit and the adjacent main pixel unit cluster connected to the central main pixel unit cluster. Then, it determines the target grayscale value of the sub-pixel unit based on the grayscale values ​​of the main pixel units in the central main pixel unit cluster and the adjacent main pixel unit clusters, thereby adjusting the grayscale value of the sub-pixel unit to the target grayscale value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120472851B_ABST
    Figure CN120472851B_ABST
Patent Text Reader

Abstract

The application relates to a gray scale adjustment method and device, a display panel and a storage medium. The method comprises the following steps: determining a center main pixel unit cluster corresponding to a sub-pixel unit; determining M adjacent main pixel unit clusters corresponding to the sub-pixel unit according to the position of the center main pixel unit cluster in a main screen; wherein the adjacent main pixel unit cluster at least comprises a first adjacent main pixel unit cluster connected with the edge of the center main pixel unit cluster; determining the gray scale values of the main pixel units in the center main pixel unit cluster and the M adjacent main pixel unit clusters; and determining a target gray scale value of the sub-pixel unit according to the gray scale values of the main pixel units in the center main pixel unit cluster and the M adjacent main pixel unit clusters, so as to adjust the gray scale value of the sub-pixel unit to the target gray scale value. Through the method, the technical problem that the gray scale adjustment of the sub-screen pixel unit is difficult to adapt to the actual display condition of the main screen pixel unit is solved.
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 grayscale adjustment method, apparatus, display panel, and storage medium. Background Technology

[0002] To address the light leakage problem in LCD (Liquid Crystal Display) panels, existing technologies have proposed a stacked screen architecture. Specifically, this architecture uses two displays stacked one on top of the other: a sub-cell closer to the backlight source and a main cell stacked on top of the sub-cell. The main cell displays images, while the sub-cell handles dimming. In this stacked screen architecture, the sub-cell blocks the backlight source, thus mitigating the light leakage problem in the LCD panel.

[0003] In a stacked-screen architecture, since the secondary screen primarily serves to block light, its resolution will be significantly lower than that of the primary screen. This means that a single pixel unit in the secondary screen actually corresponds to multiple pixel units in the primary screen. For example, if the primary screen resolution is 3840×2160, the secondary screen resolution might only be 1920×1080, implying that a single pixel unit in the secondary screen corresponds to four pixel units in the primary screen.

[0004] The low-resolution design of the secondary screen makes it impossible to achieve a 1:1 pixel mapping with the main screen. This makes it difficult to match the grayscale of the pixel units of the main screen and the pixel units of the secondary screen, and the grayscale adjustment of the pixel units of the secondary screen is difficult to adapt to the actual display situation of the pixel units of the main screen. Summary of the Invention

[0005] This application provides a grayscale adjustment method, apparatus, display panel, and storage medium to solve the technical problem that the grayscale adjustment of the secondary screen pixel units in a stacked screen architecture display panel is difficult to adapt to the actual display situation of the main screen pixel units.

[0006] In a first aspect, this application provides a grayscale adjustment method, which is applied to a display panel with a stacked screen architecture. The display panel consists of a stacked main screen and a secondary screen, wherein the main screen includes multiple main pixel units and the secondary screen includes multiple secondary pixel units. The method comprises:

[0007] Determine the central main pixel unit cluster corresponding to the sub-pixel unit; wherein, the central main pixel unit cluster consists of multiple main pixel units that overlap with the vertical projection area of ​​the sub-pixel unit;

[0008] Based on the position of the central main pixel unit cluster in the main screen, M neighboring main pixel unit clusters corresponding to the secondary pixel unit are determined; wherein, the neighboring main pixel unit clusters include at least the first neighboring main pixel unit cluster connected to the edge of the central main pixel unit cluster, and M is an integer greater than or equal to 2.

[0009] Determine the grayscale values ​​of the central main pixel unit cluster and the main pixel units in the M neighboring main pixel unit clusters;

[0010] The target grayscale value of the secondary pixel unit is determined based on the grayscale values ​​of the primary pixel units in the central primary pixel unit cluster and the primary pixel units in the M neighboring primary pixel unit clusters, so as to adjust the grayscale value of the secondary pixel unit to the target grayscale value.

[0011] In one feasible embodiment of this application, determining M neighboring main pixel unit clusters corresponding to the secondary pixel unit based on the position of the central main pixel unit cluster in the main screen includes:

[0012] Based on the position of the central main pixel unit cluster in the main screen, I first neighboring main pixel unit clusters are determined, where I is an integer greater than or equal to 2; where:

[0013] When the central main pixel unit cluster is connected to both sides of the main screen, the main pixel unit clusters that are connected to the other two sides of the central main pixel unit cluster are determined as the first neighboring main pixel unit cluster.

[0014] When the central main pixel unit cluster is connected to one side of the main screen, the main pixel unit clusters that are connected to the other three sides of the central main pixel unit cluster are determined as the first neighboring main pixel unit cluster.

[0015] When the central main pixel unit cluster is not connected to the edge of the main screen, the main pixel unit clusters that are connected to the four sides of the central main pixel unit cluster are determined as the first neighboring main pixel unit cluster.

[0016] In one feasible embodiment of this application, the neighboring main pixel unit cluster further includes J nth neighboring main pixel unit clusters, where J is an integer greater than or equal to 3 and n is an integer greater than or equal to 2. The method further includes determining M neighboring main pixel unit clusters corresponding to the secondary pixel unit based on the position of the central main pixel unit cluster in the main screen, and also includes:

[0017] If the (n-1)th neighboring main pixel unit cluster is determined, the main pixel cluster connected to the (n-1)th neighboring main pixel unit cluster is determined as the nth neighboring main pixel unit cluster.

[0018] In one feasible embodiment of this application, determining the target grayscale value of a secondary pixel unit based on the grayscale values ​​of the primary pixel units in the central primary pixel unit cluster and the M neighboring primary pixel unit clusters includes:

[0019] Calculate the average grayscale value of the main pixel units in the central main pixel unit cluster;

[0020] Calculate the average grayscale value of the main pixel units in each of the M neighboring main pixel unit clusters;

[0021] The target grayscale value is determined by a first calculation formula; wherein the first calculation formula is:

[0022]

[0023] Where L is the target grayscale value, L c L is the average grayscale value of the main pixel units in the central main pixel unit cluster. m It is the average grayscale value of the main pixel units in the m-th neighboring main pixel unit cluster.

[0024] In one feasible embodiment of this application, determining the target grayscale value of a secondary pixel unit based on the grayscale values ​​of the primary pixel units in the central primary pixel unit cluster and the M neighboring primary pixel unit clusters includes:

[0025] Calculate the average grayscale value of the main pixel units in the central main pixel unit cluster;

[0026] Calculate the average grayscale value of the main pixel units in the I first neighboring main pixel unit clusters and the average grayscale value of the main pixel units in the J nth neighboring main pixel unit clusters respectively;

[0027] The target grayscale value is determined by a second calculation formula; wherein the second calculation formula is:

[0028]

[0029] Among them, L 1i L is the average grayscale value of the main pixel units in the i-th first neighboring main pixel unit cluster. nj Let k be the average grayscale value of the main pixel units in the j-th neighboring main pixel unit cluster. c k 1i k nj These are the weighting coefficients for the average grayscale value of the main pixel units in the central main pixel unit cluster, the average grayscale value of the main pixel units in the i-th first neighboring main pixel unit cluster, and the average grayscale value of the main pixel units in the j-th n-th neighboring main pixel unit cluster, respectively. 1i Equal, each knj Equal, k c k 1i k nj satisfy

[0030]

[0031] In one feasible embodiment of this application, each of the weighting coefficients further satisfies k c >k 1i >k nj .

[0032] In one feasible embodiment of this application, before determining the target grayscale value using the second calculation formula, the method further includes:

[0033] Determine the pixel distance between the j-th neighboring main pixel unit cluster and the central main pixel unit cluster; wherein, the pixel distance is the Euclidean distance between the center point of the j-th neighboring main pixel unit cluster and the center point of the central main pixel unit cluster;

[0034] The weighting coefficient of the average grayscale value of the main pixel unit in the j-th neighboring main pixel unit cluster is determined based on the pixel distance; wherein, the pixel distance and the weighting coefficient of the average grayscale value of the main pixel unit in the j-th neighboring main pixel unit cluster are inversely proportional.

[0035] Secondly, this application provides a grayscale adjustment device, the device comprising:

[0036] The first determining module is used to determine the central main pixel unit cluster corresponding to the sub-pixel unit; wherein, the central main pixel unit cluster is composed of multiple main pixel units that overlap with the vertical projection area of ​​the sub-pixel unit;

[0037] The second determining module is used to determine M neighboring main pixel unit clusters corresponding to the secondary pixel unit based on the position of the central main pixel unit cluster in the main screen; wherein, the neighboring main pixel unit clusters include at least a first neighboring main pixel unit cluster connected to the edge of the central main pixel unit cluster, and M is an integer greater than or equal to 2.

[0038] The third determining module is used to determine the grayscale values ​​of the central main pixel unit cluster and the main pixel units in the M neighboring main pixel unit clusters.

[0039] The fourth determining module is used to determine the target grayscale value of the secondary pixel unit based on the grayscale values ​​of the primary pixel units in the central primary pixel unit cluster and the M neighboring primary pixel unit clusters, so as to adjust the grayscale value of the secondary pixel unit to the target grayscale value.

[0040] Thirdly, this application provides a display panel, the display panel including a secondary screen, a main screen stacked on the secondary screen, and a control circuit board connected to the main screen and the secondary screen respectively, the control circuit board being configured to perform the grayscale adjustment method described in the first aspect of this application above.

[0041] Fourthly, this application also provides a computer storage medium storing computer-executable instructions for performing the grayscale adjustment method described in the first aspect of this application.

[0042] The technical solutions provided in this application have the following advantages compared with the prior art:

[0043] The method provided in this application, when adjusting the grayscale of any sub-pixel unit in the sub-screen, first determines the central main pixel unit cluster corresponding to the sub-pixel unit and the adjacent main pixel unit cluster connected to the central main pixel unit cluster. Then, it determines the target grayscale value of the sub-pixel unit based on the grayscale values ​​of the main pixel units in the central main pixel unit cluster and the adjacent main pixel unit clusters, thereby adjusting the grayscale value of the sub-pixel unit to the target grayscale value.

[0044] It is understandable that the grayscale values ​​of the main pixel units in the central main pixel unit cluster and the adjacent main pixel unit clusters reflect the actual display situation of the main screen. The grayscale values ​​of the corresponding secondary pixel units are indirectly determined by the grayscale values ​​of the main pixel units in the central main pixel unit cluster and the adjacent main pixel unit clusters, so that the grayscale value of the secondary pixel unit can match the actual display situation of the main screen, thus solving the technical problem that the grayscale adjustment of the secondary screen pixel units is difficult to adapt to the actual display situation of the main screen pixel units. Attached Figure Description

[0045] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0046] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0047] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0048] Figure 1A schematic flowchart illustrating a grayscale adjustment method provided in an embodiment of this application;

[0049] Figure 2 This is a schematic diagram illustrating the arrangement of a first neighboring main pixel unit cluster in a grayscale adjustment method provided in an embodiment of this application.

[0050] Figure 3 This is a schematic diagram illustrating another arrangement position of the first neighboring main pixel unit cluster in a grayscale adjustment method provided in an embodiment of this application.

[0051] Figure 4 This is a schematic diagram illustrating another arrangement position of the first neighboring main pixel unit cluster in a grayscale adjustment method provided in an embodiment of this application.

[0052] Figure 5 This is a schematic diagram showing the arrangement of the first neighboring main pixel unit cluster and the second neighboring main pixel unit cluster in a grayscale adjustment method provided in an embodiment of this application.

[0053] Figure 6 A schematic diagram of a grayscale adjustment device provided in an embodiment of this application;

[0054] Figure 7 This is a schematic diagram of the structure of a display panel provided in an embodiment of this application.

[0055] Explanation of reference numerals in the attached figures:

[0056] 1. Subpixel unit; 2. Main pixel unit; 3. Central main pixel unit cluster; 4. First neighboring main pixel unit cluster; 5. Second neighboring main pixel unit cluster; 601. First determining module; 602. Second determining module; 603. Third determining module; 604. Fourth determining module. Detailed Implementation

[0057] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0058] The following disclosure provides numerous different embodiments or examples for implementing various structures of this application. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of this application. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.

[0059] To address the technical problem that grayscale adjustment of secondary screen pixel units in the prior art is difficult to adapt to the actual display situation of primary screen pixel units, this application provides a grayscale adjustment method, device, display panel, and storage medium, so that the grayscale value of the secondary pixel unit can match the actual display situation of the primary screen.

[0060] This application provides a grayscale adjustment method applied to a display panel with a stacked screen architecture. The display panel consists of a secondary screen and a main screen stacked on top of the secondary screen. The secondary screen includes multiple sub-pixel units, and the main screen includes multiple primary pixel units. In this display panel, the resolution of the secondary screen is lower than the resolution of the main screen, and any given sub-pixel unit corresponds to multiple primary pixel units on the main screen.

[0061] Figure 1 A flowchart illustrating a grayscale adjustment method provided in this application embodiment is shown below. Figure 1 The grayscale adjustment method provided in this application specifically includes the following steps:

[0062] S1: Determine the central main pixel unit cluster corresponding to the sub-pixel unit; wherein, the central main pixel unit cluster consists of multiple main pixel units that overlap with the vertical projection area of ​​the sub-pixel unit;

[0063] Specifically, when the display panel displays any frame of the image to be displayed, the main screen and the secondary screen synchronously acquire the display data of the image to be displayed. This display data includes grayscale data used to configure the grayscale value of the main pixel unit of the main screen. For any main pixel unit, its grayscale value has been determined. At this time, it is necessary to synchronously adjust the grayscale value of the secondary pixel unit in the secondary screen.

[0064] When adjusting the grayscale value of a subpixel unit in a subscreen, for any subpixel unit on a subscreen, the central main pixel unit cluster corresponding to that subpixel unit is first determined. The central main pixel unit cluster consists of multiple main pixel units that overlap with the vertical projection area of ​​the subpixel unit.

[0065] Reference Figure 2As an example, the resolution ratio of the main screen to the secondary screen is 4:1. For any given secondary pixel unit, it corresponds to four primary pixel units. In this case, the four primary pixel units that overlap with the vertical projection area of ​​a secondary pixel unit constitute the central primary pixel unit cluster corresponding to that secondary pixel unit. It can be understood that one secondary pixel unit corresponds to only one central primary pixel unit cluster.

[0066] S2: Determine M neighboring main pixel unit clusters corresponding to the secondary pixel unit based on the position of the central main pixel unit cluster in the main screen; wherein, the neighboring main pixel unit clusters include at least the first neighboring main pixel unit cluster connected to the edge of the central main pixel unit cluster, and M is an integer greater than or equal to 2.

[0067] Specifically, after determining the central main pixel unit cluster corresponding to the secondary pixel unit, M neighboring main pixel unit clusters corresponding to the secondary pixel unit are determined according to the position of the central main pixel unit cluster in the main screen. These neighboring main pixel unit clusters include I first neighboring main pixel unit clusters and J nth neighboring main pixel unit clusters. The first neighboring main pixel unit clusters are connected to the central main pixel unit cluster. I is an integer greater than or equal to 2, J is an integer greater than or equal to 3, and I+J=M.

[0068] In one feasible embodiment of this application, I first neighboring main pixel unit clusters are determined based on the position of the central main pixel unit cluster in the main screen, wherein:

[0069] When the central main pixel unit cluster is connected to both sides of the main screen, the main pixel unit clusters that are connected to the other two sides of the central main pixel unit cluster are determined as the first neighboring main pixel unit clusters.

[0070] When the central main pixel unit cluster is connected to one side of the main screen, the main pixel unit clusters that are connected to the other three sides of the central main pixel unit cluster are determined as the first neighboring main pixel unit clusters.

[0071] When the central main pixel unit cluster is not connected to the edge of the main screen, the main pixel unit clusters that are connected to the four edges of the central main pixel unit cluster are determined as the first neighboring main pixel unit clusters.

[0072] Reference Figure 2 When the central main pixel unit cluster is not connected to the edge of the main screen, and the central main pixel unit cluster is located in the center of the main screen, the main pixel unit clusters connected to the top, bottom, left and right sides of the central main pixel unit cluster are respectively determined as the first neighboring main pixel unit clusters.

[0073] Reference Figure 3When the central main pixel unit cluster is connected to one side of the main screen, the central main pixel unit cluster is located at the edge of the main screen. At this time, the main pixel unit clusters connected to the other three sides of the central main pixel unit cluster (i.e., the three sides of the central main pixel unit cluster that are not connected to the edge of the main screen) are determined as the first neighboring main pixel unit clusters.

[0074] Specifically, if the central main pixel unit cluster is located on the left edge of the main screen, then the main pixel unit clusters connected to the top, bottom, and right edges of the central main pixel unit cluster are defined as the first neighboring main pixel unit clusters; if the central main pixel unit cluster is located on the right edge of the main screen, then the main pixel unit clusters connected to the top, bottom, and left edges of the central main pixel unit cluster are defined as the first neighboring main pixel unit clusters; if the central main pixel unit cluster is located on the top edge of the main screen, then the main pixel unit clusters connected to the bottom, left, and right edges of the central main pixel unit cluster are defined as the first neighboring main pixel unit clusters; if the central main pixel unit cluster is located on the bottom edge of the main screen, then the main pixel unit clusters connected to the top, left, and right edges of the central main pixel unit cluster are defined as the first neighboring main pixel unit clusters.

[0075] Reference Figure 4 When the central main pixel unit cluster is connected to both sides of the main screen, the central main pixel unit cluster is located in the corner of the main screen. In this case, the main pixel unit clusters connected to the other two sides of the central main pixel unit cluster (i.e., the two sides of the central main pixel unit cluster that are not connected to the edge of the main screen) are determined as the first neighboring main pixel unit clusters.

[0076] Specifically, if the central main pixel unit cluster is located in the upper left corner of the main screen, then the main pixel unit cluster connected to the lower and right sides of the central main pixel unit cluster is determined as the first neighboring main pixel unit cluster; if the central main pixel unit cluster is located in the upper right corner of the main screen, then the main pixel unit cluster connected to the lower and left sides of the central main pixel unit cluster is determined as the first neighboring main pixel unit cluster; if the central main pixel unit cluster is located in the lower left corner of the main screen, then the main pixel unit cluster connected to the upper and right sides of the central main pixel unit cluster is determined as the first neighboring main pixel unit cluster; if the central main pixel unit cluster is located in the lower right corner of the main screen, then the main pixel unit cluster connected to the upper and left sides of the central main pixel unit cluster is determined as the first neighboring main pixel unit cluster.

[0077] In one feasible embodiment of this application, based on the determined first neighboring main pixel unit cluster, the nth neighboring main pixel unit cluster corresponding to the second pixel unit is further determined, where n is an integer greater than or equal to 2. Specifically, M neighboring main pixel unit clusters corresponding to the second pixel unit are determined according to the position of the central main pixel unit cluster in the main screen, and the method further includes:

[0078] Given the (n-1)th neighboring main pixel unit cluster, the main pixel cluster connected to the (n-1)th neighboring main pixel unit cluster is determined as the nth neighboring main pixel unit cluster.

[0079] Specifically, after determining the first neighboring main pixel unit cluster, the algorithm sequentially extends from the first neighboring main pixel unit cluster to the nth neighboring main pixel unit cluster. For example, refer to... Figure 5 , Figure 5 The diagram shows the specific arrangement of the first and second neighboring main pixel unit clusters when n=2. For the determined first neighboring main pixel unit cluster, the main pixel unit cluster connected to the edge of the first neighboring main pixel unit cluster is selected as the second neighboring main pixel unit cluster. Based on this, the second neighboring main pixel unit cluster can be extended outward to determine the corresponding third, fourth, ..., nth neighboring main pixel unit cluster.

[0080] In one feasible embodiment of this application, when the (n-1)th neighboring main pixel unit cluster is connected to the edge of the main screen, the nth neighboring main pixel unit cluster cannot be determined due to the limitation of the main screen area. At this time, the outward expansion is stopped, and the nth neighboring main pixel unit cluster is no longer determined. The neighboring main pixel unit cluster corresponding to the sub-pixel unit only includes the first neighboring main pixel unit cluster to the (n-1)th neighboring main pixel unit cluster.

[0081] In one feasible embodiment of this application, the value of n can be set by those skilled in the art.

[0082] S3: Determine the grayscale values ​​of the main pixel units in the central main pixel unit cluster and the M neighboring main pixel unit clusters;

[0083] Specifically, the display data of the screen to be displayed is obtained. This display data includes grayscale data used to configure the grayscale values ​​of the main pixel units of the main screen. This grayscale data includes the grayscale value of any one main pixel unit.

[0084] Based on the grayscale data, the grayscale values ​​of the central main pixel unit cluster and the main pixel units in the M neighboring main pixel unit clusters are determined. As a concrete example, the grayscale data can be a grayscale value-position mapping table. For any main pixel unit with a known position, its grayscale value can be determined by looking up its position in the grayscale value-position mapping table.

[0085] S4: Determine the target grayscale value of the secondary pixel unit based on the grayscale values ​​of the primary pixel units in the central primary pixel unit cluster and the M neighboring primary pixel unit clusters, so as to adjust the grayscale value of the secondary pixel unit to the target grayscale value.

[0086] Specifically, after determining the grayscale values ​​of the main pixel units in the central main pixel unit cluster and the M neighboring main pixel unit clusters, the obtained multiple grayscale values ​​are processed to calculate the target grayscale value of the secondary pixel unit corresponding to the central main pixel unit cluster, thereby adjusting the grayscale value of the secondary pixel unit to the target grayscale value.

[0087] In one feasible embodiment of this application, determining the target grayscale value of a secondary pixel unit based on the grayscale values ​​of the primary pixel units in the central primary pixel unit cluster and the M neighboring primary pixel unit clusters includes:

[0088] The average grayscale value of the main pixel units in the main pixel unit cluster at the calculation center;

[0089] Calculate the average grayscale value of the main pixel units in the M neighboring main pixel unit clusters respectively;

[0090] The target grayscale value is determined by a first calculation formula; wherein the first calculation formula is:

[0091]

[0092] Where L is the target grayscale value, L c L represents the average grayscale value of the main pixel units in the central main pixel unit cluster. m It represents the average grayscale value of the main pixel units in the m-th neighboring main pixel unit cluster.

[0093] Specifically, when determining the target grayscale value of the secondary pixel unit based on the grayscale values ​​of the primary pixel units in the central primary pixel unit cluster and the M neighboring primary pixel unit clusters, a mean fusion strategy based on uniform weight allocation is adopted. Figure 2 Taking the scenario shown as an example, in some practical examples, the specific implementation of this embodiment is as follows:

[0094] First, the grayscale values ​​of all main pixel units within the central main pixel unit cluster are arithmetically averaged. For example... Figure 2 As shown, assume that the central main pixel unit cluster corresponding to the sub-pixel unit contains four main pixel units, namely main pixel unit A, main pixel unit B, main pixel unit C and main pixel unit D, and their grayscale values ​​are L and L respectively. cA =200, L cB =210, L cC =190, L cD =205. Therefore, the average grayscale value of the main pixel units in the central main pixel unit cluster is calculated as L. c=(L cA +L cB +L cC +L cD ) / 4 = 201.25.

[0095] Secondly, the grayscale values ​​of the main pixel units within each neighboring main pixel unit cluster are arithmetically averaged. (Continue referring to...) Figure 2 The central main pixel unit cluster is located in the non-edge area of ​​the main screen, and there are four neighboring main pixel unit clusters around it (i.e., M=4). Each neighboring main pixel unit cluster also consists of four main pixel units. For example, the grayscale values ​​of the main pixel units in the upper neighboring main pixel unit cluster are 180, 185, 175, and 190, respectively, and the average grayscale value of the main pixel units in the upper neighboring main pixel unit cluster is L1 = (180+185+175+190) / 4 = 182.5.

[0096] Similarly, the average grayscale value of the main pixel units in the right adjacent main pixel unit cluster is calculated as L2 = 195.0, the average grayscale value of the main pixel units in the lower adjacent main pixel unit cluster is L3 = 208.75, and the average grayscale value of the main pixel units in the left adjacent main pixel unit cluster is L4 = 192.5.

[0097] Subsequently, the average grayscale value of the main pixel units in the central main pixel unit cluster and the average grayscale value of the main pixel units in each neighboring main pixel unit cluster are substituted into the first calculation formula to calculate the target grayscale value L = 201.25 / 5 + (182.5 + 195.0 + 208.75 + 192.5) / 5 = 196.0.

[0098] The technical solution provided by the above embodiments diffuses the display details of the main screen to the grayscale adjustment of the secondary screen. The target grayscale value of the secondary pixel unit is calculated based on the grayscale average value of the main pixel units in the central main pixel unit cluster corresponding to the secondary pixel unit and the main pixel units in each neighboring main pixel unit cluster, so that the grayscale adjustment of the secondary screen can adapt to the display effect of the main screen.

[0099] In one feasible embodiment of this application, determining the target grayscale value of a secondary pixel unit based on the grayscale values ​​of the primary pixel units in the central primary pixel unit cluster and the M neighboring primary pixel unit clusters includes:

[0100] The average grayscale value of the main pixel units in the main pixel unit cluster at the calculation center;

[0101] Calculate the average gray level of the main pixel units in the I first neighboring main pixel unit clusters and the average gray level of the main pixel units in the J nth neighboring main pixel unit clusters respectively.

[0102] The target grayscale value is determined by a second calculation formula; wherein the second calculation formula is:

[0103]

[0104] Among them, L 1i L is the average grayscale value of the main pixel units in the i-th first neighboring main pixel unit cluster. nj Let k be the average grayscale value of the main pixel units in the j-th n-th neighboring main pixel unit cluster. c k 1i k nj These are the weighting coefficients for the average grayscale of the main pixel units in the central main pixel unit cluster, the average grayscale of the main pixel units in the i-th first neighboring main pixel unit cluster, and the average grayscale of the main pixel units in the j-th n-th neighboring main pixel unit cluster, respectively. 1i Equal, each k nj Equal, k c k 1i k nj satisfy

[0105] Specifically, since the central main pixel unit cluster, the first neighboring main pixel unit cluster, and the nth neighboring main pixel unit cluster are located in different positions on the main screen, and their corresponding positions with the secondary pixel units are also different, when the target grayscale value is calculated by referring to the grayscale values ​​of the first neighboring main pixel unit cluster and the nth neighboring main pixel unit cluster, if the mean fusion strategy of uniform weight allocation described in the aforementioned embodiment is adopted, it will lead to the problem of blurred display details.

[0106] Based on this, in this embodiment, different weight coefficients are assigned to the central main pixel unit cluster, the first neighboring main pixel unit cluster, and the nth neighboring main pixel unit cluster, so that different main pixel unit clusters contribute differently to the target grayscale value.

[0107] Furthermore, in one feasible embodiment of this application, the weighting coefficients are set to satisfy k c >k 1i >k nj It is understood that in this embodiment, for adjacent main pixel unit clusters at the same level, their corresponding weight coefficients remain consistent. However, for adjacent main pixel unit clusters at different levels, the greater the distance between the adjacent main pixel unit cluster and the central main pixel unit cluster, the smaller their corresponding weight coefficients become.

[0108] By further setting the weighting coefficients, the grayscale average value of the central main pixel unit cluster plays a dominant role in influencing the target average value, while the grayscale average values ​​of the first neighboring main pixel unit cluster and the nth neighboring main pixel unit cluster play an auxiliary role in influencing the target average value. This makes the grayscale value of the secondary pixel unit closer to the actual brightness of the core display area of ​​the main screen (i.e., the grayscale average value of the central main pixel unit cluster), so that the light blocking intensity of the secondary screen is accurately matched with the display situation of the main screen.

[0109] In one feasible embodiment of this application, before determining the target grayscale value using the second calculation formula, the method further includes:

[0110] Determine the pixel distance between the j-th n-th neighboring main pixel unit cluster and the central main pixel unit cluster; where the pixel distance is the Euclidean distance between the center point of the j-th n-th neighboring main pixel unit cluster and the center point of the central main pixel unit cluster;

[0111] The weighting coefficient of the average grayscale value of the main pixel units in the j-th n-th neighboring main pixel unit cluster is determined based on the pixel distance; wherein, there is an inverse proportional relationship between the pixel distance and the weighting coefficient of the average grayscale value of the main pixel units in the j-th n-th neighboring main pixel unit cluster.

[0112] Specifically, in this embodiment, the weighting coefficient of the average grayscale value of the main pixel units in each nth neighboring main pixel unit cluster is calculated separately. Unlike the above embodiment, which sets the weighting coefficient of neighboring main pixel unit clusters at the same level to be consistent, this embodiment further considers the distance between different neighboring main pixel unit clusters at the same level and the central main pixel unit cluster, thereby evaluating the influence of the average grayscale value of the main pixel units in the neighboring main pixel unit clusters on the target grayscale value.

[0113] In some practical examples, let the pixel distance between the j-th and n-th neighboring main pixel clusters and the central main pixel cluster be D. nj Then the weighting coefficient k of the grayscale average value of the main pixel units in the j-th n-th neighboring main pixel unit cluster can be used. nj Set to:

[0114]

[0115] α is a variable adjustment parameter.

[0116] This embodiment further refines the calculation method of the target grayscale value, calculates the weight coefficient of the average grayscale value of each main pixel unit in the nth neighboring main pixel unit cluster separately, realizes the quantification of the influence based on pixel distance, and ensures that the calculated target grayscale value can better reflect the actual display of the main screen.

[0117] The method provided in this application, when adjusting the grayscale of any sub-pixel unit in the sub-screen, first determines the central main pixel unit cluster corresponding to the sub-pixel unit and the adjacent main pixel unit cluster connected to the central main pixel unit cluster. Then, it determines the target grayscale value of the sub-pixel unit based on the grayscale values ​​of the main pixel units in the central main pixel unit cluster and the adjacent main pixel unit clusters, thereby adjusting the grayscale value of the sub-pixel unit to the target grayscale value.

[0118] It is understandable that the grayscale values ​​of the main pixel units in the central main pixel unit cluster and the adjacent main pixel unit clusters reflect the actual display situation of the main screen. The grayscale values ​​of the corresponding secondary pixel units are indirectly determined by the grayscale values ​​of the main pixel units in the central main pixel unit cluster and the adjacent main pixel unit clusters, so that the grayscale value of the secondary pixel unit can match the actual display situation of the main screen, thus solving the technical problem that the grayscale adjustment of the secondary screen pixel units is difficult to adapt to the actual display situation of the main screen pixel units.

[0119] Figure 6 This is a schematic diagram of a grayscale adjustment device provided in an embodiment of this application. Corresponding to the above method embodiment, this application also provides a grayscale adjustment device, as shown below. Figure 6 The device specifically includes:

[0120] The first determining module 601 is used to determine the central main pixel unit cluster corresponding to the sub-pixel unit; wherein, the central main pixel unit cluster is composed of multiple main pixel units that overlap with the vertical projection area of ​​the sub-pixel unit;

[0121] The second determining module 602 is used to determine M neighboring main pixel unit clusters corresponding to the secondary pixel unit based on the position of the central main pixel unit cluster in the main screen; wherein, the neighboring main pixel unit clusters include at least the first neighboring main pixel unit cluster connected to the edge of the central main pixel unit cluster, and M is an integer greater than or equal to 2.

[0122] The third determining module 603 is used to determine the grayscale values ​​of the main pixel units in the central main pixel unit cluster and the M neighboring main pixel unit clusters.

[0123] The fourth determining module 604 is used to determine the target gray level value of the secondary pixel unit based on the gray level values ​​of the primary pixel units in the central primary pixel unit cluster and the M neighboring primary pixel unit clusters, so as to adjust the gray level value of the secondary pixel unit to the target gray level value.

[0124] In one feasible embodiment of this application, the second determining module 602 includes:

[0125] The first determining unit is used to determine I first neighboring main pixel unit clusters based on the position of the central main pixel unit cluster in the main screen, where I is an integer greater than or equal to 2; where:

[0126] When the central main pixel unit cluster is connected to both sides of the main screen, the main pixel unit clusters that are connected to the other two sides of the central main pixel unit cluster are determined as the first neighboring main pixel unit clusters.

[0127] When the central main pixel unit cluster is connected to one side of the main screen, the main pixel unit clusters that are connected to the other three sides of the central main pixel unit cluster are determined as the first neighboring main pixel unit clusters.

[0128] When the central main pixel unit cluster is not connected to the edge of the main screen, the main pixel unit clusters that are connected to the four edges of the central main pixel unit cluster are determined as the first neighboring main pixel unit clusters.

[0129] In one feasible embodiment of this application, the neighboring main pixel unit cluster further includes J nth neighboring main pixel unit clusters, where J is an integer greater than or equal to 3 and n is an integer greater than or equal to 2. The second determining module 602 further includes:

[0130] The second determining unit is used to determine the main pixel cluster connected to the (n-1)th neighboring main pixel cluster as the nth neighboring main pixel cluster when the (n-1)th neighboring main pixel cluster is determined.

[0131] In one feasible embodiment of this application, the fourth determining module 604 includes:

[0132] The first calculation unit is used to calculate the average gray level of the main pixel units in the central main pixel unit cluster;

[0133] The second calculation unit is used to calculate the average gray level of the main pixel units in the M neighboring main pixel unit clusters respectively;

[0134] The third calculation unit is used to determine the target grayscale value through a first calculation formula; wherein the first calculation formula is:

[0135]

[0136] Where L is the target grayscale value, L c L represents the average grayscale value of the main pixel units in the central main pixel unit cluster. m It represents the average grayscale value of the main pixel units in the m-th neighboring main pixel unit cluster.

[0137] In one feasible embodiment of this application, the fourth determining module 604 includes:

[0138] The fourth calculation unit is used to calculate the average grayscale value of the main pixel units in the central main pixel unit cluster;

[0139] The fifth calculation unit is used to calculate the average gray level of the main pixel units in the I first neighboring main pixel unit clusters and the average gray level of the main pixel units in the J nth neighboring main pixel unit clusters, respectively.

[0140] The sixth calculation unit is used to determine the target grayscale value using a second calculation formula; wherein the second calculation formula is:

[0141]

[0142] Among them, L 1i L is the average grayscale value of the main pixel units in the i-th first neighboring main pixel unit cluster. nj Let k be the average grayscale value of the main pixel units in the j-th n-th neighboring main pixel unit cluster. c k 1i k nj These are the weighting coefficients for the average grayscale of the main pixel units in the central main pixel unit cluster, the average grayscale of the main pixel units in the i-th first neighboring main pixel unit cluster, and the average grayscale of the main pixel units in the j-th n-th neighboring main pixel unit cluster, respectively. 1i Equal, each k nj Equal, k c k 1i k nj satisfy

[0143] In one feasible embodiment of this application, each weighting coefficient also satisfies k c >k 1i >k nj .

[0144] In one feasible embodiment of this application, the fourth determining module 604 further includes:

[0145] The third determining unit is used to determine the pixel distance between the j-th n-th neighboring main pixel unit cluster and the central main pixel unit cluster; wherein, the pixel distance is the Euclidean distance between the center point of the j-th n-th neighboring main pixel unit cluster and the center point of the central main pixel unit cluster;

[0146] The fourth determining unit is used to determine the weighting coefficient of the average gray level of the main pixel units in the j-th n-th neighboring main pixel unit cluster based on the pixel distance; wherein, the pixel distance and the weighting coefficient of the average gray level of the main pixel units in the j-th n-th neighboring main pixel unit cluster are inversely proportional.

[0147] like Figure 7As shown, this application embodiment provides a display panel, which includes a secondary screen, a main screen stacked on the secondary screen, and a control circuit board connected to the main screen and the secondary screen respectively. The control circuit board is configured to perform the grayscale adjustment method described in any of the above method embodiments.

[0148] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the grayscale adjustment method provided in any of the foregoing method embodiments.

[0149] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0150] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0151] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also include the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.

[0152] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A grayscale adjustment method, said method being applied to a display panel with a stacked screen architecture, the display panel comprising a stacked main screen and a secondary screen, the main screen including multiple main pixel units, and the secondary screen including multiple secondary pixel units, characterized in that, The method includes: Determine the central main pixel unit cluster corresponding to the sub-pixel unit; wherein, the central main pixel unit cluster consists of multiple main pixel units that overlap with the vertical projection area of ​​the sub-pixel unit; Based on the position of the central main pixel unit cluster in the main screen, M neighboring main pixel unit clusters corresponding to the secondary pixel unit are determined; wherein, the neighboring main pixel unit clusters include the first neighboring main pixel unit cluster to the nth neighboring main pixel unit cluster connected to the edge of the central main pixel unit cluster. After the first neighboring main pixel unit cluster is determined, it is extended outward from the first neighboring main pixel unit cluster to the nth neighboring main pixel unit cluster. The nth neighboring main pixel unit cluster is connected to the edge of the (n-1)th neighboring main pixel unit cluster. M is an integer greater than or equal to 2, and n is an integer greater than or equal to 2. Determine the grayscale values ​​of the central main pixel unit cluster and the main pixel units in the M neighboring main pixel unit clusters; The target grayscale value of the secondary pixel unit is determined based on the grayscale values ​​of the primary pixel units in the central primary pixel unit cluster and the primary pixel units in the M neighboring primary pixel unit clusters, so as to adjust the grayscale value of the secondary pixel unit to the target grayscale value.

2. The method according to claim 1, characterized in that, Based on the position of the central main pixel unit cluster in the main screen, determine M neighboring main pixel unit clusters corresponding to the secondary pixel unit, including: Based on the position of the central main pixel unit cluster in the main screen, I adjacent main pixel unit clusters are determined, where I is an integer greater than or equal to 2; where: When the central main pixel unit cluster is connected to both sides of the main screen, the main pixel unit clusters that are connected to the other two sides of the central main pixel unit cluster are determined as the first neighboring main pixel unit cluster. When the central main pixel unit cluster is connected to one side of the main screen, the main pixel unit clusters that are connected to the other three sides of the central main pixel unit cluster are determined as the first neighboring main pixel unit cluster. If the central main pixel unit cluster is not connected to the edge of the main screen, the main pixel unit clusters that are connected to the four edges of the central main pixel unit cluster are determined as the first neighboring main pixel unit cluster.

3. The method according to claim 2, characterized in that, The number of the nth neighboring main pixel unit clusters is J, and the sum of J and I is M. Based on the position of the central main pixel unit cluster in the main screen, M neighboring main pixel unit clusters corresponding to the secondary pixel unit are determined, further including: If the (n-1)th neighboring main pixel unit cluster is determined, the main pixel cluster connected to the edge of the (n-1)th neighboring main pixel unit cluster is determined as the nth neighboring main pixel unit cluster.

4. The method according to claim 1, characterized in that, Determining the target grayscale value of the secondary pixel unit based on the grayscale values ​​of the primary pixel units in the central primary pixel unit cluster and the M neighboring primary pixel unit clusters includes: Calculate the average grayscale value of the main pixel units in the central main pixel unit cluster; Calculate the average grayscale value of the main pixel units in each of the M neighboring main pixel unit clusters; The target grayscale value is determined by a first calculation formula; wherein the first calculation formula is: ; in, The target grayscale value, The grayscale average of the main pixel units in the central main pixel unit cluster. It is the average grayscale value of the main pixel units in the m-th neighboring main pixel unit cluster.

5. The method according to claim 3, characterized in that, Determining the target grayscale value of the secondary pixel unit based on the grayscale values ​​of the primary pixel units in the central primary pixel unit cluster and the M neighboring primary pixel unit clusters includes: Calculate the average grayscale value of the main pixel units in the central main pixel unit cluster; Calculate the average grayscale value of the main pixel units in the I first neighboring main pixel unit clusters and the average grayscale value of the main pixel units in the J nth neighboring main pixel unit clusters respectively; The target grayscale value is determined by a second calculation formula; wherein the second calculation formula is: ; in, It is the average grayscale value of the main pixel units in the i-th neighboring main pixel unit cluster. The average grayscale value of the main pixel units in the j-th neighboring main pixel unit cluster is given by [the value]. , , These are the weighting coefficients for the average grayscale value of the main pixel units in the central main pixel unit cluster, the average grayscale value of the main pixel units in the i-th neighboring main pixel unit cluster, and the average grayscale value of the main pixel units in the j-th neighboring main pixel unit cluster, respectively. Equal, each equal, , , satisfy .

6. The method according to claim 5, characterized in that, Each of the aforementioned weighting coefficients also satisfies .

7. The method according to claim 5, characterized in that, Before determining the target grayscale value using the second calculation formula, the method further includes: Determine the pixel distance between the j-th neighboring main pixel unit cluster and the central main pixel unit cluster; wherein, the pixel distance is the Euclidean distance between the center point of the j-th neighboring main pixel unit cluster and the center point of the central main pixel unit cluster; The weighting coefficient of the average grayscale value of the main pixel unit in the j-th neighboring main pixel unit cluster is determined based on the pixel distance; wherein, the pixel distance and the weighting coefficient of the average grayscale value of the main pixel unit in the j-th neighboring main pixel unit cluster are inversely proportional.

8. A grayscale adjustment device, characterized in that, The device includes: The first determining module is used to determine the central main pixel unit cluster corresponding to the sub-pixel unit; wherein, the central main pixel unit cluster is composed of multiple main pixel units that overlap with the vertical projection area of ​​the sub-pixel unit; The second determining module is used to determine M neighboring main pixel unit clusters corresponding to the secondary pixel unit based on the position of the central main pixel unit cluster in the main screen; wherein, the neighboring main pixel unit clusters include at least the first neighboring main pixel unit cluster to the nth neighboring main pixel unit cluster connected to the edge of the central main pixel unit cluster, and after determining the first neighboring main pixel unit cluster, the process is extended outward from the first neighboring main pixel unit cluster to the nth neighboring main pixel unit cluster, wherein the nth neighboring main pixel unit cluster is connected to the edge of the (n-1)th neighboring main pixel unit cluster, M is an integer greater than or equal to 2, and n is an integer greater than or equal to 2; The third determining module is used to determine the grayscale values ​​of the central main pixel unit cluster and the main pixel units in the M neighboring main pixel unit clusters. The fourth determining module is used to determine the target grayscale value of the secondary pixel unit based on the grayscale values ​​of the primary pixel units in the central primary pixel unit cluster and the M neighboring primary pixel unit clusters, so as to adjust the grayscale value of the secondary pixel unit to the target grayscale value.

9. A display panel, characterized in that, The display panel includes a secondary screen, a main screen stacked on top of the secondary screen, and a control circuit board connected to the main screen and the secondary screen respectively. The control circuit board is configured to perform the grayscale adjustment method as described in any one of claims 1-7.

10. A computer storage medium, characterized in that, The device stores computer-executable instructions for performing the grayscale adjustment method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Halftone image production method and image processing system

    CN102131037A

  • Display device and display method thereof

    CN108681164A