Display method and apparatus, and display compensation data acquisition method and apparatus
By acquiring the reference grayscale and pre-filled grayscale of subpixels, and combining them with the target compensation function, the target grayscale of subpixels is determined and compensated, thus solving the problem of fine lines in the display screen and improving display quality and user experience.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- BOE TECHNOLOGY GROUP CO LTD
- Filing Date
- 2024-10-22
- Publication Date
- 2026-04-30
AI Technical Summary
Insufficient charging time for pixels in the display results in insufficient light emission, forming noticeable fine lines and affecting display effect and image quality.
By acquiring the reference grayscale and pre-filled grayscale of the sub-pixel, and combining them with the target compensation function, the target grayscale of the sub-pixel is determined and compensated to eliminate fine lines.
It improves the display quality, ensuring a smooth image without fine lines and enhancing the user experience.
Smart Images

Figure CN2024126559_30042026_PF_FP_ABST
Abstract
Description
Display method and apparatus, display compensation data acquisition method and apparatus Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to display methods and apparatus, and display compensation data acquisition methods and apparatus. Background Technology
[0002] With the continuous advancement of display technology, displays are becoming increasingly widely used. A display panel consists of multiple pixels that receive processed digital image signals, which in turn generate analog signals (such as data voltages). In OLED (Organic Light Emitting Diode) displays, pixels emit light according to the applied voltage; in LCD (Liquid Crystal Display) displays, pixels control the light intensity by adjusting the transmittance of the liquid crystal, and the transmittance of the liquid crystal is adjusted according to the applied voltage.
[0003] However, the luminous efficiency of a display depends on the charging time of each pixel. If the pixel information from the previous moment to the current moment has changed, it may result in insufficient charging time for the pixel, leading to insufficient pixel brightness. This can cause noticeable fine lines on the display, affecting the display effect and overall image quality.
[0004] Summary of the Invention
[0005] To overcome the problems existing in related technologies, this disclosure provides a display method and apparatus, and a display compensation data acquisition method and apparatus.
[0006] According to a first aspect of the present disclosure, this application provides a display method, the method comprising:
[0007] For each sub-pixel in the target pixel, obtain the reference grayscale and pre-filled grayscale of the sub-pixel at the current time, wherein the pre-filled grayscale is determined based on the reference grayscale of other sub-pixels in the target pixel at the previous time.
[0008] Based on the coordinate position of the target pixel, determine the target compensation function corresponding to each sub-pixel in the target pixel;
[0009] Based on the reference grayscale and pre-filled grayscale of each sub-pixel, and the target compensation function corresponding to each sub-pixel, the target grayscale of each sub-pixel is determined, and the target pixel is displayed based on the target grayscale of each sub-pixel.
[0010] In any embodiment of this disclosure, determining the target grayscale of each sub-pixel based on the reference grayscale and pre-filled grayscale of each sub-pixel, and the target compensation function corresponding to each sub-pixel, includes:
[0011] For each sub-pixel in the target pixel, the compensation value of the sub-pixel is determined based on the reference grayscale and pre-filled grayscale of the sub-pixel, and the target compensation function corresponding to the sub-pixel.
[0012] The reference grayscale of each sub-pixel is compensated based on the compensation value of each sub-pixel to determine the target grayscale of each sub-pixel.
[0013] In any embodiment of this disclosure, determining the target compensation function corresponding to each sub-pixel in the target pixel based on the coordinate position of the target pixel includes:
[0014] Based on the coordinates of the target pixel, determine the sampling area where the target pixel is located;
[0015] The compensation function corresponding to the region where the target pixel is located is determined as the target compensation function corresponding to each sub-pixel in the target pixel.
[0016] In any embodiment of this disclosure, the display screen includes at least one sampling area;
[0017] For each class of sub-pixels within at least one sampling region, the method further includes:
[0018] At each sampling reference gray level, the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampling pre-filled gray level is obtained;
[0019] For the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampled pre-filled gray level, the compensation value of the sub-pixel at the sampled reference gray level and the sampled pre-filled gray level is determined based on the comparison result between the brightness difference and the preset error threshold.
[0020] The target compensation function corresponding to the sub-pixel is determined based on the compensation value of the sub-pixel under each sampled reference gray level and each sampled pre-filled gray level.
[0021] In any embodiment of this disclosure, determining the compensation value of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale based on the comparison result between the brightness difference and the preset error threshold includes:
[0022] If the brightness difference is less than a preset error threshold, the compensation value of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale is determined to be 0.
[0023] In any embodiment of this disclosure, the compensation value is a vector, including the compensation direction and the absolute value of the compensation;
[0024] The step of determining the compensation value of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale based on the comparison result between the brightness difference and the preset error threshold includes:
[0025] When the brightness difference is greater than or equal to a preset error threshold, the compensation direction of the sub-pixel under the sampling reference grayscale is determined based on the comparison result between the ideal brightness of the sub-pixel under the sampling reference grayscale and the actual brightness of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale.
[0026] The absolute value of compensation for the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale is determined based on the compensation direction, the brightness difference, and the preset error threshold.
[0027] In any embodiment of this disclosure, determining the compensation direction of the sub-pixel in the sampling reference grayscale and the sampling pre-filled grayscale based on a comparison between the ideal brightness of the sub-pixel in the sampling reference grayscale and the actual brightness of the sub-pixel in the sampling reference grayscale and the sampling pre-filled grayscale includes:
[0028] If the ideal brightness of the sub-pixel at the sampling reference grayscale is greater than the actual brightness of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale, then the compensation direction of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale is determined to be positive.
[0029] If the ideal brightness of the sub-pixel at the sampling reference grayscale is less than the actual brightness of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale, then the compensation direction of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale is determined to be negative.
[0030] In any embodiment of this disclosure, under the sampling pre-filled grayscale, determining the absolute compensation value of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale based on the compensation direction, the brightness difference, and the preset error threshold includes:
[0031] If the compensation direction is positive, the sampling reference grayscale is positively compensated according to a preset step size. After each positive compensation, the compensation brightness difference between the ideal brightness of the sub-pixel at the sampling reference grayscale and the actual brightness of the sub-pixel at the positively compensated sampling reference grayscale is compared with the preset error threshold until the compensation brightness difference is less than the preset error threshold. The positive compensation value for positive compensation of the sampling reference grayscale is taken as the absolute compensation value of the sub-pixel at the sampling reference grayscale and each sampling pre-filled grayscale.
[0032] If the compensation direction is negative, the sampling reference grayscale is negatively compensated according to a preset step size. After each negative compensation, the compensation brightness difference between the ideal brightness of the sub-pixel at the sampling reference grayscale and the actual brightness of the sub-pixel at the negatively compensated sampling reference grayscale is compared with the preset error threshold until the compensation brightness difference is less than the preset error threshold. The negative compensation value for negative compensation of the sampling reference grayscale is taken as the absolute compensation value of the sub-pixel at the sampling reference grayscale and each sampling pre-filled grayscale.
[0033] In any embodiment of this disclosure, the display screen includes at least one target sampling area and at least one neighboring sampling area;
[0034] After determining the target compensation function corresponding to each sub-pixel in the target sampling region, the method further includes:
[0035] For each type of sub-pixel in each of the neighborhood sampling regions at each of the sampling reference gray levels, obtain the brightness difference of the sub-pixel at the sampling reference gray level and each of the sampling pre-filled gray levels;
[0036] Based on the brightness difference of the sub-pixel under the sampling reference gray level and each sampling pre-charge gray level, the brightness difference of the sub-pixel in the target sampling region under the sampling reference gray level and each sampling pre-charge gray level, and the target compensation function corresponding to the sub-pixel in the target sampling region, the target compensation function corresponding to the sub-pixel in the neighboring sampling region is determined.
[0037] In conjunction with any embodiment of this disclosure, determining the target compensation function corresponding to the sub-pixel in the neighboring sampling region based on the brightness difference of the sub-pixel at the sampling reference grayscale and each sampling pre-filled grayscale, the brightness difference of the sub-pixel in the target sampling region at the sampling reference grayscale and each sampling pre-filled grayscale, and the target compensation function corresponding to the sub-pixel in the target sampling region, includes:
[0038] Determine the ratio between the brightness difference of the sub-pixel at the sampling reference gray level and each sampling pre-filled gray level, and the brightness difference of the sub-pixel in the target sampling area at each sampling pre-filled gray level;
[0039] Based on the ratio and the target compensation function corresponding to the sub-pixel in the target sampling region, the target compensation function corresponding to the sub-pixel in the neighboring sampling region is determined.
[0040] According to a second aspect of the present disclosure, this application provides a method for obtaining display compensation data, wherein the display screen includes at least one sampling area;
[0041] For each class of sub-pixels within at least one sampling region, the method includes:
[0042] At each sampling reference gray level, the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampling pre-filled gray level is obtained;
[0043] For the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampled pre-filled gray level, the compensation value of the sub-pixel at the sampled reference gray level and the sampled pre-filled gray level is determined based on the comparison result between the brightness difference and the preset error threshold.
[0044] Based on the compensation value of the sub-pixel under each sampled reference gray level and each sampled pre-filled gray level, the target compensation function corresponding to the sub-pixel is determined, wherein the target compensation function is used to determine the target gray level of each sub-pixel in the target pixel based on the coordinate position of the target pixel in the sampling area, and the reference gray level and pre-filled gray level of each sub-pixel in the target pixel at the current time.
[0045] Thirdly, this application also provides a display device, comprising:
[0046] The grayscale acquisition module is used to acquire the reference grayscale and pre-filled grayscale of each sub-pixel in the target pixel at the current time, wherein the pre-filled grayscale is determined based on the reference grayscale of other sub-pixels in the target pixel at the previous time.
[0047] The function determination module is used to determine the target compensation function corresponding to each sub-pixel in the target pixel based on the coordinate position of the target pixel;
[0048] The display module is used to determine the target gray level of each sub-pixel based on the reference gray level and pre-filled gray level of each sub-pixel, as well as the target compensation function corresponding to each sub-pixel, and to display the target pixel based on the target gray level of each sub-pixel.
[0049] In one embodiment, the display module is specifically used for:
[0050] For each sub-pixel in the target pixel, the compensation value of the sub-pixel is determined based on the reference grayscale and pre-filled grayscale of the sub-pixel, and the target compensation function corresponding to the sub-pixel.
[0051] The reference grayscale of each sub-pixel is compensated based on the compensation value of each sub-pixel to determine the target grayscale of each sub-pixel.
[0052] In one embodiment, the above function determination module is specifically used for:
[0053] Based on the coordinates of the target pixel, determine the sampling area where the target pixel is located;
[0054] The compensation function corresponding to the region where the target pixel is located is determined as the target compensation function corresponding to each sub-pixel in the target pixel.
[0055] In one embodiment, the display screen includes at least one sampling area;
[0056] The aforementioned display device also includes:
[0057] The first calibration module is configured to, for each type of sub-pixel within at least one sampling region, acquire the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampling reference grayscale; for the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampling pre-filled grayscale, determine the compensation value of the sub-pixel at the sampling reference grayscale and the sampling pre-filled grayscale based on the comparison result between the brightness difference and a preset error threshold; and determine the target compensation function corresponding to the sub-pixel based on the compensation value of the sub-pixel at each sampling reference grayscale and each sampling pre-filled grayscale.
[0058] In one embodiment, the first calibration module is specifically used for:
[0059] If the brightness difference is less than a preset error threshold, the compensation value of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale is determined to be 0.
[0060] In one embodiment, the compensation value is a vector, including a compensation direction and a compensation absolute value; the first calibration module is specifically used for:
[0061] When the brightness difference is greater than or equal to a preset error threshold, the compensation direction of the sub-pixel under the sampling reference grayscale is determined based on the comparison result between the ideal brightness of the sub-pixel under the sampling reference grayscale and the actual brightness of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale.
[0062] The absolute value of compensation for the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale is determined based on the compensation direction, the brightness difference, and the preset error threshold.
[0063] In one embodiment, the first calibration module is specifically used for:
[0064] If the ideal brightness of the sub-pixel at the sampling reference grayscale is greater than the actual brightness of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale, then the compensation direction of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale is determined to be positive.
[0065] If the ideal brightness of the sub-pixel at the sampling reference grayscale is less than the actual brightness of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale, then the compensation direction of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale is determined to be negative.
[0066] In one embodiment, the first calibration module is specifically used for:
[0067] If the compensation direction is positive, the sampling reference grayscale is positively compensated according to a preset step size. After each positive compensation, the compensation brightness difference between the ideal brightness of the sub-pixel at the sampling reference grayscale and the actual brightness of the sub-pixel at the positively compensated sampling reference grayscale is compared with the preset error threshold until the compensation brightness difference is less than the preset error threshold. The positive compensation value for positive compensation of the sampling reference grayscale is taken as the absolute compensation value of the sub-pixel at the sampling reference grayscale and each sampling pre-filled grayscale.
[0068] If the compensation direction is negative, the sampling reference grayscale is negatively compensated according to a preset step size. After each negative compensation, the compensation brightness difference between the ideal brightness of the sub-pixel at the sampling reference grayscale and the actual brightness of the sub-pixel at the negatively compensated sampling reference grayscale is compared with the preset error threshold until the compensation brightness difference is less than the preset error threshold. The negative compensation value for negative compensation of the sampling reference grayscale is taken as the absolute compensation value of the sub-pixel at the sampling reference grayscale and each sampling pre-filled grayscale.
[0069] In one embodiment, the display screen includes at least one target sampling area and at least one neighboring sampling area;
[0070] After determining the target compensation function corresponding to each sub-pixel in the target sampling region, the above-mentioned display device further includes:
[0071] The second calibration module is used to obtain the brightness difference of each sub-pixel in each sampling reference gray level in each of the neighboring sampling regions for each type of sub-pixel; and to determine the target compensation function corresponding to the sub-pixel in the neighboring sampling region based on the brightness difference of the sub-pixel in the sampling reference gray level and each sampling pre-filled gray level, the brightness difference of the sub-pixel in the target sampling region in the sampling reference gray level and each sampling pre-filled gray level, and the target compensation function corresponding to the sub-pixel in the target sampling region.
[0072] In one embodiment, the second calibration module is specifically used for:
[0073] Determine the ratio between the brightness difference of the sub-pixel at the sampling reference gray level and each sampling pre-filled gray level, and the brightness difference of the sub-pixel in the target sampling area at each sampling pre-filled gray level;
[0074] Based on the ratio and the target compensation function corresponding to the sub-pixel in the target sampling region, the target compensation function corresponding to the sub-pixel in the neighboring sampling region is determined.
[0075] Fourthly, this application also provides a display compensation data acquisition device, comprising:
[0076] The difference acquisition module is used to acquire the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampled reference gray level.
[0077] The compensation value determination module is used to determine the compensation value of the sub-pixel at the sampling reference gray level and the sampling pre-filled gray level based on the comparison result between the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampling pre-filled gray level.
[0078] The function acquisition module is used to determine the target compensation function corresponding to the sub-pixel based on the compensation value of the sub-pixel under each sampled reference gray level and each sampled pre-filled gray level. The target compensation function is used to determine the target gray level of each sub-pixel in the target pixel based on the coordinate position of the target pixel in the sampling area, and the reference gray level and pre-filled gray level of each sub-pixel in the target pixel at the current time.
[0079] Fifthly, this application provides a computer program product, including a computer program / instructions, which, when executed by a processor, implement the steps of the method described in any embodiment.
[0080] In a sixth aspect, this application provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the method described in any of the above embodiments.
[0081] In a seventh aspect, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any of the above embodiments.
[0082] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0083] Compared to manually adjusting and eliminating every fine line on every screen by developers, this embodiment introduces a pre-determined compensation function for each type of sub-pixel in the corresponding sampling area. For each sub-pixel in the target pixel, based on the reference grayscale and pre-filled grayscale of the sub-pixel at the current moment, and the target compensation function determined by the coordinate position of the target pixel, the target grayscale of each sub-pixel can be determined more efficiently and accurately. Then, the target pixel is displayed based on the target grayscale of each sub-pixel. Regardless of whether the screen display is an OLED display or an LCD display, it can ensure that the image displayed on the screen is free of fine lines, thereby improving the display quality of the screen and enhancing the user experience.
[0084] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0085] The accompanying drawings, which are incorporated in and form part of this disclosure, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0086] Figure 1 is a flowchart illustrating one display method through some exemplary embodiments.
[0087] Figure 2 is a flowchart illustrating another display method using some exemplary embodiments.
[0088] Figure 3 is a flowchart illustrating another display method using some exemplary embodiments.
[0089] Figure 4 is a flowchart illustrating one method for determining the absolute value of compensation, based on some exemplary embodiments.
[0090] Figure 5 is a flowchart illustrating another method for determining the absolute value of compensation, based on some exemplary embodiments.
[0091] Figure 6 is a flowchart illustrating yet another display method using some exemplary embodiments.
[0092] Figure 7 is a flowchart illustrating a method for obtaining display compensation data, showcasing some exemplary embodiments.
[0093] Figure 8 is a block diagram illustrating a display device with some exemplary embodiments.
[0094] Figure 9 is a block diagram illustrating a display compensation data acquisition device according to some exemplary embodiments.
[0095] Figure 10 is a hardware structure diagram of a computer device illustrating some exemplary embodiments. Detailed Implementation
[0096] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0097] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The singular forms “a,” “the,” and “the” as used in this disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
[0098] It should be understood that although the terms first, second, third, etc., may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are used only to distinguish information of the same type from one another. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0099] To address the issue of fine lines on screens, the current technology typically involves manual adjustment. This method requires developers to identify the fine lines on each display individually and adjust the corresponding compensation values until the lines disappear. However, when dealing with large-sized displays or multiple displays, the adjustment process can often take hours or even days. Furthermore, manual adjustment by developers is inefficient, resulting in excessively long processing times and inconsistent results. Additionally, different developers may use different judgment criteria and adjustment methods, potentially leading to variations in compensation effects even on displays of the same model, impacting the overall product consistency and quality.
[0100] In view of this, this disclosure provides a display method and apparatus, and a display compensation data acquisition method and apparatus. This method can be applied to scenarios involving the elimination of fine lines on a screen. Optionally, the display method can be executed by a display adjustment system for eliminating fine lines on a screen. The display adjustment system can be integrated on a local server or run on a cloud or other network server.
[0101] The embodiments of this disclosure will now be described in detail.
[0102] The first aspect of this disclosure provides a display method. Referring to Figure 1, it includes the following steps:
[0103] S101, for each sub-pixel in the target pixel, obtain the reference grayscale and pre-filled grayscale of the sub-pixel at the current time.
[0104] In this context, a subpixel refers to a smaller component that makes up a pixel in a display screen. Typically, a pixel consists of three subpixels (i.e., a red subpixel R, a green subpixel G, and a blue subpixel B). The reference grayscale refers to the ideal grayscale that a subpixel should display at the current moment. Normally, if a subpixel is displayed at the reference grayscale at the current moment, it should display ideal brightness, meaning there should be no fine lines on the display screen. However, because the subpixel may be affected by the pre-charged grayscale from the previous moment, it may not reach the ideal brightness when displayed at the reference grayscale, thus causing fine lines to appear on the display screen. The pre-charged grayscale is determined based on the reference grayscale of other subpixels in the target pixel at the previous moment; for example, it can be the average of the reference grayscale of other subpixels at the previous moment.
[0105] S102, based on the coordinate position of the target pixel, determine the target compensation function corresponding to each sub-pixel in the target pixel.
[0106] Wherein, the coordinate position refers to the specific coordinates of the target pixel on the screen; the target compensation function is used to characterize the relationship between the sampled reference grayscale and the sampled pre-filled grayscale of the sub-pixel in the corresponding sampling area and the compensation value of the sub-pixel, wherein the sampled reference grayscale and the sampled pre-filled grayscale of the sub-pixel are independent variables, and the compensation value of the sub-pixel is the dependent variable.
[0107] Optionally, based on a pre-defined mapping relationship between coordinate positions and compensation functions, the compensation function corresponding to the coordinate position of the target pixel can be determined, and the determined compensation function can be used as the target function.
[0108] Another possible implementation is to determine the sampling region where the target pixel is located based on the coordinate position of the target pixel; and to determine the compensation function corresponding to the region where the target pixel is located as the target compensation function corresponding to each sub-pixel in the target pixel.
[0109] Specifically, the display screen can be divided into at least two sampling areas, and a compensation function corresponding to each sub-pixel can be pre-set for each sampling area. Furthermore, based on the coordinate position of the target pixel, the sampling area where the target pixel is located on the display screen can be determined. Then, based on the mapping relationship between the sampling area and the compensation function, the compensation function corresponding to the sampling area where the target pixel is located is used as the target compensation function for the target pixel.
[0110] Optionally, by dividing the display screen into at least two sampling areas, the target compensation function of the target pixel can be determined more accurately based on the sampling area where the target pixel is located. Then, based on the target compensation function, grayscale compensation can be performed more accurately on each sub-pixel to eliminate screen fine lines.
[0111] S103, based on the reference grayscale and pre-filled grayscale of each sub-pixel, and the target compensation function corresponding to each sub-pixel, determine the target grayscale of each sub-pixel, and display the target pixel based on the target grayscale of each sub-pixel.
[0112] Optionally, for each sub-pixel, the reference grayscale and pre-filled grayscale of the sub-pixel can be input into the target compensation function of the sub-pixel to determine the compensation value of the sub-pixel. Then, based on the compensation value, the sampled reference grayscale of the sub-pixel is compensated to obtain the target grayscale of the sub-pixel, and the target pixel is displayed with the target grayscale of each sub-pixel.
[0113] Another possible implementation is to determine the compensation value of each sub-pixel in the target pixel based on the reference grayscale and pre-filled grayscale of the sub-pixel and the target compensation function corresponding to the sub-pixel; and to compensate the reference grayscale of each sub-pixel based on the compensation value of each sub-pixel to determine the target grayscale of each sub-pixel.
[0114] Optionally, for each sub-pixel in the target pixel, a compensation value corresponding to the sub-pixel under the reference gray level and the pre-filled gray level is determined based on the target compensation function corresponding to the sub-pixel; further, based on the determined compensation value, the reference gray level of the sub-pixel is compensated to obtain the target gray level of the sub-pixel.
[0115] Understandably, by determining the compensation value based on the reference grayscale and pre-filled grayscale of each sub-pixel using the target compensation function, the reference grayscale can be compensated more precisely based on the compensation value, thereby improving the accuracy of the determined target grayscale and thus enhancing the image quality of the display screen.
[0116] Compared to manually adjusting and eliminating every fine line on every screen by developers, this embodiment introduces a pre-determined compensation function for each type of sub-pixel in the corresponding sampling area. For each sub-pixel in the target pixel, based on the reference grayscale and pre-filled grayscale of the sub-pixel at the current moment, and the target compensation function determined by the coordinate position of the target pixel, the target grayscale of each sub-pixel can be determined more efficiently and accurately. Then, the target pixel is displayed based on the target grayscale of each sub-pixel. Regardless of whether the screen display is an OLED display or an LCD display, it can ensure that the image displayed on the screen is free of fine lines, thereby improving the display quality of the screen and enhancing the user experience.
[0117] Based on the above embodiments, in an exemplary embodiment, the display screen can be divided into at least one sampling region. Then, for each type of sub-pixel within the at least one sampling region, as shown in Figure 2, a calibration method for the target compensation function corresponding to the sub-pixel is provided, which may specifically include the following steps:
[0118] S201, at each sampled reference gray level, obtain the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampled pre-filled gray level.
[0119] Here, the sampling reference grayscale and sampling pre-filled grayscale refer to a series of reference grayscales and pre-filled grayscales selected during the calibration of the target compensation function corresponding to the sub-pixel. For example, the selected sampling reference grayscales may include 0, 63, 127, 191, and 255, and the sampling pre-filled grayscales may include 0, 127, and 255. Ideal brightness refers to the brightness that the sub-pixel should display under the sampling reference grayscale in an ideal state. When the sub-pixel is displayed at ideal brightness, there should be no fine lines on the display screen. Actual brightness refers to the brightness that the sub-pixel displays under the sampling reference grayscale and sampling pre-filled grayscale in actual conditions. Displaying the sub-pixel at actual brightness may cause fine lines to appear on the display screen. Brightness difference refers to the absolute value of the difference between the ideal brightness and the actual brightness.
[0120] Optionally, at each sampling reference grayscale, the refresh rate of the display screen can be reduced, and an image acquisition device (such as a magnifying camera) can be used to continuously photograph the sampling area on the display screen until the fine lines generated by the sub-pixel in the sampling area just disappear. The brightness at which the fine lines generated by the sub-pixel just disappear is taken as the ideal brightness. Further, an image acquisition device can be used to photograph the display screen at each sampling pre-charge grayscale, thereby recording the actual brightness of the sub-pixel at each sampling pre-charge grayscale, and calculating the brightness difference between the ideal brightness and the actual brightness of the sub-pixel at each sampling pre-charge grayscale.
[0121] S202, for the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampling pre-filled gray level, the compensation value of the sub-pixel at the sampling reference gray level and the sampling pre-filled gray level is determined based on the comparison result between the brightness difference and the preset error threshold.
[0122] The preset error threshold refers to the acceptable error threshold between the pre-set ideal brightness and the actual brightness. The compensation value refers to the grayscale compensation value used to compensate the sampled reference grayscale so that the brightness displayed by the sub-pixel at each compensated sampled reference grayscale and each sampled pre-filled grayscale is the ideal brightness.
[0123] Optionally, after determining the brightness difference, the brightness difference can be compared with a preset error threshold to determine the comparison result; further, based on a preset mapping relationship between the comparison result and the compensation value, the compensation value of the sub-pixel corresponding to the comparison result under the sampling reference grayscale and the sampling pre-filled grayscale can be determined.
[0124] S203, determine the target compensation function corresponding to the sub-pixel based on the compensation value of the sub-pixel under each sampled reference gray level and each sampled pre-filled gray level.
[0125] Optionally, after determining the compensation value of the sub-pixel at each sampling reference gray level and each sampling pre-filled gray level, a compensation function can be obtained by fitting each compensation value, and this compensation function can be used as the target compensation function corresponding to the sub-pixel in the sampling area.
[0126] In this embodiment, by introducing a preset error threshold, a compensation value is determined based on the comparison between the brightness difference and the preset error threshold. This enables targeted compensation when dealing with subpixels whose actual brightness deviates from the ideal brightness to different degrees. This improves the efficiency of determining the target compensation function corresponding to the subpixel based on the compensation value, as well as the accuracy and relevance of the determined target compensation function. Ultimately, this improves the display screen's image quality and enhances the user's viewing experience.
[0127] Based on the above embodiments, in an exemplary embodiment, the compensation value can be a vector, including the compensation direction and the absolute compensation value. Specifically, S202 includes the following two cases:
[0128] In the first case, if the brightness difference is less than a preset error threshold, the compensation value of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale is determined to be 0.
[0129] The second scenario, as shown in Figure 3, involves the following steps in step S202 when the brightness difference is greater than or equal to a preset error threshold:
[0130] S301, based on the comparison result between the ideal brightness of the sub-pixel under the sampling reference grayscale and the actual brightness of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale, determine the compensation direction of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale.
[0131] The compensation direction refers to the specific direction in which the sampling reference grayscale of the sub-pixel is adjusted, which may include positive and negative directions.
[0132] Optionally, the ideal brightness can be compared with the actual brightness, or it can be determined whether the brightness difference between the ideal brightness and the actual brightness is greater than 0. Then, the compensation direction can be determined based on the comparison result between the ideal brightness and the actual brightness, or the comparison result between the brightness difference between the ideal brightness and the actual brightness and 0.
[0133] For example, the compensation direction is determined based on the comparison between the ideal brightness and the actual brightness, which may specifically include the following two cases:
[0134] In the first case, if the ideal brightness of the sub-pixel under the sampling reference grayscale is greater than the actual brightness of the sub-pixel under both the sampling reference grayscale and the sampling pre-filled grayscale, then the compensation direction of the sub-pixel under both the sampling reference grayscale and the sampling pre-filled grayscale is determined to be positive.
[0135] Specifically, if it is determined that the ideal brightness is greater than the actual brightness, or the brightness difference between the ideal brightness and the actual brightness is greater than 0, then the compensation direction can be determined to be positive, that is, the sampling reference grayscale should be adjusted upwards for compensation.
[0136] The second scenario is that if the ideal brightness of the sub-pixel under the sampling reference grayscale is less than the actual brightness of the sub-pixel under both the sampling reference grayscale and the sampling pre-filled grayscale, then the compensation direction of the sub-pixel under both the sampling reference grayscale and the sampling pre-filled grayscale is determined to be negative.
[0137] Specifically, if it is determined that the ideal brightness is less than the actual brightness, or the brightness difference between the ideal brightness and the actual brightness is less than 0, then the compensation direction can be determined to be negative, that is, the sampling reference grayscale should be down-compensated.
[0138] It is understandable that by comparing the ideal brightness with the actual brightness, the compensation direction can be determined more accurately, thereby improving the efficiency and accuracy of determining the compensation value, and thus improving the efficiency and accuracy of compensating the sampled reference grayscale based on the compensation value.
[0139] S302, based on the compensation direction, the brightness difference, and the preset error threshold, determine the absolute value of the compensation for the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale.
[0140] Optionally, after determining the compensation direction, the compensation direction, the brightness difference, and the preset error threshold can be input into a pre-set compensation value determination model. Through the compensation value determination model, the absolute compensation value of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale can be determined based on the compensation direction, the brightness difference, and the preset error threshold.
[0141] In this embodiment, when the brightness difference is greater than or equal to a preset error threshold, the compensation direction and absolute value of the sub-pixel can be determined more efficiently and accurately based on the comparison between the ideal brightness and the actual brightness. This allows for compensation of the sampling reference grayscale of the sub-pixel according to the compensation direction and absolute value, thereby effectively improving the image quality of the display screen, enhancing detail performance, ensuring the brightness consistency of the display screen, and improving the user's viewing experience.
[0142] In an exemplary embodiment, if the compensation direction is positive, then the above-described S302 provides an implementation method. Under the sampling pre-filled grayscale, the sampling reference grayscale can be positively compensated according to a preset step size. After each positive compensation, the compensation brightness difference between the ideal brightness of the sub-pixel under the sampling reference grayscale and the actual brightness of the sub-pixel under the positively compensated sampling reference grayscale is compared with the preset error threshold until the compensation brightness difference is less than the preset error threshold. The positive compensation value for positively compensating the sampling reference grayscale is used as the absolute compensation value of the sub-pixel under the sampling reference grayscale and each sampling pre-filled grayscale.
[0143] Here, the preset step size refers to the pre-set unit grayscale value used to compensate the sampled reference grayscale. The compensated brightness difference refers to the absolute value of the brightness difference between the sub-pixel and the ideal brightness after compensation.
[0144] For example, as shown in Figure 4, if the preset step size is 1 gray level, then at the sampling pre-filling gray level j, the sampling reference gray level i can be positively compensated by 1 gray level, and the actual brightness L of the sub-pixel at the sampling reference gray level k (i.e., the sampling reference gray level plus 1 gray level) after 1 gray level compensation can be obtained. jk ; and then determine the compensated actual brightness L jk Compared to ideal brightness The compensation brightness difference between the two values is calculated, and the compensation brightness difference is compared with a preset error threshold σ. If the compensation brightness difference is greater than or equal to the preset error threshold σ (i.e., not less than the preset error threshold σ), then the positive compensation of 1 gray level is repeated on the previously compensated sampling reference gray level k, thereby obtaining the actual brightness L of the sub-pixel under the sampling reference gray level after the positive compensation. k Compared to ideal brightness The compensation brightness difference between the two values is calculated and compared with a preset error threshold σ; until it is determined that the compensated brightness difference is less than the preset error threshold σ, the compensation value C for compensating the sampled reference grayscale is then calculated. ji(i.e., the difference between the compensated sampled reference grayscale and the actual sampled reference grayscale) is used as the absolute compensation value of the sub-pixel under the sampled reference grayscale and the sampled pre-filled grayscale.
[0145] If the compensation direction is positive, another possible implementation method is provided for the above S302. Under the sampling pre-filled grayscale, the sampling reference grayscale can be negatively compensated according to a preset step size. After each negative compensation, the compensation brightness difference between the ideal brightness of the sub-pixel under the sampling reference grayscale and the actual brightness of the sub-pixel under the negatively compensated sampling reference grayscale is compared with the preset error threshold until the compensation brightness difference is less than the preset error threshold. The negative compensation value of the negative compensation of the sampling reference grayscale is used as the absolute compensation value of the sub-pixel under the sampling reference grayscale and each sampling pre-filled grayscale.
[0146] For example, as shown in Figure 5, if the preset step size is 1 gray level, then at the sampling pre-filling gray level j, the sampling reference gray level i can be negatively compensated by 1 gray level, and the actual brightness L of the sub-pixel at the sampling reference gray level k (i.e., the sampling reference gray level minus 1 gray level) after 1 gray level compensation can be obtained. jk ; and then determine the compensated actual brightness L jk Compared to ideal brightness The compensation brightness difference between the two values is calculated and compared with a preset error threshold σ. If the compensation brightness difference is greater than or equal to the preset error threshold σ (i.e., not less than the preset error threshold σ), then negative compensation of 1 gray level is repeated on the previously compensated sampling reference gray level k, thereby obtaining the actual brightness L of the sub-pixel under the sampling reference gray level after the negative compensation. k Compared to ideal brightness The compensation brightness difference between the two values is calculated and compared with a preset error threshold σ; until it is determined that the compensated brightness difference is less than the preset error threshold σ, the compensation value C for compensating the sampled reference grayscale is then calculated. ji (i.e., the difference between the compensated sampled reference grayscale and the actual sampled reference grayscale) is used as the absolute compensation value of the sub-pixel under the sampled reference grayscale and the sampled pre-filled grayscale.
[0147] In this embodiment, by performing positive or negative compensation multiple times on the sampled reference grayscale according to the compensation direction, and evaluating the compensation brightness difference between the actual brightness and the ideal brightness of the sub-pixel under the compensated sampled reference grayscale after each compensation, until the compensation brightness difference is less than a preset error threshold, the absolute value of the compensation of the sub-pixel to the sampled reference grayscale under the sampled pre-charge grayscale can be determined more accurately. Thus, by compensating the sampled reference grayscale according to the determined absolute value of compensation, the effect of improving the display screen's picture quality and visual consistency can be achieved, ensuring the user's viewing experience.
[0148] In an exemplary embodiment, after dividing the display screen into multiple sampling regions, at least one sampling region can be determined from the multiple sampling regions as a target sampling region, and at least one sampling region surrounding each target sampling region can be designated as a neighboring sampling region. For example, the display screen can be divided into nine sampling regions, with the central sampling region designated as the target sampling region, and the other eight sampling regions surrounding the target sampling region designated as neighboring sampling regions. After steps 201 to 203 above, and for each target sampling region, after determining the target compensation function corresponding to each sub-pixel in the target sampling region, as shown in Figure 6, an implementation method for determining the target compensation function corresponding to each sub-pixel in each neighboring sampling region can be provided, specifically including the following steps:
[0149] S601, for each type of sub-pixel in each of the neighboring sampling regions at each of the sampling reference gray levels, obtain the brightness difference of the sub-pixel at the sampling reference gray level and each of the sampling pre-filled gray levels.
[0150] Optionally, for each type of sub-pixel in each of the neighboring sampling regions at each of the sampling reference gray levels, the refresh rate of the display screen can be reduced, and an image acquisition device (such as a magnifying camera) can be used to continuously photograph the neighboring sampling regions in the display screen until the fine lines generated by the sub-pixel in the neighboring sampling region just disappear, and the brightness at which the fine lines generated by the sub-pixel just disappear is taken as the ideal brightness; furthermore, an image acquisition device can be used to photograph the display screen at each sampling pre-filled gray level of the sub-pixel in the neighboring sampling region, thereby recording the actual brightness of the sub-pixel in the neighboring sampling region at each sampling pre-filled gray level, and calculating the brightness difference between the ideal brightness of the sub-pixel in the neighboring sampling region and the actual brightness of the sub-pixel in the neighboring sampling region at each sampling pre-filled gray level.
[0151] S602, based on the brightness difference of the sub-pixel under the sampling reference gray level and each sampling pre-filled gray level, the brightness difference of the sub-pixel in the target sampling region under the sampling reference gray level and each sampling pre-filled gray level, and the target compensation function corresponding to the sub-pixel in the target sampling region, determine the target compensation function corresponding to the sub-pixel in the neighboring sampling region.
[0152] Optionally, after determining the brightness difference of the sub-pixel in the neighboring sampling region under the sampling reference grayscale and each sampling pre-filled grayscale, the ratio between the brightness difference of the sub-pixel in the sampling reference grayscale and each sampling pre-filled grayscale and the brightness difference of the sub-pixel in the target sampling region under each sampling pre-filled grayscale is determined; based on the ratio and the target compensation function corresponding to the sub-pixel in the target sampling region, the target compensation function corresponding to the sub-pixel in the neighboring sampling region is determined.
[0153] Specifically, after determining the brightness difference of the sub-pixels in the neighboring sampling region under the sampling reference grayscale and each sampling pre-filled grayscale, for each sampling pre-filled grayscale, the ratio between the brightness difference of the sub-pixels in the neighboring sampling region under the sampling reference grayscale and the sampling pre-filled grayscale and the brightness difference of the sub-pixels in the target sampling region under the sampling reference grayscale and the sampling pre-filled grayscale can be determined. Further, based on the target compensation function of the sub-pixels in the target sampling region, the compensation value of the sub-pixels in the target sampling region under the sampling reference grayscale and the sampling pre-filled grayscale can be determined. The product of the ratio and the compensation value is used as the compensation value of the sub-pixels in the neighboring sampling region under the sampling reference grayscale and the sampling pre-filled grayscale. Through the above method, the compensation value of the sub-pixels in the neighboring sampling region under each sampling reference grayscale and each sampling pre-filled grayscale can be determined, and each compensation value can be fitted to obtain the target compensation function corresponding to the sub-pixels in the neighboring sampling region.
[0154] It is understandable that, for each type of sub-pixel in each neighboring sampling region at each sampling reference grayscale and each sampling pre-filled grayscale, by determining the ratio between the brightness difference of the sub-pixel in the neighboring sampling region and the brightness difference of the sub-pixel in the target sampling region, and the compensation value determined based on the target compensation function corresponding to the sub-pixel in the target sampling region, the target compensation function corresponding to the sub-pixel in the neighboring sampling region can be determined more reasonably and accurately according to the ratio and the compensation value. Therefore, based on the target compensation function corresponding to the sub-pixel in the neighboring sampling region, the fine lines of the display screen appearing in the neighboring sampling region can be adjusted more accurately, thereby improving the image quality and viewing consistency of the neighboring sampling region.
[0155] Compared to determining the target compensation function for each type of subpixel in each sampling area of the display screen through steps 201 to 203, in this embodiment, by setting a target sampling area as a benchmark, and based on the brightness difference of the subpixels in the neighboring sampling areas at each sampling pre-filled grayscale, the brightness difference of the subpixels in the target sampling area at each sampling pre-filled grayscale, and the target compensation function corresponding to the subpixels in the target sampling area, the target compensation function corresponding to the subpixels in the neighboring sampling areas can be determined more efficiently and conveniently. Therefore, based on the target compensation function corresponding to each type of subpixel in each neighboring sampling area, fine line elimination can be performed more efficiently and accurately, thereby improving the efficiency and accuracy of fine line elimination for each sampling area and ensuring the user's viewing experience.
[0156] A second aspect of this disclosure provides a method for obtaining display compensation data, as shown in Figure 7. When the display screen is divided into at least one sampling region, the method includes the following steps for each type of sub-pixel within the at least one sampling region:
[0157] S701, at each sampled reference gray level, obtain the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampled pre-filled gray level.
[0158] Optionally, at each sampling reference grayscale, the refresh rate of the display screen can be reduced, and an image acquisition device (such as a magnifying camera) can be used to continuously photograph the sampling area on the display screen until the fine lines generated by the sub-pixel in the sampling area just disappear. The brightness at which the fine lines generated by the sub-pixel just disappear is taken as the ideal brightness. Further, an image acquisition device can be used to photograph the display screen at each sampling pre-charge grayscale, thereby recording the actual brightness of the sub-pixel at each sampling pre-charge grayscale, and calculating the brightness difference between the ideal brightness and the actual brightness of the sub-pixel at each sampling pre-charge grayscale.
[0159] S702, for the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampling pre-filled gray level, the compensation value of the sub-pixel at the sampling reference gray level and the sampling pre-filled gray level is determined based on the comparison result between the brightness difference and the preset error threshold.
[0160] Optionally, after determining the brightness difference, the brightness difference can be compared with a preset error threshold to determine the comparison result; further, based on a preset mapping relationship between the comparison result and the compensation value, the compensation value of the sub-pixel corresponding to the comparison result under the sampling reference grayscale and the sampling pre-filled grayscale can be determined.
[0161] S703, determine the target compensation function corresponding to the sub-pixel based on the compensation value of the sub-pixel under each sampled reference gray level and each sampled pre-filled gray level.
[0162] The target compensation function is used to determine the target gray level of each sub-pixel in the target pixel based on the reference gray level, pre-filled gray level and coordinate position of the target pixel in the sampling area at the current time.
[0163] Optionally, after determining the compensation value of the sub-pixel at each sampled reference gray level and each sampled pre-filled gray level, a compensation function can be fitted to each compensation value to obtain a compensation function, and this compensation function can be used as the target compensation function corresponding to the sub-pixel in the sampled region. Further, after obtaining the coordinate position of the target pixel, the sampled region where the target pixel is located can be determined based on the coordinate position of the target pixel, and the target compensation function of each sub-pixel in this sampled region can be used as the target compensation function for each sub-pixel in the target pixel. Further, the reference gray level and pre-filled gray level of each sub-pixel in the target pixel at the current time are substituted into the corresponding target compensation function, thereby more accurately determining the target gray level of each sub-pixel in the target pixel.
[0164] In this embodiment, by introducing a preset error threshold, a compensation value is determined based on the comparison between the brightness difference and the preset error threshold. This enables targeted compensation when dealing with subpixels whose actual brightness deviates from the ideal brightness to different degrees. This improves the efficiency of determining the target compensation function corresponding to the subpixel based on the compensation value, as well as the accuracy and relevance of the determined target compensation function. Ultimately, this improves the display screen's image quality and enhances the user's viewing experience.
[0165] Corresponding to the embodiments of the foregoing methods, this disclosure also provides embodiments of the apparatus and the terminal to which it is applied.
[0166] Thirdly, this application also provides a display device, as shown in FIG8, the display device comprising:
[0167] The grayscale acquisition module 801 is used to acquire, for each sub-pixel in the target pixel, the reference grayscale and the pre-filled grayscale of the sub-pixel at the current time, wherein the pre-filled grayscale is determined based on the reference grayscale of other sub-pixels in the target pixel at the previous time.
[0168] The function determination module 802 is used to determine the target compensation function corresponding to each sub-pixel in the target pixel based on the coordinate position of the target pixel;
[0169] The display module 803 is used to determine the target gray level of each sub-pixel based on the reference gray level and pre-filled gray level of each sub-pixel, and the target compensation function corresponding to each sub-pixel, and to display the target pixel based on the target gray level of each sub-pixel.
[0170] In one embodiment, the display module 803 is specifically used for:
[0171] For each sub-pixel in the target pixel, the compensation value of the sub-pixel is determined based on the reference grayscale and pre-filled grayscale of the sub-pixel, and the target compensation function corresponding to the sub-pixel.
[0172] The reference grayscale of each sub-pixel is compensated based on the compensation value of each sub-pixel to determine the target grayscale of each sub-pixel.
[0173] In one embodiment, the function determination module 802 is specifically used for:
[0174] Based on the coordinates of the target pixel, determine the sampling area where the target pixel is located;
[0175] The compensation function corresponding to the region where the target pixel is located is determined as the target compensation function corresponding to each sub-pixel in the target pixel.
[0176] In one embodiment, the display screen includes at least one sampling area;
[0177] The aforementioned display device also includes:
[0178] The first calibration module is configured to, for each type of sub-pixel within at least one sampling region, acquire the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampling reference grayscale; for the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampling pre-filled grayscale, determine the compensation value of the sub-pixel at the sampling reference grayscale and the sampling pre-filled grayscale based on the comparison result between the brightness difference and a preset error threshold; and determine the target compensation function corresponding to the sub-pixel based on the compensation value of the sub-pixel at each sampling reference grayscale and each sampling pre-filled grayscale.
[0179] In one embodiment, the first calibration module is specifically used for:
[0180] If the brightness difference is less than a preset error threshold, the compensation value of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale is determined to be 0.
[0181] In one embodiment, the compensation value is a vector, including a compensation direction and a compensation absolute value; the first calibration module is specifically used for:
[0182] When the brightness difference is greater than or equal to a preset error threshold, the compensation direction of the sub-pixel under the sampling reference grayscale is determined based on the comparison result between the ideal brightness of the sub-pixel under the sampling reference grayscale and the actual brightness of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale.
[0183] The absolute value of compensation for the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale is determined based on the compensation direction, the brightness difference, and the preset error threshold.
[0184] In one embodiment, the first calibration module is specifically used for:
[0185] If the ideal brightness of the sub-pixel at the sampling reference grayscale is greater than the actual brightness of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale, then the compensation direction of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale is determined to be positive.
[0186] If the ideal brightness of the sub-pixel at the sampling reference grayscale is less than the actual brightness of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale, then the compensation direction of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale is determined to be negative.
[0187] In one embodiment, the first calibration module is specifically used for:
[0188] If the compensation direction is positive, the sampling reference grayscale is positively compensated according to a preset step size. After each positive compensation, the compensation brightness difference between the ideal brightness of the sub-pixel at the sampling reference grayscale and the actual brightness of the sub-pixel at the positively compensated sampling reference grayscale is compared with the preset error threshold until the compensation brightness difference is less than the preset error threshold. The positive compensation value for positive compensation of the sampling reference grayscale is taken as the absolute compensation value of the sub-pixel at the sampling reference grayscale and each sampling pre-filled grayscale.
[0189] If the compensation direction is negative, the sampling reference grayscale is negatively compensated according to a preset step size. After each negative compensation, the compensation brightness difference between the ideal brightness of the sub-pixel at the sampling reference grayscale and the actual brightness of the sub-pixel at the negatively compensated sampling reference grayscale is compared with the preset error threshold until the compensation brightness difference is less than the preset error threshold. The negative compensation value for negative compensation of the sampling reference grayscale is taken as the absolute compensation value of the sub-pixel at the sampling reference grayscale and each sampling pre-filled grayscale.
[0190] In one embodiment, the display screen includes at least one target sampling area and at least one neighboring sampling area;
[0191] After determining the target compensation function corresponding to each sub-pixel in the target sampling region, the above-mentioned display device further includes:
[0192] The second calibration module is used to obtain the brightness difference of each sub-pixel in each sampling reference gray level in each of the neighboring sampling regions for each type of sub-pixel; and to determine the target compensation function corresponding to the sub-pixel in the neighboring sampling region based on the brightness difference of the sub-pixel in the sampling reference gray level and each sampling pre-filled gray level, the brightness difference of the sub-pixel in the target sampling region in the sampling reference gray level and each sampling pre-filled gray level, and the target compensation function corresponding to the sub-pixel in the target sampling region.
[0193] In one embodiment, the second calibration module is specifically used for:
[0194] Determine the ratio between the brightness difference of the sub-pixel at the sampling reference gray level and each sampling pre-filled gray level, and the brightness difference of the sub-pixel in the target sampling area at each sampling pre-filled gray level;
[0195] Based on the ratio and the target compensation function corresponding to the sub-pixel in the target sampling region, the target compensation function corresponding to the sub-pixel in the neighboring sampling region is determined.
[0196] Fourthly, this application also provides a display compensation data acquisition device, as shown in Figure 9, the display device comprising:
[0197] The difference acquisition module 901 is used to acquire the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel in each sampled reference gray level.
[0198] The compensation value determination module 902 is used to determine the compensation value of the sub-pixel at the sampling reference gray level and the sampling pre-filled gray level based on the comparison result between the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampling pre-filled gray level.
[0199] The function acquisition module 903 is used to determine the target compensation function corresponding to the sub-pixel based on the compensation value of the sub-pixel under each sampled reference gray level and each sampled pre-filled gray level. The target function is used to determine the target gray level of each sub-pixel in the target pixel based on the reference gray level, pre-filled gray level and coordinate position of the target pixel in the sampling area at the current time.
[0200] The specific implementation process of the functions and roles of each module in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.
[0201] The fifth aspect of this disclosure provides a computer program product including a computer program / instructions that, when executed by a processor, implement the method as described in any of the preceding aspects.
[0202] For the device embodiments and computer program product embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. Furthermore, the device embodiments described above are merely illustrative; the modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, i.e., they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this disclosure according to actual needs. Those skilled in the art can understand and implement this without any inventive effort.
[0203] Sixthly, embodiments of the display device provided in this disclosure can be applied to computer devices. Please refer to Figure 10, which exemplarily illustrates a hardware schematic of a computer device. For example, device 1000 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0204] Device 1000 may include one or more of the following components: processing component 1001, memory 1002, power supply component 1003, multimedia component 1004, audio component 1005, input / output (I / O) interface 1006, sensor component 1007, and communication component 1008.
[0205] Processing component 1001 typically controls the overall operation of device 1000, such as actions associated with display, telephone calls, data communication, camera actions, and recording actions. Processing component 1001 may include one or more processors 1009 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 1001 may include one or more modules to facilitate interaction between processing component 1001 and other components. For example, processing component 1001 may include a multimedia module to facilitate interaction between multimedia component 1004 and processing component 1001.
[0206] Memory 1002 is configured to store various types of data to support the operation of device 1000. Examples of this data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, etc. Memory 1002 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0207] The power supply component 1003 provides power to the various components of the device 1000. The power supply component 1003 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 1000.
[0208] Multimedia component 1004 includes a screen that provides an output interface between the device 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe action. In some embodiments, multimedia component 1004 includes a front-facing camera and / or a rear-facing camera. When the device 1000 is in an active mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0209] In other embodiments, the screen may also include an OLED and a touch panel. When the screen includes both an OLED and a touch panel, this application introduces a pre-determined compensation function for each type of sub-pixel in its corresponding sampling area. For each sub-pixel in the target pixel, based on the reference grayscale and pre-charge grayscale of the sub-pixel at the current moment, and the target compensation function determined by the coordinate position of the target pixel, the target grayscale of each sub-pixel can be determined more efficiently and accurately. Furthermore, the target pixel is displayed based on the target grayscale of each sub-pixel, ensuring that the image displayed on the screen is free of fine lines, thereby improving the display quality and enhancing the user experience.
[0210] Audio component 1005 is configured to output and / or input audio signals. For example, audio component 1005 includes a microphone (MIC) configured to receive external audio signals when device 1000 is in an operational mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1002 or transmitted via communication component 1008. In some embodiments, audio component 1005 also includes a speaker for outputting audio signals.
[0211] I / O interface 1006 provides an interface between processing component 1001 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0212] Sensor assembly 1007 includes one or more sensors for providing state assessments of various aspects of device 1000. For example, sensor assembly 1007 can detect the on / off state of device 1000, the relative positioning of components such as the display and keypad of device 1000, changes in the position of device 1000 or a component of device 1000, the presence or absence of user contact with device 1000, the orientation or acceleration / deceleration of device 1000, and temperature changes of device 1000. Sensor assembly 1007 may also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1007 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1007 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0213] Communication component 1008 is configured to facilitate wired or wireless communication between device 1000 and other devices. Device 1000 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, 4G or 5G, or combinations thereof. In one exemplary embodiment, communication component 1008 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1008 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0214] In an exemplary embodiment, device 1000 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the display method of the computer device described above.
[0215] In a seventh aspect, this disclosure also provides a non-transitory computer-readable storage medium including instructions, such as a memory 1002 including instructions, which can be executed by a processor 1009 of device 1000 to complete the display method of the computer device. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0216] The foregoing has described specific embodiments of this disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0217] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention applied herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not claimed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0218] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
[0219] The above description is merely a preferred embodiment of this disclosure and is not intended to limit this disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A display method, characterized in that, The method includes: For each sub-pixel in the target pixel, obtain the reference grayscale and pre-filled grayscale of the sub-pixel at the current time, wherein the pre-filled grayscale is determined based on the reference grayscale of other sub-pixels in the target pixel at the previous time. Based on the coordinate position of the target pixel, determine the target compensation function corresponding to each sub-pixel in the target pixel; Based on the reference grayscale and pre-filled grayscale of each sub-pixel, and the target compensation function corresponding to each sub-pixel, the target grayscale of each sub-pixel is determined, and the target pixel is displayed based on the target grayscale of each sub-pixel.
2. The method according to claim 1, characterized in that, The step of determining the target grayscale of each sub-pixel based on the reference grayscale and pre-filled grayscale of each sub-pixel, and the target compensation function corresponding to each sub-pixel, includes: For each sub-pixel in the target pixel, the compensation value of the sub-pixel is determined based on the reference grayscale and pre-filled grayscale of the sub-pixel, and the target compensation function corresponding to the sub-pixel. The reference grayscale of each sub-pixel is compensated based on the compensation value of each sub-pixel to determine the target grayscale of each sub-pixel.
3. The method according to claim 1, characterized in that, The step of determining the target compensation function corresponding to each sub-pixel in the target pixel based on the coordinate position of the target pixel includes: Based on the coordinates of the target pixel, determine the sampling area where the target pixel is located; The compensation function corresponding to the region where the target pixel is located is determined as the target compensation function corresponding to each sub-pixel in the target pixel.
4. The method according to claim 1, characterized in that, The display screen includes at least one sampling area; For each class of sub-pixels within at least one sampling region, the method further includes: At each sampling reference gray level, the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampling pre-filled gray level is obtained; For the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampled pre-filled gray level, the compensation value of the sub-pixel at the sampled reference gray level and the sampled pre-filled gray level is determined based on the comparison result between the brightness difference and the preset error threshold. The target compensation function corresponding to the sub-pixel is determined based on the compensation value of the sub-pixel under each sampled reference gray level and each sampled pre-filled gray level.
5. The method according to claim 4, characterized in that, The step of determining the compensation value of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale based on the comparison result between the brightness difference and the preset error threshold includes: If the brightness difference is less than a preset error threshold, the compensation value of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale is determined to be 0.
6. The method according to claim 4, characterized in that, The compensation value is a vector, including the compensation direction and the absolute value of the compensation; The step of determining the compensation value of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale based on the comparison result between the brightness difference and the preset error threshold includes: When the brightness difference is greater than or equal to a preset error threshold, the compensation direction of the sub-pixel under the sampling reference grayscale is determined based on the comparison result between the ideal brightness of the sub-pixel under the sampling reference grayscale and the actual brightness of the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale. The absolute value of compensation for the sub-pixel under the sampling reference grayscale and the sampling pre-filled grayscale is determined based on the compensation direction, the brightness difference, and the preset error threshold.
7. The method according to claim 6, characterized in that, The step of determining the compensation direction of the sub-pixel in the sampling reference grayscale and the sampling pre-filled grayscale based on the comparison result between the ideal brightness of the sub-pixel in the sampling reference grayscale and the actual brightness of the sub-pixel in the sampling reference grayscale and the sampling pre-filled grayscale includes: If the ideal brightness of the sub-pixel at the sampling reference grayscale is greater than the actual brightness of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale, then the compensation direction of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale is determined to be positive. If the ideal brightness of the sub-pixel at the sampling reference grayscale is less than the actual brightness of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale, then the compensation direction of the sub-pixel at both the sampling reference grayscale and the sampling pre-filled grayscale is determined to be negative.
8. The method according to claim 7, characterized in that, Under the sampled pre-filled grayscale, determining the absolute compensation value of the sub-pixel under the sampled reference grayscale and the sampled pre-filled grayscale based on the compensation direction, the brightness difference, and the preset error threshold includes: If the compensation direction is positive, the sampling reference grayscale is positively compensated according to a preset step size. After each positive compensation, the compensation brightness difference between the ideal brightness of the sub-pixel at the sampling reference grayscale and the actual brightness of the sub-pixel at the positively compensated sampling reference grayscale is compared with the preset error threshold until the compensation brightness difference is less than the preset error threshold. The positive compensation value for positive compensation of the sampling reference grayscale is taken as the absolute compensation value of the sub-pixel at the sampling reference grayscale and each sampling pre-filled grayscale. If the compensation direction is negative, the sampling reference grayscale is negatively compensated according to a preset step size. After each negative compensation, the compensation brightness difference between the ideal brightness of the sub-pixel at the sampling reference grayscale and the actual brightness of the sub-pixel at the negatively compensated sampling reference grayscale is compared with the preset error threshold until the compensation brightness difference is less than the preset error threshold. The negative compensation value for negative compensation of the sampling reference grayscale is taken as the absolute compensation value of the sub-pixel at the sampling reference grayscale and each sampling pre-filled grayscale.
9. The method according to claim 4, characterized in that, The display screen includes at least one target sampling area and at least one neighboring sampling area; After determining the target compensation function corresponding to each sub-pixel in the target sampling region, the method further includes: For each type of sub-pixel in each of the neighborhood sampling regions at each of the sampling reference gray levels, obtain the brightness difference of the sub-pixel at the sampling reference gray level and each of the sampling pre-filled gray levels; Based on the brightness difference of the sub-pixel under the sampling reference gray level and each sampling pre-charge gray level, the brightness difference of the sub-pixel in the target sampling region under the sampling reference gray level and each sampling pre-charge gray level, and the target compensation function corresponding to the sub-pixel in the target sampling region, the target compensation function corresponding to the sub-pixel in the neighboring sampling region is determined.
10. The method according to claim 9, characterized in that, The step of determining the target compensation function corresponding to the sub-pixel in the neighboring sampling region based on the brightness difference of the sub-pixel at the sampling reference grayscale and each sampling pre-filled grayscale, the brightness difference of the sub-pixel in the target sampling region at the sampling reference grayscale and each sampling pre-filled grayscale, and the target compensation function corresponding to the sub-pixel in the target sampling region includes: Determine the ratio between the brightness difference of the sub-pixel at the sampling reference gray level and each sampling pre-filled gray level, and the brightness difference of the sub-pixel in the target sampling area at each sampling pre-filled gray level; Based on the ratio and the target compensation function corresponding to the sub-pixel in the target sampling region, the target compensation function corresponding to the sub-pixel in the neighboring sampling region is determined.
11. A method for obtaining display compensation data, characterized in that, Its features are, The display screen includes at least one sampling area; For each class of sub-pixels within at least one sampling region, the method further includes: At each sampling reference gray level, the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampling pre-filled gray level is obtained; For the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampled pre-filled gray level, the compensation value of the sub-pixel at the sampled reference gray level and the sampled pre-filled gray level is determined based on the comparison result between the brightness difference and the preset error threshold. Based on the compensation value of the sub-pixel under each sampled reference gray level and each sampled pre-filled gray level, the target compensation function corresponding to the sub-pixel is determined, wherein the target compensation function is used to determine the target gray level of each sub-pixel in the target pixel based on the coordinate position of the target pixel in the sampling area, and the reference gray level and pre-filled gray level of each sub-pixel in the target pixel at the current time.
12. A display device, characterized in that, The device includes: The grayscale acquisition module is used to acquire the reference grayscale and pre-filled grayscale of each sub-pixel in the target pixel at the current time, wherein the pre-filled grayscale is determined based on the reference grayscale of other sub-pixels in the target pixel at the previous time. The function determination module is used to determine the target compensation function corresponding to each sub-pixel in the target pixel based on the coordinate position of the target pixel; The display module is used to determine the target gray level of each sub-pixel based on the reference gray level and pre-filled gray level of each sub-pixel, as well as the target compensation function corresponding to each sub-pixel, and to display the target pixel based on the target gray level of each sub-pixel.
13. A device for obtaining display compensation data, characterized in that, For each type of sub-pixel within at least one sampling region, the device includes: The difference acquisition module is used to acquire the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampled reference gray level. The compensation value determination module is used to determine the compensation value of the sub-pixel at the sampling reference gray level and the sampling pre-filled gray level based on the comparison result between the brightness difference between the ideal brightness of the sub-pixel and the actual brightness of the sub-pixel at each sampling pre-filled gray level. The function acquisition module is used to determine the target compensation function corresponding to the sub-pixel based on the compensation value of the sub-pixel under each sampled reference gray level and each sampled pre-filled gray level. The target compensation function is used to determine the target gray level of each sub-pixel in the target pixel based on the coordinate position of the target pixel in the sampling area, and the reference gray level and pre-filled gray level of each sub-pixel in the target pixel at the current time.
14. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the method described in any one of claims 1 to 11.
15. A computer device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the method as described in any one of claims 1 to 11.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 11.
Citation Information
Patent Citations
Liquid crystal panel driving method and device
CN106205536A
Display panel driving method, system and display device
CN107170419A
Compensation method and device for display panel
CN111292701A
Display compensation method
CN117577035A
Screen adjustment method and device and storage medium
CN117636771A