Gray scale adjusting method and device, display panel and storage medium
By determining the center and adjacent main pixel unit clusters of the sub-pixel units in the stacked screen architecture and calculating the target grayscale value, the problem that the grayscale adjustment of the secondary screen pixel unit is not suitable for the main screen display is solved, and the accurate matching of the grayscale values is achieved, and the display effect is improved.
Patent Information
- Application Number
- CN202510891082.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2025-05-30
- Filing Date
- 2025-06-27
- Publication Date
- 2025-08-12
Smart Images

Figure CN120472851A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a grayscale adjustment method, device, display panel, and storage medium. Background Art
[0002] To address the light leakage problem of LCD (Liquid Crystal Display) display panels, a stacked-screen architecture has been proposed in the prior art. Specifically, a stacked-screen architecture uses two display screens stacked one on top of the other: a sub-cell located near the backlight source and a main cell stacked on top of the sub-cell. The main cell displays the image, while the sub-cell is used for dimming. In this stacked-screen architecture, the sub-cell shields the backlight source, thereby alleviating the light leakage problem of the LCD display panel.
[0003] In a stacked-screen architecture, the secondary screen primarily serves as a light shield, so its resolution is much lower than that of the primary screen. This means that a single pixel on the secondary screen actually corresponds to multiple pixels on the primary screen. For example, if the primary screen has a resolution of 3840×2160, the secondary screen might only have a resolution of 1920×1080, meaning that a single pixel on the secondary screen corresponds to four pixels on the primary screen.
[0004] The low-resolution design of the secondary screen makes it impossible to achieve 1:1 pixel mapping with the main screen, which makes it difficult to match the grayscale of the pixel units of the main screen with the pixel units of the secondary screen. The grayscale adjustment of the pixel units of the secondary screen is difficult to adapt to the actual display conditions of the pixel units of the main screen. Summary of the Invention
[0005] The present application provides a grayscale adjustment method, device, display panel and storage medium to solve the technical problem that the grayscale adjustment of the secondary screen pixel unit in the stacked screen structure display panel is difficult to adapt to the actual display conditions of the main screen pixel unit.
[0006] In a first aspect, the present application provides a grayscale adjustment method, which is applied to a display panel with a stacked screen architecture, wherein the display panel with the stacked screen architecture is composed of a stacked main screen and a secondary screen, wherein the main screen includes a plurality of main pixel units, and the secondary screen includes a plurality of secondary pixel units, and wherein the method comprises:
[0007] Determining a central primary pixel unit cluster corresponding to the sub-pixel unit; wherein the central primary pixel unit cluster is composed of a plurality of primary pixel units that overlap with a vertical projection area of the sub-pixel unit;
[0008] Determining, based on the position of the central main pixel unit cluster in the main screen, M adjacent main pixel unit clusters corresponding to the sub-pixel units; wherein the adjacent main pixel unit clusters include at least a first adjacent main pixel unit cluster adjacent to an edge of the central main pixel unit cluster, and M is an integer greater than or equal to 2;
[0009] Determining grayscale values of the main pixel units in the central main pixel unit cluster and the M adjacent main pixel unit clusters;
[0010] The target grayscale value of the sub-pixel unit is determined according to the grayscale values of the main pixel units in the central main pixel unit cluster and the M adjacent main pixel unit clusters, so as to adjust the grayscale value of the sub-pixel unit to the target grayscale value.
[0011] In a feasible embodiment of the present application, determining M adjacent primary pixel unit clusters corresponding to the secondary pixel units according to the position of the central primary pixel unit cluster in the primary screen includes:
[0012] I first adjacent main pixel unit clusters are determined according to the position of the central main pixel unit cluster in the main screen, where I is an integer greater than or equal to 2; wherein:
[0013] In a case where the central main pixel unit cluster is adjacent to two sides of the main screen, the main pixel unit clusters respectively adjacent to the other two sides of the central main pixel unit cluster are determined as the first adjacent main pixel unit clusters;
[0014] In a case where the central main pixel unit cluster is connected to one side of the main screen, main pixel unit clusters respectively connected to the other three sides of the central main pixel unit cluster are determined as the first adjacent main pixel unit clusters;
[0015] In a case where the central main pixel unit cluster is not adjacent to the edge of the main screen, the main pixel unit clusters respectively adjacent to the four edges of the central main pixel unit cluster are determined as the first adjacent main pixel unit clusters.
[0016] In a feasible embodiment of the present application, the adjacent primary pixel unit clusters further include J n-th adjacent primary 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 M adjacent primary pixel unit clusters corresponding to the sub-pixel unit are determined according to the position of the central primary pixel unit cluster in the primary screen, and further include:
[0017] When the n-1th adjacent primary pixel unit cluster is determined, the primary pixel cluster connected to the n-1th adjacent primary pixel unit cluster is determined as the nth adjacent primary pixel unit cluster.
[0018] In a feasible embodiment of the present application, determining the target grayscale value of the sub-pixel unit according to the grayscale values of the main pixel units in the central main pixel unit cluster and the M adjacent main pixel unit clusters includes:
[0019] Calculating the average grayscale value of the main pixel units in the central main pixel unit cluster;
[0020] Calculating the grayscale averages of the main pixel units in the M adjacent main pixel unit clusters respectively;
[0021] The target grayscale value is determined by a first calculation formula; wherein the first calculation formula is:
[0022]
[0023] Wherein, L is the target grayscale value, L c is the average grayscale value of the main pixel units in the central main pixel unit cluster, L m is the average grayscale value of the main pixel units in the mth adjacent main pixel unit cluster.
[0024] In a feasible embodiment of the present application, determining the target grayscale value of the sub-pixel unit according to the grayscale values of the main pixel units in the central main pixel unit cluster and the M adjacent main pixel unit clusters includes:
[0025] Calculating the average grayscale value of the main pixel units in the central main pixel unit cluster;
[0026] respectively calculating the grayscale averages of the main pixel units in I of the first adjacent main pixel unit clusters and the grayscale averages of the main pixel units in J of the nth adjacent main pixel unit clusters;
[0027] The target grayscale value is determined by a second calculation formula; wherein the second calculation formula is:
[0028]
[0029] Among them, L 1i is the grayscale average value of the primary pixel unit in the i-th primary pixel unit cluster, L nj is the average grayscale value of the jth primary pixel unit in the nth adjacent primary pixel unit cluster, k c 、k 1i 、k nj are weight coefficients of the grayscale average of the main pixel units in the central main pixel unit cluster, the grayscale average of the main pixel units in the i-th first adjacent main pixel unit cluster, and the grayscale average of the main pixel units in the j-th n-th adjacent main pixel unit cluster, respectively. 1i Equal, each knj Equal, k c 、k 1i 、k nj satisfy
[0030]
[0031] In a feasible embodiment of the present application, each of the weight coefficients also satisfies k c >k 1i >k nj .
[0032] In a feasible embodiment of the present application, before determining the target grayscale value using the second calculation formula, the method further includes:
[0033] Determining a pixel distance between the jth nth adjacent main pixel unit cluster and the central main pixel unit cluster; wherein the pixel distance is a Euclidean distance between a center point of the jth nth adjacent main pixel unit cluster and a center point of the central main pixel unit cluster;
[0034] The weight coefficient of the grayscale average value of the jth main pixel unit in the nth adjacent main pixel unit cluster is determined according to the pixel distance; wherein, the pixel distance and the weight coefficient of the grayscale average value of the main pixel unit in the jth nth adjacent main pixel unit cluster are inversely proportional.
[0035] In a second aspect, the present application provides a grayscale adjustment device, the device comprising:
[0036] A first determining module is configured to determine a central primary pixel unit cluster corresponding to the sub-pixel unit; wherein the central primary pixel unit cluster is composed of a plurality of primary pixel units that overlap with a vertical projection area of the sub-pixel unit;
[0037] a second determining module, configured to determine, based on a position of the central main pixel unit cluster in the main screen, M adjacent main pixel unit clusters corresponding to the sub-pixel units; wherein the adjacent main pixel unit clusters include at least a first adjacent main pixel unit cluster adjacent to an edge of the central main pixel unit cluster, and M is an integer greater than or equal to 2;
[0038] A third determining module is configured to determine the grayscale values of the main pixel units in the central main pixel unit cluster and the M adjacent main pixel unit clusters;
[0039] The fourth determination module is used to determine the target grayscale value of the sub-pixel unit according to the grayscale values of the main pixel units in the central main pixel unit cluster and the M adjacent main pixel unit clusters, so as to adjust the grayscale value of the sub-pixel unit to the target grayscale value.
[0040] In a third aspect, the present application 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, and the control circuit board is configured to execute the grayscale adjustment method described in the first aspect of the present application.
[0041] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the grayscale adjustment method described in the first aspect of the present application.
[0042] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0043] The method provided in the embodiment of the present 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, and 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 cluster, thereby adjusting the grayscale value of the sub-pixel unit to the target grayscale value.
[0044] It can be understood 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 conditions of the main screen. The grayscale values of the corresponding sub-pixel units are indirectly determined through 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 values of the sub-pixel units can match the actual display conditions of the main screen, solving the technical problem that the grayscale adjustment of the sub-screen pixel units is difficult to adapt to the actual display conditions of the main screen pixel units. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0047] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings. These exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0048] Figure 1A schematic diagram of a grayscale adjustment method provided in an embodiment of the present application;
[0049] Figure 2 A schematic diagram of an arrangement position of a first adjacent main pixel unit cluster in a grayscale adjustment method provided in an embodiment of the present application;
[0050] Figure 3 A schematic diagram of another arrangement position of a first adjacent main pixel unit cluster in a grayscale adjustment method provided in an embodiment of the present application;
[0051] Figure 4 A schematic diagram of another arrangement position of the first adjacent main pixel unit cluster in a grayscale adjustment method provided in an embodiment of the present application;
[0052] Figure 5 A schematic diagram of an arrangement position of a first adjacent main pixel unit cluster and a second adjacent main pixel unit cluster in a grayscale adjustment method provided in an embodiment of the present application;
[0053] Figure 6 A schematic structural diagram of a grayscale adjustment device provided in an embodiment of the present application;
[0054] Figure 7 A schematic structural diagram of a display panel provided in an embodiment of the present application.
[0055] Description of reference numerals:
[0056] 1. Sub-pixel unit; 2. Main pixel unit; 3. Central main pixel unit cluster; 4. First adjacent main pixel unit cluster; 5. Second adjacent main pixel unit cluster; 601. First determination module; 602. Second determination module; 603. Third determination module; 604. Fourth determination module. DETAILED DESCRIPTION
[0057] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0058] The disclosure below provides many different embodiments or examples for implementing different structures of the present application. In order to simplify the disclosure of the present application, the components and settings of specific examples are described below. Of course, these are merely examples and are not intended to limit the present application. In addition, the present application may repeat reference numbers and / or letters in different examples. Such repetition is for the purpose of simplicity and clarity and does not in itself indicate the relationship between the various embodiments and / or settings discussed.
[0059] In order to solve the technical problem in the prior art that the grayscale adjustment of the secondary screen pixel unit is difficult to adapt to the actual display situation of the main screen pixel unit, the present 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 main screen.
[0060] An embodiment of the present application provides a grayscale adjustment method for a display panel with a stacked-screen architecture. The display panel comprises a secondary screen and a primary screen stacked on the secondary screen. The secondary screen includes multiple sub-pixel units, and the primary screen includes multiple primary pixel units. In this display panel, the resolution of the secondary screen is lower than that of the primary screen, and any sub-pixel unit corresponds to multiple primary pixel units on the primary screen.
[0061] Figure 1 A flowchart of a grayscale adjustment method provided in an embodiment of the present application is provided. Figure 1 The grayscale adjustment method provided in the embodiment of the present application specifically includes the following steps:
[0062] S1: Determine a central primary pixel unit cluster corresponding to the sub-pixel unit; wherein the central primary pixel unit cluster is composed of a plurality of primary pixel units that overlap with a vertical projection area of the sub-pixel unit;
[0063] Specifically, when the display panel displays any frame of the picture to be displayed, the main screen and the secondary screen synchronously obtain the display data of the picture to be displayed. The display data includes grayscale data for configuring 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 values of the sub-pixel units in the secondary screen, for any sub-pixel unit on the secondary screen, a central primary pixel unit cluster corresponding to the sub-pixel unit is first determined. The central primary pixel unit cluster is composed of multiple primary pixel units that overlap with the vertical projection area of the sub-pixel unit.
[0065] Reference Figure 2As an example, the resolution ratio of the primary screen to the secondary screen is 4:1. For any sub-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 sub-pixel unit constitute the central primary pixel unit cluster corresponding to the sub-pixel unit. It is understood that a sub-pixel unit corresponds to only one central primary pixel unit cluster.
[0066] S2: Determine, based on the position of the central main pixel unit cluster in the main screen, M adjacent main pixel unit clusters corresponding to the sub-pixel units; wherein the adjacent main pixel unit clusters include at least a first adjacent main pixel unit cluster adjacent to an 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 sub-pixel unit, M adjacent main pixel unit clusters corresponding to the sub-pixel unit are determined according to the position of the central main pixel unit cluster in the main screen. These adjacent main pixel unit clusters include I first adjacent main pixel unit clusters and J n-th adjacent main pixel unit clusters. The first adjacent main pixel unit cluster is connected to the edge of 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 a feasible embodiment of the present application, I first adjacent main pixel unit clusters are determined according to the position of the central main pixel unit cluster in the main screen, wherein:
[0069] In the case where the central main pixel unit cluster is adjacent to two sides of the main screen, the main pixel unit clusters respectively adjacent to the other two sides of the central main pixel unit cluster are determined as first adjacent main pixel unit clusters;
[0070] In the case where the central main pixel unit cluster is connected to one side of the main screen, the main pixel unit clusters respectively connected to the other three sides of the central main pixel unit cluster are determined as first adjacent main pixel unit clusters;
[0071] In the case that the central main pixel unit cluster does not connect to the side of the main screen, the main pixel unit clusters respectively connected to the four sides of the central main pixel unit cluster are determined as first adjacent 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 at the center of the main screen, the main pixel unit clusters connected to the upper side, lower side, left side and right side of the central main pixel unit cluster are respectively determined as the first adjacent 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 (that is, the three sides where the central main pixel unit cluster is not connected to the edge of the main screen) are respectively determined as the first adjacent main pixel unit clusters.
[0074] Specifically, if the central main pixel unit cluster is located at the left edge of the main screen, the main pixel unit cluster connected to the upper, lower and right sides of the central main pixel unit cluster will be determined as the first adjacent main pixel unit cluster; if the central main pixel unit cluster is located at the right edge of the main screen, the main pixel unit cluster connected to the upper, lower and left sides of the central main pixel unit cluster will be determined as the first adjacent main pixel unit cluster; if the central main pixel unit cluster is located at the upper edge of the main screen, the main pixel unit cluster connected to the lower, left and right sides of the central main pixel unit cluster will be determined as the first adjacent main pixel unit cluster; if the central main pixel unit cluster is located at the lower edge of the main screen, the main pixel unit cluster connected to the upper, left and right sides of the central main pixel unit cluster will be determined as the first adjacent main pixel unit cluster.
[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 at the corner of the main screen. At this time, the main pixel unit clusters connected to the other two sides of the central main pixel unit cluster (that is, the two sides where the central main pixel unit cluster is not connected to the edges of the main screen) are respectively determined as the first adjacent main pixel unit clusters.
[0076] Specifically, if the central main pixel unit cluster is located in the upper left corner of the main screen, the main pixel unit cluster connected to the bottom and right side of the central main pixel unit cluster will be determined as the first adjacent main pixel unit cluster; if the central main pixel unit cluster is located in the upper right corner of the main screen, the main pixel unit cluster connected to the bottom and left side of the central main pixel unit cluster will be determined as the first adjacent main pixel unit cluster; if the central main pixel unit cluster is located in the lower left corner of the main screen, the main pixel unit cluster connected to the top and right side of the central main pixel unit cluster will be determined as the first adjacent main pixel unit cluster; if the central main pixel unit cluster is located in the lower right corner of the main screen, the main pixel unit cluster connected to the top and left side of the central main pixel unit cluster will be determined as the first adjacent main pixel unit cluster.
[0077] In a feasible embodiment of the present application, based on the determined first adjacent primary pixel unit cluster, an nth adjacent primary pixel unit cluster corresponding to the sub-pixel unit is further determined, where n is an integer greater than or equal to 2. Specifically, M adjacent primary pixel unit clusters corresponding to the sub-pixel unit are determined based on the position of the central primary pixel unit cluster in the primary screen, further comprising:
[0078] When the n-1th adjacent primary pixel unit cluster is determined, the primary pixel cluster adjacent to the n-1th adjacent primary pixel unit cluster is determined as the nth adjacent primary pixel unit cluster.
[0079] Specifically, after determining the first adjacent primary pixel unit cluster, the first adjacent primary pixel unit cluster is extended to the nth adjacent primary pixel unit cluster in sequence. Figure 5 , Figure 5 The specific arrangement of the first adjacent main pixel unit cluster and the second adjacent main pixel unit cluster when n=2 is shown. For the first adjacent main pixel unit cluster that has been determined, the main pixel unit cluster connected to the edge of the first adjacent main pixel unit cluster is selected as the second adjacent main pixel unit cluster. On this basis, the second adjacent main pixel unit cluster can be further generalized outward to determine the corresponding third adjacent main pixel unit cluster, fourth adjacent main pixel unit cluster,..., and nth adjacent main pixel unit cluster.
[0080] In a feasible embodiment of the present application, when the n-1th adjacent main pixel unit cluster is connected to the edge of the main screen, the n-th adjacent main pixel unit cluster cannot be determined due to the influence of the main screen area limitation. At this time, the outward promotion is stopped and the n-th adjacent main pixel unit cluster is no longer determined. The adjacent main pixel unit clusters corresponding to the sub-pixel unit only include the first adjacent main pixel unit cluster to the n-1th adjacent main pixel unit cluster.
[0081] In a feasible embodiment of the present 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 M adjacent main pixel unit clusters;
[0083] Specifically, display data of a to-be-displayed image is acquired, wherein the display data includes grayscale data for configuring grayscale values of main pixel units of the main screen, and the grayscale data includes the grayscale value of any main pixel unit.
[0084] Based on the grayscale data, the grayscale values of the primary pixel units in the central primary pixel unit cluster and the M adjacent primary pixel unit clusters are determined. As a specific example, the grayscale data may be a grayscale value-position mapping table. For any primary pixel unit with a known position, the grayscale value of the primary pixel unit can be determined by searching the grayscale value-position mapping table based on the position of the primary pixel unit.
[0085] S4: determining a target grayscale value of the sub-pixel unit according to the grayscale values of the main pixel units in the central main pixel unit cluster and the M adjacent main pixel unit clusters, so as to adjust the grayscale value of the sub-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 M adjacent main pixel unit clusters, the obtained multiple grayscale values are processed to calculate the target grayscale values of the sub-pixel units corresponding to the central main pixel unit cluster, thereby adjusting the grayscale values of the sub-pixel units to the target grayscale values.
[0087] In a feasible embodiment of the present application, determining the target grayscale value of the sub-pixel unit according to the grayscale values of the main pixel units in the central main pixel unit cluster and M adjacent main pixel unit clusters includes:
[0088] Calculating the grayscale average of the main pixel units in the central main pixel unit cluster;
[0089] Calculating the grayscale averages of the main pixel units in the M adjacent 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] Among them, L is the target grayscale value, L c is the average grayscale value of the main pixel unit in the central main pixel unit cluster, L m is the average grayscale value of the main pixel units in the mth adjacent main pixel unit cluster.
[0093] Specifically, when determining 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 M adjacent main pixel unit clusters, a mean fusion strategy based on uniform weight distribution 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 the main pixel units in the central main pixel unit cluster are arithmetic averaged. Figure 2 As shown, it is assumed that the central main pixel unit cluster corresponding to the sub-pixel unit includes 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 cA =200, L cB =210, L cC =190, L cD =205. Then the grayscale average 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] Next, the grayscale values of the primary pixel units in each adjacent primary pixel unit cluster are averaged. Figure 2 The central main pixel unit cluster is located in the non-edge area of the main screen, and is surrounded by four adjacent main pixel unit clusters (i.e., M=4). Each adjacent main pixel unit cluster is also composed of four main pixel units. For example, the grayscale values of the main pixel units in the upper adjacent main pixel unit cluster are 180, 185, 175, and 190, respectively. The average grayscale value of the main pixel units in the upper adjacent main pixel unit cluster is L1=(180+185+175+190) / 4=182.5.
[0096] Similarly, the grayscale average value L2 = 195.0 of the main pixel units in the right adjacent main pixel unit cluster, the grayscale average value L3 = 208.75 of the main pixel units in the bottom adjacent main pixel unit cluster, and the grayscale average value L4 = 192.5 of the main pixel units in the left adjacent main pixel unit cluster are calculated respectively.
[0097] Subsequently, the grayscale average value of the main pixel units in the central main pixel unit cluster and the grayscale average value of the main pixel units in each adjacent 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] Through the technical solution provided by the above embodiment, the main screen display details are diffused to the secondary screen grayscale adjustment, and the target grayscale value of the secondary pixel unit is calculated based on the grayscale average value of the central main pixel unit cluster corresponding to the secondary pixel unit and the main pixel units in each adjacent 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 a feasible embodiment of the present application, determining the target grayscale value of the sub-pixel unit according to the grayscale values of the main pixel units in the central main pixel unit cluster and M adjacent main pixel unit clusters includes:
[0100] Calculating the grayscale average of the main pixel units in the central main pixel unit cluster;
[0101] Calculating respectively the grayscale average values of the main pixel units in I first adjacent main pixel unit clusters and the grayscale average values of the main pixel units in J nth adjacent main pixel unit clusters;
[0102] The target grayscale value is determined by a second calculation formula; wherein the second calculation formula is:
[0103]
[0104] Among them, L 1i is the average grayscale value of the primary pixel unit in the i-th first adjacent primary pixel unit cluster, L nj is the average grayscale value of the primary pixel unit in the jth nth adjacent primary pixel unit cluster, k c 、k 1i 、k nj are the weight coefficients of the grayscale average of the main pixel unit in the central main pixel unit cluster, the grayscale average of the main pixel unit in the i-th first adjacent main pixel unit cluster, and the grayscale average of the main pixel unit in the j-th n-th adjacent main pixel unit cluster. 1i Equal, each k nj Equal, k c 、k 1i 、k nj satisfy
[0105] Specifically, since the positions of the central main pixel unit cluster, the first adjacent main pixel unit cluster and the nth adjacent main pixel unit cluster in the main screen are different, and the corresponding positions of the secondary pixel units are also different, when the target grayscale value is calculated with reference to the grayscale values of the first adjacent main pixel unit cluster and the nth adjacent main pixel unit cluster, if the mean fusion strategy with uniform weight distribution described in the above embodiment is adopted, it will cause 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 adjacent main pixel unit cluster and the nth adjacent main pixel unit cluster, so that different main pixel unit clusters contribute to the target grayscale value to different degrees.
[0107] Furthermore, in a feasible embodiment of the present application, each weight coefficient is set to satisfy k c >k 1i >k nj It can be understood that, in this embodiment, for adjacent main pixel unit clusters at the same level, their corresponding weight coefficients remain consistent, while for adjacent main pixel unit clusters at different levels, the farther the distance between the adjacent main pixel unit cluster and the central main pixel unit cluster, the smaller the corresponding weight coefficient.
[0108] By further setting the weight coefficient, it is ensured that the grayscale average value of the central main pixel unit cluster plays a dominant role in affecting the target average value, while the grayscale average values of the first adjacent main pixel unit cluster and the nth adjacent main pixel unit cluster play an auxiliary role in affecting 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 (that is, the grayscale average value of the central main pixel unit cluster), so that the secondary screen shading intensity is accurately matched with the main screen display situation.
[0109] In a feasible embodiment of the present application, before determining the target grayscale value using the second calculation formula, the method further includes:
[0110] Determining a pixel distance between the jth nth adjacent 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 jth nth adjacent main pixel unit cluster and the center point of the central main pixel unit cluster;
[0111] The weight coefficient of the grayscale average value of the main pixel unit in the jth nth adjacent main pixel unit cluster is determined according to the pixel distance; wherein the pixel distance and the weight coefficient of the grayscale average value of the main pixel unit in the jth nth adjacent main pixel unit cluster are inversely proportional.
[0112] Specifically, in this embodiment, the weight coefficients of the grayscale average values of the main pixel units in each nth adjacent main pixel unit cluster are calculated separately. Different from the technical solution in the above-mentioned embodiment in which the weight coefficients of the adjacent main pixel unit clusters at the same level are set to be consistent, this embodiment further considers the distances between different adjacent main pixel unit clusters at the same level and the central main pixel unit cluster, thereby evaluating the degree of influence of the grayscale average values of the main pixel units in the adjacent main pixel unit clusters on the target grayscale value.
[0113] In some practical examples, let the pixel distance between the jth nth adjacent main pixel unit cluster and the central main pixel unit cluster be D nj , the weight coefficient k of the grayscale average value of the main pixel unit in the jth nth adjacent main pixel unit cluster can be nj Set to:
[0114]
[0115] α is a variable adjustment parameter.
[0116] Through this embodiment, the calculation method of the target grayscale value is further refined, and the weight coefficient of the grayscale average value of each main pixel unit in the nth adjacent main pixel unit cluster is calculated separately to achieve quantification of the degree of influence based on pixel distance, ensuring that the calculated target grayscale value can better match the actual display of the main screen.
[0117] The method provided in the embodiment of the present 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, and 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 cluster, thereby adjusting the grayscale value of the sub-pixel unit to the target grayscale value.
[0118] It can be understood 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 conditions of the main screen. The grayscale values of the corresponding sub-pixel units are indirectly determined through 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 values of the sub-pixel units can match the actual display conditions of the main screen, solving the technical problem that the grayscale adjustment of the sub-screen pixel units is difficult to adapt to the actual display conditions of the main screen pixel units.
[0119] Figure 6 The present invention provides a schematic diagram of a grayscale adjustment device according to an embodiment of the present invention. Corresponding to the above method embodiment, the present invention also provides a grayscale adjustment device. Figure 6 , the device specifically includes:
[0120] A first determining module 601 is configured to determine a central primary pixel unit cluster corresponding to a sub-pixel unit; wherein the central primary pixel unit cluster is composed of a plurality of primary pixel units that overlap with a vertical projection area of the sub-pixel unit;
[0121] A second determining module 602 is configured to determine, based on the position of the central primary pixel unit cluster in the primary screen, M adjacent primary pixel unit clusters corresponding to the secondary pixel units; wherein the adjacent primary pixel unit clusters include at least a first adjacent primary pixel unit cluster adjacent to an edge of the central primary pixel unit cluster, and M is an integer greater than or equal to 2;
[0122] A third determining module 603 is configured to determine the grayscale values of the main pixel units in the central main pixel unit cluster and the M adjacent main pixel unit clusters;
[0123] The fourth determining module 604 is configured to determine a target grayscale value of the sub-pixel unit according to the grayscale values of the main pixel units in the central main pixel unit cluster and M adjacent main pixel unit clusters, so as to adjust the grayscale value of the sub-pixel unit to the target grayscale value.
[0124] In a feasible embodiment of the present application, the second determining module 602 includes:
[0125] A first determining unit is configured to determine I first adjacent main pixel unit clusters according to the position of the central main pixel unit cluster in the main screen, where I is an integer greater than or equal to 2; wherein:
[0126] In the case where the central main pixel unit cluster is adjacent to two sides of the main screen, the main pixel unit clusters respectively adjacent to the other two sides of the central main pixel unit cluster are determined as first adjacent main pixel unit clusters;
[0127] In the case where the central main pixel unit cluster is connected to one side of the main screen, the main pixel unit clusters respectively connected to the other three sides of the central main pixel unit cluster are determined as first adjacent main pixel unit clusters;
[0128] In the case that the central main pixel unit cluster does not connect to the side of the main screen, the main pixel unit clusters respectively connected to the four sides of the central main pixel unit cluster are determined as first adjacent main pixel unit clusters.
[0129] In a feasible embodiment of the present application, the adjacent primary pixel unit clusters further include J n-th adjacent primary 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 configured to, when the n-1th adjacent primary pixel unit cluster is determined, determine the primary pixel cluster connected to the n-1th adjacent primary pixel unit cluster as the nth adjacent primary pixel unit cluster.
[0131] In a feasible embodiment of the present application, the fourth determining module 604 includes:
[0132] A first calculation unit, configured to calculate an average grayscale value of the main pixel units in the central main pixel unit cluster;
[0133] a second calculation unit, configured to respectively calculate the grayscale averages of the main pixel units in the M adjacent main pixel unit clusters;
[0134] The third calculation unit is configured to determine the target grayscale value using a first calculation formula; wherein the first calculation formula is:
[0135]
[0136] Among them, L is the target grayscale value, L c is the average grayscale value of the main pixel unit in the central main pixel unit cluster, L m is the average grayscale value of the main pixel units in the mth adjacent main pixel unit cluster.
[0137] In a feasible embodiment of the present application, the fourth determining module 604 includes:
[0138] a fourth calculation unit, configured to calculate an average grayscale value of the main pixel units in the central main pixel unit cluster;
[0139] a fifth calculating unit, configured to respectively calculate an average grayscale value of the main pixel units in I first adjacent main pixel unit clusters and an average grayscale value of the main pixel units in J n-th adjacent main pixel unit clusters;
[0140] The sixth calculation unit is configured to determine the target grayscale value using a second calculation formula; wherein the second calculation formula is:
[0141]
[0142] Among them, L 1i is the average grayscale value of the primary pixel unit in the i-th first adjacent primary pixel unit cluster, L nj is the average grayscale value of the primary pixel unit in the jth nth adjacent primary pixel unit cluster, k c 、k 1i 、k nj are the weight coefficients of the grayscale average of the main pixel unit in the central main pixel unit cluster, the grayscale average of the main pixel unit in the i-th first adjacent main pixel unit cluster, and the grayscale average of the main pixel unit in the j-th n-th adjacent main pixel unit cluster. 1i Equal, each k nj Equal, k c 、k 1i 、k nj satisfy
[0143] In a feasible embodiment of the present application, each weight coefficient also satisfies k c >k 1i >k nj .
[0144] In a feasible embodiment of the present application, the fourth determining module 604 further includes:
[0145] a third determining unit, configured to determine a pixel distance between the jth nth adjacent main pixel unit cluster and the central main pixel unit cluster; wherein the pixel distance is a Euclidean distance between a center point of the jth nth adjacent main pixel unit cluster and a center point of the central main pixel unit cluster;
[0146] The fourth determination unit is used to determine the weight coefficient of the grayscale average value of the main pixel unit in the jth nth adjacent main pixel unit cluster according to the pixel distance; wherein the pixel distance and the weight coefficient of the grayscale average value of the main pixel unit in the jth nth adjacent main pixel unit cluster are inversely proportional.
[0147] like Figure 7As shown, an embodiment of the present application 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, and the control circuit board is configured to execute the grayscale adjustment method described in any one of the above method embodiments.
[0148] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the grayscale adjustment method provided in any of the aforementioned method embodiments is implemented.
[0149] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and 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 may be selected based on actual needs to achieve the objectives of this embodiment.
[0150] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, or of course, by hardware. Based on this understanding, the above technical solution, in essence, or the part that contributes to the relevant technology, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiment.
[0151] It should be understood that the terms used herein are for the purpose of describing specific example embodiments only and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "comprise", "include", "contain" and "have" are inclusive and therefore specify the presence of stated features, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring them to be performed in the specific order described or illustrated, unless the order of execution is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0152] The foregoing is merely a list of specific embodiments of the present application, intended to enable those skilled in the art to understand or implement the present 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 the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the broadest scope consistent with the principles and novel features of the present application.
Claims
1. A grayscale adjustment method, the method being applied to a display panel with a stacked screen structure, wherein the display panel comprises a stacked primary screen and a secondary screen, wherein the primary screen comprises a plurality of primary pixel units, and the secondary screen comprises a plurality of secondary pixel units, wherein: The method comprises: Determining a central primary pixel unit cluster corresponding to the sub-pixel unit; wherein the central primary pixel unit cluster is composed of a plurality of primary pixel units that overlap with a vertical projection area of the sub-pixel unit; Determining, based on the position of the central main pixel unit cluster in the main screen, M adjacent main pixel unit clusters corresponding to the sub-pixel units; wherein the adjacent main pixel unit clusters include at least a first adjacent main pixel unit cluster adjacent to an edge of the central main pixel unit cluster, and M is an integer greater than or equal to 2; Determining grayscale values of the main pixel units in the central main pixel unit cluster and the M adjacent main pixel unit clusters; The target grayscale value of the sub-pixel unit is determined according to the grayscale values of the main pixel units in the central main pixel unit cluster and the M adjacent main pixel unit clusters, so as to adjust the grayscale value of the sub-pixel unit to the target grayscale value.
2. The method according to claim 1, characterized in that Determining M adjacent main pixel unit clusters corresponding to the sub-pixel units according to the position of the central main pixel unit cluster in the main screen includes: I first adjacent main pixel unit clusters are determined according to the position of the central main pixel unit cluster in the main screen, where I is an integer greater than or equal to 2; wherein: In a case where the central main pixel unit cluster is adjacent to two sides of the main screen, the main pixel unit clusters respectively adjacent to the other two sides of the central main pixel unit cluster are determined as the first adjacent main pixel unit clusters; In a case where the central main pixel unit cluster is connected to one side of the main screen, main pixel unit clusters respectively connected to the other three sides of the central main pixel unit cluster are determined as the first adjacent main pixel unit clusters; In a case where the central main pixel unit cluster is not adjacent to the edge of the main screen, the main pixel unit clusters respectively adjacent to the four edges of the central main pixel unit cluster are determined as the first adjacent main pixel unit clusters.
3. The method according to claim 2, characterized in that The adjacent primary pixel unit clusters further include J n-th adjacent primary 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 M adjacent primary pixel unit clusters corresponding to the secondary pixel units are determined according to the position of the central primary pixel unit cluster in the primary screen, and further include: When the n-1th adjacent primary pixel unit cluster is determined, the primary pixel cluster connected to the n-1th adjacent primary pixel unit cluster is determined as the nth adjacent primary pixel unit cluster.
4. The method according to claim 1, wherein Determining a target grayscale value of a sub-pixel unit according to the grayscale values of the main pixel units in the central main pixel unit cluster and the M adjacent main pixel unit clusters includes: Calculating the average grayscale value of the main pixel units in the central main pixel unit cluster; Calculating the grayscale averages of the main pixel units in the M adjacent main pixel unit clusters respectively; The target grayscale value is determined by a first calculation formula; wherein the first calculation formula is: Wherein, L is the target grayscale value, L c is the average grayscale value of the main pixel units in the central main pixel unit cluster, L m is the average grayscale value of the main pixel units in the mth adjacent main pixel unit cluster.
5. The method according to claim 4, characterized in that Determining a target grayscale value of a sub-pixel unit according to the grayscale values of the main pixel units in the central main pixel unit cluster and the M adjacent main pixel unit clusters includes: Calculating the average grayscale value of the main pixel units in the central main pixel unit cluster; respectively calculating the grayscale averages of the main pixel units in I of the first adjacent main pixel unit clusters and the grayscale averages of the main pixel units in J of the nth adjacent main pixel unit clusters; The target grayscale value is determined by a second calculation formula; wherein the second calculation formula is: Among them, L 1i is the grayscale average value of the primary pixel unit in the i-th primary pixel unit cluster, L nj is the average grayscale value of the jth primary pixel unit in the nth adjacent primary pixel unit cluster, k c 、k 1i 、k nj are weight coefficients of the grayscale average of the main pixel units in the central main pixel unit cluster, the grayscale average of the main pixel units in the i-th first adjacent main pixel unit cluster, and the grayscale average of the main pixel units in the j-th n-th adjacent main pixel unit cluster, respectively. 1i Equal, each k nj Equal, k c 、k 1i 、k nj satisfy 6. The method according to claim 5, characterized in that Each of the weight coefficients also satisfies k c >k 1i >k nj .
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: Determining a pixel distance between the jth nth adjacent main pixel unit cluster and the central main pixel unit cluster; wherein the pixel distance is a Euclidean distance between a center point of the jth nth adjacent main pixel unit cluster and a center point of the central main pixel unit cluster; The weight coefficient of the grayscale average value of the jth main pixel unit in the nth adjacent main pixel unit cluster is determined according to the pixel distance; wherein, the pixel distance and the weight coefficient of the grayscale average value of the main pixel unit in the jth nth adjacent main pixel unit cluster are inversely proportional.
8. A grayscale adjustment device, characterized in that: The device comprises: A first determining module is configured to determine a central primary pixel unit cluster corresponding to the sub-pixel unit; wherein the central primary pixel unit cluster is composed of a plurality of primary pixel units that overlap with a vertical projection area of the sub-pixel unit; a second determining module, configured to determine, based on a position of the central main pixel unit cluster in the main screen, M adjacent main pixel unit clusters corresponding to the sub-pixel units; wherein the adjacent main pixel unit clusters include at least a first adjacent main pixel unit cluster adjacent to an edge of the central main pixel unit cluster, and M is an integer greater than or equal to 2; A third determining module is configured to determine the grayscale values of the main pixel units in the central main pixel unit cluster and the M adjacent main pixel unit clusters; The fourth determination module is used to determine the target grayscale value of the sub-pixel unit according to the grayscale values of the main pixel units in the central main pixel unit cluster and the M adjacent main pixel unit clusters, so as to adjust the grayscale value of the sub-pixel unit to the target grayscale value.
9. A display panel, characterized in that: The display panel includes a secondary screen, a primary screen stacked on the secondary screen, and a control circuit board connected to the primary screen and the secondary screen respectively, and the control circuit board is configured to execute the grayscale adjustment method according to any one of claims 1-7.
10. A computer storage medium, characterized in that Computer-executable instructions are stored, and the computer-executable instructions are used to execute the grayscale adjustment method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Halftone image production method and image processing system
CN102131037A
Display device and display method thereof
CN108681164A
Adjusting method of a display device with a double-sided board
CN110853589A
Dual liquid crystal display device
CN113077764A
Display panel, display module and system and display driving method and device
CN114613340A
Cited By
Dual-unit display architecture and dimming display method
CN121075281A