Display picture compensation method and device, electronic equipment and computer storage medium

By obtaining at least two gamma values ​​of pixel points of the OLED display for grayscale compensation, the problem of uneven brightness under low brightness and low grayscale is solved, and the image quality of the display screen is improved.

CN120236520APending Publication Date: 2025-07-01GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510461585.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-11
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

The prior art cannot effectively improve the brightness uniformity of OLED display screens under low brightness and low gray levels, resulting in poor screen display effect.

Method used

By obtaining the gamma values ​​corresponding to the pixel points of the display screen, at least two gamma values ​​are determined, and the gray scale of the pixel points is compensated according to these values, and targeted compensation is performed for different brightness areas.

Benefits of technology

It improves the brightness and chromaticity uniformity of the display screen, improves the display effect under low brightness and low gray levels, and enhances the user's visual experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120236520A_ABST
    Figure CN120236520A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a display picture compensation method which comprises the steps that a to-be-displayed picture of a display screen is acquired, gamma values corresponding to pixel points of the to-be-displayed picture are determined from gamma values corresponding to pixel points of the display screen, the gamma values corresponding to the pixel points of the to-be-displayed picture at least comprise two kinds of values, and according to the gamma values corresponding to the pixel points of the to-be-displayed picture, the gamma values corresponding to the pixel points of the to-be-displayed picture are determined. And compensating the gray scale of the pixel point of the to-be-displayed picture to obtain a display picture. The embodiment of the invention further provides a display frame compensation device, electronic equipment and a computer storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the grayscale compensation technology of a display screen, and particularly to a compensation method, device, electronic device, and computer storage medium for a display screen. Background Art

[0002] Currently, the luminance and chromaticity uniformity at low brightness and low grayscale levels can affect the display effect of the screen, bringing a poor visual experience to users. Due to process and material reasons, organic light-emitting diodes (OLEDs) cannot achieve good luminance and chromaticity uniformity at low brightness and low grayscale levels. Among them, uneven screen display can be called mura.

[0003] In the related art, according to the gamma corresponding to the adjusted grayscale and brightness, a standard value of 2.2 is generally used, and based on the collected luminance data, the grayscale compensation value is obtained by processing each pixel one by one.

[0004] However, this method does not consider the abnormal gamma value problem at low brightness and low grayscale levels, and the processed grayscale compensation value cannot well improve the luminance and chromaticity uniformity, affecting the display effect of the display screen. Summary of the Invention

[0005] Embodiments of this application provide a compensation method, device, electronic device, and computer storage medium for a display screen, which can improve the image quality of the display screen.

[0006] The technical solution of this application is implemented as follows:

[0007] In a first aspect, embodiments of this application provide a compensation method for a display screen, including:

[0008] Obtaining a to-be-displayed screen of a display screen;

[0009] Determining the gamma value corresponding to the pixel points of the to-be-displayed screen from the gamma values corresponding to the pixel points of the display screen; wherein, the gamma value corresponding to the pixel points of the to-be-displayed screen includes at least two values;

[0010] Compensating the grayscale of the pixel points of the to-be-displayed screen according to the gamma value corresponding to the pixel points of the to-be-displayed screen to obtain a display screen.

[0011] In a second aspect, embodiments of this application provide a compensation device for a display screen, including:

[0012] An obtaining module, configured to obtain a to-be-displayed screen of a display screen;

[0013] A determination module, configured to determine the gamma value corresponding to the pixel of the to-be-displayed picture from the gamma values corresponding to the pixels of the display screen; wherein, the gamma value corresponding to the pixel of the to-be-displayed picture includes at least two values;

[0014] A compensation module, configured to compensate the gray level of the pixel of the to-be-displayed picture according to the gamma value corresponding to the pixel of the to-be-displayed picture, so as to obtain a display picture.

[0015] In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a storage medium storing executable instructions of the processor; the storage medium depends on the processor to execute operations through a communication bus, and when the instructions are executed by the processor, execute the compensation method of the display picture described in one or more of the above embodiments.

[0016] In a fourth aspect, an embodiment of the present application provides a computer storage medium, storing executable instructions, and when the executable instructions are executed by one or more processors, the processor executes the compensation method of the display picture described in one or more of the above embodiments.

[0017] An embodiment of the present application provides a compensation method, device, electronic device and computer storage medium for a display picture, including: obtaining a to-be-displayed picture of a display screen, determining the gamma value corresponding to the pixel of the to-be-displayed picture from the gamma values corresponding to the pixels of the display screen, the gamma value corresponding to the pixel of the to-be-displayed picture includes at least two values, and compensating the gray level of the pixel of the to-be-displayed picture according to the gamma value corresponding to the pixel of the to-be-displayed picture, so as to obtain a display picture; that is to say, in the embodiment of the present application, by obtaining that the gamma value corresponding to the pixel of the to-be-displayed picture has at least two values, different gamma values can be used to compensate the pixels during the compensation of the to-be-displayed picture, so that when the to-be-displayed picture of the display screen in different brightness regions is concerned, the to-be-displayed picture can be compensated specifically according to the different display brightnesses of the display screen, so as to improve the image quality of the display picture. Description of the Drawings

[0018] Figure 1 It is a schematic diagram of uneven mura display at low brightness and low gray level in the related art;

[0019] Figure 2 It is a schematic flowchart of an optional compensation method for a display picture provided by an embodiment of the present application;

[0020] Figure 3 It is a schematic diagram of the relationship between gray level and brightness provided by an embodiment of the present application;

[0021] Figure 4 Schematic diagram of an optional central region brightness provided by an embodiment of the present application;

[0022] Figure 5a Schematic diagram of an optional low-brightness and low-gray-scale display image before compensation provided by an embodiment of the present application;

[0023] Figure 5b Schematic diagram of a low-brightness and low-gray-scale display image after compensation in the related art;

[0024] Figure 6a Schematic diagram of an optional low-brightness and low-gray-scale display image before compensation provided by an embodiment of the present application;

[0025] Figure 6b Schematic diagram of a low-brightness and low-gray-scale display image after compensation in the related art;

[0026] Figure 7 Schematic diagram of an example of an optional display screen compensation method provided by an embodiment of the present application;

[0027] Figure 8 Schematic diagram of an optional low-brightness and low-gray-scale display image after compensation provided by an embodiment of the present application;

[0028] Figure 9 Schematic diagram of an optional low-brightness and low-gray-scale display image after compensation provided by an embodiment of the present application;

[0029] Figure 10 Schematic diagram of the structure of an optional display screen compensation device provided by an embodiment of the present application;

[0030] Figure 11 Schematic diagram of the structure of an optional electronic device provided by an embodiment of the present application. Detailed implementation manners

[0031] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application.

[0032] Figure 1 Schematic diagram of mura display unevenness at low brightness and low gray scale in the related art. As Figure 1 shown, there is an obvious problem of uneven display of the screen.

[0033] In the related art, according to the gamma value corresponding to the adjusted gray scale and brightness (generally using the standard value of 2.2), and according to the actually collected brightness, the gray scale compensation value is processed pixel by pixel. However, this method does not consider the abnormal problem of the gamma value at low brightness and low gray scale. Thus, the gray scale compensation value processed by using the standard value cannot well improve the uniformity of brightness and chroma.

[0034] In view of the technical problem of poor gray-scale compensation effect of the display screen on the existing display screen, the embodiment of the present application provides a compensation method for the display screen. Figure 2 As shown in the flowchart of an optional compensation method for the display screen provided by the embodiment of the present application, Figure 2 as shown, the compensation method for the display screen may include:

[0035] S201: Obtain the to-be-displayed screen of the display screen;

[0036] The compensation method for the display screen provided by the embodiment of the present application can be applied to an electronic device with a display screen. Here, the electronic device can be a smart phone, a smart TV, a tablet computer, or a smart watch, etc. Here, the embodiment of the present application does not make specific limitations on this.

[0037] For this electronic device, when the display screen is in the working state, first obtain the to-be-displayed screen of the display screen. Among them, the to-be-displayed screen can be an image captured or received, or an image frame in a video captured or received, or the interface of an application program. Here, the embodiment of the present application does not make specific limitations on this.

[0038] Among them, the above display screen is an OLED screen.

[0039] S202: Determine the gamma value corresponding to the pixel of the to-be-displayed screen from the gamma values corresponding to the pixels of the display screen;

[0040] After obtaining the to-be-displayed screen of the display screen through the above S201, in S202, in order to implement the compensation of the gray scale of the to-be-displayed screen, the electronic device determines the gamma value corresponding to the pixel of the to-be-displayed screen from the gamma values corresponding to the pixels of the display screen.

[0041] Among them, the gamma value corresponding to the pixel of the above display screen can be obtained through pre-calculation and stored in the electronic device in advance, or obtained in real time according to a preset rule. Here, the embodiment of the present application does not make specific limitations on this.

[0042] After knowing the gamma value corresponding to the pixel of the display screen and obtaining the to-be-displayed screen, the pixel corresponding to the pixel of the display screen can be found from the to-be-displayed screen, so that the gamma value corresponding to the pixel corresponding to the pixel of the display screen can be determined as the gamma value corresponding to the pixel of the to-be-displayed screen.

[0043] Among them, the gamma values corresponding to the pixel points of the to-be-displayed picture include at least two values. Since the gamma values corresponding to the pixel points of the display screen include at least two values, the gamma values corresponding to the pixel points of the to-be-displayed picture are determined from the gamma values corresponding to the pixel points of the display screen. Therefore, the gamma values corresponding to the pixel points of the to-be-displayed picture have at least two values.

[0044] That is to say, the determined gamma values corresponding to the pixel points of the to-be-displayed picture are not just one value. For example, when it is only the standard value, using the standard value to compensate the gray levels of the pixel points of the to-be-displayed picture, the compensation effect is poor. Here, using at least two values to compensate the gray levels of the pixel points of the to-be-displayed picture can perform targeted gray level compensation for the display screen in different brightness regions, improving the image quality of the displayed picture.

[0045] S203: According to the gamma values corresponding to the pixel points of the to-be-displayed picture, compensate the gray levels of the pixel points of the to-be-displayed picture to obtain the displayed picture.

[0046] After determining the gamma values corresponding to the pixel points of the to-be-displayed picture through the above S202, in S203, the electronic device compensates the gray levels of the pixel points of the to-be-displayed picture according to the gamma values corresponding to the pixel points of the to-be-displayed picture to obtain the displayed picture.

[0047] Among them, after obtaining the gamma value corresponding to each pixel point of the to-be-displayed picture, for each pixel point, the relationship between the gray level and the brightness can be used to determine the actual gray level, and then the gray level compensation value is determined according to the difference between the target gray level and the actual gray level, and the gray level of each pixel point is compensated using the gray level compensation value.

[0048] Figure 3 For an optional schematic diagram of the relationship between the gray level and the brightness provided by the embodiments of the present application, as Figure 3 shown, the abscissa is the gray level Gray, and the ordinate is the brightness Lv. This curve is used to represent the relationship between the gray level and the brightness, and can be represented by the following formula:

[0049] Lv = Gray gamma (1)

[0050] Among them, by transforming the above formula (1), the relationship between the brightness and the gray level of each pixel can be obtained:

[0051] Gray pixel =(Lv pixel ) 1 / gamma (2)

[0052] After obtaining Gray pixelAfter that, the grayscale compensation value is calculated using the following formula:

[0053] Gray offset = Gray input - Gray pixel (3)

[0054] Wherein, Gray input represents the target grayscale, and Gray offset represents the grayscale compensation value.

[0055] In this way, the corresponding grayscale compensation value is calculated for each pixel point, and the grayscale corresponding to each pixel point is compensated using the grayscale compensation value.

[0056] In order to obtain the gamma value corresponding to the pixel points of the above display screen, in an optional embodiment, the above method may further include:

[0057] Determine the gamma value corresponding to the pixel points of the display screen according to the actual brightness of the pixel points of the display screen.

[0058] It can be understood that, in order to determine the gamma value corresponding to the pixel points of the display screen, the gamma value corresponding to the pixel points of the display screen can be determined according to the actual brightness of the pixel points of the display screen. Here, before executing the above display screen compensation method, the gamma value corresponding to the pixel points of the display screen is determined in the above manner, or the gamma value corresponding to the pixel points of the display screen can be determined in real time in the above manner during the execution of the above display screen compensation. Here, the embodiments of the present application do not make specific limitations in this regard.

[0059] Here, it should be noted that the actual brightness of the pixel points can be collected when a grayscale image is displayed on the display screen, so as to determine the gamma value corresponding to the pixel points of the display screen. Of course, the actual brightness of the pixel points can also be collected when other images are displayed, so as to determine the gamma value corresponding to the pixel points of the display screen. Here, the embodiments of the present application do not make specific limitations in this regard.

[0060] Here, the gamma value corresponding to the pixel points of the display screen can be determined by calling a preset calculation formula according to the actual brightness of the pixel points of the display screen; or the AI model method can also be used to determine the gamma value corresponding to the pixel points of the display screen according to the actual brightness of the pixel points of the display screen. Here, the embodiments of the present application do not make specific limitations in this regard.

[0061] In this way, by collecting the actual brightness of the pixel points as described above to determine the gamma value corresponding to the pixel points of the display screen, the determined gamma value corresponding to the pixel points of the display screen is related to the actual brightness and is closer to the true value.

[0062] Further, in order to determine the gamma value corresponding to the pixel of the display screen, in an alternative embodiment, determining the gamma value corresponding to the pixel of the display screen according to the actual brightness of the pixel of the display screen may include:

[0063] Obtain the first actual brightness of the pixel when the display screen displays the first grayscale image;

[0064] Obtain the second actual brightness of the pixel when the display screen displays the second grayscale image;

[0065] Determine the gamma value of the pixel of the display screen between the grayscale value of the first grayscale image and the grayscale value of the second grayscale image according to the first actual brightness, the second actual brightness, the grayscale value of the first grayscale image, and the grayscale value of the second grayscale image.

[0066] It can be understood that when the electronic device displays the first grayscale image on the display screen, the first actual brightness of the pixel is collected, and when the electronic device displays the second grayscale image on the display screen, the second actual brightness of the pixel is collected.

[0067] After obtaining the first actual brightness and the second actual brightness, the relationship between the first actual brightness and the grayscale value of the first grayscale image and the relationship between the second actual brightness and the grayscale value of the second grayscale image can be obtained by using the above formula (1) or formula (2).

[0068] Taking formula (1) as an example, the first actual brightness Lv pixel1 and the grayscale value Gray pixel1 of the first grayscale image have the following relationship:

[0069] Lv pixel1 = Gray pixel1 gamma (4)

[0070] Taking formula (1) as an example, the second actual brightness Lv pixel2 and the grayscale value Gray pixel2 of the second grayscale image have the following relationship:

[0071] Lv pixel2 = Gray pixel2 gamma (5)

[0072] Transforming the above formula (4) and formula (5), the following formula is obtained:

[0073] Lv pixel1 / Lv pixel2 = Gray pixel1 gamma / Graypixel2 gamma (6)

[0074] In this way, based on formula (6), the gamma value between the grayscale value of the pixel in the first grayscale image and the grayscale value of the second grayscale image can be obtained, so as to realize determining the gamma value between the grayscale value of the pixel of the display screen in the first grayscale image and the grayscale value of the second grayscale image according to the first actual brightness, the second actual brightness, the grayscale value of the first grayscale image, and the grayscale value of the second grayscale image.

[0075] In this way, by setting the grayscale value of the first grayscale image and the grayscale value of the second grayscale image as described above, all gamma values from the minimum value to the maximum value of the grayscale value can be obtained.

[0076] In this way, the gamma value corresponding to the pixel obtained by the above method is related to the ratio of the two actually measured brightness values, further improving the accuracy of the gamma value corresponding to the pixel.

[0077] To improve the accuracy of the gamma value corresponding to the pixel of the display screen, in an optional embodiment, determining the gamma value corresponding to the pixel of the display screen according to the actual brightness of the pixel of the display screen may include:

[0078] Determining the gamma value corresponding to the pixel of the display screen according to the actual brightness of the pixel of the display screen;

[0079] In the case where the average value of the gamma values corresponding to the pixels of the display screen does not fall within the first preset range, partitioning the display screen to obtain the partitioned display screen;

[0080] Updating the gamma value corresponding to the pixel of the display screen according to the gamma value corresponding to the pixel of the partitioned display screen.

[0081] It can be understood that the electronic device can determine the gamma value corresponding to the pixel of the display screen according to the actual brightness of the pixel of the display screen, and the determination method is similar to the method for determining the gamma value corresponding to the pixel of the display screen described above, which will not be elaborated here.

[0082] To determine whether there are over-bright or over-dark areas in the gamma value of the display screen, here, the electronic device calculates the average value of the gamma values corresponding to the pixels of the display screen that are determined, and checks whether the average value falls within the first preset range. If so, it means that the brightness and chromaticity uniformity of the display screen is acceptable and there is no need to update the gamma value corresponding to the pixel of the partitioned display screen. If not, it means that the brightness and chromaticity uniformity of the display screen is poor and the display screen needs to be further partitioned to obtain the partitioned display screen.

[0083] Then, according to the gamma value corresponding to the pixel points of the partitioned display screen, update the gamma value corresponding to the pixel points of the display screen. Here, according to the gamma value corresponding to the pixel points of the partitioned display screen, it can be determined which gamma values corresponding to the pixel points of the partitioned display screen need to be updated. After determination, update the gamma values corresponding to the pixel points of the determined partitioned display screen to update the gamma values corresponding to the pixel points of the display screen.

[0084] In this way, through the above partitioning method, the partitioned display screen is determined, and the gamma value corresponding to the pixel points of the display screen is updated according to the gamma value corresponding to the pixel points of the partitioned display screen, so that the gamma values of different brightness regions can be updated, and the obtained gamma values are consistent with the actual situation of the display screen, thereby improving the image quality of the display screen.

[0085] In order to update the gamma value corresponding to the pixel points of the display screen, in an optional embodiment, updating the gamma value corresponding to the pixel points of the display screen according to the gamma value corresponding to the pixel points of the partitioned display screen may include:

[0086] When the average value of the gamma values corresponding to the pixel points of the partitioned display screen does not fall within the second preset range and the gamma values corresponding to the pixel points of the partitioned display screen fall within the second preset range, set the gamma value corresponding to the pixel points of the partitioned display screen to the first preset value.

[0087] It can be understood that in order to determine whether there is a problem with poor brightness and chroma uniformity in the partitioned display screen, the electronic device can first calculate the average value of the gamma values corresponding to the pixel points of the partitioned display screen and check whether the average value falls within the second preset range. If so, it means that the brightness and chroma uniformity of the partitioned display screen is acceptable and there is no need to update the gamma value corresponding to the pixel points of the partitioned display screen. If not, it means that the brightness and chroma uniformity of the partitioned display screen is poor, and it is necessary to further check which of the gamma values corresponding to the pixel points of the partitioned display screen fall within the second preset range and which do not.

[0088] For those pixel points that fall within the second preset range, the gamma value corresponding to the pixel point can be directly set to the first preset value. Here, the first preset value can be the standard value 2.2, or it can be a value within a range that fluctuates up and down based on the standard value. Here, the embodiments of the present application do not make specific limitations in this regard.

[0089] Among them, the above first preset range may be the same as the second preset range or different from the second preset range. Here, the embodiments of the present application do not make specific limitations in this regard.

[0090] In this way, based on the relationship between the average value of the gamma values corresponding to the pixel points of the partitioned display screen and the second preset range, and the relationship between the gamma values corresponding to the pixel points of the partitioned display screen and the second preset range, the gamma value corresponding to the pixel points in the normal area can be set to the first preset value, so as to realize the gamma value corresponding to the pixel points in this area, which helps to improve the image quality of the display screen.

[0091] In addition, in order to update the gamma value corresponding to the pixel points of the display screen, in an optional embodiment, updating the gamma value corresponding to the pixel points of the display screen according to the gamma value corresponding to the pixel points of the partitioned display screen may include:

[0092] When the average value of the gamma values corresponding to the pixel points of the partitioned display screen does not fall within the second preset range and the gamma values corresponding to the pixel points of the partitioned display screen do not fall within the second preset range, keep the gamma values corresponding to the pixel points of the partitioned display screen unchanged.

[0093] It can be understood that in order to determine whether there is a problem with poor brightness and chroma uniformity in the partitioned display screen, the electronic device can first calculate the average value of the gamma values corresponding to the pixel points of the partitioned display screen and check whether the average value falls within the second preset range. If so, it means that the brightness and chroma uniformity of the partitioned display screen is acceptable and there is no need to update the gamma values corresponding to the pixel points of the partitioned display screen. If not, it means that the brightness and chroma uniformity of the partitioned display screen is poor, and it is necessary to further check which of the gamma values corresponding to the pixel points of the partitioned display screen fall within the second preset range and which do not.

[0094] For those pixel points that do not fall within the second preset range, the gamma values corresponding to the pixel points of the partitioned display screen can be kept unchanged, so that the gamma values corresponding to the pixel points that do not fall within the second preset range are the gamma values calculated pixel by pixel.

[0095] In this way, based on the relationship between the average value of the gamma values corresponding to the pixel points of the partitioned display screen and the second preset range, and the relationship between the gamma values corresponding to the pixel points of the partitioned display screen and the second preset range, the gamma values corresponding to the pixel points in the abnormal area can be the gamma values calculated pixel by pixel, which helps to improve the image quality of the display screen.

[0096] For the gamma values corresponding to the pixel points of the partitioned display screen, in an optional embodiment, updating the gamma values corresponding to the pixel points of the display screen according to the gamma values corresponding to the pixel points of the partitioned display screen includes:

[0097] When the average value of the gamma values corresponding to the pixel points of the partitioned display screen falls within a second preset range, set the gamma values corresponding to the pixel points of the partitioned display screen to a first preset value.

[0098] It can be understood that after the electronic device calculates the average value of the gamma values corresponding to the pixel points of the partitioned display screen, it checks whether the average value falls within the second preset range. If so, it means that the brightness and chroma uniformity of the partitioned display screen is acceptable and there is no need to update the gamma values corresponding to the pixel points of the partitioned display screen. Therefore, the gamma values corresponding to the pixel points of the partitioned display screen are set to the first preset value.

[0099] Wherein, the first preset value can be the standard value 2.2, or it can be a value within a range that fluctuates up and down by a certain value based on the standard value. Here, the embodiments of the present application do not make specific limitations on this.

[0100] In this way, through the above method, the normal areas can be screened out by the gamma values corresponding to the pixel points of the partitioned display screen, and the first preset value is used to implement the grayscale compensation for the display picture to improve the picture quality of the display picture.

[0101] The following uses an example to describe the compensation method for the display picture described in one or more of the above embodiments.

[0102] In the related art, through the relationship between brightness and grayscale, the actual brightness data of the binding point grayscale is collected. Based on the brightness of the central area and with gamma = 2.2 as the standard, the brightness difference from the central area is calculated. Through the inverse gamma method, the grayscale difference offset to be compensated for each pixel is calculated and superimposed on the original grayscale, thereby completing the grayscale correction for each pixel. This makes the brightness of the input original grayscale values at different positions display the same brightness and chroma under the human eye vision, so as to achieve the purpose that the brightness and chroma are the same at each position, and further improve the user's visual experience.

[0103] As Figure 3 shown, the relationship between grayscale and brightness is given. If the grayscale range is 0 - 255 of 8 bits and gamma is the standard value 2.2, the brightness value can be calculated according to the given grayscale value and the brightness grayscale calculation formula.

[0104] Figure 4This is a schematic diagram of an optional central area brightness provided by an embodiment of the present application. As Figure 4 shown, to obtain the target brightness of a single grayscale screen, the average brightness of the central area is taken as the target brightness Lv target , and the brightness information Lv of each pixel on the entire surface is obtained by taking a photo with a professional camera pixel . As shown in formula (1), the grayscale Gray corresponding to the display brightness of each pixel is inversely deduced according to the calculation formulas of gamma and grayscale pixel . As shown in formula (3), the difference between it and the input grayscale Gray input (equivalent to the above target grayscale) is the target compensation value Gray offset .

[0105] For related technologies, it is not possible to compensate for all types of screen problems. When the screen displays low brightness and low grayscale, some areas of the OLED material cut into single screens due to the position of the large board may have problems such as over-bright or over-dark emission of the finished screen due to process reasons, too thick or too thin luminescent materials. All screens use the standard gamma = 2.2 for Gray pixel calculation, and the obtained value is different from the correct compensation value, resulting in a difference between the finally obtained compensation grayscale Gray offset and the compensation grayscale of the appropriate brightness considered by the human eye, and then causing problems such as over-bright or over-dark areas in the display screen

[0106] Figure 5a This is a schematic diagram of an optional low-brightness and low-grayscale display image before compensation provided by an embodiment of the present application. As Figure 5a shown, there are over-bright areas in the screen. When there is over-brightness at the upper end of the screen, the gamma of each pixel in this area and the adjacent grayscale may be less than 2.2, resulting in the finally calculated grayscale compensation value being smaller than the target grayscale. Therefore, there are still over-bright areas in the compensated screen Figure 5b This is a schematic diagram of a low-brightness and low-grayscale display image after compensation in related technologies. As Figure 5b shown, for the compensated screen, the bright spot still exists after compensation

[0107] Figure 6a This is a schematic diagram of an optional low-brightness and low-grayscale display image before compensation provided by an embodiment of the present application. As Figure 6a shown, there are over-dark areas in the screen. When there are over-dark areas in the screen, the gamma of each pixel in this area and the adjacent grayscale may be greater than 2.2, resulting in the finally calculated compensation value being larger than the target value. Therefore, there are still over-dark areas in the compensated screen Figure 6b This is a schematic diagram of a low-brightness and low-grayscale display image after compensation in related technologies. As Figure 6bAs shown, it is the compensated screen, and the dark spots still exist after compensation.

[0108] Therefore, when such problems occur in the display screen, the compensation effect in the related technology still cannot meet the needs of users.

[0109] Figure 7 It is a schematic diagram of an example of an optional compensation method for a display screen provided by an embodiment of the present application. As Figure 7 shown, the compensation method for the display screen may include:

[0110] S701: Obtain the Image data of the screen to be displayed; execute S702;

[0111] S702: Calculate the gamma value of the pixel points of Image data; execute S703;

[0112] S703: Determine whether the average value of the gamma values corresponding to the pixel points of Image data falls within a first preset range? If yes, execute S704; if no, execute S705;

[0113] S704: Determine that the gamma corresponding to the pixel points of Image data is 2.2; execute S708;

[0114] S705: Partition the screen of Image data; execute S706;

[0115] S706: Determine whether the average value of the gamma values corresponding to the pixel points of the partitioned area falls within a second preset range? If yes, execute S707; if no, execute S708;

[0116] S707: Determine that the gamma corresponding to the pixel points of the partitioned area is 2.2; execute S709;

[0117] S708: Determine that the gamma corresponding to the pixel points whose gamma values of the partitioned area fall within the second preset range is 2.2, and the rest remain unchanged; execute S709;

[0118] S709: Calculate the gray scale value corresponding to the brightness of the pixel points; execute S710;

[0119] S710: Calculate the gray scale compensation value.

[0120] In this example, the entire Image data enters S701, where the gamma value of each pixel is calculated one by one to obtain the gamma corresponding to the actual brightness of each pixel. The data then enters S703, and according to the set first preset range, it is determined whether it falls within the first preset range. If so, it is determined that this screen unit is a normal screen without over-bright or over-dark abnormal areas. Therefore, the gray-scale compensation value Gray is calculated using the conventional gamma value. offset That's it.

[0121] If not, it is determined that this screen unit is a brightness-abnormal screen and enters S705. The screen is partitioned according to its size, and a second preset range of abnormal gamma values is set. It is determined whether the gamma corresponding to each pixel in each partition falls within the second preset range. If so, the conventional gamma is used for calculation in this partition. If not, it enters S708. According to the gamma distribution of the pixels corresponding to the partition, the gamma corresponding to the pixel points falling within the second preset range is determined to be 2.2, and the rest remains unchanged according to the gamma corresponding to the pixel points. After obtaining the gamma value corresponding to each pixel, the gray-scale value corresponding to each pixel is calculated, and finally the gray-scale compensation value corresponding to each pixel is calculated.

[0122] After compensating the screen using the algorithm of this example, the phenomenon of over-bright or over-dark images on the abnormal screen can be improved. For example, Figure 8 is a schematic diagram of an optional low-brightness and low-gray-scale display image after compensation provided by an embodiment of this application. As Figure 8 shown, for Figure 5a the over-bright phenomenon at the top and center areas of the screen, this example is used for compensation, and the display effect of the compensated screen is as Figure 8 shown.

[0123] Figure 9 is a schematic diagram of an optional low-brightness and low-gray-scale display image after compensation provided by an embodiment of this application. As Figure 9 shown, Figure 6a for Figure 9 the over-dark phenomenon in the middle and lower areas of the screen, the display effect of the compensated screen is as follows

[0124] shown. It can be seen that both the over-bright and over-dark areas have been improved to a certain extent compared with the conventional method.

[0125] It can be seen that this example can distinguish between normally displayed and abnormally displayed screens, improving the yield of the production line; for abnormal screens, the effects of overly dark or overly bright areas are optimized to improve the uniformity of the brightness and chromaticity of the picture and enhance the display quality of low brightness and low gray levels.

[0126] An embodiment of the present application provides a method for compensating a display screen, including: obtaining a to-be-displayed picture of a display screen, determining the gamma value corresponding to the pixel points of the to-be-displayed picture from the gamma values corresponding to the pixel points of the display screen, where the gamma value corresponding to the pixel points of the to-be-displayed picture includes at least two values, and compensating the gray levels of the pixel points of the to-be-displayed picture according to the gamma value corresponding to the pixel points of the to-be-displayed picture to obtain a display picture; that is to say, in the embodiment of the present application, by obtaining that the gamma value corresponding to the pixel points of the to-be-displayed picture has at least two values, different gamma values can be used to compensate the pixel points during the compensation of the to-be-displayed picture, so that when the to-be-displayed picture of the display screen in different brightness areas is targeted, the to-be-displayed picture can be compensated according to the different display brightness of the display screen to improve the display quality of the display picture.

[0127] Based on the same inventive concept as the foregoing embodiment, an embodiment of the present application provides a device for compensating a display picture, Figure 10 which is a schematic structural diagram of an optional device for compensating a display picture provided by an embodiment of the present application, as Figure 10 shown. The device for compensating a display picture includes: an acquisition module 101, a determination module 102, and a compensation module 103; where,

[0128] The acquisition module 101 is configured to obtain a to-be-displayed picture of a display screen;

[0129] The determination module 102 is configured to determine the gamma value corresponding to the pixel points of the to-be-displayed picture from the gamma values corresponding to the pixel points of the display screen; where the gamma value corresponding to the pixel points of the to-be-displayed picture includes at least two values;

[0130] The compensation module 103 is configured to compensate the gray levels of the pixel points of the to-be-displayed picture according to the gamma value corresponding to the pixel points of the to-be-displayed picture to obtain a display picture.

[0131] In an optional embodiment, the device is further configured to:

[0132] Determine the gamma value corresponding to the pixel points of the display screen according to the actual brightness of the pixel points of the display screen.

[0133] In an optional embodiment, when the device determines the gamma value corresponding to the pixel points of the display screen according to the actual brightness of the pixel points of the display screen, it includes:

[0134] Obtain the first actual brightness of a pixel when the display screen displays a first grayscale image;

[0135] Obtain the second actual brightness of a pixel when the display screen displays a second grayscale image;

[0136] Determine the gamma value of a pixel of the display screen between the grayscale value of the first grayscale image and the grayscale value of the second grayscale image according to the first actual brightness, the second actual brightness, the grayscale value of the first grayscale image, and the grayscale value of the second grayscale image.

[0137] In an optional embodiment, when the device determines the gamma value corresponding to a pixel of the display screen according to the actual brightness of the pixel of the display screen, it includes:

[0138] Determine the gamma value corresponding to a pixel of the display screen according to the actual brightness of the pixel of the display screen;

[0139] In the case that the average value of the gamma values corresponding to the pixels of the display screen does not fall within the first preset range, partition the display screen to obtain a partitioned display screen;

[0140] Update the gamma value corresponding to the pixel of the display screen according to the gamma value corresponding to the pixel of the partitioned display screen.

[0141] In an optional embodiment, when the device updates the gamma value corresponding to a pixel of the display screen according to the gamma value corresponding to the pixel of the partitioned display screen, it includes:

[0142] In the case that the average value of the gamma values corresponding to the pixels of the partitioned display screen does not fall within the second preset range and the gamma value corresponding to the pixel of the partitioned display screen falls within the second preset range, set the gamma value corresponding to the pixel of the partitioned display screen to the first preset value.

[0143] In an optional embodiment, when the device updates the gamma value corresponding to a pixel of the display screen according to the gamma value corresponding to the pixel of the partitioned display screen, it includes:

[0144] In the case that the average value of the gamma values corresponding to the pixels of the partitioned display screen does not fall within the second preset range and the gamma value corresponding to the pixel of the partitioned display screen does not fall within the second preset range, keep the gamma value corresponding to the pixel of the partitioned display screen unchanged.

[0145] In an alternative embodiment, when updating the gamma value corresponding to the pixel points of the display screen according to the gamma value corresponding to the pixel points of the partitioned display screen, the following steps are included:

[0146] When the average value of the gamma values corresponding to the pixel points of the partitioned display screen falls within a second preset range, the gamma value corresponding to the pixel points of the partitioned display screen is set to a first preset value.

[0147] In practical applications, the above-mentioned acquisition module 101, determination module 102, and compensation module 103 can be implemented by a processor located on a compensation device of a display screen, specifically implemented by a CPU, a microprocessor (Microprocessor Unit, MPU), a digital signal processor (Digital Signal Processing, DSP), or a field programmable gate array (Field Programmable Gate Array, FPGA), etc.

[0148] Figure 11 The figure is a schematic structural diagram of an alternative electronic device provided by an embodiment of the present application. As Figure 11 shown, an embodiment of the present application provides an electronic device 1100, which includes:

[0149] A processor 111 and a storage medium 112 storing executable instructions that can be executed by the processor 111; the storage medium 112 depends on the processor 111 to perform operations through a communication bus 113. When the instructions are executed by the processor 111, the compensation method for the display screen described in the above one or more embodiments is executed.

[0150] It should be noted that in practical applications, each component in the computer device is coupled together through a communication bus 113. It can be understood that the communication bus 113 is used to realize the connection and communication between these components. In addition to a data bus, the communication bus 113 also includes a power bus, a control bus, and a status signal bus.

[0151] An embodiment of the present application provides a computer storage medium storing executable instructions. When the executable instructions are executed by one or more processors, the processor executes the compensation method for the display screen described in the above one or more embodiments.

[0152] Among them, the computer-readable storage medium can be a ferromagnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM), etc.

[0153] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories and optical memories, etc.) containing computer-usable program code.

[0154] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0155] These computer program instructions can also be stored in a computer-readable memory capable of guiding a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including instruction means, and the instruction means implements the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0156] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus, so that a series of operation steps are executed on the computer or other programmable apparatus to produce a computer-implemented process, thereby the instructions executed on the computer or other programmable apparatus provide steps for realizing the functions specified in one process or more processes and / or blocks Figure 1 one process or more processes and / or blocks Figure 1 steps for realizing the functions specified in one block or more blocks.

[0157] As mentioned above, the foregoing are only preferred embodiments of the present application and are not intended to limit the protection scope of the present application.

Claims

1. A method for compensating a display image, characterized in that: include: Get the picture to be displayed on the display screen; Determining the gamma values ​​corresponding to the pixels of the image to be displayed from the gamma values ​​corresponding to the pixels of the display screen; wherein the gamma values ​​corresponding to the pixels of the image to be displayed include at least two values; According to the gamma values ​​corresponding to the pixels of the picture to be displayed, the grayscales of the pixels of the picture to be displayed are compensated to obtain a display picture.

2. The method according to claim 1, characterized in that The method further comprises: The gamma value corresponding to the pixel point of the display screen is determined according to the actual brightness of the pixel point of the display screen.

3. The method according to claim 2, characterized in that The determining, according to the actual brightness of the pixel of the display screen, the gamma value corresponding to the pixel of the display screen comprises: Acquire a first actual brightness of a pixel when the display screen displays a first grayscale image; Acquire a second actual brightness of a pixel when the display screen displays a second grayscale image; Determine a gamma value of a pixel of the display screen between the grayscale value of the first grayscale image and the grayscale value of the second grayscale image according to the first actual brightness, the second actual brightness, the grayscale value of the first grayscale image, and the grayscale value of the second grayscale image.

4. The method according to claim 2, characterized in that: The determining, according to the actual brightness of the pixel of the display screen, the gamma value corresponding to the pixel of the display screen comprises: Determining a gamma value corresponding to a pixel point of the display screen according to an actual brightness of the pixel point of the display screen; When the average value of the gamma values ​​corresponding to the pixels of the display screen does not fall within a first preset range, partitioning the display screen to obtain a partitioned display screen; The gamma values ​​corresponding to the pixels of the display screen after the partition are updated according to the gamma values ​​corresponding to the pixels of the display screen.

5. The method according to claim 4, characterized in that The updating of the gamma values ​​corresponding to the pixels of the display screen according to the gamma values ​​corresponding to the pixels of the partitioned display screen comprises: When the average value of the gamma values ​​corresponding to the pixels of the partitioned display screen does not fall within the second preset range, and the gamma values ​​corresponding to the pixels of the partitioned display screen fall within the second preset range, the gamma values ​​corresponding to the pixels of the partitioned display screen are set to the first preset value.

6. The method according to claim 4, characterized in that The updating of the gamma values ​​corresponding to the pixels of the display screen according to the gamma values ​​corresponding to the pixels of the partitioned display screen comprises: When the average value of the gamma values ​​corresponding to the pixels of the partitioned display screen does not fall within the second preset range, and the gamma values ​​corresponding to the pixels of the partitioned display screen do not fall within the second preset range, the gamma values ​​corresponding to the pixels of the partitioned display screen remain unchanged.

7. The method according to claim 4, characterized in that The updating of the gamma values ​​corresponding to the pixels of the display screen according to the gamma values ​​corresponding to the pixels of the partitioned display screen comprises: When the average value of the gamma values ​​corresponding to the pixel points of the partitioned display screen falls within the second preset range, the gamma values ​​corresponding to the pixel points of the partitioned display screen are set to the first preset value.

8. A compensation device for displaying a picture, characterized in that: include: An acquisition module, used for acquiring the picture to be displayed on the display screen; A determination module, used to determine the gamma value corresponding to the pixel point of the image to be displayed from the gamma values ​​corresponding to the pixel points of the display screen; wherein the gamma value corresponding to the pixel point of the image to be displayed includes at least two values; The compensation module is used to compensate the grayscale of the pixel points of the picture to be displayed according to the gamma value corresponding to the pixel points of the picture to be displayed, so as to obtain a display picture.

9. An electronic device, characterized in that: include: A processor and a storage medium storing instructions executable by the processor; The storage medium relies on the processor to perform operations through a communication bus, and when the instructions are executed by the processor, the display screen compensation method described in any one of claims 1 to 7 is executed.

10. A computer storage medium, characterized in that: Executable instructions are stored, and when the executable instructions are executed by one or more processors, the processors execute the display screen compensation method described in any one of claims 1 to 7.

Citation Information

Cited By

  • Display screen Demura method and system and OLED display screen

    CN121034221A