Display compensation data setting method, display compensation method, driver chip
By acquiring the three-channel values and tristimulus values of the pixels on the display panel, a matrix is constructed to calculate the compensation matrix, which solves the problems of a large number of grayscale images and poor compensation effect in the existing technology, and achieves efficient Mura elimination.
Patent Information
- Application Number
- CN202211026547.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-25
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-08-25
AI Technical Summary
Existing technologies, when eliminating the Mura phenomenon on display panels, require a large number of grayscale images to be captured and have poor compensation effects, resulting in long setup times and unsatisfactory results when setting display compensation data.
By acquiring the three-channel values, tristimulus values, and exposure time of multiple pixels, a matrix is constructed and a compensation matrix is calculated. Display compensation data is set, taking into account the three-channel values, tristimulus values, and exposure time of the pixels, simplifying the acquisition conditions to reduce the number of grayscale images.
While reducing the number of grayscale images, the compensation effect of display compensation data is improved, achieving more efficient Mura elimination.
Smart Images

Figure CN115346464B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display compensation technology, and in particular to a display compensation data setting method, a display compensation method, and a driver chip. Background Technology
[0002] During the manufacturing process of display panels, due to factors such as production processes and the purity of raw materials, Mura defects may occur. Mura refers to the uneven display phenomenon in display panels, which can cause various marks to appear on the display panel.
[0003] To improve the display effect of a display panel, mura needs to be eliminated. External compensation is typically used to eliminate mura. When different pixels receive the same signal, variations in their display results cause mura. External compensation aims to minimize or avoid these differences by providing different signals to each pixel based on its actual display behavior, thus achieving a more consistent final display effect and eliminating mura. When using external compensation, a monochrome camera is typically used to capture the luminance values of multiple grayscale levels corresponding to the R, G, and B colors. Compensation data for each of the RGB channels is then calculated and set as the display compensation data for subsequent compensation to eliminate mura. However, this method requires capturing a large number of images, which takes considerable time, resulting in a long time required to set the display compensation data. Furthermore, because the compensation data is set using only the luminance values captured by the monochrome camera, fewer factors are considered, leading to a poorer compensation effect. Summary of the Invention
[0004] In view of this, this application proposes a display compensation data setting method, a display compensation method, and a driver chip. The main purpose is to set display compensation data with better compensation effect while reducing the number of grayscale images required to set display compensation data.
[0005] To achieve the above objectives, this application mainly provides the following technical solutions:
[0006] Firstly, this application provides a method for setting display compensation data, the method comprising:
[0007] The three-channel values, tristimulus values, and exposure time of multiple first pixels are obtained, wherein the three-channel values and tristimulus values of the first pixels are acquired from the source grayscale image through the corresponding filter at the corresponding exposure time;
[0008] Display compensation data is set based on the three-channel values, tristimulus values, and exposure time of the plurality of first pixels.
[0009] In some embodiments, setting display compensation data based on the three-channel values, tristimulus values, and exposure duration of the plurality of first pixels includes: constructing a first matrix based on the three-channel values and exposure duration of the plurality of first pixels, wherein a row in the first matrix is constructed based on the three-channel values and exposure duration of a first pixel; constructing a second matrix based on the tristimulus values of the plurality of first pixels, wherein a row in the second matrix is constructed based on the tristimulus value of a first pixel, and the first pixels corresponding to rows in the second matrix and the first matrix at the same positions are the same; and setting the display compensation data based on the first matrix and the second matrix.
[0010] In some embodiments, setting the display compensation data based on the first matrix and the second matrix includes: determining the compensation matrix using the following formula, and setting the compensation matrix as the display compensation data;
[0011] M = (L T ·L) -1 ×L T ×N
[0012] Where M represents the compensation matrix; L represents the first matrix; N represents the second matrix; and T represents the transpose symbol.
[0013] In some embodiments, a first matrix is constructed based on the three-channel values and exposure duration of the plurality of first pixels, including: for each first pixel: determining the ratios between the R value, G value, and B value in the three-channel values of the first pixel and the corresponding exposure duration; and setting the ratios corresponding to the R value, G value, and B value as elements in the same row according to the order of the R value, G value, and B value.
[0014] In some embodiments, constructing a second matrix based on the tristimulus values of the plurality of first pixels includes: for each first pixel: setting the X, Y, and Z values as elements in the same row according to the order of the X, Y, and Z values among the tristimulus values of the first pixel.
[0015] In some embodiments, before acquiring the three-channel values, tristimulus values, and exposure time of multiple first pixels, the method further includes: setting multiple data groups, wherein each data group contains a corresponding grayscale image, filter, and exposure time; for each data group: under the exposure time corresponding to the data group, acquiring the three-channel values and tristimulus values of each pixel in the corresponding grayscale image through the corresponding filter; and selecting a first pixel based on the three-channel values and tristimulus values of the pixels corresponding to each data group.
[0016] In some embodiments, the plurality of data groups involve at least one grayscale image, and for data groups involving the same grayscale image, the corresponding exposure time and / or filter are different.
[0017] Secondly, this application provides a method for display compensation, the method comprising:
[0018] Under the target exposure duration, collect the three-channel values of each pixel in the image to be compensated;
[0019] For each pixel, the tristimulus value of the pixel is determined based on the target exposure time, preset compensation data, and the three-channel value of the pixel.
[0020] Determine the reference pixels and non-reference pixels in the image to be compensated;
[0021] For each non-reference pixel, display compensation is performed on the non-reference pixel based on the tristimulus values of the reference pixel and the non-reference pixel.
[0022] In some embodiments, display compensation is performed on the non-reference pixel based on the tristimulus values of the reference pixel and the non-reference pixel, including: taking the reference pixel and the non-reference pixel as current pixels respectively, and determining the three-channel grayscale value of the current pixel based on the tristimulus values of the current pixel; and performing display compensation on the non-reference pixel based on the difference between the three-channel grayscale values of the reference pixel and the three-channel grayscale values of the non-reference pixel.
[0023] In some embodiments, determining the three-channel grayscale value of the current pixel based on the tristimulus value of the current pixel includes: acquiring the maximum grayscale value of the R channel, the maximum grayscale value of the G channel, and the maximum grayscale value of the B channel of the display device displaying the image to be compensated; acquiring the tristimulus value of the second pixel in the reference image when the display device displays the reference image, wherein the grayscale value of the R channel of the reference image is the maximum grayscale value of the R channel, the grayscale value of the G channel is the maximum grayscale value of the G channel, and the grayscale value of the B channel is the maximum grayscale value of the B channel; and determining the three-channel grayscale value corresponding to the current pixel based on the tristimulus value of the current pixel, the tristimulus value of the second pixel, the maximum grayscale value of the R channel, the maximum grayscale value of the G channel, and the maximum grayscale value of the B channel.
[0024] In some embodiments, the three-channel grayscale value corresponding to the current pixel is determined based on the tristimulus value, maximum R value, maximum G value, maximum B value, maximum X value, maximum Y value, and maximum Z value of the current pixel, including: determining the three-channel grayscale value corresponding to the current pixel by means of the following formula;
[0025]
[0026] Wherein, Gray_R represents the R channel grayscale value of the three-channel grayscale value corresponding to the current pixel; X represents the X value of the tristimulus value corresponding to the current pixel; X′ represents the X value of the tristimulus value of the second pixel; Gray_R max Gray_G represents the maximum grayscale value of the R channel; G represents the grayscale value of the G channel among the three grayscale values corresponding to the current pixel; Y represents the Y value among the tristimulus values corresponding to the current pixel; Y′ represents the Y value among the tristimulus values of the second pixel; Gray_G max Gray_B represents the maximum grayscale value of the G channel; Z represents the grayscale value of the B channel among the three grayscale values corresponding to the current pixel; Z represents the Z value among the tristimulus values corresponding to the current pixel; Z′ represents the Z value among the tristimulus values of the second pixel; Gray_B max This represents the maximum grayscale value of the B channel, and gamma represents a preset constant.
[0027] In some embodiments, determining the tristimulus value of a pixel based on the target exposure time, preset compensation data, and the three-channel values of the pixel includes: determining the ratios between the R, G, and B values of the pixel's three-channel values and their corresponding exposure times; setting the ratios corresponding to the R, G, and B values as elements in the same row of a third matrix according to the order of the R, G, and B values; setting the X, Y, and Z values as elements in the same row of a fourth matrix according to the order of the X, Y, and Z values of the pixel's tristimulus values; and determining the tristimulus value of the pixel based on the third matrix, the fourth matrix, and the preset compensation data.
[0028] In some embodiments, determining the tristimulus value of the pixel based on the third matrix, the fourth matrix, and the preset compensation data includes: determining the tristimulus value of the pixel using the following formula:
[0029] H×M=D
[0030] Where M represents the compensation matrix that serves as the preset compensation data; H represents the third matrix; and D represents the fourth matrix.
[0031] Thirdly, this application provides a display compensation data setting device, the device comprising:
[0032] The acquisition module is used to acquire the three-channel values, tristimulus values and exposure time of multiple first pixels, wherein the three-channel values and tristimulus values corresponding to the first pixel are acquired from the source grayscale image through the corresponding filter at the corresponding exposure time;
[0033] The setting module is used to set display compensation data based on the three-channel values, tristimulus values and exposure time of the plurality of first pixels.
[0034] Fourthly, this application provides a driver chip that applies the display compensation method described in the second aspect.
[0035] Fifthly, this application provides a display device, which includes the driver chip described in the fourth aspect.
[0036] The display compensation data setting method, display compensation method, and driver chip provided in this application, when it is necessary to set display compensation data, first acquire the three-channel values, tristimulus values, and exposure time of multiple first pixels. Then, based on the acquired three-channel values, tristimulus values, and exposure time of the multiple first pixels, display compensation data is set. It can be seen that the three-channel values and tristimulus values of the first pixels acquired in this application are collected from the source grayscale image through corresponding filters at their corresponding exposure times. Therefore, even with a small number of grayscale images, a large number of acquisition conditions for acquiring three-channel values and tristimulus values can be set by adjusting the exposure time and filters, thus obtaining abundant data required for setting compensation data. Furthermore, since the display compensation data setting considers not only the three-channel values of the pixels but also the tristimulus values and the exposure time used to acquire the three-channel values, display compensation data with better compensation effect can be set. Therefore, the solution provided in this application can reduce the number of grayscale images required to set display compensation data while achieving better compensation effect.
[0037] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0038] 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 some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0039] Figure 1 A flowchart illustrating a method for setting display compensation data according to an embodiment of this application is shown;
[0040] Figure 2 This illustration shows a schematic diagram of the relationship between exposure time and three-channel values according to an embodiment of this application;
[0041] Figure 3 This illustration shows a schematic diagram of the relationship between grayscale values and tristimulus values according to an embodiment of this application;
[0042] Figure 4 This illustration shows a schematic diagram of the relationship between the ratio of three-channel values to exposure time and grayscale values according to an embodiment of this application;
[0043] Figure 5 A flowchart of a display compensation method provided in one embodiment of this application is shown;
[0044] Figure 6 This illustration shows a schematic diagram of a display compensation data setting device according to an embodiment of this application;
[0045] Figure 7 A schematic diagram of a display compensation data setting device according to another embodiment of this application is shown. Detailed Implementation
[0046] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0047] During the manufacturing process of display panels, due to factors such as production processes and the purity of raw materials, Mura defects may occur. Mura refers to the uneven display phenomenon in display panels, which can cause various marks to appear on the display panel.
[0048] To improve the display panel's performance, mura needs to be eliminated. Currently, there are roughly three methods for eliminating mura:
[0049] The first method is to improve the manufacturing process. This can eliminate Mura. However, due to the precision limitations of the manufacturing equipment, even improved manufacturing processes cannot completely achieve in-plane uniformity of the display panel. Therefore, it can only improve the Mura phenomenon, but cannot completely eliminate it.
[0050] The second method is design compensation. This involves designing circuits within the chip to compensate for voltage fluctuations at the pixels, thereby eliminating mura. While this method does improve mura to some extent, not all mura phenomena are caused by voltage unevenness, so its compensation effect is limited.
[0051] The third method is external compensation. When the same signal is given to different pixels, the resulting display variations cause mura. External compensation aims to minimize or avoid these variations by providing different signals to each pixel based on its actual display behavior, thus achieving a more consistent final display and eliminating mura. External compensation is more effective than the previous two methods and is therefore more widely used. Currently, the most common external compensation method is chroma compensation. This typically involves using a monochrome camera to capture the luminance values of multiple grayscale levels corresponding to the R, G, and B colors. Compensation data for each of the RGB channels is then calculated and set as the display compensation data for subsequent compensation to eliminate mura. This method requires capturing a large number of images, which takes considerable time, resulting in a long setup time for the display compensation data. Furthermore, because the compensation data is set using only the luminance values captured by the monochrome camera, fewer factors are considered, leading to a poorer compensation effect.
[0052] To overcome the above-mentioned defects, embodiments of this application provide a display compensation data setting method, a display compensation method, and a driver chip, so as to set display compensation data with better compensation effect while reducing the number of grayscale images required to set display compensation data.
[0053] The overall process of external compensation is as follows: First, use a camera to capture grayscale images; second, calculate display compensation data based on the captured grayscale images and the compensation algorithm; third, convert the display compensation data according to the compensation data format provided by different chip manufacturers and burn it into the memory chip; fourth, calculate the driving voltage and drive the display screen inside the driver chip using the compensation algorithm and display compensation data.
[0054] The display compensation data setting method provided in this application embodiment is applied to the first and second steps described above to set display compensation data with better compensation effect. The display compensation method and driver chip provided in this application embodiment are applied to the fourth step described above to compensate the screen using the set display compensation data and eliminate the Mura phenomenon.
[0055] The following provides a detailed description of the display compensation data setting method, display compensation method, and driver chip provided in the application embodiments.
[0056] like Figure 1 As shown in the figure, this application embodiment provides a method for setting display compensation data, which mainly includes:
[0057] 101. Obtain the three-channel values, tristimulus values, and exposure time of multiple first pixels. The three-channel values and tristimulus values of the first pixel are acquired from the source grayscale image through the corresponding filter at the corresponding exposure time.
[0058] The purpose of acquiring the three-channel values, tristimulus values, and exposure time of multiple first pixels is to establish a correspondence between the three-channel values of the pixels acquired by the camera and the standard optical data "tristimulus values," thereby setting the display compensation data through this correspondence.
[0059] The three-channel values consist of R, G, and B values, which reflect the chromaticity characteristics of the corresponding pixel. They are acquired by the camera from grayscale images. In this embodiment, in order to reduce the number of grayscale images required to set the display compensation data, a color camera is used to acquire the three-channel values.
[0060] The tristimulus value represents the intensity of stimulation of the three primary colors that cause the human retina to perceive a certain color. It consists of the X value (red primary color stimulation intensity), Y value (green primary color stimulation intensity), and Z value (blue primary color stimulation intensity), and is acquired from a grayscale image by an optical measurement device. The type of optical measurement image is not limited in this embodiment; for example, the optical measurement image is CA310.
[0061] Camera data acquisition is influenced by multiple factors, including object distance, lens focal length and focus, aperture size, exposure time, and image brightness. Taking all these factors into account results in overly complex data and makes setting display compensation data difficult. While fixing these factors and only considering the correspondence between camera data and image brightness simplifies the model, it significantly reduces the camera's measurement range, making it difficult to simultaneously measure low-brightness and high-brightness images. The display compensation data setting method proposed in this embodiment takes exposure time into account, considering the correspondence between the camera's three-channel values, exposure time, and image brightness. Image brightness is determined by the grayscale values corresponding to the grayscale image; changing these grayscale values generates grayscale images of different brightness. Increasing the camera exposure time in low-brightness conditions improves the accuracy of the three-channel values. Decreasing the camera exposure time in high-brightness conditions prevents overexposure.
[0062] The three-channel values, tristimulus values, and exposure time of the first pixel are the data basis for setting the display compensation data. The selection of which pixels to use as the first pixel is crucial to the accuracy of the display compensation data; therefore, before step 101, steps 1011 to 1013 need to be performed to select the first pixel that meets the requirements:
[0063] 1011. Set up multiple data groups, where each data group contains a corresponding grayscale image, filter, and exposure time.
[0064] Each dataset contains a corresponding grayscale image, filter, and exposure time. The grayscale image, filter, and exposure time in a dataset define a specific acquisition condition for the three-channel values, tristimulus values, and exposure time. To avoid duplicate acquisition conditions, at least one of the following data must differ across datasets: grayscale image, filter, and exposure time.
[0065] A grayscale image is an image with set grayscale values, and different grayscale values result in different brightness levels. Exposure time is the exposure time used by the camera to acquire the three-channel values from the corresponding grayscale image. A filter is a filter used by a device to acquire the three-channel and tristimulus values from the corresponding grayscale image, specifying the colors of light from which the three-channel and tristimulus values are acquired.
[0066] In principle, the multiple data groups set up involve at least one grayscale image, and for data groups involving the same grayscale image, the corresponding exposure time and / or filter are different.
[0067] To reduce the number of grayscale images required to set display compensation data, the number of grayscale images involved in the multiple data groups can be set to a small number, such as one. However, in order to obtain a wealth of data for setting display compensation data from a small number of grayscale images, the exposure time and / or filter will be different for data groups involving the same grayscale image. The same grayscale image mentioned here refers to an image with the same grayscale value, or it can be defined as an image with the same brightness.
[0068] For example, if the number of grayscale images involved in the multiple data groups is one, then in order to obtain rich data for setting display compensation data, the exposure time of different data groups is different, but the same filter can exist in different data groups.
[0069] 1012. For each data set: Under the exposure time corresponding to the data set, collect the three-channel values and tristimulus values of each pixel in the corresponding grayscale image through the corresponding filter.
[0070] For each data set: Under the corresponding exposure time, the three-channel values and tristimulus values of each pixel in the corresponding grayscale image are acquired through the corresponding filter. The acquired three-channel values and tristimulus values reflect the display state of each pixel in the grayscale image under the specific conditions formed by the corresponding exposure time and filter.
[0071] 1013. Select the first pixel based on the three-channel values and tristimulus values of the pixels corresponding to each data group.
[0072] After the acquisition operation is completed for each data group, each data group will have corresponding pixel values for three channels and tristimulus values. In order to set display compensation data with better compensation effect, it is necessary to select the first pixel from the corresponding pixels of each data group, and set the display compensation data based on the three channel values, tristimulus values and exposure time of the first pixel.
[0073] The following describes the methods for selecting the first pixel, which may include the following:
[0074] The first method involves performing the following steps for each data group: determining the R, G, and B values of each pixel in the three channels of the data group, and selecting at least one of the following: first, selecting the pixel with the largest and / or smallest and / or the middle R value as the first pixel; second, selecting the pixel with the largest and / or smallest and / or the middle G value as the first pixel; third, selecting the pixel with the largest and / or smallest and / or the middle B value as the first pixel.
[0075] The second method involves performing the following for each data set: determining the X, Y, and Z values among the tristimulus values of each pixel in the data set, and selecting at least one of the following: first, selecting the pixel with the largest and / or smallest and / or the middle value of the X value as the first pixel; second, selecting the pixel with the largest and / or smallest and / or the middle value of the Y value as the first pixel; third, selecting the pixel with the largest and / or smallest and / or the middle value of the Z value as the first pixel.
[0076] The third method involves performing the following for each data group: determining the pixel at a specific position on the grayscale image corresponding to that data group, and selecting that pixel as the first pixel. The specified position can be chosen based on business requirements, such as the center of the grayscale image or the top-left corner.
[0077] The first pixel selected using the three methods described above may fall into two categories: First, some selected first pixels may have the same position. These pixels only share the same location within their corresponding grayscale image; their respective three-channel values, tristimulus values, and exposure time depend on the grayscale image, filter, and exposure time in their corresponding data group. For example, if pixel 1 and pixel 2 are selected, both located at the center of their respective grayscale images, their positions may be identical. However, pixel 1's three-channel values, tristimulus values, and exposure time depend on the grayscale image, filter, and exposure time in its corresponding data group 1. Similarly, pixel 2's three-channel values, tristimulus values, and exposure time depend on the grayscale image, filter, and exposure time in its corresponding data group 2. Second, all selected first pixels may have different positions.
[0078] 102. Based on the three-channel values, tristimulus values, and exposure time of the plurality of first pixels, set display compensation data.
[0079] Display compensation data is used to compensate pixels in the display panel and eliminate the Mura effect. After being set, it is burned into the display device's memory chip so that the driver chip can call it when performing display compensation.
[0080] The specific process of setting display compensation data based on the three-channel values, tristimulus values, and exposure duration of the plurality of first pixels includes the following steps 1021 to 1023:
[0081] 1021. Based on the three-channel values and exposure duration of the plurality of first pixels, construct a first matrix, wherein a row in the first matrix is constructed based on the three-channel values and exposure duration of a first pixel.
[0082] The specific process of constructing the first matrix based on the three-channel values and exposure time of the multiple first pixels includes: for each first pixel: determining the ratios between the R value, G value and B value in the three-channel values of the first pixel and the corresponding exposure time; setting the ratios corresponding to the R value, G value and B value as elements in the same row according to the order of the R value, G value and B value.
[0083] The R, G, and B values of the three channels of the first pixel are linearly related to the exposure time. Therefore, in order to simplify the process of setting display compensation data, when constructing the first matrix, the ratios between the R, G, and B values of the three channels of the first pixel and the corresponding exposure time are used.
[0084] For each first pixel, there is a corresponding row in the first matrix. The elements in the corresponding row are constructed based on the ratios between the R, G, and B values of the three channels of the first pixel and the corresponding exposure time.
[0085] For example, if there are n first pixels, the first matrix obtained based on the three-channel values corresponding to the n first pixels and the exposure time is as follows:
[0086]
[0087] Where L represents the first matrix; R n G represents the R value in the three-channel values of the nth first pixel; n B represents the G value in the three-channel values of the nth first pixel; n This represents the B value in the three-channel values of the nth first pixel; expT n This represents the exposure time corresponding to the nth first pixel.
[0088] 1022. Based on the tristimulus values of the plurality of first pixels, construct a second matrix, wherein a row in the second matrix is constructed based on the tristimulus value of a first pixel, and the first pixels corresponding to the rows in the second matrix and the first matrix at the same positions are the same.
[0089] The second matrix is constructed from the tristimulus values of the first pixel. To ensure the accuracy of the displayed compensation data, the first pixel corresponding to the row at the same position in the second matrix and the first matrix is the same; that is, the row at the same position corresponds to the same first pixel.
[0090] The specific process of constructing the second matrix based on the tristimulus values of the multiple first pixels includes: for each first pixel: according to the arrangement order of the X, Y and Z values of the tristimulus values of the first pixel, set the X, Y and Z values as elements in the same row.
[0091] For example, if there are n first pixels, the second matrix obtained based on the tristimulus values corresponding to the n first pixels is as follows:
[0092]
[0093] Where N represents the second matrix; X n The X value represents the tristimulus value of the nth first pixel; Y represents the tristimulus value of the first pixel. n The Z value represents the Y value among the tristimulus values of the nth first pixel. n This represents the Z value among the tristimulus values of the nth first pixel.
[0094] 1023. Based on the first and second matrices, set the display compensation data.
[0095] For the same grayscale image, there are differences between the three-channel values "RGB" and the exposure time "expT" acquired at different exposure times. Figure 2 The relationship shown. From Figure 2 It can be seen that the collected three-channel values, "R value, G value, and B value," are linearly related to the exposure time "expT." The unit of exposure time "expT" is milliseconds "ms." Considering that the tristimulus value represents the degree of stimulation of the three primary colors that cause the human retina to perceive a certain color, it also has a corresponding relationship with the three-channel values.
[0096] By changing the grayscale values of the display panel, grayscale images of different brightness were generated. Then, an optical testing device (CA310) was used to measure the tristimulus values (X, Y, and Z values) of each pixel under different grayscale images. The measurement results are as follows: Figure 3 As shown. Figure 3 This illustrates the relationship between the tristimulus values "XYZ" and the grayscale value "Gray". Figure 3 In the data, the correspondence between X, Y, and Z values and grayscale values all conform to the gamma 2.2 curve. Simultaneously, a color camera was used to collect the three-channel values (R, G, and B values) of each pixel at different grayscale levels. The exposure time was adjusted using the color camera to ensure that the three-channel data acquired by the color camera were within the measurement range. The correspondence between the ratio of the acquired R, G, and B values to the exposure time "RGB / expT" and the grayscale value "Gray" is as follows: Figure 4 As shown, this also conforms to the gamma 2.2 curve. Therefore, it can be inferred that there is a linear relationship between the pixel's three-channel values divided by the exposure time and the X, Y, and Z values among the tristimulus values.
[0097] The linear relationship between the inferred ratio of the three-channel values of a pixel to the exposure time and the X, Y, and Z values of the tristimulus values is expressed by the following formula:
[0098]
[0099] In the above formula, expT represents the exposure time, R, G, and B are the R, G, and B values respectively, M is the transformation matrix, and X, Y, and Z are the X, Y, and Z values of the tristimulus. M can be a 3×3 matrix. By substituting multiple sets of measurement data, the following formula can be obtained:
[0100]
[0101] The above formula can be simplified to:
[0102] L×M=N
[0103] When n equals 3, L is a positive definite matrix, and L×M=N is a positive definite linear system of equations with a unique solution. When n>3, L is an overdefinite matrix, and L×M=N has no solution, but its least squares solution can be calculated using the least squares method, thus obtaining the compensation data. Therefore, the specific process of setting and displaying compensation data based on the first and second matrices includes the following steps: determining the compensation matrix using the following formula, and setting the compensation matrix to display compensation data;
[0104] M = (L T ·L) -1 ×L T ×N
[0105] Where M represents the compensation matrix; L represents the first matrix; N represents the second matrix; T represents the transpose symbol; and -1 represents the inverse symbol.
[0106] After determining the compensation matrix M, it is set as the display compensation data. The display compensation data is then converted according to the compensation data format required by the memory chip, and the converted data is burned into the memory chip. This allows the driver chip to directly read the compensation matrix from the memory chip during display compensation and perform compensation processing based on the compensation matrix, thereby eliminating Mura. The main process of compensation processing based on the compensation matrix is as follows: According to the above formula M = (L... T ·L) -1 ×L T ×N, based on the compensation matrix, the three-channel values of the pixels in the image to be compensated, and the exposure time, calculates the tristimulus value of each pixel, and uses the calculated tristimulus value for display compensation, thereby eliminating Mura.
[0107] The display compensation data setting method provided in this application first acquires the three-channel values, tristimulus values, and exposure time of multiple first pixels when display compensation data needs to be set. Then, based on the acquired three-channel values, tristimulus values, and exposure time of the multiple first pixels, display compensation data is set. It can be seen that the three-channel values and tristimulus values of the first pixels acquired in this application are collected from the source grayscale image through corresponding filters at their corresponding exposure times. Therefore, even with a small number of grayscale images, a large number of acquisition conditions for acquiring the three-channel values and tristimulus values can be set by adjusting the exposure time and filters, thus obtaining abundant data required for setting compensation data. Furthermore, since the display compensation data setting considers not only the three-channel values of the pixels but also the tristimulus values and the exposure time used to acquire the three-channel values, display compensation data with better compensation effect can be set. Therefore, the solution provided in this application can reduce the number of grayscale images required to set display compensation data while achieving better compensation effect.
[0108] Furthermore, another embodiment of this application also provides a display compensation method, such as... Figure 5 As shown, the method mainly includes the following steps:
[0109] 201. Under the target exposure duration, collect the three-channel values of each pixel in the image to be compensated.
[0110] To improve the display compensation effect, the display device adjusts the camera's exposure time when displaying the image to be compensated, ensuring that the three-channel values acquired at all pixel locations do not exceed the camera's data limit, thus guaranteeing the validity of the acquired pixel's three-channel values. The specific process of acquiring the three-channel values of each pixel in the image to be compensated is as follows: the acquired image of the image to be compensated is segmented using image localization and segmentation algorithms to obtain the three-channel values, i.e., R, G, and B values, at all pixel locations.
[0111] 202. For each pixel, determine the tristimulus value of the pixel based on the target exposure time, preset compensation data and the three-channel value of the pixel.
[0112] The preset compensation data is the compensation data set through the above-described method for setting display compensation data, namely the compensation matrix M.
[0113] The specific execution process for determining the tristimulus values of a pixel based on the target exposure time, preset compensation data, and the three-channel values of the pixel includes the following steps from 2021 to 2023:
[0114] 2021. Determine the ratios between the R, G, and B values of a pixel in its three channels and their corresponding exposure times; set the ratios of the R, G, and B values to the elements in the same row of the third matrix according to their order.
[0115] The linear relationship between the pixel's three-channel values (divided by the exposure time) and the X, Y, and Z values of the tristimulus values is expressed by the following formula:
[0116]
[0117] Therefore, based on the ratios of the R, G, and B values in the three channels of a pixel to their corresponding exposure times, we can obtain the third matrix H, which is:
[0118]
[0119] 2022. According to the order of the X, Y, and Z values of the tristimulus values of the pixel, set the X, Y, and Z values to the elements in the same row of the fourth matrix.
[0120] The fourth matrix D is set according to the order of the X, Y, and Z values of the tristimulus values of the pixel:
[0121] D = [XYZ]
[0122] 2023. Based on the third matrix, the fourth matrix and preset compensation data, determine the tristimulus values of the pixels.
[0123] The ratio between the three channel values of a pixel and the exposure time has a linear relationship with the X, Y, and Z values of the tristimulus values. Therefore, based on the third matrix, the fourth matrix, and preset compensation data, the specific process for determining the tristimulus values of a pixel is as follows: The tristimulus values of a pixel are determined using the following formula:
[0124] H×M=D
[0125] Where M represents the compensation matrix that serves as the preset compensation data; H represents the third matrix; and D represents the fourth matrix.
[0126] 203. Determine the reference pixels and non-reference pixels in the image to be compensated.
[0127] The reference pixel serves as the reference point for display compensation of the image to be compensated. The selection principle for the reference pixel is: select the pixel at a set position in the image to be compensated as the reference pixel. This embodiment does not specifically limit the set position; its specific position can be determined based on business requirements. For example, the reference pixel is the point located at the center of the image to be compensated.
[0128] Non-reference pixels are those pixels in the image to be compensated that need to be compensated based on the reference pixels. Pixels in the image to be compensated that were not selected as reference pixels are all non-reference pixels.
[0129] 204. For each non-reference pixel, display compensation is performed on the non-reference pixel based on the tristimulus values of the reference pixel and the tristimulus values of the non-reference pixel.
[0130] The reference pixel serves as the benchmark for display compensation of the image to be compensated. All reference pixels need to be used as the benchmark for display compensation to ensure that the display effect of each pixel is the same.
[0131] The specific process of display compensation for non-reference pixels based on the tristimulus values of reference and non-reference pixels includes the following steps 2041 to 2042:
[0132] 2041. Take the reference pixel and the non-reference pixel as the current pixel respectively, and determine the three-channel grayscale value of the current pixel based on the tristimulus value of the current pixel.
[0133] The specific process of determining the three-channel grayscale value of the current pixel based on the tristimulus value of the current pixel includes the following steps one through three:
[0134] Step 1: Obtain the maximum grayscale values of the R channel, G channel, and B channel of the display device displaying the image to be compensated.
[0135] Display devices that display the image to be compensated typically have a three-channel grayscale value upper limit. The three-channel grayscale values involved in the three-channel grayscale value upper limit are defined as the maximum grayscale value of the R channel, the maximum grayscale value of the G channel, and the maximum grayscale value of the B channel of the display device.
[0136] For example, if the display device displaying the image to be compensated has an upper limit of 255 for the three-channel display grayscale value, then the maximum grayscale value of the R channel, the maximum grayscale value of the G channel, and the maximum grayscale value of the B channel of the display device are all determined to be 255.
[0137] Step 2: Obtain the tristimulus value of the second pixel in the reference image when the display device displays the reference image. The grayscale value of the R channel of the reference image is the maximum grayscale value of the R channel, the grayscale value of the G channel is the maximum grayscale value of the G channel, and the grayscale value of the B channel is the maximum grayscale value of the B channel.
[0138] The grayscale values of the reference image across three channels are the same as the upper limit of the grayscale values typically displayed on the display device across three channels. The selection principle for the second pixel is as follows: when the reference image is displayed on the display device, the pixel at a predetermined position in the reference image is selected as the second pixel. This embodiment does not specifically limit the predetermined position; its specific position can be determined based on business requirements. For example, the second pixel is the point located at the center of the reference image. It should be noted that the second pixel and the reference pixel can be pixels at the same location.
[0139] Step 3: Based on the tristimulus value of the current pixel, the tristimulus value of the second pixel, the maximum grayscale value of the R channel, the maximum grayscale value of the G channel, and the maximum grayscale value of the B channel, determine the grayscale value of the three channels corresponding to the current pixel.
[0140] The tristimulus values of the second pixel, the maximum grayscale value of the R channel, the maximum grayscale value of the G channel, and the maximum grayscale value of the B channel can all be pre-calibrated before display compensation and can be directly retrieved from the corresponding storage area when needed.
[0141] Based on the target exposure time, preset compensation data, and three-channel values of each pixel in step 202 above, the tristimulus values of each pixel are determined. The tristimulus values and the grayscale values of the display screen conform to the gamma 2.2 curve, which can be expressed by the following formula:
[0142]
[0143] Based on the above formula, the specific process of determining the three-channel grayscale value corresponding to the current pixel based on the tristimulus value of the current pixel, the tristimulus value of the second pixel, the maximum grayscale value of the R channel, the maximum grayscale value of the G channel, and the maximum grayscale value of the B channel is as follows: the three-channel grayscale value corresponding to the current pixel is determined by the following formula.
[0144]
[0145] Where Gray_R represents the R channel grayscale value of the current pixel; X represents the X value of the tristimulus value of the current pixel; X′ represents the X value of the tristimulus value of the second pixel; Gray_R max Gray_G represents the maximum grayscale value of the R channel; G represents the grayscale value of the G channel among the three grayscale values corresponding to the current pixel; Y represents the Y value among the tristimulus values corresponding to the current pixel; Y′ represents the Y value among the tristimulus values of the second pixel; Gray_G max Gray_B represents the maximum grayscale value of the G channel; Z represents the Z-value of the tristimulus value of the current pixel; Z' represents the Z-value of the tristimulus value of the second pixel. max This represents the maximum grayscale value of channel B, and gamma represents a preset constant. The value of gamma can be determined based on business requirements; for example, gamma is set to 2.2.
[0146] 2042. Based on the difference between the three-channel grayscale values of the reference pixel and the three-channel grayscale values of the non-reference pixel, display compensation is performed on the non-reference pixel.
[0147] The difference between the three-channel grayscale values of the reference pixel and the three-channel grayscale values of the non-reference pixel reflects the display difference between the reference pixel and the non-reference pixel. In order to eliminate this display difference, it is necessary to perform display compensation on the non-reference pixel based on the difference between the three-channel grayscale values of the reference pixel and the non-reference pixel.
[0148] The three-channel grayscale values of the reference pixel are defined as: Gray_R_ref, Gray_G_ref, and Gray_B_ref. The grayscale values of the non-reference pixels are Gray_R, Gray_G, and Gray_B. The compensation value for each non-reference pixel is the difference between the grayscale values of the reference pixel and the non-reference pixels, i.e., "Gray_R_ref - Gray_R", "Gray_G_ref - Gray_G", and "Gray_B_ref - Gray_B". Based on the above compensation values, the corresponding compensation voltage is determined. The non-reference pixels are driven by the compensation voltage, thereby making the display brightness and color of the display device more uniform, thus eliminating mura.
[0149] The display compensation method provided in this application first acquires the three-channel values of each pixel in the image to be compensated under the target exposure time. Then, for each pixel, the tristimulus value is determined based on the target exposure time, preset compensation data, and the pixel's three-channel values. Finally, reference pixels and non-reference pixels in the image to be compensated are determined, and for each non-reference pixel, display compensation is performed based on the tristimulus values of the reference and non-reference pixels. It is evident that the solution provided in this application can determine the tristimulus values of pixels based on compensation data and the pixel's three-channel values. After determining the reference and non-reference pixels in the image to be compensated, compensation is performed on the non-reference pixels based on the difference between their tristimulus values and those of the reference pixels used as compensation benchmarks. This makes the tristimulus values of all pixels in the displayed image equal or close, resulting in more uniform brightness and color. Therefore, the solution provided in this application can achieve a better compensation effect and can eliminate the Mura phenomenon to the greatest extent possible.
[0150] Furthermore, based on the above-described embodiment of the display compensation data setting method, another embodiment of this application also provides a display compensation data setting device, such as... Figure 6 As shown, the device includes:
[0151] The acquisition module 31 is used to acquire the three-channel values, tristimulus values and exposure time of multiple first pixels, wherein the three-channel values and tristimulus values corresponding to the first pixel are acquired from the source grayscale image through the corresponding filter at the corresponding exposure time;
[0152] Setting module 32 is used to set display compensation data based on the three-channel values, tristimulus values and exposure time of the plurality of first pixels.
[0153] The display compensation data setting device provided in this application first acquires the three-channel values, tristimulus values, and exposure time of multiple first pixels when display compensation data needs to be set. Then, based on the acquired three-channel values, tristimulus values, and exposure time of the multiple first pixels, display compensation data is set. It can be seen that the three-channel values and tristimulus values of the first pixels acquired in this application are collected from the source grayscale image through corresponding filters at their corresponding exposure times. Therefore, even with a small number of grayscale images, a large number of acquisition conditions for acquiring the three-channel values and tristimulus values can be set by adjusting the exposure time and filters, thus obtaining abundant data required for setting compensation data. Furthermore, since the display compensation data setting considers not only the three-channel values of the pixels but also the tristimulus values and the exposure time used to acquire the three-channel values, display compensation data with better compensation effect can be set. Therefore, the solution provided in this application can reduce the number of grayscale images required to set display compensation data while setting display compensation data with better compensation effect.
[0154] Optional, such as Figure 7 As shown, the setting module 32 includes:
[0155] The first construction unit 321 is used to construct a first matrix based on the three-channel values and exposure time of the plurality of first pixels, wherein a row in the first matrix is constructed based on the three-channel values and exposure time of a first pixel;
[0156] The second construction unit 322 is used to construct a second matrix based on the tristimulus values of the plurality of first pixels, wherein a row in the second matrix is constructed based on the tristimulus value of a first pixel, and the first pixels corresponding to the rows in the second matrix and the first matrix at the same position are the same.
[0157] Setting unit 323 is used to set the display compensation data based on the first matrix and the second matrix.
[0158] Optional, such as Figure 7 As shown, the setting unit 323 is specifically used to determine the compensation matrix using the following formula, and set the compensation matrix as the display compensation data;
[0159] M = (L T ·L) -1 ×L T ×N
[0160] Where M represents the compensation matrix; L represents the first matrix; N represents the second matrix; and T represents the transpose symbol.
[0161] Optional, such as Figure 7As shown, the first construction unit 321 is specifically used for each of the first pixels to: determine the ratios between the R value, G value and B value in the three channels of the first pixel and the corresponding exposure time; and set the ratios corresponding to the R value, G value and B value as elements in the same row according to the order of the R value, G value and B value.
[0162] Optional, such as Figure 7 As shown, the second construction unit 322 is specifically used for each of the first pixels to set the X, Y and Z values as elements in the same row according to the order of the X, Y and Z values in the tristimulus values of the first pixel.
[0163] Optional, such as Figure 7 As shown, the device further includes:
[0164] The selection unit 33 is used to set multiple data groups, wherein each data group contains a corresponding grayscale image, filter and exposure time; for each data group: under the exposure time corresponding to the data group, the three-channel value and tristimulus value of each pixel in the corresponding grayscale image are collected through the corresponding filter; based on the three-channel value and tristimulus value of the pixel corresponding to each data group, the first pixel is selected.
[0165] Optional, such as Figure 7 As shown, the multiple data groups set by the selection unit 33 involve at least one grayscale image, and for data groups involving the same grayscale image, the corresponding exposure time and / or filter are different.
[0166] For a detailed explanation of the methods used in the operation of each functional module in the display compensation data setting device provided in this application embodiment, please refer to the corresponding method details in the above-described display compensation data method embodiment, which will not be repeated here.
[0167] Furthermore, based on the above embodiments, another embodiment of this application also provides a driver chip, which applies the display compensation method described above.
[0168] For the beneficial effects of the driver chip provided in the embodiments of this application, please refer to the beneficial effects of the above-described display compensation method.
[0169] Furthermore, based on the above embodiments, another embodiment of this application also provides a display device, the display device including the above-described driver chip.
[0170] For the beneficial effects of the display device provided in the embodiments of this application, please refer to the beneficial effects of the driver chip described above.
[0171] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0172] It is understood that the relevant features in the above methods and apparatus can be referenced interchangeably. Furthermore, the terms "first," "second," etc., in the above embodiments are used to distinguish between embodiments and do not represent the superiority or inferiority of any particular embodiment.
[0173] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0174] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, this application is not directed to any particular programming language. It should be understood that the content of this application described herein can be implemented using various programming languages, and the above description of specific languages is for the purpose of disclosing the best mode of implementation of this application.
[0175] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of this application may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0176] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features but not others included in other embodiments, combinations of features from different embodiments are intended to be within the scope of this application and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
[0177] The various component embodiments of this application can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the method, apparatus, and framework for operating the deep neural network model according to the embodiments of this application. This application can also be implemented as a device or apparatus program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such an implementation of this application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
[0178] It should be noted that the above embodiments are illustrative of this application and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. This application can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.
Claims
1. A method for setting display compensation data, characterized in that, The method comprises: The three-channel values, tristimulus values, and exposure time of multiple first pixels are obtained, wherein the three-channel values and tristimulus values of the first pixels are acquired from the source grayscale image through the corresponding filter at the corresponding exposure time; Based on the three-channel values, tristimulus values, and exposure duration of the plurality of first pixels, display compensation data is set; Based on the three-channel values, tristimulus values, and exposure time of the plurality of first pixels, display compensation data is set, including: constructing a first matrix based on the three-channel values and exposure time of the plurality of first pixels, wherein a row in the first matrix is constructed based on the three-channel values and exposure time of a first pixel; constructing a second matrix based on the tristimulus values of the plurality of first pixels, wherein a row in the second matrix is constructed based on the tristimulus value of a first pixel, and the first pixels corresponding to the rows in the second matrix and the first matrix at the same positions are the same; and setting the display compensation data based on the first matrix and the second matrix. Based on the first matrix and the second matrix, setting the display compensation data includes: determining the compensation matrix using the following formula, and setting the compensation matrix as the display compensation data; M=(L T ·L) -1 ×L T ×N Where M represents the compensation matrix; L represents the first matrix; N represents the second matrix; and T represents the transpose symbol.
2. The method according to claim 1, characterized in that, Based on the three-channel values and exposure time of the plurality of first pixels, a first matrix is constructed, including: For each of the first pixels: determine the ratios between the R, G, and B values in the three channels of the first pixel and the corresponding exposure time; set the ratios corresponding to the R, G, and B values in the same row according to the order of the R, G, and B values.
3. The method according to claim 1, characterized in that, Based on the tristimulus values of the plurality of first pixels, a second matrix is constructed, including: For each of the first pixels: according to the order of the X, Y, and Z values among the tristimulus values of the first pixel, set the X, Y, and Z values to elements in the same row.
4. The method according to any one of claims 1-3, characterized in that, Before acquiring the three-channel values, tristimulus values, and exposure time of multiple first pixels, the method further includes: Multiple data groups are set up, and each data group contains a corresponding grayscale image, filter and exposure time; For each data set: Under the exposure time corresponding to the data set, the three-channel values and tristimulus values of each pixel in the corresponding grayscale image are collected through the corresponding filter; The first pixel is selected based on the three-channel values and tristimulus values of the pixels corresponding to each data group.
5. The method according to claim 4, characterized in that, The multiple data groups involve at least one grayscale image, and for data groups involving the same grayscale image, the corresponding exposure time and / or filter are different.
6. A display compensation method, characterized in that, The method comprises: Under the target exposure duration, collect the three-channel values of each pixel in the image to be compensated; For each pixel, the tristimulus value of the pixel is determined based on the target exposure time, preset compensation data, and the three-channel value of the pixel. Determine the reference pixels and non-reference pixels in the image to be compensated; For each of the non-reference pixels, display compensation is performed on the non-reference pixels based on the tristimulus values of the reference pixels and the tristimulus values of the non-reference pixels. Based on the target exposure time, preset compensation data, and the three-channel values of the pixel, the tristimulus values of the pixel are determined, including: determining the ratios between the R, G, and B values of the pixel's three-channel values and their corresponding exposure times; setting the ratios of the R, G, and B values in the same row of a third matrix according to their order; setting the X, Y, and Z values in the same row of a fourth matrix according to their order; and determining the tristimulus values of the pixel based on the third matrix, the fourth matrix, and the preset compensation data. Based on the third matrix, the fourth matrix, and the preset compensation data, the tristimulus value of the pixel is determined, including: determining the tristimulus value of the pixel using the following formula: H×M=D Where M represents the compensation matrix that serves as the preset compensation data; H represents the third matrix; and D represents the fourth matrix.
7. The method according to claim 6, characterized in that, Based on the tristimulus values of the reference pixel and the tristimulus values of the non-reference pixel, display compensation is performed on the non-reference pixel, including: The reference pixel and the non-reference pixel are respectively used as the current pixel, and the three-channel grayscale value of the current pixel is determined based on the tristimulus value of the current pixel. Display compensation is performed on the non-reference pixels based on the difference between the three-channel grayscale values of the reference pixel and the three-channel grayscale values of the non-reference pixel.
8. The method according to claim 7, characterized in that, The three-channel grayscale values of the current pixel are determined based on the tristimulus values of the current pixel, including: Obtain the maximum grayscale value of the R channel, the maximum grayscale value of the G channel, and the maximum grayscale value of the B channel of the display device displaying the image to be compensated; When the display device displays a reference image, the tristimulus value of the second pixel in the reference image is obtained, and the grayscale value of the R channel of the reference image is the maximum grayscale value of the R channel, the grayscale value of the G channel is the maximum grayscale value of the G channel, and the grayscale value of the B channel is the maximum grayscale value of the B channel. Based on the tristimulus value of the current pixel, the tristimulus value of the second pixel, the maximum grayscale value of the R channel, the maximum grayscale value of the G channel, and the maximum grayscale value of the B channel, the three-channel grayscale value corresponding to the current pixel is determined.
9. The method according to claim 8, characterized in that, Based on the tristimulus value of the current pixel, the tristimulus value of the second pixel, the maximum grayscale value of the R channel, the maximum grayscale value of the G channel, and the maximum grayscale value of the B channel, the three-channel grayscale value corresponding to the current pixel is determined, including: The three-channel grayscale value corresponding to the current pixel is determined by the following formula; Wherein, Gray_R represents the R channel grayscale value of the three-channel grayscale value corresponding to the current pixel; X represents the X value of the tristimulus value corresponding to the current pixel; X ′ This represents the X value among the tristimulus values of the second pixel; Gray_R max The maximum grayscale value of the R channel is represented by G; Gray_G represents the grayscale value of the G channel among the three grayscale values corresponding to the current pixel; Y represents the Y value among the tristimulus values corresponding to the current pixel; Y ′ This represents the Y value among the tristimulus values of the second pixel; Gray_G max The maximum grayscale value of the G channel is represented by G; Gray_B represents the grayscale value of the B channel among the three grayscale values corresponding to the current pixel; Z represents the Z value among the tristimulus values corresponding to the current pixel; Z ′ This represents the Z-value among the tristimulus values of the second pixel; Gray_B max This represents the maximum grayscale value of the B channel, and gamma represents a preset constant.
10. A device for setting display compensation data, characterized in that, The device includes: The acquisition module is used to acquire the three-channel values, tristimulus values and exposure time of multiple first pixels, wherein the three-channel values and tristimulus values corresponding to the first pixel are acquired from the source grayscale image through the corresponding filter at the corresponding exposure time; The setting module is used to set display compensation data based on the three-channel values, tristimulus values and exposure time of the plurality of first pixels; The settings module includes: The first construction unit is used to construct a first matrix based on the three-channel values and exposure time of the plurality of first pixels, wherein a row in the first matrix is constructed based on the three-channel values and exposure time of a first pixel; The second construction unit is used to construct a second matrix based on the tristimulus values of the plurality of first pixels, wherein a row in the second matrix is constructed based on the tristimulus value of a first pixel, and the first pixels corresponding to the rows in the second matrix and the first matrix at the same position are the same. The setting unit is used to set the display compensation data based on the first matrix and the second matrix; The setting unit is specifically used to determine the compensation matrix using the following formula, and to set the compensation matrix as the display compensation data; M=(L T ·L) -1 ×L T ×N Where M represents the compensation matrix; L represents the first matrix; N represents the second matrix; and T represents the transpose symbol.
11. A driver chip, characterized in that, The driver chip uses the display compensation method as described in any one of claims 6-9.
12. A display device, characterized in that, The display device includes the driver chip as described in claim 11.
Citation Information
Patent Citations
Compensation method and device of display panel and display panel
CN111028779A
Color cast compensation method and device of display panel, computer equipment and medium
CN113327532A