Brightness compensation method and device, storage medium and brightness compensation system
By using multiple sampling and a brightness compensation algorithm to calculate brightness compensation parameters, the problems of uneven display and three-screen display were solved, thus improving the uniformity of screen brightness and display quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BOE TECHNOLOGY GROUP CO LTD
- Filing Date
- 2025-03-25
- Publication Date
- 2026-06-26
AI Technical Summary
Uneven display issues affect the quality of display products. Existing Demura algorithms are unable to completely solve different types of uneven display and three-screen problems, resulting in over- or under-compensation.
By sampling the image displayed on the screen to be compensated multiple times, the brightness compensation parameters are calculated and stored according to the brightness compensation algorithm until the display effect meets the preset conditions, and then further brightness compensation is performed to improve uniformity.
It improves display quality, increases screen product yield, meets mass production and shipment requirements, and makes screen brightness distribution more uniform.
Smart Images

Figure CN119993018B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, and more specifically, to a brightness compensation method, apparatus, storage medium, and brightness compensation system. Background Technology
[0002] With the rapid development of display technology, users have higher requirements for the brightness, color, and power consumption of display products. However, the problem of uneven display (see details) remains. Figures 1A to 1D , Figure 2 As shown, Figure 1A This shows the split-screen configuration. Figure 1B This shows the split-screen configuration. Figure 1C This shows a localized darkening (the location is not fixed). Figure 1D This indicates that the whole structure is flocculent. Figure 2 The emergence of a three-screen display (as shown in the example) has affected the quality of display products and has become an urgent problem to be solved in the field of display technology. Summary of the Invention
[0003] This application provides a brightness compensation method, apparatus, storage medium, and brightness compensation system, which improve display quality, increase display product yield, and meet mass production and shipment requirements.
[0004] This application provides a brightness compensation method, including:
[0005] Turn off the brightness compensation function of the screen to be compensated, calculate and store the brightness compensation parameters of the screen to be compensated;
[0006] Enable the brightness compensation function of the screen to be compensated, and repeatedly calculate and store the brightness compensation parameters of the screen to be compensated until the display effect of the screen to be compensated meets the preset first condition.
[0007] After the display effect of the screen to be compensated meets the preset first condition, and when the brightness compensation function of the screen to be compensated is enabled, at least one operation is performed to calculate and store the brightness compensation parameters of the screen to be compensated, so that the screen to be compensated can perform brightness compensation based on the last stored brightness compensation parameters.
[0008] In one exemplary embodiment, calculating and storing the brightness compensation parameters of the screen to be compensated includes:
[0009] The image displayed on the screen to be compensated is acquired, and the brightness compensation parameters are calculated based on the brightness compensation algorithm and the image.
[0010] The brightness compensation parameters are stored in the storage area corresponding to the screen to be compensated.
[0011] In one exemplary embodiment, calculating the brightness compensation parameters based on the brightness compensation algorithm and the image includes:
[0012] The brightness difference data of each pixel in the image is obtained based on the image.
[0013] The brightness compensation parameters are calculated based on the brightness compensation algorithm and the brightness difference data of each pixel.
[0014] In one exemplary embodiment, obtaining the brightness difference data of each pixel in the image based on the image includes:
[0015] Obtain the grayscale value of each pixel in the image;
[0016] The brightness value of each pixel is calculated based on its grayscale value.
[0017] The Gamma index of each pixel is calculated based on the brightness value of each pixel;
[0018] The brightness difference data for each pixel is calculated based on the Gamma index of each pixel.
[0019] In one exemplary embodiment, each pixel comprises three sub-pixels;
[0020] The grayscale value of each pixel is used to calculate the brightness value of each pixel, including:
[0021] The average grayscale value of the three sub-pixels in each pixel is used as the brightness value of each pixel; or,
[0022] The grayscale value of each pixel is used to calculate the brightness value of each pixel, including:
[0023] The sum of the products of the grayscale value of each of the three sub-pixels and its corresponding weight is used as the brightness value of each pixel.
[0024] In one exemplary embodiment, calculating the Gamma index of each pixel based on the luminance value of each pixel includes:
[0025] The quotient obtained by dividing the logarithm of the luminance value of each pixel by the logarithm of the reference luminance value is used as the Gamma index of each pixel.
[0026] In one exemplary embodiment, calculating the brightness difference data of each pixel based on the Gamma index of each pixel includes:
[0027] The theoretical output brightness of each pixel is calculated based on the Gamma index of each pixel;
[0028] The difference between the theoretical output brightness and the actual output brightness of each pixel is used as the brightness difference data for each pixel.
[0029] In one exemplary embodiment, the image includes m grayscale images at a first shooting brightness and m grayscale images at a second shooting brightness; wherein m is an integer greater than or equal to 1.
[0030] This application also provides a brightness compensation device, including a memory and a processor.
[0031] The memory is used to store the program for the brightness compensation method;
[0032] The processor is configured to read the program that executes the brightness compensation method and execute the method described in any of the above embodiments.
[0033] This application also provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to cause the computer to perform the method described in any of the above embodiments.
[0034] This application embodiment also provides a brightness compensation system, including the aforementioned brightness compensation device, camera, and image acquisition card. The camera is configured to capture images displayed on the screen, and the image acquisition card is configured to acquire data from the images captured by the camera and transmit it to the brightness compensation device.
[0035] The brightness compensation method of this application embodiment samples the image displayed on the screen to be compensated multiple times, and performs brightness compensation on the screen based on each sampled image until the display effect reaches a preset first condition. After the display effect reaches the preset first condition, at least one image of the screen to be compensated is sampled under the condition that the brightness compensation function is enabled, and compensation parameters are calculated based on each sampled image. The screen brightness is then compensated based on the compensation parameters. Since the screen has already undergone multiple brightness compensations when the preset first condition is reached, the brightness distribution of the screen is already relatively uniform. By performing brightness compensation again on this basis, the brightness distribution of the entire screen becomes more uniform, improving the display quality, increasing the yield of screen products, and meeting the requirements for mass production and shipment.
[0036] Other features and advantages of this application will be set forth in the following description and will be apparent in part from the description or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the description and the accompanying drawings. Attached Figure Description
[0037] The accompanying drawings are used to provide a further understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.
[0038] Figure 1A This is one example of uneven display in existing technologies;
[0039] Figure 1B This is a second example of uneven display in existing technologies;
[0040] Figure 1C This is the third example of uneven display in existing technologies;
[0041] Figure 1D This is the fourth example of uneven display in existing technologies;
[0042] Figure 2 This is a schematic diagram of a three-screen display using existing technology.
[0043] Figure 3 A flowchart of the existing Demural algorithm;
[0044] Figure 4 This is a schematic diagram of the gamma curve of the center position of the screen in the prior art under Demura Off.
[0045] Figure 5 This is a schematic diagram of the gamma curve of the darkened position of the same screen in the prior art under Demura Off.
[0046] Figure 6 This is a schematic diagram of a brightness compensation method according to an embodiment of this application;
[0047] Figure 7 A schematic diagram of sampling a Bayer array for a color camera;
[0048] Figure 8 This is a flowchart of another brightness compensation method according to an embodiment of this application;
[0049] Figure 9 This is a process flow diagram of the brightness compensation method according to an embodiment of this application;
[0050] Figure 10 This is a schematic diagram of a brightness compensation device according to an embodiment of this application. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in detail below with reference to the accompanying drawings. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be arbitrarily combined with each other.
[0052] Regarding the three-screen issue and based on, Figure 1A and Figure 1D The different types of uneven display shown Figure 1A A split-screen issue has occurred. Figure 1B A split-screen phenomenon occurs. Figure 1C There is a phenomenon of localized darkening. Figure 1D The issue of an overall flocculent appearance is typically addressed using the standard Demura algorithm. The standard Demura algorithm's process for selecting image brightness and grayscale levels is as follows: Figure 3 As shown, through Figure 3 The process involves judging the improvement in uniformity based on the display effect after the conventional Demura algorithm, thus selecting the best image for capture. This step requires observing the effect on at least five screens. After superimposing the conventional Demura algorithm, we found that different types of display uniformity problems (i.e., Type Mura) and three-screen issues cannot be completely overcome by the existing Demura algorithm, both exhibiting varying degrees of over-compensation or under-compensation. Because severe unevenness exists at low grayscale levels, the gamma curve corresponding to the location of the display uniformity (i.e., Mura) differs significantly from the gamma curve corresponding to the center of the screen, fluctuating between 1.7 and 2.9 (the tuning gamma at the center of the screen is 2.2). Figure 4 , Figure 5 As shown, the inter-screen difference is difficult to solve with a single Demura solution. Furthermore, the three-screen problem is also affected by display unevenness. Due to variations in the degree and form of unevenness in preprocessing, it's impossible to completely distinguish between unevenness and three-screen issues. Often, unevenness is superimposed on the three-screen display. After brightness compensation, the three-screen problem becomes more pronounced. For example, display devices with 2nit16 (representing 16 grayscale levels at 2nit brightness), 2nit32 (representing 32 grayscale levels at 2nit brightness), 16nit32 (representing 32 grayscale levels at 16nit brightness), and 2nit127 (representing 127 grayscale levels at 2nit brightness) all exhibit varying degrees of three-screen phenomenon.
[0053] To address the aforementioned issues, this application proposes a brightness compensation method to achieve a more uniform brightness distribution across the entire screen, thereby improving display quality, increasing screen product yield, and meeting mass production and shipment requirements.
[0054] Figure 6 This is a schematic diagram of a brightness compensation method according to an embodiment of this application. The brightness compensation method is as follows: Figure 6 As shown, steps 61 to 63 are included below:
[0055] Step 61: Turn off the brightness compensation function of the screen to be compensated, and calculate and store the brightness compensation parameters of the screen to be compensated;
[0056] Step 62: Enable the brightness compensation function of the screen to be compensated, and repeatedly calculate and store the brightness compensation parameters of the screen to be compensated until the display effect of the screen to be compensated meets the preset first condition.
[0057] Step 63: After the display effect of the screen to be compensated meets the preset first condition, and when the brightness compensation function of the screen to be compensated is enabled, at least one operation is performed to calculate and store the brightness compensation parameters of the screen to be compensated, so that the screen to be compensated can perform brightness compensation based on the last stored brightness compensation parameters.
[0058] The brightness compensation method of this application embodiment samples the image displayed on the screen to be compensated multiple times, and performs brightness compensation on the screen based on each sampled image until the display effect reaches a preset first condition. After the display effect reaches the preset first condition, at least one image of the screen to be compensated is sampled under the condition that the brightness compensation function is enabled, and compensation parameters are calculated based on each sampled image. The screen brightness is then compensated based on the compensation parameters. Since the screen has already undergone multiple brightness compensations when the preset first condition is reached, the brightness distribution of the screen is already relatively uniform. By performing brightness compensation again on this basis, the brightness distribution of the entire screen becomes more uniform, improving the display quality, increasing the yield of screen products, and meeting the requirements for mass production and shipment.
[0059] In one exemplary embodiment, calculating and storing the brightness compensation parameters of the screen to be compensated includes:
[0060] The image displayed on the screen to be compensated is acquired, and the brightness compensation parameters are calculated based on the brightness compensation algorithm and the image.
[0061] The brightness compensation parameters are stored in the storage area corresponding to the screen to be compensated.
[0062] For example, in step 61, a first image of the screen to be compensated is acquired, and a first compensation parameter is calculated based on the brightness compensation algorithm and the first image; the first compensation parameter is then written into the storage area corresponding to the screen to be compensated. The first compensation parameter is used to perform brightness compensation on the screen to be compensated when the brightness compensation function of the screen to be compensated is enabled.
[0063] For example, in step 62, the following operation is performed N times until the display effect of the screen to be compensated meets the preset first condition: the second image displayed on the screen to be compensated is acquired, and the second compensation parameter is calculated according to the brightness compensation algorithm and the second image; the second compensation parameter is written into the storage area corresponding to the screen to be compensated; where N is an integer greater than or equal to 1.
[0064] For example, in step 63, after the display effect of the screen to be compensated meets the preset first condition, and when the brightness compensation function of the screen to be compensated is enabled, the following operation is performed at least once: a third image displayed on the screen to be compensated is acquired, and a third compensation parameter is calculated based on the brightness compensation algorithm and the third image; the third compensation parameter is written into the storage area corresponding to the screen to be compensated.
[0065] In one exemplary embodiment, calculating the brightness compensation parameters based on the brightness compensation algorithm and the image may include:
[0066] The brightness difference data of each pixel in the image is obtained based on the image.
[0067] The brightness compensation parameters are calculated based on the brightness compensation algorithm and the brightness difference data of each pixel.
[0068] In one exemplary embodiment, obtaining the brightness difference data of each pixel in the image based on the image may include:
[0069] Obtain the grayscale value of each pixel in the image;
[0070] The brightness value of each pixel is calculated based on its grayscale value.
[0071] The Gamma index of each pixel is calculated based on the brightness value of each pixel;
[0072] The brightness difference data for each pixel is calculated based on the Gamma index of each pixel.
[0073] For example, the brightness value of a pixel in an image can be calculated based on grayscale values using the following method:
[0074] 1) Weighted average method
[0075] Considering the human eye's sensitivity to different colors, the following formula can be used:
[0076] The brightness value of a pixel is equal to 0.299×R + 0.587×G + 0.114×B;
[0077] R, G, and B represent the grayscale values of the red, green, and blue color channels, respectively. This method can more accurately reflect the human eye's perception of brightness.
[0078] 2) Average value method
[0079] The brightness value of a pixel is equal to (R+G+B / 3);
[0080] R, G, and B represent the grayscale values of the red, green, and blue color channels, respectively.
[0081] 3) Maximum and minimum value method
[0082] The brightness value of a pixel is equal to (max(R, G, B) + min(R, G, B)) / 2;
[0083] R, G, and B represent the grayscale values of the red, green, and blue color channels, respectively.
[0084] In one exemplary embodiment, each pixel comprises three sub-pixels;
[0085] The grayscale value of each pixel is used to calculate the brightness value of each pixel, including:
[0086] The average grayscale value of the three sub-pixels in each pixel is used as the brightness value of each pixel; or,
[0087] The grayscale value of each pixel is used to calculate the brightness value of each pixel, including:
[0088] The sum of the products of the grayscale value of each of the three sub-pixels and its corresponding weight is used as the brightness value of each pixel.
[0089] In one exemplary embodiment, calculating the Gamma index of each pixel based on the luminance value of each pixel includes:
[0090] The quotient obtained by dividing the logarithm of the luminance value of each pixel by the logarithm of the reference luminance value is used as the Gamma index of each pixel.
[0091] The reference brightness value can be either the minimum or maximum brightness of the screen to be compensated.
[0092] In one exemplary embodiment, calculating the brightness difference data of each pixel based on the Gamma index of each pixel may include:
[0093] The theoretical output brightness of each pixel is calculated based on the Gamma index of each pixel;
[0094] The difference between the theoretical output brightness and the actual output brightness of each pixel is used as the brightness difference data for each pixel.
[0095] In one exemplary embodiment, the image includes m grayscale images at a first shooting brightness and m grayscale images at a second shooting brightness; wherein m is an integer greater than or equal to 1.
[0096] The first and second shooting brightness can be different. If the first shooting brightness is high, the second shooting brightness can be low.
[0097] The first and second shooting brightness levels here refer to the actual brightness of the screen (corresponding to the screen to be compensated mentioned above) when the photo is taken. Shooting must be done in a dark room environment with an illuminance of less than 10 lux (lumens), typically between 5 and 10 lux.
[0098] The preset first condition can be to achieve a better subjective effect, or it can be fitted according to the actual target Gamma value of the screen. For example, if the screen's own Gamma value is 2.2, then the preset first condition can also be that the objectively compensated gamma curve can be fitted into a gamma curve that fluctuates around 2.2.
[0099] The following example of a brightness compensation method will be used to illustrate this application.
[0100] This example of a brightness compensation method may include two stages. The first stage includes the following steps:
[0101] Step S11: With the brightness compensation function of the screen to be compensated off, select two shooting brightness levels and take four grayscale images at each shooting brightness level (the number of images can be adjusted according to the actual debugging situation, as long as the high and low brightness can be distinguished, and the total number does not exceed eight grayscale levels); for each grayscale image, obtain the grayscale value of each pixel in the image, and calculate the brightness value of each pixel in the image based on the grayscale value; obtain the compensation parameters based on the brightness value and the Demura algorithm;
[0102] Step S12: Burn the compensation parameters into the screen Flash. After burning is complete, power off the screen.
[0103] Step S13: Power on the screen. With the brightness compensation function of the screen to be compensated enabled, select two shooting brightness levels and take four grayscale images at each shooting brightness level. For each grayscale image, obtain the grayscale value of each pixel in the image and calculate the brightness value of each pixel in the image based on the grayscale value. Obtain the compensation parameters based on the brightness value and the Demura algorithm.
[0104] Step S14: Burn the compensation parameters into the screen Flash. After burning is complete, power off the screen.
[0105] Step S15: Repeat steps S13 and S14 until the display effect of the screen to be compensated meets the preset first condition.
[0106] The preset first condition can be either a subjective effect that tends to be more uniform, or an objective condition that the compensated gamma curve can be fitted to a gamma curve that fluctuates around 2.2.
[0107] The second phase includes the following steps:
[0108] Step S21: After the preset first condition is met, power on the screen again and enable the brightness compensation function (i.e., Demura On IP) of the screen to be compensated. Select two shooting brightness levels and take four grayscale images at each shooting brightness level. For each grayscale image, obtain the grayscale value of each pixel in the image and calculate the brightness data of each pixel in the image based on the grayscale value of each pixel. Obtain the compensation parameters based on the brightness data and the Demura algorithm.
[0109] Step S22: Burn the compensation parameters into the screen Flash. After burning is complete, power off the screen.
[0110] After step S22, it may also include:
[0111] Step S23: Power on the screen. With the brightness compensation function of the screen to be compensated enabled, select two shooting brightness levels and take four grayscale images at each shooting brightness level. For each grayscale image, obtain the grayscale value of each pixel in the image and calculate the brightness value of each pixel in the image based on the grayscale value of each pixel. Obtain the compensation parameters based on the brightness value and the Demura algorithm.
[0112] Step S24: Burn the compensation parameters into the screen Flash. After burning is complete, power off the screen.
[0113] Step S25: Repeat steps S23 and S24 until the display effect of the screen to be compensated meets the preset second condition.
[0114] The display effect that meets the second preset condition is better than the display effect that meets the first preset condition.
[0115] This algorithm employs a two-stage approach, with multiple sampling and correction steps in each stage for compensation. In the first stage, screen data is captured via camera sampling, and the Demura algorithm performs brightness compensation on the collected data. If the unevenness of the screen's brightness is represented as uneven mountain peaks, the Demura algorithm transforms these peaks into a smooth surface. Building upon the first stage, the second stage involves taking a photograph with the Demura function enabled. This essentially captures the display effect of the screen after the brightness compensation in the first stage. In other words, it captures the remaining areas of uneven brightness, further refining the overall brightness distribution of the screen, after the initial rough smoothing of the uneven peaks.
[0116] The screen brightness information captured by the camera is high-frequency detail information. Sufficiently high acquisition resolution is required for accurate capture of the screen's light patterns in imaging. However, the camera in this example is, for instance, a 151M color camera. This color camera uses a Bayer image sensor array with individual R, G, or B sensors, resulting in a loss of image acquisition resolution. For example, the R or B sensor experiences a one-quarter loss of resolution, and the G sensor experiences a half-loss. Figure 7 As shown. Therefore, when a color camera captures images, the significant decrease in acquisition resolution leads to overlapping and interference in the imaging, resulting in a certain acquisition deviation. However, post-processing receives the data acquired during pre-processing, and the better the data provided by pre-processing characterizes the unevenness of brightness and darkness on the screen itself, the better the post-processing compensation effect will be.
[0117] For different screens with uneven brightness, the camera can only fix one set of exposure time and light sensitivity gain at the same time during the shooting process. Therefore, it is impossible to simultaneously take into account the shooting accuracy of the overly bright and overly dark areas on the screen. This results in data distortion in the overly bright and overly dark areas, which in turn affects the compensation effect.
[0118] In the first stage, the original overly bright and overly dark areas of the screen are roughly smoothed out to achieve a basically uniform brightness. In the second stage, the color difference between the original overly bright and overly dark areas is brought into the effective and accurate acquisition range under the shooting exposure time and light sensitivity gain conditions set by the camera. In this way, the compensation data of the original overly bright and overly dark areas can be further corrected during the second stage of shooting, thereby improving the compensation effect.
[0119] In summary, the brightness compensation method described in this application not only reduces the deviation of acquired data caused by overlapping interference in color camera imaging, but also improves post-processing compensation capabilities. Specifically, after the first stage of brightness compensation, a second compensation is performed based on smaller brightness differences, enhancing the brightness difference compensation effect and thus improving the yield of display products.
[0120] In other embodiments, the brightness compensation method may also be as follows: Figure 8 As shown.
[0121] Figure 9 This is a process flow diagram of a brightness compensation method according to an embodiment of this application; as shown... Figure 9 As shown, after disabling the screen's brightness compensation function, a picture of the screen (e.g., the W image) is captured using a 151M color camera. The Demura algorithm is applied to the captured image to obtain Demura compensation data (i.e., the compensation data calculated based on the first Mura data and the Demura algorithm). This Demura compensation data is then burned into the screen's Flash memory. Conversely, after enabling the screen's brightness compensation function, a picture of the screen (e.g., the W image) is captured using a 151M color camera. The Demura algorithm is applied to the captured image to obtain the current Demura compensation data (i.e., the aforementioned Nth compensation data). This current Demura compensation data is then burned into the screen's Flash memory.
[0122] This application also provides a brightness compensation device, such as... Figure 10 As shown, it includes a memory 100 and a processor 200.
[0123] The memory 100 is used to store a program for the brightness compensation method;
[0124] The processor 200 is configured to read the program that executes the brightness compensation method and execute the method described in any of the above embodiments.
[0125] This application also provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to cause the computer to perform the methods described in any of the above embodiments.
[0126] This application also provides a brightness compensation system, including a camera, an image acquisition card, and the aforementioned brightness compensation device. The camera is configured to capture images displayed on a screen, and the image acquisition card is configured to acquire data from the images captured by the camera and transmit it to the brightness compensation device.
[0127] This application describes several embodiments, but these descriptions are exemplary and not restrictive, and it will be apparent to those skilled in the art that many more embodiments and implementations are possible within the scope of the embodiments described herein. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with, or may replace, any feature or element of any other embodiment.
[0128] This application includes and contemplates combinations of features and elements known to those skilled in the art. The embodiments, features, and elements disclosed in this application can also be combined with any conventional features or elements to form unique inventive solutions. Any feature or element of any embodiment can also be combined with features or elements from other inventive solutions to form another unique inventive solution. Therefore, it should be understood that any feature shown and / or discussed in this application can be implemented individually or in any suitable combination. Therefore, the embodiments are not limited except by the limitations imposed by the appended claims and their equivalents. Furthermore, various modifications and changes can be made within the scope of the appended claims.
[0129] Furthermore, in describing representative embodiments, the specification may have presented methods and / or processes as a specific sequence of steps. However, the method or process should not be limited to the specific order of steps described herein, to the extent that it does not depend on such a specific order. As will be understood by those skilled in the art, other sequences of steps are also possible. Therefore, the specific order of steps set forth in the specification should not be construed as a limitation of the claims. Moreover, the claims concerning the method and / or process should not be limited to the steps performed in the written order, and those skilled in the art will readily understand that these orders can be varied and still remain within the spirit and scope of the embodiments of this application.
[0130] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term "computer storage medium" includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0131] Furthermore, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first," "second," etc., may explicitly or implicitly include at least one of those features.
[0132] In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise expressly and specifically limited.
[0133] In this application, unless otherwise expressly specified and limited, the terms "installation," "connection," "joining," "fixing," etc., should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral part; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal communication of two components or the interaction between two components, unless otherwise expressly limited. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0134] In this application, unless otherwise expressly specified and limited, "above" or "below" the second feature can mean that the first and second features are in direct contact, or that the first and second features are in indirect contact through an intermediate medium. Furthermore, "above," "over," and "on top" of the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.
[0135] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0136] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A brightness compensation method, comprising: Disabling the brightness compensation function of the screen to be compensated, and calculating and storing the brightness compensation parameters of the screen to be compensated, includes: acquiring an image displayed on the screen to be compensated, obtaining brightness difference data of each pixel in the image based on the image, calculating brightness compensation parameters based on the brightness compensation algorithm and the brightness difference data of each pixel, and storing the brightness compensation parameters in the storage area corresponding to the screen to be compensated; the image includes m grayscale images of a first captured brightness and m grayscale images of a second captured brightness; where m is an integer greater than or equal to 1; Enable the brightness compensation function of the screen to be compensated, and repeatedly calculate and store the brightness compensation parameters of the screen to be compensated until the display effect of the screen to be compensated meets the preset first condition; the preset first condition includes at least the convergence of the gamma curve of the whole screen to the target gamma value. After the display effect of the screen to be compensated meets the preset first condition, and when the brightness compensation function of the screen to be compensated is enabled, at least one operation is performed to calculate and store the brightness compensation parameters of the screen to be compensated, so that the screen to be compensated can perform brightness compensation based on the last stored brightness compensation parameters.
2. The brightness compensation method as described in claim 1, characterized in that, The step of obtaining the brightness difference data of each pixel in the image based on the image includes: Obtain the grayscale value of each pixel in the image; The brightness value of each pixel is calculated based on its grayscale value. The Gamma index of each pixel is calculated based on the brightness value of each pixel; The brightness difference data for each pixel is calculated based on the Gamma index of each pixel.
3. The brightness compensation method as described in claim 2, characterized in that, Each pixel includes three sub-pixels; The grayscale value of each pixel is used to calculate the brightness value of each pixel, including: The average grayscale value of the three sub-pixels in each pixel is used as the brightness value of each pixel; or, The grayscale value of each pixel is used to calculate the brightness value of each pixel, including: The sum of the products of the grayscale value of each of the three sub-pixels and its corresponding weight is used as the brightness value of each pixel.
4. The brightness compensation method as described in claim 2, characterized in that, The calculation of the Gamma index of each pixel based on the brightness value of each pixel includes: The quotient obtained by dividing the logarithm of the luminance value of each pixel by the logarithm of the reference luminance value is used as the Gamma index of each pixel.
5. The brightness compensation method as described in claim 2, characterized in that, The calculation of the brightness difference data for each pixel based on the Gamma index of each pixel includes: The theoretical output brightness of each pixel is calculated based on the Gamma index of each pixel; The difference between the theoretical output brightness and the actual output brightness of each pixel is used as the brightness difference data for each pixel.
6. A brightness compensation device, comprising a memory and a processor, characterized in that, The memory is used to store the program for the brightness compensation method; The processor is configured to read the program that executes the brightness compensation method and execute the method according to any one of claims 1 to 5.
7. A computer-readable storage medium storing computer-executable instructions, wherein, The computer-executable instructions are used to cause the computer to perform the method according to any one of claims 1 to 5.
8. A brightness compensation system, characterized in that, The device includes the brightness compensation device, camera, and image acquisition card as described in claim 6. The camera is configured to capture images displayed on the screen, and the image acquisition card is configured to acquire data from the images captured by the camera and transmit it to the brightness compensation device.