A pixel rendering method, system and display panel
By acquiring image data from the AMOLED display panel, determining the grayscale values of the sub-pixels to be compensated and borrowed, and adjusting their weights, the color edge problem caused by inconsistent luminous efficiency of sub-pixels was solved, resulting in a more natural color transition and improved display performance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- WUHAN CHINA STAR OPTOELECTRONICS SEMICONDUCTOR DISPLAY TECHNOLOGY CO LTD
- Filing Date
- 2025-02-27
- Publication Date
- 2026-06-05
Smart Images

Figure CN120032593B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display driver technology, specifically to a pixel rendering method, system, and display panel. Background Technology
[0002] Organic light-emitting diode (OLED) display technology has become widely used due to its advantages such as self-illumination, high contrast, and wide viewing angle. The manufacturing process of OLED panels requires the stacking of various organic material layers (such as light-emitting layers and hole transport layers) and inorganic material layers (such as encapsulation layers and electrode layers) on a substrate using film-forming equipment, forming a precise multi-layered structure. In active-matrix organic light-emitting diode (AMOLED) panels, each pixel typically consists of three sub-pixels: red, green, and blue. These sub-pixels exhibit significant differences in luminous efficiency (e.g., green light has the highest efficiency, and blue light has the lowest), leading to inconsistencies in the driving voltage and lifetime characteristics of the sub-pixels.
[0003] Currently, in order to compensate for the inconsistent luminous efficiency of sub-pixels in AMOLED display panels, the area ratio of sub-pixels of different colors is adjusted (such as increasing the area of low-efficiency blue light pixels) or asymmetrical arrangement is adopted. This makes it impossible for AMOLED to achieve color balance through uniform strip RGB sub-pixel arrangement. Especially when displaying high contrast edges, the physical position offset and area difference of the sub-pixels cause problems such as uneven color edges or arc transitions in the displayed image.
[0004] Therefore, how to improve the display effect of the display panel is an urgent problem to be solved. Summary of the Invention
[0005] In view of the shortcomings of the existing technology, this application provides a pixel rendering method, system and display panel.
[0006] Firstly, this application provides a pixel rendering method, comprising:
[0007] Obtain the raw image data for each frame;
[0008] The pixel to be compensated and the corresponding color-borrowing sub-pixel are determined based on the original image data, and the first original gray value of the pixel to be compensated and the second original gray value of the color-borrowing sub-pixel are obtained.
[0009] Based on the first original grayscale value and the second original grayscale value, a color borrowing weight is generated;
[0010] Based on the borrowing weight, the first original grayscale value is adjusted to obtain a first borrowing grayscale value, and the second original grayscale value is adjusted to obtain a second borrowing grayscale value. The first borrowing grayscale value and the second borrowing grayscale value are then used to drive the pixel to be compensated and the borrowing sub-pixel.
[0011] Optionally, generating the color borrowing weight based on the first original grayscale value and the second original grayscale value includes:
[0012] Obtain a preset weight mapping table; the weight mapping table includes the correspondence between the grayscale difference range and the color borrowing weight;
[0013] Calculate the grayscale difference between the first original grayscale value and the second original grayscale value, and obtain the borrowing weight by querying the weight mapping table based on the grayscale difference.
[0014] Optionally, the sub-pixels in the pixel to be compensated are arranged asymmetrically, and the pixel to be compensated includes a red sub-pixel to be compensated, a green sub-pixel to be compensated, and / or a blue sub-pixel to be compensated.
[0015] Wherein, the borrowed color sub-pixel corresponding to the red sub-pixel to be compensated is the green sub-pixel adjacent to the red sub-pixel to be compensated;
[0016] The color-borrowing sub-pixel corresponding to the green sub-pixel to be compensated is the red sub-pixel adjacent to the green sub-pixel to be compensated;
[0017] When the pixel to be compensated includes the blue sub-pixel to be compensated, the borrowed color sub-pixel corresponding to the blue sub-pixel to be compensated is the blue sub-pixel adjacent to the blue sub-pixel to be compensated.
[0018] Optionally, the borrowed color weight in the weight mapping table is less than one-third.
[0019] Optionally, the sub-pixels in the pixel to be compensated are arranged symmetrically, and the pixel to be compensated includes symmetrical sub-pixels and asymmetrical sub-pixels;
[0020] The color of the borrowed sub-pixel is the same as that of the symmetrical sub-pixel.
[0021] Optionally, the borrowed color weight in the weight mapping table is greater than one-half.
[0022] Optionally, adjusting the first original grayscale value according to the borrowing weight to obtain the first borrowed grayscale value includes:
[0023] Multiply the difference between 1 and the borrowing weight by the first original grayscale value to obtain the first borrowing grayscale value.
[0024] Optionally, adjusting the second original grayscale value to obtain the second borrowed grayscale value includes:
[0025] The first original gray value of the sub-pixel to be compensated corresponding to the borrowed color sub-pixel is multiplied by the borrowed color weight to obtain the compensated gray value;
[0026] The second original grayscale value is superimposed with the compensated grayscale value to obtain the second borrowed grayscale value.
[0027] Secondly, in one embodiment, this application provides a pixel rendering system, comprising:
[0028] The data acquisition unit is used to acquire the raw image data of each frame.
[0029] A pixel determination unit is used to determine the pixel to be compensated and the color-borrowing sub-pixel corresponding to the pixel to be compensated based on the original image data, and to obtain the first original gray value of the pixel to be compensated and the second original gray value of the color-borrowing sub-pixel.
[0030] The weight generation unit is used to generate color borrowing weights based on the first original grayscale value and the second original grayscale value;
[0031] The compensation unit is used to adjust the first original grayscale value to obtain a first borrowed grayscale value according to the borrowing weight, adjust the second original grayscale value to obtain a second borrowed grayscale value, and drive the pixel to be compensated and the borrowed sub-pixel using the first borrowed grayscale value and the second borrowed grayscale value.
[0032] Thirdly, in one embodiment, this application provides a display panel including a memory and a processor; the memory stores a computer program, and the processor is used to run the computer program in the memory to perform the steps in the pixel rendering method of any of the above embodiments.
[0033] Fourthly, in one embodiment, this application provides a storage medium storing a computer program that is loaded by a processor to perform the steps in the pixel rendering method of any of the above embodiments.
[0034] In summary, this application first acquires the original image data of each frame, and determines the pixel to be compensated and its corresponding color-borrowing sub-pixel based on the original image data. Simultaneously, it acquires the first original grayscale value of the pixel to be compensated and the second original grayscale value of the color-borrowing sub-pixel. Then, a color-borrowing weight is generated based on the first and second original grayscale values to determine the complementary color range between the pixel to be compensated and the color-borrowing sub-pixel. Finally, based on the color-borrowing weight, the first original grayscale value is adjusted to obtain a first color-borrowing grayscale value, and the second original grayscale value is adjusted to obtain a second color-borrowing grayscale value. The adjusted grayscale values are then used to drive the pixel to be compensated and the color-borrowing sub-pixel, resulting in better brightness transition and color mixing between them. This reduces the likelihood of color fringing or poor transition at image color edges, thereby improving the display panel's display effect. Attached Figure Description
[0035] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0036] Figure 1 This is a schematic diagram of a display device in one embodiment of this application;
[0037] Figure 2 This is a flowchart of a pixel rendering method in one embodiment of this application;
[0038] Figure 3 This is a schematic diagram of the pixel arrangement in a display panel according to one embodiment of this application;
[0039] Figure 4 This is a schematic diagram of the pixel arrangement in the display panel in another embodiment of this application;
[0040] Figure 5 This is a schematic diagram illustrating the symmetry of pixel arrangement in one embodiment of this application;
[0041] Figure 6 This is a schematic diagram of the pixel to be compensated and the color-borrowing sub-pixel in one embodiment of this application;
[0042] Figure 7 This is a schematic diagram of the pixel to be compensated and the color-borrowing sub-pixel in another embodiment of this application;
[0043] Figure 8 This is a schematic diagram of the pixel arrangement in the display panel in another embodiment of this application;
[0044] Figure 9This is a schematic diagram of the pixel to be compensated and the color-borrowing sub-pixel in another embodiment of this application. Detailed Implementation
[0045] 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, and 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.
[0046] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified. In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to implement and use this application. In the following description, details are set forth for illustrative purposes. It should be understood that those skilled in the art will recognize that this application can be implemented without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid unnecessary detail that would obscure the description of this application. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0047] Reference Figure 1 As shown, Figure 1 This is a schematic diagram of a display device in an embodiment of this application. The display device includes a timing controller (TCON), a power management chip (PMIC), a source driver circuit (SourceDriver), and a gate driver circuit (Gate Driver).
[0048] The display device includes a display area 500, which may include multiple scan lines G1 to Gn, multiple data lines D1 to Dm intersecting the scan lines G1 to Gn, and multiple pixels respectively disposed in multiple regions defined by the intersections of the scan lines G1 to Gn and the data lines D1 to Dm. For example, a pixel may include a thin-film transistor (TFT) including a gate and a source respectively connected to the corresponding scan line and data line. When a scan line is selected from the multiple scan lines G1 to Gn, the TFT of the pixel connected to the selected scan line is turned on, and then the source driving circuit 300 can apply a voltage to the multiple data lines D1 to Dm, thereby displaying an image.
[0049] The power management chip 200 provides analog voltage as a power supply for the timing controller 100, the source drive circuit 300, and the gate drive circuit 400. The timing controller 100 receives image data and control signals, and performs preprocessing on the image data, such as format conversion and data sorting, to obtain data signals. Simultaneously, the timing controller 100 also generates control signals and clock signals. These data signals and control signals are then sent to the source drive circuit 300 and the gate drive circuit 400, respectively. The gate drive circuit 400 receives the control signals and clock signals from the timing controller 100 to generate progressive scan gate drive signals. These gate drive signals sequentially turn the thin-film transistor switches in the display area 500 on or off, controlling the selection of scan lines. After receiving the data signals and control signals from the timing controller 100, the source drive circuit 300 stores the data signals in its internal register and outputs them synchronously according to the scan signals from the gate drive circuit 400.
[0050] It should be noted that, Figure 1 The application scenario of the drive control method shown is merely an example. The application scenario of the drive control method described in the embodiments of this application is to more clearly illustrate the technical solution of the embodiments of this application, and does not constitute a limitation on the technical solution provided in the embodiments of this application.
[0051] Based on the application scenarios of the pixel rendering method described above, an embodiment of the pixel rendering method is proposed.
[0052] Firstly, such as Figure 2 As shown, in one embodiment, this application provides a pixel rendering method, which includes steps S101-S104, and will be described in detail below.
[0053] Step S101: Obtain the raw image data for each frame.
[0054] The raw image data includes the grayscale values of the red, green, and blue sub-pixels of each pixel in each frame. The raw image data can be read from the frame buffer via a source-driven circuit. For example, the grayscale value of each sub-pixel can range from 0 to 255, or even higher.
[0055] Step S102: Determine the pixel to be compensated and the corresponding color-borrowing sub-pixel based on the original image data, and obtain the first original gray value of the pixel to be compensated and the second original gray value of the color-borrowing sub-pixel.
[0056] As an example, pixels located at color edges can typically be identified by calculating the grayscale difference between adjacent pixels. These pixels are then designated as pixels to be compensated. Conversely, pixels where the grayscale difference between multiple consecutive adjacent pixels exceeds a preset value can be designated as compensation pixels. A larger grayscale difference indicates a sharper edge between pixels; for example, the grayscale difference between black and white is 255.
[0057] As an example, the borrowed color sub-pixel corresponding to the pixel to be compensated can be a sub-pixel in any position above, below, to the left or to the right of the pixel to be compensated, without any specific limitation. The color of the borrowed color sub-pixel can be the same as or different from the color of the pixel to be compensated.
[0058] Step S103: Generate borrowing weights based on the first and second original grayscale values.
[0059] Step S104: Based on the borrowing weight, adjust the first original gray value to obtain the first borrowing gray value, adjust the second original gray value to obtain the second borrowing gray value, and use the first and second borrowing gray values to drive the pixel to be compensated and the borrowing sub-pixel.
[0060] In the above implementation, the original image data of each frame is first acquired, and the pixel to be compensated and the corresponding color-borrowing sub-pixel are determined based on the original image data. Simultaneously, the first original grayscale value of the pixel to be compensated and the second original grayscale value of the color-borrowing sub-pixel are acquired. Then, a color-borrowing weight is generated based on the first and second original grayscale values to determine the color complementarity between the pixel to be compensated and the color-borrowing sub-pixel. Finally, based on the color-borrowing weight, the first original grayscale value is adjusted to obtain a first color-borrowing grayscale value, and the second original grayscale value is adjusted to obtain a second color-borrowing grayscale value. The adjusted grayscale values are then used to drive the pixel to be compensated and the color-borrowing sub-pixel, resulting in better brightness transition and color mixing between the pixel to be compensated and the color-borrowing sub-pixel. This reduces the likelihood of color fringing or poor transition at the color edges of the image, thereby improving the display effect of the display panel.
[0061] As one implementation of step S102, step S102 may include steps S1021-S1022, which will be described in detail below.
[0062] Step S1021: Obtain the preset weight mapping table. The weight mapping table includes the correspondence between grayscale difference range and color borrowing weight.
[0063] As an example, the weight mapping table can be set according to the pixel arrangement and luminous efficiency of different display panels. Color borrowing weight adjusts the weight of the color value of the pixel to be compensated based on the color difference of the borrowing sub-pixel. When the grayscale difference between the borrowing sub-pixel and the pixel to be compensated is large, the color borrowing weight needs to be increased to maintain a natural and smooth color transition, allowing for finer color adjustments at color boundaries. Conversely, when the grayscale difference between the borrowing sub-pixel and the pixel to be compensated is small, the colors are more similar, and obvious color fringing is less likely to occur at color edges, requiring a smaller color borrowing weight. Based on this, different color borrowing weights can be set for different grayscale difference ranges: the larger the grayscale difference, the larger the color borrowing weight; the smaller the grayscale difference, the smaller the color borrowing weight. This divides the grayscale difference into multiple ranges, with each range having a corresponding color borrowing weight for targeted adjustments.
[0064] Step S1022: Calculate the grayscale difference between the first original grayscale value and the second original grayscale value, and obtain the borrowing weight by querying the weight mapping table based on the grayscale difference.
[0065] As an example, the first original grayscale value of the pixel to be compensated is 100, and the second original grayscale value of the borrowed color sub-pixel is 80. Then the grayscale difference is 20. The borrowing weight is obtained by querying the weight mapping table based on the grayscale difference.
[0066] In the above embodiments, when generating the borrowing weight based on the first and second original gray values, a preset weight mapping table is first obtained. Then, the gray value difference between the first and second original gray values is calculated. This allows for a more accurate determination of the borrowing weight based on different gray value differences, thereby helping to correct color cast problems in the image and avoiding unnatural transitions such as colored edges.
[0067] Reference Figure 3 and Figure 4 In some embodiments, the sub-pixels in the pixel to be compensated are arranged asymmetrically, and the pixel to be compensated includes a red sub-pixel to be compensated, a green sub-pixel to be compensated, and / or a blue sub-pixel to be compensated.
[0068] In this process, the borrowed sub-pixel for the red sub-pixel to be compensated is the adjacent green sub-pixel. Similarly, the borrowed sub-pixel for the green sub-pixel to be compensated is the adjacent red sub-pixel. When the pixel to be compensated includes a blue sub-pixel, the borrowed sub-pixel for the blue sub-pixel to be compensated is the adjacent blue sub-pixel. For example, the borrowed sub-pixel for the red sub-pixel to be compensated is the adjacent green sub-pixel. This is because in the principle of color mixing and compensation, the green and red sub-pixels have a large color difference in the color space. By borrowing color from adjacent green sub-pixels, the red sub-pixel can be effectively dispersed, reducing the perceived brightness of red and minimizing the appearance of red edges. Likewise, the borrowed sub-pixel for the green sub-pixel to be compensated is the adjacent red sub-pixel. When the pixel to be compensated includes the blue sub-pixel to be compensated, the corresponding borrowed color sub-pixel is the blue sub-pixel adjacent to the blue sub-pixel to be compensated. This is because the human eye is not sensitive to blue, so the brightness of the blue sub-pixel to be compensated can be dispersed without the need to use other contrasting colors for compensation.
[0069] in, Figure 3 The pixel arrangement is such that red and green subpixels are arranged alternately in the vertical direction, and blue subpixels are arranged alone in the vertical direction. Each pair of adjacent blue subpixels forms a group, and the distance between the two blue subpixels in each group is relatively close, while the distance between blue subpixels in different groups is relatively far. Figure 4 The pixel arrangement method and Figure 3 The pixel arrangement is different in that Figure 4 The red and green subpixels are staggered horizontally and not aligned vertically, which makes their symmetry worse.
[0070] Combination Figure 5 , Figure 5 It indicated Figure 3 The symmetry of pixel arrangement in a display panel is important for achieving a better visual effect. Pixels are usually required to be symmetrical along the horizontal, vertical, or 45-degree angle. It can be seen that the overall symmetry of pixels in this arrangement is poor, and they are not arranged symmetrically along the horizontal, vertical, or 45-degree angle.
[0071] Reference Figure 6As an example, since the asymmetrical arrangement described above results in a worse display effect at the color edges of the displayed image, i.e., at the pixels to be compensated, it is necessary to create a locally symmetrical structure near the pixels to be compensated as much as possible. When the sub-pixels in the pixel to be compensated are asymmetrically arranged, the sub-pixel to be compensated and its adjacent borrowing color pixels can form a relatively symmetrical sub-pixel distribution. For example, the borrowing color weight of the green sub-pixel to be compensated can be determined to be 1 / N, then the borrowing color sub-pixel corresponding to the green sub-pixel displays the grayscale value of the green sub-pixel to be compensated at a ratio of 1 / N. Similarly, the borrowing color weight of the red sub-pixel to be compensated can be determined to be 1 / N, then the borrowing color sub-pixel corresponding to the red sub-pixel displays the grayscale value of the red sub-pixel to be compensated at a ratio of 1 / N. The borrowing color weight of the blue sub-pixel to be compensated can be determined to be 1 / N, then the borrowing color sub-pixel corresponding to the blue sub-pixel displays the grayscale value of the blue sub-pixel to be compensated at a ratio of 1 / N.
[0072] Reference Figure 7 , Figure 7 This is another illustration of color borrowing. Because the human eye has low sensitivity to blue light—meaning it's difficult to observe a blue fringe—it's easier to observe a red fringe above and a green fringe below the pixel to be compensated. Therefore, color borrowing can be omitted from the blue sub-pixel to be compensated. In this case, although the pixel to be compensated and its adjacent borrowing sub-pixels do not form a symmetrical structure, a good compensation effect can still be achieved because the blue fringe is not easily perceived by the human eye.
[0073] As an example, the weight of borrowed colors in the weight mapping table is less than one-third.
[0074] If the color borrowing weight is too large, it can easily lead to a decrease in sharpness and blurry color edges. Therefore, when the sub-pixel to be compensated and its adjacent color borrowing pixels can form a relatively stacked sub-pixel distribution, the color borrowing effect is better in a local area. Therefore, the color borrowing weight can be appropriately reduced, that is, the color borrowing weight is limited to less than one-third, in order to avoid the loss of sharpness caused by the excessive color borrowing weight.
[0075] In the above embodiments, when the sub-pixels in the pixel to be compensated are asymmetrically arranged, the pixel to be compensated includes a red sub-pixel to be compensated, a green sub-pixel to be compensated, and / or a blue sub-pixel to be compensated. By selecting color-borrowing sub-pixels, color-borrowing operations can be effectively performed on the pixels to be compensated of different colors in the case of asymmetrically arranged sub-pixels, thereby correcting the color cast phenomenon, making the color transition at the color edges in the image more natural, and improving the display quality of the image.
[0076] Reference Figure 8In some embodiments, the sub-pixels in the pixel to be compensated are arranged symmetrically, and the pixel to be compensated includes symmetrical sub-pixels and asymmetrical sub-pixels. Among them, the color-borrowing sub-pixels have the same color as the symmetrical sub-pixels.
[0077] As an example, symmetrical arrangement can be horizontally symmetrical, vertically symmetrical, or diagonally symmetrical at 45 degrees. Furthermore, due to the different sizes of the sub-pixels within a pixel and the influence of factors such as the display panel wiring, complete symmetry of the sub-pixels is not required. For example... Figure 9 In the pixel arrangement along a 45-degree angle, the red sub-pixel can be considered asymmetrical, while the blue and green sub-pixels are distributed symmetrically on either side of the red sub-pixel. As an example, asymmetrical sub-pixels, being centrally located, do not require color compensation. However, symmetrical sub-pixels need to be compensated by borrowing color from adjacent sub-pixels.
[0078] As an example, the weight of borrowed color in the weight mapping table is greater than one-half.
[0079] As an example, when the sub-pixels in the pixel to be compensated are symmetrically arranged, the distance between the sub-pixels may be relatively far. In this case, it is necessary to increase the color borrowing weight to achieve a better compensation effect, so as to avoid the inability to correct the color cast due to the color borrowing weight being too small.
[0080] As one implementation of step S104, the difference between 1 and the borrowing weight can be multiplied by the first original grayscale value to obtain the first borrowing grayscale value.
[0081] As an example, if the borrowing weight is 0.2, then 1-0.2=0.8. Multiplying 0.8 by the first original grayscale value gives the first borrowed grayscale value.
[0082] As one implementation of step S104, adjusting the second original grayscale value to obtain the second borrowed grayscale value may include steps S1041-S1042, which will be described in detail below.
[0083] Step S1041: Multiply the first original gray value of the sub-pixel to be compensated corresponding to the borrowed color sub-pixel by the borrowing color weight to obtain the compensated gray value.
[0084] Step S1042: Superimpose the second original grayscale value with the compensated grayscale value to obtain the second borrowed grayscale value.
[0085] As an example, processing color-borrowing sub-pixels requires providing a certain color compensation to the pixel to be compensated, while also displaying the color it needs to display. Therefore, the second original grayscale value needs to be superimposed with the compensation grayscale value to obtain the second color-borrowing grayscale value. For example, if the first original grayscale value of the sub-pixel to be compensated is 100, the second original grayscale value is 50, and the color-borrowing weight is 0.3, then the compensation grayscale value is 100 × 0.3 = 30. The second original grayscale value is the color that the color-borrowing sub-pixel itself needs to display. Superimposing the second original grayscale value with the compensation grayscale value yields the second color-borrowing grayscale value of 50 + 30 = 80.
[0086] Secondly, in one embodiment, this application provides a pixel rendering system, including a data acquisition unit, a pixel determination unit, a weight generation unit, and a compensation unit.
[0087] The data acquisition unit is used to acquire the raw image data of each frame.
[0088] The pixel determination unit is used to determine the pixel to be compensated and the corresponding color-borrowing sub-pixel based on the original image data, and to obtain the first original gray value of the pixel to be compensated and the second original gray value of the color-borrowing sub-pixel.
[0089] The weight generation unit is used to generate color weights based on the first and second original grayscale values.
[0090] The compensation unit is used to adjust the first original gray value to obtain a first borrowed gray value according to the borrowing weight, adjust the second original gray value to obtain a second borrowed gray value, and use the first and second borrowed gray values to drive the pixel to be compensated and the borrowed sub-pixel.
[0091] Thirdly, in one embodiment, this application provides a display panel, which illustrates the structure of the display panel involved in this application, specifically:
[0092] The display panel may include components such as a processor with one or more processing cores, a memory with one or more computer-readable storage media, a power supply, and an input unit.
[0093] The processor is the control center of the display panel. It connects various parts of the display panel via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in memory, and by calling data stored in memory, thereby providing overall monitoring of the display panel. Optionally, the processor may include one or more processing cores. Preferably, the processor may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and computer programs, while the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into the processor.
[0094] Memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in memory. Memory can primarily include a program storage area and a data storage area. The program storage area can store the operating system, computer programs required for at least one function (such as sound playback, image playback, etc.), etc. The data storage area can store data created based on server usage. Furthermore, memory can include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, memory can also include a memory controller to provide the processor with access to the memory.
[0095] The display panel also includes a power supply for the various components. Preferably, the power supply can be connected to the processor logic through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply may also include one or more DC or AC power sources, a recharging system, a power fault detection circuit, a power converter or inverter, a power status indicator, or any other components.
[0096] Those skilled in the art will understand that all or part of the steps in any of the methods in the above embodiments can be performed by a computer program or by a computer program controlling related hardware. The computer program can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0097] Fourthly, in one embodiment, this application provides a storage medium storing a plurality of computer programs that can be loaded by a processor to perform the above steps.
[0098] It will be understood by those skilled in the art that any references to memory, storage, database, or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchlink, DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0099] Since the computer program stored in the storage medium can execute the steps in the pixel rendering method in any embodiment of the present application, the beneficial effects that the pixel rendering method in any embodiment of the present application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
[0100] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0101] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0102] The pixel rendering method, system, and display panel provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
[0103] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
Claims
1. A pixel rendering method, characterized in that, include: Obtain the raw image data for each frame; The pixel to be compensated and the corresponding color-borrowing sub-pixel are determined based on the original image data, and the first original gray value of the pixel to be compensated and the second original gray value of the color-borrowing sub-pixel are obtained. Based on the first original grayscale value and the second original grayscale value, a borrowing weight is generated; wherein, the step of generating the borrowing weight based on the first original grayscale value and the second original grayscale value includes: obtaining a preset weight mapping table; the weight mapping table includes the correspondence between the grayscale difference range and the borrowing weight; calculating the grayscale difference between the first original grayscale value and the second original grayscale value, and querying the weight mapping table based on the grayscale difference to obtain the borrowing weight; Based on the borrowing weight, the first original grayscale value is adjusted to obtain a first borrowing grayscale value, and the second original grayscale value is adjusted to obtain a second borrowing grayscale value. The first borrowing grayscale value and the second borrowing grayscale value are then used to drive the pixel to be compensated and the borrowing sub-pixel.
2. The pixel rendering method according to claim 1, characterized in that, The sub-pixels in the pixel to be compensated are arranged asymmetrically, and the pixel to be compensated includes red sub-pixels to be compensated, green sub-pixels to be compensated, and / or blue sub-pixels to be compensated. Wherein, the borrowed color sub-pixel corresponding to the red sub-pixel to be compensated is the green sub-pixel adjacent to the red sub-pixel to be compensated; The color-borrowing sub-pixel corresponding to the green sub-pixel to be compensated is the red sub-pixel adjacent to the green sub-pixel to be compensated; When the pixel to be compensated includes the blue sub-pixel to be compensated, the borrowed color sub-pixel corresponding to the blue sub-pixel to be compensated is the blue sub-pixel adjacent to the blue sub-pixel to be compensated.
3. The pixel rendering method according to claim 2, characterized in that, The weight of borrowed colors in the weight mapping table is less than one-third.
4. The pixel rendering method according to claim 1, characterized in that, The sub-pixels in the pixel to be compensated are arranged symmetrically, and the pixel to be compensated includes symmetrical sub-pixels and asymmetrical sub-pixels; The color of the borrowed sub-pixel is the same as that of the symmetrical sub-pixel.
5. The pixel rendering method according to claim 4, characterized in that, The weight of borrowed color in the weight mapping table is greater than one-half.
6. The pixel rendering method according to any one of claims 1 to 5, characterized in that, The step of adjusting the first original grayscale value according to the borrowing weight to obtain the first borrowed grayscale value includes: Multiply the difference between 1 and the borrowing weight by the first original grayscale value to obtain the first borrowing grayscale value.
7. The pixel rendering method according to any one of claims 1 to 5, characterized in that, The step of adjusting the second original grayscale value to obtain the second borrowed grayscale value includes: The first original gray value of the sub-pixel to be compensated corresponding to the borrowed color sub-pixel is multiplied by the borrowed color weight to obtain the compensated gray value; The second original grayscale value is superimposed with the compensated grayscale value to obtain the second borrowed grayscale value.
8. A pixel rendering system, characterized in that, include: The data acquisition unit is used to acquire the raw image data of each frame. A pixel determination unit is used to determine the pixel to be compensated and the color-borrowing sub-pixel corresponding to the pixel to be compensated based on the original image data, and to obtain the first original gray value of the pixel to be compensated and the second original gray value of the color-borrowing sub-pixel. A weight generation unit is used to generate a borrowing weight based on the first original grayscale value and the second original grayscale value; wherein, a preset weight mapping table is obtained; the weight mapping table includes the correspondence between the grayscale difference range and the borrowing weight; the grayscale difference between the first original grayscale value and the second original grayscale value is calculated, and the borrowing weight is obtained by querying the weight mapping table based on the grayscale difference; The compensation unit is used to adjust the first original grayscale value to obtain a first borrowed grayscale value according to the borrowing weight, adjust the second original grayscale value to obtain a second borrowed grayscale value, and drive the pixel to be compensated and the borrowed sub-pixel using the first borrowed grayscale value and the second borrowed grayscale value.
9. A display panel, characterized in that, It includes a memory and a processor; the memory stores a computer program, and the processor is used to run the computer program in the memory to perform the steps of a pixel rendering method according to any one of claims 1 to 7.