A display brightness correction method, system, device and electronic equipment
By establishing a brightness-grayscale mapping relationship between display units in the monitor, the problem of uneven monitor brightness is solved, ensuring brightness uniformity and viewing experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
- Filing Date
- 2022-12-21
- Publication Date
- 2026-07-31
AI Technical Summary
The monitor has uneven brightness after production, which affects the human eye's viewing experience.
By acquiring the display brightness of each display unit at different gray levels, a mapping relationship between the theoretical gray level and the target display gray level is established, and the display unit is controlled to display the brightness of the corresponding target display gray level to ensure uniform brightness.
It achieves uniform brightness on the display, improving the viewing experience.
Smart Images

Figure CN115938269B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, and in particular to a display brightness correction method, system, device and electronic device. Background Technology
[0002] Currently, displays such as LCD (Liquid Crystal Display), LED, and OLED (Organic Light Emitting Display) are widely used in various fields.
[0003] Due to limitations in manufacturing processes, monitors may exhibit varying degrees of uneven brightness after production. This uneven brightness significantly impacts the viewing experience, making it crucial to ensure uniform brightness in monitors a pressing issue. Summary of the Invention
[0004] The purpose of this application is to provide a display brightness correction method, system, device, and electronic device to solve the problem of uneven display brightness. The specific technical solution is as follows:
[0005] In a first aspect, embodiments of this application provide a display brightness correction method, characterized in that the method includes:
[0006] Obtain the display brightness of each display unit in the target display when it is at multiple target display gray levels;
[0007] For each display unit, based on the first correspondence between the expected brightness and the theoretical gray level, the theoretical gray level corresponding to each display brightness among the multiple display brightnesses of the display unit is determined;
[0008] For each display unit, a second correspondence is established between the theoretical grayscale corresponding to each display brightness among multiple display brightnesses of the display unit and the target display grayscale associated with each display brightness; based on the second correspondence, the mapping relationship between the theoretical grayscale and the target display grayscale of the display unit is determined as the mapping relationship of the display unit; wherein, the target display grayscale associated with each display brightness is: the target display grayscale where the display unit is located when the brightness of the display unit is the display brightness;
[0009] Before any display unit in the target display is displayed, the target display grayscale mapped to the grayscale to be displayed by the display unit is determined based on the mapping relationship of the display unit, and the brightness of the display unit is controlled to display the determined target display grayscale.
[0010] Optionally, determining the mapping relationship between the theoretical grayscale and the target display grayscale of the display unit based on the second correspondence includes:
[0011] When the plurality of target display grayscale levels represent all grayscale levels that the target display can be configured with, the second correspondence is determined as the mapping relationship between the theoretical grayscale level of the display unit and the target display grayscale level; or,
[0012] When the multiple target display gray levels are a subset of all gray levels that the target display can be configured with, based on the second correspondence, a conversion relationship is fitted between the theoretical gray level of the display unit and the target display gray level to obtain the conversion relationship between the theoretical gray level of the display unit and the target display gray level, which serves as the mapping relationship between the theoretical gray level of the display unit and the target display gray level.
[0013] Optionally, the step of fitting a conversion relationship between the theoretical grayscale of the display unit and the target display grayscale based on the second correspondence to obtain the conversion relationship between the theoretical grayscale of the display unit and the target display grayscale includes:
[0014] For two adjacent target display gray levels among the plurality of target display gray levels, a fitting point corresponding to each target display gray level is determined; wherein, the fitting point corresponding to each target display gray level includes the target display gray level and the theoretical gray level corresponding to the target display gray level in the second correspondence; linear fitting is performed using the fitting points corresponding to the two target display gray levels to obtain the linear transformation relationship between the theoretical gray level and the target display gray level of the display unit within the range of the two target display gray levels.
[0015] Optionally, obtaining the display brightness of each display unit in the target display when it is at multiple target display gray levels includes:
[0016] Acquire image data of the images displayed by each display unit in the target display when they are at multiple target display gray levels;
[0017] For each target display grayscale, the display brightness of each display unit when it is at that target display grayscale is determined based on the pixel value of each display unit corresponding to the pixel in the image data corresponding to that target display grayscale;
[0018] The image data corresponding to each target display grayscale is the image data collected when each display unit is at that target display grayscale, and the pixel corresponding to each display unit is the pixel generated for that display unit in the image data.
[0019] Optionally, before determining the display brightness of each display unit when it is at the target display grayscale based on the pixel value of each display unit corresponding to the pixel point in the image data corresponding to the target display grayscale, the method further includes:
[0020] The brightness collected by the brightness acquisition device when a specified display unit in the target display is in the multiple target display grayscale is used as the acquired brightness;
[0021] For each target display grayscale, the conversion relationship between pixel value and brightness is determined based on the pixel value of the pixel corresponding to the specified display unit when it is in the target display grayscale and the collected brightness of the specified display unit when it is in the target display grayscale.
[0022] The step of determining the display brightness of each display unit when it is at the target display grayscale based on the pixel values of the corresponding pixels of each display unit in the image data corresponding to the target display grayscale includes:
[0023] Based on the determined conversion relationship between pixel values and brightness, the pixel values of each display unit corresponding to the pixel point in the image data corresponding to the target display grayscale are converted into brightness, which is used as the display brightness of each display unit when it is in the target display grayscale.
[0024] Optionally, determining the conversion relationship between pixel value and brightness based on the pixel value of the pixel corresponding to the specified display unit when it is in the target display grayscale and the sampled brightness of the specified display unit when it is in the target display grayscale includes:
[0025] The pixel value of the pixel corresponding to the specified display unit when it is in the target display grayscale is calculated, and the ratio of the pixel value to the sampled brightness when the specified display unit is in the target display grayscale is used as the conversion relationship between pixel value and brightness.
[0026] Optionally, before determining the theoretical grayscale corresponding to each of the plurality of display brightnesses for each display unit based on the first correspondence between the expected brightness and the theoretical grayscale, the method further includes:
[0027] For each target display grayscale, the display brightness of each display unit in the target display is corrected when it is in the target display grayscale by using the acquired brightness of the specified display unit in the target display when it is in the target display grayscale by the brightness acquisition device.
[0028] Optionally, the step of correcting the display brightness of each display unit in the target display when it is in the target display grayscale using the acquired brightness of a designated display unit in the target display when it is in the target display grayscale using the brightness acquisition device includes:
[0029] The difference between the brightness acquired by the brightness acquisition device for the specified display unit and the display brightness of the specified display unit when it is in the target display grayscale is calculated.
[0030] The calculated brightness difference is used to correct the display brightness of each display unit in the target display when it is in the target display grayscale.
[0031] Optionally, the first correspondence is the relationship represented by the gamma curve.
[0032] Optionally, each display unit is a single-color display unit;
[0033] For each display unit, based on a first correspondence between the expected brightness and the theoretical grayscale, determining the theoretical grayscale corresponding to each of the multiple display brightnesses of that display unit includes:
[0034] For each display unit, based on the expected first correspondence between the brightness and the theoretical gray level of the display unit, the theoretical gray level corresponding to each of the multiple display brightnesses of the display unit is determined;
[0035] The first correspondence for each display unit is: the color to be displayed by the single display unit is preset according to the color temperature requirements.
[0036] Secondly, embodiments of this application provide a display brightness correction system, the system comprising:
[0037] The target display is used to control the display brightness of each display unit when displaying multiple target display grayscale levels;
[0038] A processing device is configured to acquire the display brightness of each display unit in a target display when it is at multiple target display gray levels; for each display unit, based on a first correspondence between the expected brightness and the theoretical gray level, determine the theoretical gray level corresponding to each display brightness among the multiple display brightnesses of the display unit; for each display unit, establish a second correspondence between the theoretical gray level corresponding to each display brightness among the multiple display brightnesses of the display unit and the target display gray level associated with each display brightness; based on the second correspondence, determine the mapping relationship between the theoretical gray level and the target display gray level of the display unit, as the mapping relationship of the display unit; wherein, the target display gray level associated with each display brightness is: the target display gray level at which the display unit is located when the brightness of the display unit is the specified display brightness; and send the determined mapping relationship of each display unit to the target display.
[0039] The target display is further configured to receive the mapping relationship of each display unit, and before any display unit displays, determine the target display grayscale mapped to the grayscale to be displayed by the display unit based on the mapping relationship of the display unit, and control the display unit to display the brightness of the determined target display grayscale.
[0040] Optionally, the system further includes:
[0041] An image acquisition device is used to acquire image data of the images displayed by each display unit in the target display when they are respectively in multiple target display grayscale levels, and to send the acquired image data to the processing device;
[0042] The processing device is specifically used to receive image data acquired by the image acquisition device, and for each target display grayscale, determine the display brightness of each display unit when it is at the target display grayscale based on the pixel value of the corresponding pixel of each display unit in the image data corresponding to the target display grayscale; wherein, the image data corresponding to each target display grayscale is the image data acquired when each display unit is at the target display grayscale, and the pixel corresponding to each display unit is the pixel generated for that display unit in the image data.
[0043] Optionally, the system further includes:
[0044] A brightness acquisition device is used to acquire the brightness of a specified display unit in the target display when it is in the multiple target display grayscale levels, as the acquired brightness, and send the acquired brightness to the processing device;
[0045] The processing device is specifically used to receive the acquired brightness collected by the brightness acquisition device, and for each target display grayscale, based on the pixel value of the pixel corresponding to the specified display unit when it is in the target display grayscale, and the acquired brightness of the specified display unit when it is in the target display grayscale, determine the conversion relationship between pixel value and brightness; based on the determined conversion relationship between pixel value and brightness, convert the pixel value of the corresponding pixel of each display unit in the image data corresponding to the target display grayscale into brightness, as the display brightness of each display unit when it is in the target display grayscale.
[0046] Thirdly, embodiments of this application provide a display brightness correction device, the device comprising:
[0047] The acquisition module is used to acquire the display brightness of each display unit in the target display when it is in multiple target display grayscale levels;
[0048] The theoretical grayscale determination module is used to determine the theoretical grayscale corresponding to each display brightness among multiple display brightnesses of each display unit based on the first correspondence between the expected brightness and the theoretical grayscale.
[0049] The mapping relationship determination module is used to establish a second correspondence between the theoretical grayscale corresponding to each display brightness among multiple display brightnesses of the display unit and the target display grayscale associated with each display brightness for each display unit; based on the second correspondence, determine the mapping relationship between the theoretical grayscale and the target display grayscale of the display unit as the mapping relationship of the display unit; wherein, the target display grayscale associated with each display brightness is: the target display grayscale where the display unit is located when the brightness of the display unit is the display brightness;
[0050] The control module is used to determine the target display grayscale mapped to the grayscale to be displayed by the display unit based on the mapping relationship of the display unit before any display unit in the target display is displayed, and to control the display unit to display the brightness of the determined target display grayscale.
[0051] Fourthly, embodiments of this application provide an electronic device, including:
[0052] Memory, used to store computer programs;
[0053] The processor, when executing a program stored in memory, implements any of the above-described display brightness correction methods.
[0054] Fifthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements any of the aforementioned display brightness correction methods.
[0055] This application also provides a computer program product containing instructions that, when run on a computer, cause the computer to execute any of the above-described display brightness correction methods.
[0056] Beneficial effects of the embodiments in this application:
[0057] The display brightness correction method provided in this application embodiment obtains the display brightness of each display unit in the target display when it is at multiple target display gray levels; for each display unit, based on a first correspondence between the expected brightness and the theoretical gray level, the theoretical gray level corresponding to each display brightness among the multiple display brightnesses of the display unit is determined; for each display unit, a second correspondence is established between the theoretical gray level corresponding to each display brightness among the multiple display brightnesses of the display unit and the target display gray level associated with each display brightness; based on the second correspondence, the mapping relationship between the theoretical gray level and the target display gray level of the display unit is determined as the mapping relationship of the display unit; wherein, the target display gray level associated with each display brightness is: the target display gray level at which the display unit is located when the brightness of the display unit is the display brightness; before any display unit in the target display is displayed, based on the mapping relationship of the display unit, the target display gray level mapped to the gray level to be displayed of the display unit is determined, and the display unit is controlled to display the brightness of the determined target display gray level. As can be seen, in this scheme, since the brightness corresponding to the theoretical grayscale is fixed, the theoretical grayscale corresponding to each of the multiple display brightnesses of the display unit is determined. Then, based on the theoretical grayscale corresponding to each of the multiple display brightnesses of the display unit and the target display grayscale associated with each display brightness, the mapping relationship between the theoretical grayscale and the target display grayscale is determined. Before any display unit in the target display is displayed, the grayscale to be displayed is mapped to the target display grayscale according to the determined mapping relationship. This ensures that when the grayscale to be displayed of each display unit is the same, the displayed brightness is also the same, thereby ensuring the brightness uniformity of the display. Furthermore, the processing of each display unit in this scheme has a high degree of precision, ensuring that the display brightness correction method of this scheme has a good effect.
[0058] Of course, implementing any product or method of this application does not necessarily require achieving all of the advantages described above at the same time. Attached Figure Description
[0059] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other embodiments can be obtained based on these drawings.
[0060] Figure 1 This is a flowchart of a display brightness correction method provided in an embodiment of this application;
[0061] Figure 2 This is a graph showing the relationship between grayscale and brightness in an embodiment of this application;
[0062] Figure 3 This is a second flowchart of the display brightness correction method provided in the embodiments of this application;
[0063] Figure 4 This is a third flowchart of the display brightness correction method provided in the embodiments of this application;
[0064] Figure 5 This is a schematic diagram showing the connection relationship of the various components involved in the display brightness correction method provided in the embodiments of this application;
[0065] Figure 6 This is a schematic diagram of the system software running on the computer in the embodiments of this application;
[0066] Figure 7 This is a fourth flowchart of the display brightness correction method provided in the embodiments of this application;
[0067] Figure 8 This is a schematic diagram of the display brightness correction system provided in the embodiments of this application;
[0068] Figure 9 This is a schematic diagram of the display brightness correction device provided in the embodiments of this application;
[0069] Figure 10 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0070] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art based on this application are within the scope of protection of this application.
[0071] To address the issue of uneven monitor brightness, this application provides a monitor brightness calibration method, system, apparatus, and electronic device. In specific applications, the monitor brightness calibration method provided in this application can be applied to various electronic devices, such as personal computers, servers, mobile phones, and other devices with data processing capabilities. In one implementation, to improve processing efficiency, the monitor brightness calibration method provided in this application can be applied to high-performance computers. Furthermore, the monitor brightness calibration method provided in this application can be implemented through software, hardware, or a combination of both.
[0072] The display brightness calibration method provided in this application will be described below. This method may include:
[0073] Obtain the display brightness of each display unit in the target display when it is at multiple target display gray levels;
[0074] For each display unit, based on the first correspondence between the expected brightness and the theoretical gray level, the theoretical gray level corresponding to each display brightness among the multiple display brightnesses of the display unit is determined;
[0075] For each display unit, a second correspondence is established between the theoretical grayscale corresponding to each display brightness among multiple display brightnesses of the display unit and the target display grayscale associated with each display brightness; based on the second correspondence, the mapping relationship between the theoretical grayscale and the target display grayscale of the display unit is determined as the mapping relationship of the display unit; wherein, the target display grayscale associated with each display brightness is: the target display grayscale where the display unit is located when the brightness of the display unit is the display brightness;
[0076] Before any display unit in the target display is displayed, the target display grayscale mapped to the grayscale to be displayed by the display unit is determined based on the mapping relationship of the display unit, and the brightness of the display unit is controlled to display the determined target display grayscale.
[0077] In this embodiment, since the brightness corresponding to the theoretical grayscale is fixed, the theoretical grayscale corresponding to each of the multiple display brightnesses of the display unit is determined. Then, based on the theoretical grayscale corresponding to each of the multiple display brightnesses of the display unit and the target display grayscale associated with each display brightness, the mapping relationship between the theoretical grayscale and the target display grayscale is determined. Before any display unit in the target display is displayed, the grayscale to be displayed is mapped to the target display grayscale according to the determined mapping relationship. This ensures that when the grayscale to be displayed of each display unit is the same, the displayed brightness is also the same, thereby ensuring the uniformity of the display brightness. Furthermore, the processing of each display unit in this solution has a high degree of precision, ensuring that the display brightness correction method of this solution has a good effect.
[0078] The display brightness correction method provided in the embodiments of this application will be described exemplarily below with reference to the accompanying drawings.
[0079] like Figure 1 As shown, the display brightness correction method provided in this application embodiment may include the following steps:
[0080] S101, Obtain the display brightness of each display unit in the target display when it is in multiple target display grayscale levels;
[0081] The target display can be an LCD, OLED, or other display device; the display unit can be a pixel in the target display, or it can be a red sub-pixel, a green sub-pixel, or a blue sub-pixel within a pixel. When the display unit is a pixel in the target display, the display brightness of each display unit at any target display grayscale can be considered the overall brightness of that pixel.
[0082] Understandably, for any display unit in a monitor, its target display grayscale is the grayscale configured by the target monitor for that display unit to display. For example, when the target monitor needs to display a grayscale image with a grayscale of 10, it needs to configure the grayscale of each display unit to 10. The display brightness of the aforementioned display unit at any target display grayscale is the actual brightness displayed by the display unit after the target monitor configures the grayscale of the display unit to that target display grayscale. For the target monitor, it controls the brightness of the display units by controlling the grayscale of each display unit, but the final brightness displayed by the display unit is not certain. For example, when display unit 1 and display unit 2 both need to display a grayscale of 10, due to differences in manufacturing processes, the actual brightness displayed by display unit 1 and display unit 2 may be inconsistent; for example, display unit 1 may be brighter than display unit 2. This is why the monitor has a problem of uneven brightness. To address the issue of uneven brightness, embodiments of this application can first obtain the display brightness of each display unit in the target display when it is at multiple target display gray levels.
[0083] The methods for obtaining the display brightness of each display unit in the target display when it is at multiple target display grayscale levels can be as follows: using image acquisition devices, brightness acquisition devices, or other tools to acquire the display brightness of each display unit in the target display when it is at multiple target display grayscale levels; or, if the display brightness of each display unit in the target display when it is at multiple target display grayscale levels is acquired in advance using image acquisition devices, brightness acquisition devices, or other tools, and the acquired display brightness is stored as data in a designated storage location, the acquisition method can also be to obtain the display brightness of each display unit in the target display when it is at multiple target display grayscale levels from the designated storage location. Of course, the acquisition method is not limited to these. The image acquisition device can be a camera, and the brightness acquisition device can be a luminance meter.
[0084] S102, for each display unit, based on the first correspondence between the expected brightness and the theoretical gray level, determine the theoretical gray level corresponding to each of the multiple display brightnesses of the display unit;
[0085] In this context, theoretical grayscale refers to the grayscale in the first correspondence, which can be a functional relationship. Each theoretical grayscale corresponds to a unique brightness. For example, theoretical grayscale can be divided into 0-255 levels, with theoretical grayscale 1 corresponding to brightness A, theoretical grayscale 2 corresponding to brightness B, and so on.
[0086] When the theoretical grayscale is divided into multiple levels, each level corresponds to an expected brightness. When determining the theoretical grayscale corresponding to each display brightness among multiple display brightnesses, the expected brightness that matches the display brightness can be determined first. The expected brightness that matches the display brightness can be the brightness that is equal to the display brightness, has the smallest difference in value, or is less than a specified threshold among multiple expected brightnesses. Then, the theoretical grayscale corresponding to the matched expected brightness is determined according to the first correspondence.
[0087] In one implementation, the first correspondence mentioned above can be represented by a gamma curve.
[0088] The gamma curve is a type of tone curve that represents the power function relationship between brightness and grayscale; the power value of this function is also called the gamma value. For example, the gamma curve can be... Figure 2 The theoretical grayscale-brightness curve is shown. When the above first correspondence is a gamma curve, this solution can also perform gamma correction on the target display, making the brightness displayed by the target display more consistent with human visual perception. Generally, a gamma value of 2.2 is most suitable, but it is not limited to this. Furthermore, in this embodiment, the overall brightness of the target display can also be adjusted by adjusting the gamma value.
[0089] After acquiring multiple display brightness levels of a display unit at different target display gray levels, the theoretical gray level corresponding to the acquired multiple display brightness levels can be determined based on the first correspondence. For example, such as... Figure 2 As shown, multiple display brightness levels of a display unit at different target display grayscale levels can be utilized. Figure 2 The target display grayscale-brightness curve is used to characterize the first correspondence. The above-mentioned first correspondence can be characterized by the theoretical grayscale-brightness curve. When a display unit is at the target display grayscale n1, the displayed brightness is brightness A. Then, the theoretical grayscale corresponding to brightness A can be determined from the first correspondence as m1.
[0090] S103, for each display unit, establish a second correspondence between the theoretical grayscale corresponding to each display brightness among the multiple display brightnesses of the display unit and the target display grayscale associated with each display brightness; based on the second correspondence, determine the mapping relationship between the theoretical grayscale and the target display grayscale of the display unit, as the mapping relationship of the display unit; wherein, the target display grayscale associated with each display brightness is: the target display grayscale where the display unit is located when the brightness of the display unit is the display brightness;
[0091] In the second correspondence mentioned above, the display unit's brightness at each target display grayscale associated with its display brightness matches its brightness at the corresponding theoretical grayscale. For example, such as... Figure 2 As shown, the target display gray level when the display brightness of a display unit is A is n1, and the theoretical gray level corresponding to the display brightness is A is m1. Then, the correspondence between n1 and m1 is established as the second correspondence.
[0092] In one implementation, determining the mapping relationship between the theoretical grayscale of the display unit and the target display grayscale includes:
[0093] When multiple target display grayscales represent all the grayscales that the target display can be configured with, the second correspondence is determined as the mapping relationship between the theoretical grayscale of the display unit and the target display grayscale.
[0094] The total grayscale that the target display can be configured with refers to the total grayscale that each display unit in the target display can be configured with, which is an inherent property of the display. For example, the total grayscale that a display can be configured with can be grayscale 0, grayscale 1, grayscale 2... grayscale 255, and it can be further refined, for example, grayscale 0, grayscale 0.1...
[0095] In this implementation, the display brightness of the display unit at all target display gray levels that the target display can be configured with is obtained in advance. For example, if the target display gray levels that the target display can be configured with include gray levels 0 to 255, then the display brightness of the display unit at gray level 0, gray level 1, ..., gray level 255 can be obtained. In this case, the second correspondence can be directly determined as the mapping relationship between the theoretical gray level of the display unit and the target display gray level.
[0096] S104, before any display unit in the target display is displayed, the target display grayscale mapped to the grayscale to be displayed by the display unit is determined based on the mapping relationship of the display unit, and the brightness of the display unit is controlled to display the determined target display grayscale.
[0097] In this step, before correction, the grayscale to be displayed by the display unit and the brightness displayed when it is at the grayscale to be displayed may not satisfy the first correspondence. Therefore, in this step, before any display unit in the target display is displayed, the target display grayscale mapped by the grayscale to be displayed by the display unit is determined based on the mapping relationship of the display unit. Then, the display unit is controlled to display the brightness of the determined target display grayscale, so that the grayscale to be displayed by the display unit after correction and the brightness displayed when it is at the grayscale to be displayed can satisfy the first correspondence.
[0098] The method for controlling the display unit to display the brightness of the determined target display grayscale can be as follows: generating control data and burning the control data into a designated memory chip of the target display, wherein the control data instructs the display unit to display the brightness of the target display grayscale mapped to the grayscale when it is in the grayscale to be displayed. In practical applications, when the target display receives the control data, it can modify the voltage of the control circuit of the display unit when it is in the grayscale to be displayed to the voltage of the target display grayscale mapped to the grayscale to be displayed, thereby enabling the display unit to display the brightness of the target display grayscale mapped to the grayscale when it is in the grayscale to be displayed.
[0099] For example, such as Figure 2 As shown, the brightness displayed by the display unit when it is at the gray level m1 before correction is B. According to the first correspondence, the expected brightness corresponding to gray level m1 is A. According to the mapping relationship of the display unit, it can be determined that the target display gray level corresponding to the brightness A is n1. Therefore, by controlling the display unit to display the brightness of the target display gray level n1 when it is at gray level m1, the brightness displayed by the display unit can satisfy the first correspondence.
[0100] In practical applications, the target display grayscale mapped to each grayscale level to be displayed by each display unit can be predetermined, control data for each display unit can be generated, and then the control data can be burned into the designated memory chip of the target display, thereby simultaneously completing the calibration of each display unit. It is understandable that since the first correspondence is fixed for each display unit, after calibration, different display units at the same grayscale level will display the same brightness.
[0101] In this embodiment, since the brightness corresponding to the theoretical grayscale is fixed, the theoretical grayscale corresponding to each of the multiple display brightnesses of the display unit is determined. Then, based on the theoretical grayscale corresponding to each of the multiple display brightnesses of the display unit and the target display grayscale associated with each display brightness, the mapping relationship between the theoretical grayscale and the target display grayscale is determined. Before any display unit in the target display is displayed, the grayscale to be displayed is mapped to the target display grayscale according to the determined mapping relationship. This ensures that when the grayscale to be displayed of each display unit is the same, the displayed brightness is also the same, thereby ensuring the uniformity of the display brightness. Furthermore, the processing of each display unit in this solution has a high degree of precision, ensuring that the display brightness correction method of this solution has a good effect.
[0102] To improve efficiency, in one embodiment of this application, when the multiple target display grayscales are a subset of all grayscales configurable by the target display, determining the mapping relationship between the theoretical grayscale of the display unit and the target display grayscale based on the second correspondence may include:
[0103] Based on the second correspondence, the conversion relationship between the theoretical grayscale of the display unit and the target display grayscale is fitted to obtain the conversion relationship between the theoretical grayscale of the display unit and the target display grayscale, which serves as the mapping relationship between the theoretical grayscale of the display unit and the target display grayscale.
[0104] In this embodiment, the display brightness of each display unit of the target display at multiple specified gray levels can be obtained first. For example, the display brightness of each display unit at gray level 1, gray level 100, gray level 200, etc., can be obtained. After obtaining the display brightness of each display unit at multiple specified gray levels, the theoretical gray level corresponding to each display brightness of the display unit is determined according to a first correspondence. Then, a second correspondence is established between the theoretical gray level corresponding to each display brightness of the display unit and the target display gray level associated with each display brightness. Thus, the conversion relationship between the theoretical gray level of the display unit and all configurable target display gray levels can be fitted using the specified gray levels and corresponding theoretical gray levels in the second correspondence. The fitting method can be polynomial fitting, polynomial approximation, or other algorithms.
[0105] In one implementation, the above-mentioned fitting of the conversion relationship between the theoretical grayscale of the display unit and the target display grayscale based on the second correspondence to obtain the conversion relationship between the theoretical grayscale of the display unit and the target display grayscale may include:
[0106] For two adjacent target display gray levels among multiple target display gray levels, a fitting point corresponding to each target display gray level is determined; wherein, the fitting point corresponding to each target display gray level includes the target display gray level and the theoretical gray level corresponding to the target display gray level in the second correspondence; linear fitting is performed using the fitting points corresponding to the two target display gray levels to obtain the linear transformation relationship between the theoretical gray level and the target display gray level of the display unit within the range of the two target display gray levels.
[0107] In this embodiment, a piecewise fitting method is used to establish a linear relationship between every two adjacent target display gray levels and the theoretical gray levels corresponding to those two target display gray levels, thereby completing the fitting of the conversion relationship between the theoretical gray level of the display unit and all the target display gray levels that can be configured.
[0108] For example, such as Figure 2As shown, for a display unit, the display brightness of the display unit when it is at the target display gray levels m1, n1, and m2 is obtained. According to the mapping relationship of the display unit, the theoretical gray level corresponding to the target display gray level m1 is t1, the theoretical gray level corresponding to the target display gray level n1 is m1, and the theoretical gray level corresponding to the target display gray level m2 is t1. Then, linear fitting can be performed using the fitting points (t1, m1) and (m1, n1). Specifically, (t1, m1) and (m1, n1) can be substituted into the linear function y = ax + b, where x and y are variables, and the values of a and b can be obtained. Thus, the mapping relationship between the theoretical gray level of the display unit and the target display gray level when the target display gray level is n1-m1 is obtained. Using (m1, n1) and (t2, m2) for linear fitting, the linear transformation relationship between the theoretical gray level of the display unit and the target display gray level when the target display gray level is m2-n1 is obtained.
[0109] In this implementation, for two adjacent target display gray levels among multiple target display gray levels, a fitting point corresponding to each target display gray level is determined. Then, linear fitting is performed using the fitting points corresponding to the two target display gray levels to obtain the linear transformation relationship between the theoretical gray level and the target display gray level of the display unit within the range of the two target display gray levels. The method of obtaining the transformation relationship between the theoretical gray level and the target display gray level of the display unit by using linear fitting is simpler and can further improve the efficiency of the display brightness correction method in this embodiment.
[0110] In this embodiment, by ensuring that the brightness displayed by each display unit is the same when it is at the same gray level, the uniformity of the display brightness is ensured. Furthermore, it is only necessary to obtain the display brightness of each display unit at a portion of the target display gray levels out of all configurable target display gray levels beforehand. Then, based on the second correspondence, a conversion relationship is fitted between the theoretical gray level and the target display gray level of the display unit to obtain the conversion relationship between the theoretical gray level and the target display gray level. This eliminates the need to obtain the brightness of each display unit at all the target display gray levels that the target display can be configured with, thereby improving the efficiency of the display brightness correction method in this embodiment.
[0111] The following describes how to obtain the display brightness of each display unit in the target display when it is in multiple target display grayscale levels.
[0112] In one embodiment of this application, such as Figure 3 As shown, obtaining the display brightness of each display unit in the target display when it is at multiple target display gray levels can include the following steps:
[0113] S301, acquire image data of the images displayed by each display unit in the target display when they are in multiple target display grayscale levels;
[0114] The aforementioned image data can be acquired by using an image acquisition device, such as a camera, to capture images of each display unit in the target display when it is at multiple target grayscale levels, thereby obtaining image data. Alternatively, if image data of each display unit in the target display when it is at multiple target grayscale levels is acquired beforehand using an image acquisition device and the acquired image data is stored in a designated storage location, the acquisition method can also be to retrieve the image data of each display unit in the target display when it is at multiple target grayscale levels from the designated storage location. Of course, the acquisition method is not limited to these methods.
[0115] In this step, image data of the image displayed by each display unit in the target display when it is at each target display grayscale can be collected for each target display grayscale among multiple target display grayscales.
[0116] S302, for each target display grayscale, based on the pixel value of each display unit corresponding to the pixel in the image data corresponding to the target display grayscale, determine the display brightness of each display unit when it is at the target display grayscale;
[0117] The image data corresponding to each target display grayscale is the image data collected when each display unit is at that target display grayscale, and the pixel corresponding to each display unit is the pixel generated for that display unit in the image data.
[0118] In this step, since image data is composed of pixels, pixels representing each display unit are generated when images are acquired for each display unit.
[0119] One way to determine the display brightness of each display unit when it is at the target display grayscale is to use a pre-established conversion relationship between pixel value and brightness, and for each pixel value of the corresponding pixel point in the image data corresponding to the target display grayscale, determine the brightness corresponding to the pixel value, and use it as the display brightness of the display unit when it is at the target display grayscale.
[0120] In one implementation, such as Figure 4 As shown, obtaining the display brightness of each display unit in the target display when it is at multiple target display gray levels can include the following steps:
[0121] S401, Obtain the brightness collected by the brightness acquisition device when a specified display unit in the target display is in multiple target display gray levels, and use it as the acquired brightness;
[0122] Among them, the brightness acquisition device is an optical acquisition instrument, such as CS150 and CA410. The brightness acquisition device can acquire color data such as color coordinates, brightness, color temperature, and tristimulus values. The brightness acquired by the brightness acquisition device is more accurate than that acquired by the image acquisition device. The specified display unit can be one or more of the display units in the target display.
[0123] S402, for each target display grayscale, based on the pixel value of the pixel corresponding to the specified display unit when it is in the target display grayscale, and the sampled brightness of the specified display unit when it is in the target display grayscale, determine the conversion relationship between pixel value and brightness;
[0124] In this step, the pixel value of the corresponding pixel point when the specified display unit is in the target display grayscale and the sampled brightness can be obtained simultaneously. When there are multiple specified display units, the obtained pixel value can be the average or median of the pixel value of the corresponding pixel point when the multiple specified display units are in the target display grayscale, and the obtained sampled brightness can be the average or median of the sampled brightness of the multiple specified display units in the target display grayscale.
[0125] One way to determine the conversion relationship between pixel value and brightness is to calculate the ratio between the pixel value of the pixel corresponding to the target display grayscale when the specified display unit is in the target display grayscale and the sampled brightness when the specified display unit is in the target display grayscale, and use this as the conversion relationship between pixel value and brightness.
[0126] For example, if the pixel value of the pixel corresponding to the specified display unit when it is in the target display grayscale is 100, and the sampling brightness of the specified display unit when it is in the target display grayscale is 200 nits, then the ratio is 2, which means that the pixel value is multiplied by 2 to obtain the brightness.
[0127] S403, acquire image data of the images displayed when each display unit in the target display is in multiple target display grayscale levels;
[0128] This step is similar to step S301 above, and will not be repeated here.
[0129] S404, based on the determined conversion relationship between pixel value and brightness, convert the pixel value of each display unit corresponding to the pixel point in the image data corresponding to the target display grayscale into brightness, and use it as the display brightness of each display unit when it is in the target display grayscale.
[0130] Once the conversion relationship between pixel value and brightness is determined, the pixel value of the corresponding pixel of each display unit can be converted into brightness. When the conversion relationship between pixel value and brightness is proportional, the pixel value of the corresponding pixel of each display unit can be multiplied by the proportional relationship to obtain the display brightness of each display unit when it is in the target display grayscale.
[0131] In another implementation, before determining the theoretical grayscale corresponding to each of the multiple display brightnesses of the display unit based on the first correspondence between the expected brightness and the theoretical grayscale for each display unit, the display brightness correction method provided in this application embodiment further includes:
[0132] For each target display grayscale, the brightness of each display unit in the target display is corrected by using the brightness acquisition device to acquire the brightness of a specified display unit in the target display when it is in that target display grayscale.
[0133] In this implementation, after determining the display brightness of each display unit when it is at the target display grayscale in step S302, the determined brightness can be used as the brightness before correction. Since the brightness collected by the brightness acquisition device is more accurate, the brightness of each display unit in the target display when it is at the target display grayscale can be corrected by using the brightness collected by the brightness acquisition device for each specified display unit when the target display is at the target display grayscale.
[0134] In one implementation, the ratio between the sampled brightness of a specified display unit at the target display grayscale and the brightness before correction can be calculated first. Then, the brightness of each display unit can be corrected using this ratio. For example, the brightness of each display unit can be multiplied by this ratio to obtain the corrected display brightness of each display unit in the target display at the target display grayscale.
[0135] In one implementation, the correction of the display brightness of each display unit in the target display when it is at the target display grayscale, based on the acquired brightness of a designated display unit in the target display at the target display grayscale using a brightness acquisition device, may include:
[0136] Step A1: Calculate the difference between the brightness acquired by the brightness acquisition device for the specified display unit and the display brightness of the specified display unit when the target grayscale is displayed.
[0137] Similarly, in this step, there can be multiple designated display units. When there are multiple designated display units, the difference between the acquired brightness of each designated display unit and the display brightness of the target display grayscale of the designated display unit can be calculated to obtain multiple differences.
[0138] Step A2: Using the calculated brightness difference, correct the display brightness of each display unit in the target display when it is at the target display grayscale.
[0139] When there is only one designated display unit, the method for correcting the display brightness of each display unit in the target display at the target display grayscale is to add the display brightness of each display unit in the target display at the target display grayscale to the difference value. When there are multiple designated display units, a statistical value such as the average or median of multiple differences can be calculated first, and then the display brightness of each display unit in the target display at the target display grayscale can be added to the statistical value. In this implementation, the display brightness of each display unit in the target display at the target display grayscale is corrected using the brightness difference. The method is simple and can further improve the efficiency of the display calibration method in this embodiment.
[0140] It should be noted that the correction method is not limited to this; the above content is merely an illustrative example. By correcting the display brightness of each display unit in the target display when it is at the target display grayscale using the brightness collected by the brightness acquisition device, the accuracy of the obtained display brightness of each display unit in the target display when it is at multiple target display grayscales can be further improved, thereby further improving the correction effect of the display screen correction method in this embodiment.
[0141] In this embodiment, by ensuring that the brightness displayed by each display unit is the same when they are at the same gray level, uniform brightness of the display is guaranteed. Furthermore, for each target gray level, the display brightness of each display unit at that target gray level is determined based on the pixel values of the corresponding pixels of each display unit in the image data corresponding to that target gray level. Since only one image's data is needed to obtain the display brightness of each display unit in the target display at multiple target gray levels, the efficiency of the display calibration method in this embodiment can be improved.
[0142] In one embodiment of this application, each of the above display units is a single-color display unit;
[0143] Step S102 above, for each display unit, based on the first correspondence between the expected brightness and the theoretical grayscale, determines the theoretical grayscale corresponding to each of the multiple display brightnesses of the display unit, which may include:
[0144] For each display unit, based on the expected first correspondence between the brightness and the theoretical gray level of the display unit, the theoretical gray level corresponding to each of the multiple display brightnesses of the display unit is determined;
[0145] The first correspondence for each display unit is: the color to be displayed by the single display unit is preset according to the color temperature requirements.
[0146] Understandably, a pixel in a display typically comprises three sub-pixels: a red sub-pixel, a green sub-pixel, and a blue sub-pixel. In this embodiment, each display unit is a single-color display unit, that is, one sub-pixel within a pixel. Based on the different colors being displayed, a corresponding first correspondence is pre-defined for each color. For example, for red, a first correspondence A is defined; for green, a first correspondence B is defined; and for blue, a first correspondence C is defined. Each first correspondence can be set according to color temperature requirements.
[0147] For example, the color temperature requirement can be warm color temperature, cool color temperature, etc. When the color temperature requirement is warm color temperature, the brightness value in the first correspondence set for blue can be set lower, and the brightness value in the first correspondence set for red and green can be set higher. When the color temperature requirement is cool color temperature, the brightness value in the first correspondence set for blue can be set higher, and the brightness value in the first correspondence set for red and green can be set lower. When the relationship represented by the gamma curve of the first correspondence is met, setting different gamma values for red, green, and blue can also satisfy the color temperature requirement.
[0148] In this embodiment, by ensuring that the brightness displayed by each display unit is the same when they are at the same gray level, the uniformity of the display brightness is ensured. Furthermore, each display unit is a single-color display unit, and the first correspondence of each display unit is a pre-set correspondence based on the color temperature requirements for the color displayed by that single display unit. This allows for setting different correspondences for display units displaying different colors, thereby achieving the purpose of adjusting the color temperature. After correction, display units displaying the same color at the same gray level also display the same brightness, thus achieving the purpose of color difference correction.
[0149] The embodiments of this application will be further described below with reference to the accompanying drawings and specific application scenarios.
[0150] like Figure 5 As shown, in one application scenario, the display brightness correction method provided in this application embodiment requires four devices: a display LCD screen, a computer, a brightness acquisition device CA410, and a camera, as well as serial cables and network cables connecting these four devices.
[0151] In this embodiment, as Figure 6As shown, the system software running in a computer may include:
[0152] The camera acquisition module is used to control the camera to acquire the images displayed by each display unit in the target display when they are at multiple target display gray levels;
[0153] The brightness acquisition module is used to control the brightness acquisition device to acquire the display brightness of a specified display unit when it is in multiple target display grayscale levels;
[0154] The data processing module is used to process the data collected by the camera and the brightness acquisition device to obtain the mapping relationship between the theoretical grayscale of each display unit and the target display grayscale.
[0155] Data application module: The obtained mapping relationship is burned into the display's memory chip in a format that the display's memory chip can recognize, so that before any display unit in the display displays, the target display gray level mapped to the gray level to be displayed by the display unit is determined based on the mapping relationship of the display unit, and the brightness of the display unit is controlled to display the determined target display gray level.
[0156] Data upload module: Used to record the data generated and any abnormal issues during the calibration process, and to upload and store the recorded data for data analysis;
[0157] The main control module is used to coordinate and control all the above modules.
[0158] In one implementation, a flowchart of the display brightness correction method provided in this embodiment can be as follows: Figure 7 As shown, after the calibration process begins, firstly, the monitor displays a solid color image, that is, the brightness of each pixel when it is at the same target display grayscale. Then, a camera is used to capture the entire screen information, i.e., the image data of each display unit when it is at the target display grayscale. Next, it is determined whether the image data meets the requirements. In this step, it is determined whether the image quality of the image data reaches the specified quality threshold. If not, the image is retaken. If it meets the requirements, a brightness acquisition device is used to acquire brightness information, i.e., the brightness of the specified display unit is acquired. Then, it is determined whether the data acquired by the brightness acquisition device meets the requirements. In this step, it is determined whether the acquired brightness is less than the specified first brightness threshold and / or greater than the specified second brightness threshold. If not, the brightness is re-acquired. If it meets the requirements, compensation data is calculated, i.e., the mapping relationship between the theoretical grayscale of each display unit and the target display grayscale. Finally, the compensation data is applied to complete the calibration.
[0159] In this embodiment, since the brightness corresponding to the theoretical grayscale is fixed, the theoretical grayscale corresponding to each of the multiple display brightnesses of the display unit is determined. Then, based on the theoretical grayscale corresponding to each of the multiple display brightnesses of the display unit and the target display grayscale associated with each display brightness, the mapping relationship between the theoretical grayscale and the target display grayscale is determined. Before any display unit in the target display is displayed, the grayscale to be displayed is mapped to the target display grayscale according to the determined mapping relationship. This ensures that when the grayscale to be displayed of each display unit is the same, the displayed brightness is also the same, thereby ensuring the uniformity of the display brightness. Furthermore, the processing of each display unit in this solution has a high degree of precision, ensuring that the display brightness correction method of this solution has a good effect.
[0160] This application also provides a display brightness correction system, such as... Figure 8 The system includes:
[0161] The target display 801 is used to control the display brightness of each display unit when displaying multiple target display grayscale levels;
[0162] Processing device 802 is used to acquire the display brightness of each display unit in target display 801 when it is at multiple target display gray levels; for each display unit, based on a first correspondence between the expected brightness and the theoretical gray level, determine the theoretical gray level corresponding to each display brightness among the multiple display brightnesses of the display unit; for each display unit, establish a second correspondence between the theoretical gray level corresponding to each display brightness among the multiple display brightnesses of the display unit and the target display gray level associated with each display brightness; based on the second correspondence, determine the mapping relationship between the theoretical gray level and the target display gray level of the display unit, as the mapping relationship of the display unit; wherein, the target display gray level associated with each display brightness is: the target display gray level where the display unit is located when the brightness of the display unit is the specified display brightness; and send the determined mapping relationship of each display unit to target display 801.
[0163] The target display 801 is also used to receive the mapping relationship of each display unit, and before any display unit displays, it determines the target display gray level mapped by the gray level to be displayed of the display unit based on the mapping relationship of the display unit, and controls the display unit to display the brightness of the determined target display gray level.
[0164] Optionally, the processing device 802 determines the mapping relationship between the theoretical grayscale of the display unit and the target display grayscale based on the second correspondence, including:
[0165] When the plurality of target display grayscale levels represent all grayscale levels that the target display can be configured with, the second correspondence is determined as the mapping relationship between the theoretical grayscale level of the display unit and the target display grayscale level; or,
[0166] When the multiple target display gray levels are a subset of all gray levels that the target display can be configured with, based on the second correspondence, a conversion relationship is fitted between the theoretical gray level of the display unit and the target display gray level to obtain the conversion relationship between the theoretical gray level of the display unit and the target display gray level, which serves as the mapping relationship between the theoretical gray level of the display unit and the target display gray level.
[0167] Optionally, the processing device 802, based on the second correspondence, performs a conversion relationship fitting between the theoretical grayscale of the display unit and the target display grayscale to obtain the conversion relationship between the theoretical grayscale of the display unit and the target display grayscale, including:
[0168] For two adjacent target display gray levels among the plurality of target display gray levels, a fitting point corresponding to each target display gray level is determined; wherein, the fitting point corresponding to each target display gray level includes the target display gray level and the theoretical gray level corresponding to the target display gray level in the second correspondence; linear fitting is performed using the fitting points corresponding to the two target display gray levels to obtain the linear transformation relationship between the theoretical gray level and the target display gray level of the display unit within the range of the two target display gray levels.
[0169] Optionally, the system further includes:
[0170] Image acquisition device 803 is used to acquire image data of the images displayed by each display unit in the target display 801 when they are respectively in multiple target display gray levels, and send the acquired image data to processing device 802;
[0171] The processing device 802 is specifically used to receive image data acquired by the image acquisition device 803, and display grayscale for each target. Based on the pixel values of the corresponding pixels of each display unit in the image data corresponding to the target display grayscale, it determines the display brightness of each display unit when it is in the target display grayscale. The image data corresponding to each target display grayscale is the image data acquired when each display unit is in the target display grayscale, and the pixel corresponding to each display unit is the pixel generated for that display unit in the image data.
[0172] Optionally, the system further includes:
[0173] Brightness acquisition device 804 is used to acquire the brightness of a specified display unit in the target display 801 when it is in the multiple target display grayscale levels, as the acquired brightness, and send the acquired brightness to processing device 802;
[0174] The processing device 802 is specifically used to receive the acquired brightness collected by the brightness acquisition device 804, and for each target display grayscale, based on the pixel value of the pixel corresponding to the specified display unit when it is in the target display grayscale, and the acquired brightness of the specified display unit when it is in the target display grayscale, determine the conversion relationship between pixel value and brightness; based on the determined conversion relationship between pixel value and brightness, convert the pixel value of the corresponding pixel of each display unit in the image data corresponding to the target display grayscale into brightness, and use it as the display brightness of each display unit when it is in the target display grayscale.
[0175] Optionally, the processing device 802 determines the conversion relationship between pixel value and brightness based on the pixel value of the pixel corresponding to the specified display unit when it is in the target display grayscale, and the acquired brightness of the specified display unit when it is in the target display grayscale, including:
[0176] The pixel value of the pixel corresponding to the specified display unit when it is in the target display grayscale is calculated, and the ratio of the pixel value to the sampled brightness when the specified display unit is in the target display grayscale is used as the conversion relationship between pixel value and brightness.
[0177] Optionally, the processing device 802 is further configured to, before determining the theoretical gray level corresponding to each of the multiple display brightnesses of the display unit based on the first correspondence between the expected brightness and the theoretical gray level, for each target display gray level, use the acquired brightness acquired by the brightness acquisition device for the specified display unit in the target display 801 when it is in the target display gray level, to correct the display brightness of each display unit in the target display 801 when it is in the target display gray level.
[0178] Optionally, the processing device 802 uses a brightness acquisition device to collect the brightness of a specified display unit in the target display 801 when it is in the target display grayscale, and corrects the display brightness of each display unit in the target display 801 when it is in the target display grayscale, including:
[0179] The difference between the brightness acquired by the brightness acquisition device 804 for the specified display unit and the display brightness of the specified display unit when it is in the target display grayscale is calculated.
[0180] The calculated brightness difference is used to correct the display brightness of each display unit in the target display 801 when it is in the target display grayscale.
[0181] Optionally, the first correspondence is the relationship represented by the gamma curve.
[0182] Optionally, each display unit is a single-color display unit; for each display unit, the processing device 802 determines, based on a first correspondence between the expected brightness and the theoretical grayscale, the theoretical grayscale corresponding to each of the multiple display brightnesses of the display unit, including:
[0183] For each display unit, based on the expected first correspondence between the brightness and the theoretical gray level of the display unit, the theoretical gray level corresponding to each of the multiple display brightnesses of the display unit is determined;
[0184] The first correspondence for each display unit is: the color to be displayed by the single display unit is preset according to the color temperature requirements.
[0185] This application also provides a display brightness correction device, such as... Figure 9 As shown, the device includes:
[0186] The acquisition module 901 is used to acquire the display brightness of each display unit in the target display when it is in multiple target display gray levels;
[0187] The theoretical grayscale determination module 902 is used to determine the theoretical grayscale corresponding to each display brightness among multiple display brightnesses of each display unit based on the first correspondence between the expected brightness and the theoretical grayscale.
[0188] The mapping relationship determination module 903 is used to establish a second correspondence between the theoretical grayscale corresponding to each display brightness among multiple display brightnesses of the display unit and the target display grayscale associated with each display brightness for each display unit; based on the second correspondence, determine the mapping relationship between the theoretical grayscale and the target display grayscale of the display unit as the mapping relationship of the display unit; wherein, the target display grayscale associated with each display brightness is: the target display grayscale where the display unit is located when the brightness of the display unit is displayed at that brightness;
[0189] The control module 904 is used to determine the target display grayscale mapped to the grayscale to be displayed by the display unit based on the mapping relationship of the display unit before any display unit in the target display is displayed, and to control the display unit to display the brightness of the determined target display grayscale.
[0190] Optionally, the mapping relationship determination module is specifically used for:
[0191] When the plurality of target display grayscale levels represent all grayscale levels that the target display can be configured with, the second correspondence is determined as the mapping relationship between the theoretical grayscale level of the display unit and the target display grayscale level; or,
[0192] When the multiple target display gray levels are a subset of all gray levels that the target display can be configured with, based on the second correspondence, a conversion relationship is fitted between the theoretical gray level of the display unit and the target display gray level to obtain the conversion relationship between the theoretical gray level of the display unit and the target display gray level, which serves as the mapping relationship between the theoretical gray level of the display unit and the target display gray level.
[0193] Optionally, the mapping relationship determination module is specifically used for:
[0194] For two adjacent target display gray levels among the plurality of target display gray levels, a fitting point corresponding to each target display gray level is determined; wherein, the fitting point corresponding to each target display gray level includes the target display gray level and the theoretical gray level corresponding to the target display gray level in the second correspondence; linear fitting is performed using the fitting points corresponding to the two target display gray levels to obtain the linear transformation relationship between the theoretical gray level and the target display gray level of the display unit within the range of the two target display gray levels.
[0195] Optionally, the acquisition module includes:
[0196] The image acquisition submodule is used to acquire image data of the images displayed by each display unit in the target display when they are in multiple target display grayscale levels;
[0197] The brightness determination submodule is used to determine the display brightness of each display unit when it is at the target display grayscale based on the pixel value of the corresponding pixel in the image data of each display unit in the target display grayscale. The image data corresponding to each target display grayscale is the image data collected when each display unit is at the target display grayscale, and the pixel corresponding to each display unit is the pixel generated for that display unit in the image data.
[0198] Optionally, the acquisition module further includes:
[0199] The brightness acquisition submodule is used to acquire the brightness of a specified display unit in the target display at the multiple target display grayscales before the brightness determination submodule determines the display brightness of each display unit at the target display grayscale based on the pixel value of the corresponding pixel in the image data corresponding to the target display grayscale. The brightness acquisition device acquires the brightness of the specified display unit in the target display at the multiple target display grayscales as the acquired brightness.
[0200] The conversion determination submodule is used to determine the conversion relationship between pixel value and brightness for each target display grayscale, based on the pixel value of the pixel corresponding to the specified display unit when it is in the target display grayscale and the acquired brightness of the specified display unit when it is in the target display grayscale.
[0201] The brightness determination submodule is specifically used for:
[0202] Based on the determined conversion relationship between pixel values and brightness, the pixel values of each display unit corresponding to the pixel point in the image data corresponding to the target display grayscale are converted into brightness, which is used as the display brightness of each display unit when it is in the target display grayscale.
[0203] Optionally, the conversion determination submodule is specifically used for:
[0204] The pixel value of the pixel corresponding to the specified display unit when it is in the target display grayscale is calculated, and the ratio of the pixel value to the sampled brightness when the specified display unit is in the target display grayscale is used as the conversion relationship between pixel value and brightness.
[0205] Optionally, the device further includes:
[0206] The correction module is used to correct the display brightness of each display unit in the target display when it is in the target display grayscale, before the theoretical grayscale determination module determines the theoretical grayscale corresponding to each display brightness among multiple display brightnesses of the display unit based on the first correspondence between the expected brightness and the theoretical grayscale. This correction module uses the acquired brightness collected by the brightness acquisition device for the specified display unit in the target display when it is in the target display grayscale.
[0207] Optionally, the correction module includes:
[0208] The calculation submodule is used to calculate the difference between the brightness collected by the brightness acquisition device for the specified display unit and the display brightness of the specified display unit when it is in the target display grayscale.
[0209] The correction submodule is used to correct the display brightness of each display unit in the target display when it is in the target display grayscale by using the calculated brightness difference.
[0210] Optionally, the first correspondence is the relationship represented by the gamma curve.
[0211] Optionally, each display unit is a single-color display unit;
[0212] The theoretical grayscale determination module is specifically used for:
[0213] For each display unit, based on the expected first correspondence between the brightness and the theoretical grayscale of the display unit, the theoretical grayscale corresponding to each of the multiple display brightnesses of the display unit is determined; wherein, the first correspondence for each display unit is: a pre-set relationship for the color displayed by the single display unit according to the color temperature requirements.
[0214] This application also provides an electronic device, such as... Figure 10 As shown, it includes:
[0215] Memory 1001 is used to store computer programs;
[0216] When the processor 1002 executes the program stored in the memory 1001, it implements the steps of the above-described display brightness correction method.
[0217] Furthermore, the aforementioned electronic device may also include a communication bus and / or a communication interface, with the processor 1002, the communication interface, and the memory 1001 communicating with each other via the communication bus.
[0218] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0219] The communication interface is used for communication between the aforementioned electronic devices and other devices.
[0220] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0221] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0222] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements the steps of the above-described display brightness correction method.
[0223] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the display brightness correction method in the above embodiments.
[0224] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).
[0225] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0226] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0227] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.
Claims
1. A method for calibrating the brightness of a display, characterized in that, The method includes: Image data of the images displayed by each display unit in the target display when they are at multiple target display gray levels are acquired using an image acquisition device; The brightness collected by the brightness acquisition device when a specified display unit in the target display is in the multiple target display grayscale is used as the acquired brightness; For each target display grayscale, the conversion relationship between pixel value and brightness is determined based on the pixel value of the pixel corresponding to the specified display unit when it is in the target display grayscale and the sampled brightness of the specified display unit when it is in the target display grayscale. For each target display grayscale, based on the determined conversion relationship between pixel values and brightness, the pixel values of the corresponding pixels of each display unit in the image data corresponding to the target display grayscale are converted into brightness, which is used as the display brightness of each display unit when it is in the target display grayscale; wherein, the image data corresponding to each target display grayscale is the image data collected when each display unit is in the target display grayscale, and the pixel corresponding to each display unit is the pixel generated for that display unit in the image data; For each display unit, based on the first correspondence between the expected brightness and the theoretical gray level, the theoretical gray level corresponding to each display brightness among the multiple display brightnesses of the display unit is determined; For each display unit, a second correspondence is established between the theoretical grayscale corresponding to each display brightness among multiple display brightnesses of the display unit and the target display grayscale associated with each display brightness; based on the second correspondence, the mapping relationship between the theoretical grayscale and the target display grayscale of the display unit is determined as the mapping relationship of the display unit; wherein, the target display grayscale associated with each display brightness is: the target display grayscale where the display unit is located when the brightness of the display unit is the display brightness; Before any display unit in the target display is displayed, the target display grayscale mapped to the grayscale to be displayed by the display unit is determined based on the mapping relationship of the display unit, and the brightness of the display unit displaying the determined target display grayscale is controlled. Each display unit is a single-color display unit; For each display unit, based on a first correspondence between the expected brightness and the theoretical grayscale, determining the theoretical grayscale corresponding to each of the multiple display brightnesses of that display unit includes: For each display unit, based on the expected first correspondence between the brightness and the theoretical gray level of the display unit, the theoretical gray level corresponding to each of the multiple display brightnesses of the display unit is determined; The first correspondence for each display unit is: the color to be displayed by the single color display unit is preset according to the color temperature requirements.
2. The method according to claim 1, characterized in that, The step of determining the mapping relationship between the theoretical grayscale and the target display grayscale of the display unit based on the second correspondence includes: When the plurality of target display grayscale levels represent all grayscale levels that the target display can be configured with, the second correspondence is determined as the mapping relationship between the theoretical grayscale level of the display unit and the target display grayscale level; or, When the multiple target display gray levels are a subset of all gray levels that the target display can be configured with, based on the second correspondence, a conversion relationship is fitted between the theoretical gray level of the display unit and the target display gray level to obtain the conversion relationship between the theoretical gray level of the display unit and the target display gray level, which serves as the mapping relationship between the theoretical gray level of the display unit and the target display gray level.
3. The method according to claim 2, characterized in that, The step of fitting the conversion relationship between the theoretical grayscale and the target display grayscale of the display unit based on the second correspondence to obtain the conversion relationship between the theoretical grayscale and the target display grayscale of the display unit includes: For two adjacent target display gray levels among the plurality of target display gray levels, a fitting point corresponding to each target display gray level is determined; wherein, the fitting point corresponding to each target display gray level includes the target display gray level and the theoretical gray level corresponding to the target display gray level in the second correspondence; linear fitting is performed using the fitting points corresponding to the two target display gray levels to obtain the linear transformation relationship between the theoretical gray level and the target display gray level of the display unit within the range of the two target display gray levels.
4. A display brightness correction system, characterized in that, The system includes: The target display is used to control the display brightness of each display unit when displaying multiple target display grayscale levels; A processing device is configured to acquire the display brightness of each display unit in a target display when it is at multiple target display gray levels; for each display unit, based on a first correspondence between the expected brightness and the theoretical gray level, determine the theoretical gray level corresponding to each display brightness among the multiple display brightnesses of the display unit; for each display unit, establish a second correspondence between the theoretical gray level corresponding to each display brightness among the multiple display brightnesses of the display unit and the target display gray level associated with each display brightness; based on the second correspondence, determine the mapping relationship between the theoretical gray level and the target display gray level of the display unit, as the mapping relationship of the display unit; wherein, the target display gray level associated with each display brightness is: when the brightness of the display unit is the theoretical gray level of the display unit, the target display gray level ... When the brightness is displayed, the target display grayscale of the display unit is determined; the determined mapping relationship of each display unit is sent to the target display; each display unit is a single-color display unit; for each display unit, based on the first correspondence between the expected brightness and the theoretical grayscale, the theoretical grayscale corresponding to each display brightness among the multiple display brightnesses of the display unit is determined, including: for each display unit, based on the first correspondence between the expected brightness and the theoretical grayscale of the display unit, the theoretical grayscale corresponding to each display brightness among the multiple display brightnesses of the display unit is determined; wherein, the first correspondence for each display unit is: a pre-set value for the color displayed by the single-color display unit according to the color temperature requirements; The target display is also used to receive the mapping relationship of each display unit, and before any display unit in the target display is displayed, to determine the target display gray level mapped by the gray level to be displayed of the display unit based on the mapping relationship of the display unit, and to control the brightness of the display unit to display the determined target display gray level. The system also includes: An image acquisition device is used to acquire image data of the images displayed by each display unit in the target display when they are respectively in multiple target display grayscale levels, and to send the acquired image data to the processing device; A brightness acquisition device is used to acquire the brightness of a specified display unit in the target display when it is in the multiple target display grayscale levels, as the acquired brightness, and send the acquired brightness to the processing device; The processing device is specifically used to receive image data acquired by the image acquisition device and acquired brightness acquired by the brightness acquisition device, and for each target display grayscale, determine the conversion relationship between pixel value and brightness based on the pixel value of the pixel corresponding to the specified display unit when it is in the target display grayscale and the acquired brightness of the specified display unit when it is in the target display grayscale; based on the determined conversion relationship between pixel value and brightness, convert the pixel value of the corresponding pixel of each display unit in the image data corresponding to the target display grayscale into brightness, which is used as the display brightness of each display unit when it is in the target display grayscale; wherein, the image data corresponding to each target display grayscale is the image data acquired when each display unit is in the target display grayscale, and the pixel corresponding to each display unit is the pixel generated for that display unit in the image data.
5. A display brightness correction device, characterized in that, The device includes: The acquisition module is used to acquire the display brightness of each display unit in the target display when it is in multiple target display grayscale levels; The theoretical grayscale determination module is used to determine the theoretical grayscale corresponding to each display brightness among multiple display brightnesses of each display unit based on the first correspondence between the expected brightness and the theoretical grayscale. The mapping relationship determination module is used to establish a second correspondence between the theoretical grayscale corresponding to each display brightness among multiple display brightnesses of the display unit and the target display grayscale associated with each display brightness for each display unit; based on the second correspondence, determine the mapping relationship between the theoretical grayscale and the target display grayscale of the display unit as the mapping relationship of the display unit; wherein, the target display grayscale associated with each display brightness is: the target display grayscale where the display unit is located when the brightness of the display unit is the display brightness; The control module is used to determine the target display grayscale mapped to the grayscale to be displayed by the display unit based on the mapping relationship of the display unit before any display unit in the target display is displayed, and to control the brightness of the display unit to display the determined target display grayscale. The acquisition module is specifically used to acquire image data of the images displayed by each display unit in the target display when they are respectively in multiple target display grayscale levels using an image acquisition device; The brightness collected by the brightness acquisition device when a specified display unit in the target display is in the multiple target display grayscale is used as the acquired brightness; For each target display grayscale, the conversion relationship between pixel value and brightness is determined based on the pixel value of the pixel corresponding to the specified display unit when it is in the target display grayscale and the sampled brightness of the specified display unit when it is in the target display grayscale. For each target display grayscale, based on the determined conversion relationship between pixel values and brightness, the pixel values of the corresponding pixels of each display unit in the image data corresponding to the target display grayscale are converted into brightness, which is used as the display brightness of each display unit when it is in the target display grayscale; wherein, the image data corresponding to each target display grayscale is the image data collected when each display unit is in the target display grayscale, and the pixel corresponding to each display unit is the pixel generated for that display unit in the image data; Each display unit is a single-color display unit; For each display unit, based on a first correspondence between the expected brightness and the theoretical grayscale, determining the theoretical grayscale corresponding to each of the multiple display brightnesses of that display unit includes: For each display unit, based on the expected first correspondence between the brightness and the theoretical gray level of the display unit, the theoretical gray level corresponding to each of the multiple display brightnesses of the display unit is determined; The first correspondence for each display unit is: the color to be displayed by the single color display unit is preset according to the color temperature requirements.
6. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the method of any one of claims 1-3.