A calibration method, apparatus, electronic device and medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-04
- Publication Date
- 2026-08-14
AI Technical Summary
然而,在显示设备的实际生产过程中,存在较多显示设备的显示屏白场亮度不等于红场亮度、绿场亮度和蓝场亮度之和
[0021]本发明实施例的技术方案,首先确定同一色阶下白场亮度、红场亮度、绿场亮度和蓝场亮度;然后若同一色阶下,白场亮度不等于红场亮度、绿场亮度和蓝场亮度之和,则确定显示设备在初始伽马校正系数下所显示的多幅灰阶画面分别对应的实际伽马值,多幅灰阶画面对应的灰阶不同;之后基于目标伽马值和各实际伽马值,确定伽马曲线,伽马曲线表征不同灰阶下所对应的调整后的伽马值;最后基于伽马曲线和多幅灰阶画面所对应的画面信息,确定显示设备的目标伽马校正系数。本技术方案通过初始伽马校正系数下多个灰阶画面的实际伽马值以及目标伽马值,确定调整后的伽马值,以根据调整后的伽马值和多个灰阶画面的画面信息重新计算对应的目标伽马校正系数,解决了在白场亮度不等于红场亮度、绿场亮度和蓝场亮度之和的情况下初始伽马校正系数不准确的问题,提高了校正的准确性。
Smart Images

Figure CN117392965B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display technology, and in particular to a calibration method, apparatus, electronic device and medium. Background Technology
[0002] During the production of display devices (such as televisions), the production line performs automatic gamma correction on each display device to ensure that the brightness distribution of each display device conforms to a set gamma value (such as 2.2 or 2.4).
[0003] Currently, the automatic gamma correction process is as follows: First, the display device displays different images, such as 11 grayscale images, a full red field image, a full green field image, and a full blue field image, for a total of 14 images. Then, the host computer collects the chromaticity values (i.e., the x and y coordinates representing color temperature) and luminance values (i.e., Lv values) of the above 14 images using a color temperature meter. Finally, the host computer calculates the gamma correction parameters of the display device based on the chromaticity and luminance values corresponding to the 14 images collected, as well as the preset gamma values (such as 2.2 or 2.4), so that after the gamma correction parameters are written into the display device, the luminance distribution of the display device conforms to the set gamma value distribution.
[0004] In the aforementioned calibration process, the algorithm for calculating the gamma correction parameters of the display device is based on the assumption that the white luminance of the display screen equals the sum of the red, green, and blue luminances. However, in the actual production process of display devices, many display devices have a white luminance that does not equal the sum of these three values. For these types of display devices, the gamma correction parameters obtained using the above calibration method are inaccurate, resulting in a significant deviation between the luminance distribution of the display device with these gamma correction parameters and the distribution of the set gamma value. Summary of the Invention
[0005] This invention provides a calibration method, apparatus, electronic device, and medium to improve the accuracy of gamma calibration.
[0006] According to one aspect of the present invention, a correction method is provided, the method comprising:
[0007] Determine the white point brightness, red point brightness, green point brightness, and blue point brightness at the same color level;
[0008] If, under the same color level, the white field brightness is not equal to the sum of the red field brightness, green field brightness, and blue field brightness, then the actual gamma values corresponding to the multiple grayscale images displayed by the display device under the initial gamma correction coefficient are determined, and the grayscale images correspond to different grayscale levels.
[0009] Based on the target gamma value and each of the actual gamma values, a gamma curve is determined, wherein the gamma curve represents the adjusted gamma value corresponding to different gray levels.
[0010] Based on the gamma curve and the image information corresponding to the multiple grayscale images, the target gamma correction coefficient of the display device is determined.
[0011] According to another aspect of the present invention, a calibration device is provided, the device comprising:
[0012] The brightness determination module is used to determine the brightness of the white field, red field, green field, and blue field at the same color level.
[0013] The gamma value determination module is used to determine the actual gamma values corresponding to the multiple grayscale images displayed by the display device under the initial gamma correction coefficient if the white field brightness is not equal to the sum of the red field brightness, green field brightness and blue field brightness under the same color level. The multiple grayscale images correspond to different grayscale levels.
[0014] The curve determination module is used to determine a gamma curve based on the target gamma value and each of the actual gamma values, wherein the gamma curve represents the adjusted gamma value corresponding to different gray levels;
[0015] The coefficient determination module is used to determine the target gamma correction coefficient of the display device based on the gamma curve and the image information corresponding to the multiple grayscale images.
[0016] According to another aspect of the present invention, an electronic device is provided, comprising:
[0017] One or more processors;
[0018] Storage device for storing one or more programs;
[0019] When the one or more programs are executed by the one or more processors, the one or more processors implement the correction method as described in any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program that, when executed by a processor, implements the correction method as described in any embodiment of the present invention.
[0021] The technical solution of this invention first determines the white, red, green, and blue brightness levels at the same color level. Then, if the white brightness at the same color level is not equal to the sum of the red, green, and blue brightness levels, the actual gamma values corresponding to the multiple grayscale images displayed by the display device under the initial gamma correction coefficient are determined, since the grayscale levels correspond to different grayscale levels. Next, based on the target gamma value and each actual gamma value, a gamma curve is determined, representing the adjusted gamma value corresponding to different grayscale levels. Finally, based on the gamma curve and the image information corresponding to the multiple grayscale images, the target gamma correction coefficient of the display device is determined. This technical solution determines the adjusted gamma value by using the actual gamma values of multiple grayscale images under the initial gamma correction coefficient and the target gamma value. The corresponding target gamma correction coefficient is then recalculated based on the adjusted gamma value and the image information of the multiple grayscale images. This solves the problem of inaccurate initial gamma correction coefficients when the white brightness is not equal to the sum of the red, green, and blue brightness levels, thus improving the accuracy of the correction.
[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a schematic diagram illustrating the implementation of a gamma correction method according to Embodiment 1 of the present invention;
[0025] Figure 2 A flowchart of a correction method provided in Embodiment 1 of the present invention;
[0026] Figure 3 A flowchart of a correction method provided in Embodiment 2 of the present invention;
[0027] Figure 4 This is a schematic diagram illustrating the implementation of a correction method provided in Embodiment 2 of the present invention;
[0028] Figure 5 This is a schematic diagram of the structure of a calibration device provided in Embodiment 3 of the present invention;
[0029] Figure 6 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. Detailed Implementation
[0030] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "initial," "target," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0032] Figure 1 This is a schematic diagram illustrating the implementation of a gamma correction method according to Embodiment 1 of the present invention. Figure 1 As shown, 1 represents the host computer; 2 represents the color temperature meter; and 3 represents the display device. The implementation process of this method is as follows: First, the display device 3 displays different images, such as 11 grayscale images, a full red field image, a full green field image, and a full blue field image, for a total of 14 images; then, the color temperature meter 2 collects the chromaticity values (i.e., the x and y coordinates representing the color temperature) and luminance values (i.e., Lv values) of the above 14 images; the host computer 1 reads the chromaticity values and luminance values corresponding to the 14 images collected by the color temperature meter; finally, the host computer 1 calculates the gamma correction parameters of the display device 3 based on the chromaticity values and luminance values corresponding to the 14 images read, as well as the preset gamma value (such as 2.2 or 2.4), and writes the gamma correction parameters into the display device (such as into the display device's circuit board), so that after the gamma correction parameters are written into the display device 3, the luminance distribution of the display device 3 conforms to the set gamma value distribution.
[0033] In the aforementioned calibration process, the algorithm for calculating the gamma correction parameters of the display device is based on the assumption that the white luminance of the display screen equals the sum of the red, green, and blue luminances. However, in the actual production process of display devices, many display devices have a white luminance that does not equal the sum of these three values. For these types of display devices, the gamma correction parameters obtained using the above calibration method are inaccurate, resulting in a significant deviation between the luminance distribution of the display device with these gamma correction parameters and the distribution of the set gamma value.
[0034] Example 1
[0035] To address the aforementioned technical problems, embodiments of the present invention provide a correction method. Figure 2 This is a flowchart of a calibration method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of automatic gamma calibration of display devices. The method can be executed by a calibration device, which can be implemented in hardware and / or software. The calibration device can be configured in an electronic device, such as a computer, server, or laptop computer. Figure 2 As shown, the method includes:
[0036] S110. Determine the white field brightness, red field brightness, green field brightness, and blue field brightness at the same color level.
[0037] In this embodiment, color gradation can be understood as an index standard characterizing the brightness of an image; color gradation refers to brightness and is unrelated to color, where the brightest color is white and the darkest is black. The value range of color gradation can be 0-255 grayscale values or 0-4095 grayscale values, which is not limited here. Color gradation can be used to characterize the brightness level of color gradation; taking 0-255 as an example, 0 can represent the darkest brightness (i.e., black), the higher the grayscale value, the brighter the brightness, and so on, 255 can represent the brightest brightness (i.e., white).
[0038] Every image (or scene) can be considered to be composed of many points, which are called pixels. Each pixel can typically display a different color, and each pixel can be composed of three sub-pixels: red, green, and blue. Red, green, and blue can also be represented as R, G, and B. Each sub-pixel (i.e., R, G, B) can correspond to a range of color values, such as a grayscale value of 0-255.
[0039] White point can be understood as a white display image composed of three sub-pixels: red, green, and blue. The display image can refer to the entire picture displayed by a display device. The display device can refer to the device used to display the corresponding image. White point brightness can be understood as the brightness of the image at the white point.
[0040] Correspondingly, red square can be understood as the red display image composed of the red sub-pixels. Red square brightness can be understood as the brightness of the image under red square conditions.
[0041] Green field can be understood as the green display image composed of the sub-pixels of the color green. Green field brightness can be understood as the brightness of the image under the green field.
[0042] Blue field can be understood as the blue display image composed of the blue sub-pixels. Blue field brightness can be understood as the brightness of the image under the blue field.
[0043] The same color level can be understood as a combination of color levels corresponding to the same set of R, G, and B. Assuming that the color levels corresponding to R, G, and B can each range from 0 to 255 grayscale values, then there can be a total of 256*256*256 color level combinations. The same color level can be considered as having the same white, red, and blue levels, such as x% white, x% red, and x% blue. Taking the range [0-255] as an example, 10% white can be considered as 10% multiplied by 256 color levels. That is, x% multiplied by the number of color levels y included in the range gives the corresponding color level value.
[0044] In this step, for each color level combination (such as [R, G, B] = [0, 0, 0], [R, G, B] = [10, 10, 10], or [R, G, B] = [100, 100, 100], etc.), determine the corresponding white point brightness, red point brightness, green point brightness, and blue point brightness under that color level combination. Alternatively, a set number of color level combinations can be selected from all color level combinations (the specific method for selecting the set number of color level combinations is not limited here); based on this, for each selected color level, determine the corresponding white point brightness, red point brightness, green point brightness, and blue point brightness under that color level.
[0045] Each color level can correspond to a white point luminance, a red point luminance, a green point luminance, and a blue point luminance. This embodiment does not specifically limit how to determine the white point luminance, red point luminance, green point luminance, or blue point luminance at the same color level.
[0046] In one embodiment, this step can be determined based on the chromaticity and luminance values of the images displayed by multiple grayscale display devices, such as the 14 images mentioned above. When the calculation is determined, the three extreme values X, Y, and Z can be obtained. Then, through linear calculation, the distribution of the red, green, and blue fields can be inferred based on the trend of the white field.
[0047] In one embodiment, white, red, green, and blue fields at multiple gray levels can be obtained, and then x% of the red field brightness, x% of the white field brightness, x% of the green field brightness, and x% of the blue field brightness can be determined, that is, the white field brightness, red field brightness, blue field brightness, and green field brightness at the same color level can be determined.
[0048] S120. If, under the same color level, the white field brightness is not equal to the sum of the red field brightness, green field brightness, and blue field brightness, then determine the actual gamma values corresponding to the multiple grayscale images displayed by the display device under the initial gamma correction coefficient, wherein the grayscale images correspond to different grayscale levels.
[0049] In this embodiment, the initial gamma correction coefficient can be understood as the gamma correction coefficient determined based on the target gamma value. For example, it can be the gamma correction coefficient of the display device calculated based on the chromaticity and luminance values corresponding to the 14 collected images, and the target gamma value. The gamma correction coefficient can be understood as the RGB color level values at different gray levels of the display device. The initial gamma correction coefficient can be considered as the gamma correction parameter in the above embodiment. This step does not limit how the initial gamma correction coefficient is calculated based on the chromaticity and luminance values corresponding to the 14 collected images, and the target gamma value.
[0050] The 14 images refer to the 11 grayscale images, the full red area image, the full green area image, and the full blue area image displayed by the display device. A grayscale image can be understood as the display image at a set grayscale value; grayscale can be understood as a standard representing the brightness change between the brightest and darkest points. Similar to color gradation, the grayscale value range can be 0-255 grayscale values, where 0 represents the darkest brightness, and higher grayscale values represent higher brightness, and so on, with 255 representing the brightest brightness; the grayscale value range can also be 0-4095 grayscale values, which is not limited here. The 11 grayscale images are not specifically limited here; for example, the 11 grayscale images can be display images with grayscale values of 0%*256, 10%*256, 20%*256, 30%*256, ..., 90%*256, and 100%*256 respectively.
[0051] A full red field image can be understood as the display image with the highest red field brightness; for example, the red field image corresponding to R being 255 and G and B being 0. Similarly, a full green field image can be understood as the display image with the highest green field brightness; for example, the green field image corresponding to G being 255 and R and B being 0. A full blue field image can be understood as the display image with the highest blue field brightness; for example, the blue field image corresponding to B being 255 and R and G being 0.
[0052] The color of each pixel in a picture (or image) can be represented by both luminance and chrominance. Chroma represents the hue and saturation of a color. A picture can correspond to one chrominance value and one luminance value. The chrominance value can be understood as the value representing the chromaticity of a pixel. The chrominance value can be represented as chromaticity coordinates, such as x-coordinates and y-coordinates. The luminance value can be understood as the value representing the brightness of a pixel, and the luminance value can be represented as the Lv value.
[0053] The target gamma value can be understood as a pre-set gamma value. The specific value of the target gamma value is not limited here; it can be 2.2 or 2.4.
[0054] The multiple grayscale images displayed by a display device under the initial gamma correction coefficient can be understood as multiple grayscale images captured after the initial gamma correction coefficient is written into the display device. These multiple grayscale images correspond to different grayscale levels. For example, the multiple grayscale images could be display images with the aforementioned grayscale values (grayscale can also be considered as grayscale values) of 0%*256, 10%*256, 20%*256, 30%*256, ..., 90%*256, and 100%*256 respectively; this is not a limitation here.
[0055] The actual gamma value can be understood as the gamma value that the grayscale image of the display device actually corresponds to after the initial gamma correction coefficients are written into the display device.
[0056] After determining the white, red, green, and blue brightness levels at the same color level, it can be determined whether the white brightness is equal to the sum of the red, green, and blue brightness levels. If the white brightness is not equal to the sum of the red, green, and blue brightness levels at the same color level, then the actual gamma values corresponding to the multiple grayscale images displayed by the display device under the initial gamma correction coefficient can be determined.
[0057] The specific method for determining the actual gamma value is not limited here. For example, the actual gamma value of each grayscale image can be determined based on the brightness values of multiple grayscale images displayed by the display device under the initial gamma correction coefficient. Specifically, the brightness value of each grayscale image can be obtained first; then, the maximum and minimum brightness values among all brightness values can be used as reference brightness values. It can be understood that since the larger the grayscale level, the higher the brightness (i.e., the brightness of the corresponding grayscale image is directly proportional to the grayscale level), the grayscale image with the largest grayscale level corresponds to the largest brightness value, and the grayscale image with the smallest grayscale level corresponds to the smallest brightness value. Finally, for each grayscale image other than the grayscale image corresponding to the reference brightness value, the actual gamma value corresponding to that grayscale image is determined based on the determined reference brightness value and the brightness value of that grayscale image.
[0058] For example, consider 11 grayscale images with grayscale values of 0%*256, 10%*256, 20%*256, 30%*256, ..., 90%*256, and 100%*256. Assume the brightness value (minimum brightness value) corresponding to the grayscale image with a grayscale value of 0%*256 is represented as Lv0, the brightness value corresponding to the grayscale image with a grayscale value of 10%*256 is represented as Lv10, and so on, with the brightness value corresponding to the grayscale image with a grayscale value of 100%*256 (the maximum brightness value) represented as Lv100. Then, the formula for calculating the actual gamma value can be expressed as:
[0059]
[0060] Where Lvx can represent the brightness value of each grayscale image except the grayscale image corresponding to the reference brightness value, and x can be 10, 20, 30, ..., 80, 90; Lg can represent a logarithmic function with base 10, such as Lg10 = 1.
[0061] Nine actual gamma values can be calculated using the formula for calculating actual gamma values described above.
[0062] S130. Based on the target gamma value and each of the actual gamma values, determine the gamma curve, wherein the gamma curve represents the adjusted gamma value corresponding to different gray levels.
[0063] In this embodiment, the gamma curve can be understood as a curve formed based on the adjusted gamma values corresponding to different gray levels, which can be used to characterize the adjusted gamma values corresponding to different gray levels.
[0064] This section does not specify how to determine the gamma curve based on the target gamma value and each actual gamma value. For example, it can be based on the target gamma value and each actual gamma value, determining the differences between the target gamma value and each actual gamma value (e.g., the target gamma value minus the actual gamma value, or the actual gamma value minus the target gamma value). Based on the correspondence between the determined differences and the corresponding gray levels of each actual gamma value, a corresponding curve (e.g., a gamma deviation curve) is determined. On this basis, the corresponding gamma curve is determined based on the target gamma value and the determined gamma deviation curve. Specifically, if the difference is the target gamma value minus the actual gamma value, then the curve obtained by adding the corresponding value on the gamma deviation curve to the target gamma value is determined as the gamma curve; if the difference is the actual gamma value minus the target gamma value, then the curve obtained by subtracting the corresponding value on the gamma deviation curve from the target gamma value is determined as the gamma curve.
[0065] S140. Based on the gamma curve and the image information corresponding to the multiple grayscale images, determine the target gamma correction coefficient of the display device.
[0066] In this embodiment, image information can be understood as information used to characterize the chromaticity and luminance of a grayscale image. For example, image information may include the chromaticity value (i.e., color temperature coordinates) and luminance value of the grayscale image. The target gamma correction coefficient can be understood as the adjusted gamma correction coefficient determined based on the adjusted gamma values at different grayscale levels in the gamma curve and the image information corresponding to multiple grayscale images.
[0067] This section does not specify how to determine the target gamma correction coefficient for the display device based on the gamma curve and the image information corresponding to multiple grayscale images. For example, the initial gamma correction coefficient calculation method described above can be used to calculate the corresponding gamma correction coefficient based on the adjusted gamma value corresponding to each grayscale level in the gamma curve and the image information corresponding to each grayscale image to obtain the target gamma correction coefficient.
[0068] In this embodiment, the adjusted gamma values corresponding to different gray levels can be the same or different.
[0069] This embodiment provides a correction method. First, the white, red, green, and blue luminances at the same color level are determined. Then, if the white luminance at the same color level is not equal to the sum of the red, green, and blue luminances, the actual gamma values corresponding to the multiple grayscale images displayed by the display device under the initial gamma correction coefficient are determined, since the grayscale levels corresponding to the multiple grayscale images are different. Next, based on the target gamma value and each actual gamma value, a gamma curve is determined. The gamma curve represents the adjusted gamma value corresponding to different grayscale levels. Finally, based on the gamma curve and the image information corresponding to the multiple grayscale images, the target gamma correction coefficient of the display device is determined. This method determines the adjusted gamma value by using the actual gamma values of multiple grayscale images under the initial gamma correction coefficient and the target gamma value. The corresponding target gamma correction coefficient is then recalculated based on the adjusted gamma value and the image information of the multiple grayscale images. This solves the problem of inaccurate initial gamma correction coefficients when the white luminance is not equal to the sum of the red, green, and blue luminances, thus improving the accuracy of the correction.
[0070] Example 2
[0071] Figure 3This is a flowchart of a correction method provided in Embodiment 2 of the present invention, which is a refinement of the above embodiments. In this embodiment, the process of determining the gamma curve based on the target gamma value and each actual gamma value, and determining the actual gamma values corresponding to the multiple grayscale images displayed by the display device under the initial gamma correction coefficient, is described in detail. It should be noted that technical details not described in detail in this embodiment can be found in any of the above embodiments. Figure 3 As shown, the method includes:
[0072] S210. Determine the white point brightness, red point brightness, green point brightness, and blue point brightness for each color level in the color level set.
[0073] In this embodiment, the color level set can be understood as a set composed of multiple pre-defined color levels. For example, a color level set can include 0%*256 color levels (i.e., [R, G, B] = [0%*256, 0%*256, 0%*256]), 10%*256 color levels (i.e., [R, G, B] = [10%*256, 10%*256, 10%*256]), 20%*256 color levels (i.e., [R, G, B] = [20%*256, 20%*256, 20%*256]), ..., 90%*256 color levels (i.e., [R, G, B] = [90%*256, 90%*256, 90%*256]), and 100%*256 color levels (i.e., [R, G, B] = [100%*256, 100%*256, 100%*256]).
[0074] For each color level in the color level set, determine the white point luminance, red point luminance, green point luminance, and blue point luminance for that color level. For example, taking the x%*256 color level as an example, determine the white point luminance, red point luminance, green point luminance, and blue point luminance for the x%*256 color level respectively.
[0075] This step determines the white point luminance, red point luminance, green point luminance, and blue point luminance for each color level in the color level set. This allows for determining whether the white point luminance for each color level is equal to the sum of the red, green, and blue point luminances. If the white point luminance for any color level is not equal to the sum of the red, green, and blue point luminances, then proceed to step S220 to correct the target gamma value.
[0076] S220. If, under the same color level, the white field brightness is not equal to the sum of the red field brightness, green field brightness, and blue field brightness, then obtain the brightness values of the multiple grayscale images displayed by the display device under the initial gamma correction coefficient.
[0077] If the white field brightness at any color level within a color level set is not equal to the sum of the red, green, and blue field brightness, then it can be considered that the white field brightness at the same color level is not equal to the sum of the red, green, and blue field brightness.
[0078] In this embodiment, after the initial gamma correction coefficient is written to the display device, if the white field brightness is not equal to the sum of the red field brightness, green field brightness, and blue field brightness at the same color level, then the brightness values of multiple grayscale images displayed by the display device under the initial gamma correction coefficient can be obtained. In this step, the multiple grayscale images can be display images with grayscale values of 0%*256, 10%*256, 20%*256, 30%*256, ..., 90%*256, and 100%*256, for a total of 11 grayscale images.
[0079] S230. Take the maximum brightness value corresponding to the grayscale image with the largest grayscale and the minimum brightness value corresponding to the grayscale image with the smallest grayscale as the reference brightness value.
[0080] In this embodiment, the grayscale image with the highest grayscale can be understood as the display image corresponding to the highest grayscale value, such as the display image with a grayscale value of 100%*256. Similarly, the grayscale image with the lowest grayscale can be understood as the display image corresponding to the lowest grayscale value, such as the display image with a grayscale value of 0%*256. Since grayscale (i.e., grayscale value) is directly proportional to the brightness value of the corresponding grayscale image, the maximum brightness value can be understood as the brightness value corresponding to the grayscale image with the highest grayscale; and the minimum brightness value can be understood as the brightness value corresponding to the grayscale image with the lowest grayscale.
[0081] The reference brightness value can be understood as a standard brightness value used to calculate the actual gamma value corresponding to other grayscale images besides the grayscale image corresponding to the reference brightness value. In this step, the maximum brightness value corresponding to the grayscale image with the largest grayscale and the minimum brightness value corresponding to the grayscale image with the smallest grayscale can be used as the reference brightness value.
[0082] S240. For the target grayscale image, based on the brightness value of the target grayscale image and the reference brightness value, determine the actual gamma value corresponding to the target grayscale image.
[0083] In this embodiment, the target grayscale image can be understood as the grayscale image other than the grayscale image with the largest grayscale and the grayscale image with the smallest grayscale among the multiple grayscale images displayed.
[0084] For each target grayscale image, the actual gamma value corresponding to that target grayscale image can be determined based on the brightness value of the target grayscale image and the reference brightness value. For details on how to determine the actual gamma value based on the brightness value of the target grayscale image and the reference brightness value, please refer to the calculation formula method for the actual gamma value in the above embodiments, which will not be elaborated here.
[0085] S250. For each actual gamma value, determine the gamma deviation value of the actual gamma value based on the actual gamma value and the target gamma value.
[0086] In this embodiment, the gamma deviation value can be understood as the deviation between the actual gamma value and the target gamma value. Each actual gamma value corresponds to one gamma deviation value.
[0087] For each actual gamma value, the corresponding gamma deviation value can be determined based on the actual gamma value and the target gamma value. For example, it can be the difference between the actual gamma value and the target gamma value (i.e., the difference obtained by subtracting the target gamma value from the actual gamma value), or it can be the difference between the target gamma value and the actual gamma value (i.e., the difference obtained by subtracting the actual gamma value from the target gamma value).
[0088] S260. Based on each gamma deviation value and its corresponding gray level, determine the gamma deviation curve. The gamma deviation curve represents the correspondence between different gray levels and their corresponding gamma deviation values.
[0089] In this embodiment, the gamma deviation curve can be understood as a curve generated based on each gamma deviation value and its corresponding grayscale, representing the correspondence between different grayscales and their corresponding gamma deviation values. Each grayscale corresponds to a grayscale image, each grayscale image corresponds to an actual gamma value, and each actual gamma value corresponds to a gamma deviation value.
[0090] Based on the determined gamma deviation values and the corresponding gray levels, a gamma deviation curve representing the correspondence between each gamma deviation value and each gray level can be determined. No specific limitations are made on how the gamma deviation curve is determined here. For example, the determined gamma deviation values and corresponding gray levels can be used as initial base points, and linear interpolation can be performed to generate a gamma deviation curve containing more points (e.g., generating a gamma deviation curve containing 4096 points through linear interpolation).
[0091] S270. Determine the gamma curve based on the target gamma value and the gamma deviation curve.
[0092] In this embodiment, different methods for determining the gamma deviation value can correspond to different methods for determining the gamma curve. For example, if the gamma deviation value is the difference between the target gamma value and the actual gamma value, then the curve generated by adding the corresponding values on the gamma deviation curve to the target gamma value can be determined as the gamma curve. If the gamma deviation value is the actual gamma value minus the target gamma value, then the curve generated by subtracting the corresponding values on the gamma deviation curve from the target gamma value can be determined as the gamma curve.
[0093] S280. Based on the gamma curve and the image information corresponding to multiple grayscale images, determine the target gamma correction coefficient of the display device.
[0094] In this embodiment, the gamma correction coefficient is recalculated based on the adjusted gamma value corresponding to each gray level in the determined gamma curve and the image information corresponding to the gray level image at each gray level, so that the target gamma correction coefficient of the display device can be determined.
[0095] This second embodiment provides a correction method, specifically describing the process of determining a gamma curve based on a target gamma value and various actual gamma values, and determining the actual gamma values corresponding to multiple grayscale images displayed by the display device under an initial gamma correction coefficient. This method uses the maximum and minimum brightness values corresponding to the multiple grayscale images as reference brightness values, and determines the corresponding actual gamma values based on these reference brightness values and the brightness value of the target grayscale image. It also determines a corresponding gamma deviation curve based on each actual gamma value and the target gamma value, enabling error compensation correction of the actual gamma values based on the gamma deviation curve to determine the corresponding gamma curve. Furthermore, based on this, the corresponding target gamma correction coefficient is recalculated according to the gamma curve and the image information of multiple grayscale images. This solves the problem of inaccurate initial gamma correction coefficients when the white field brightness is not equal to the sum of the red, green, and blue field brightness, thus improving the accuracy of the correction.
[0096] Optionally, based on each gamma deviation value and its corresponding gray level, the gamma deviation curve is determined, including: determining an initial point on the gamma deviation curve based on each gamma deviation value and its corresponding gray level; and performing linear interpolation based on the initial point to obtain the gamma deviation curve.
[0097] In this context, an initial point can be understood as a point composed of each gamma deviation value and its corresponding grayscale level. For example, each gamma deviation value and its corresponding grayscale level can form an initial point. For instance, taking multiple grayscale images as examples where the grayscale values are 0%*256, 10%*256, 20%*256, 30%*256, ..., 90%*256, and 100%*256, we can determine 9 actual gamma values corresponding to 9 target grayscale images, excluding the image with the highest and lowest grayscale levels. Each actual gamma value and its corresponding grayscale level can form an initial point, thus determining 9 initial points.
[0098] Linear interpolation refers to the method of using a straight line connecting two known quantities to determine the value of an unknown quantity between those two known quantities. In this step, linear interpolation based on initial points can be understood as performing interpolation of multiple unknown quantities between the various initial points based on the curve determined by the nine initial points, and determining the value of the unknown quantity based on the determined curve. Linear interpolation based on initial points can yield a gamma deviation curve with multiple points (e.g., 4096 points).
[0099] Optionally, determining the gamma deviation of the actual gamma value based on the actual gamma value and the target gamma value includes: determining the difference between the actual gamma value and the target gamma value as the gamma deviation of the actual gamma value;
[0100] Accordingly, based on the target gamma value and the gamma deviation curve, the gamma curve is determined, including: determining the gamma curve based on the difference between the target gamma value and the corresponding value on the gamma deviation curve.
[0101] In this embodiment, when the difference between the actual gamma value and the target gamma value (i.e., the value obtained by subtracting the target gamma value from the actual gamma value) is determined as the gamma deviation value of the actual gamma value, the obtained gamma deviation value can be a positive value. Therefore, a corresponding gamma curve can be generated based on the difference between the target gamma value and the corresponding value on the gamma deviation curve. In other words, the difference between the target gamma value and the gamma deviation value corresponding to each gray level on the gamma deviation curve is determined, and a corresponding gamma curve is generated according to the correspondence between the determined differences and the corresponding gray levels.
[0102] Optionally, determining the gamma deviation of the actual gamma value based on the actual gamma value and the target gamma value includes: determining the difference between the target gamma value and the actual gamma value as the gamma deviation of the actual gamma value;
[0103] Accordingly, based on the target gamma value and the gamma deviation curve, the gamma curve is determined, including: determining the gamma curve based on the sum of the corresponding values on the target gamma value and the gamma deviation curve.
[0104] In this embodiment, when the difference between the target gamma value and the actual gamma value (i.e., the value obtained by subtracting the actual gamma value from the target gamma value) is determined as the gamma deviation value of the actual gamma value, the obtained gamma deviation value can be a negative value. Therefore, a corresponding gamma curve can be generated based on the sum of the corresponding values on the target gamma value and the gamma deviation curve. In other words, the sum of the gamma deviation values corresponding to each gray level on the gamma deviation curve is determined, and a corresponding gamma curve is generated according to the correspondence between the determined sum and the corresponding gray level.
[0105] The present invention will be described by way of example below.
[0106] Figure 4 This is a schematic diagram illustrating the implementation of a correction method provided in Embodiment 2 of the present invention. Figure 4 As shown, 1 represents the host computer; 2 represents the color temperature meter; 3 represents the display device; the specific process of this method is as follows:
[0107] S310, the display device displays 14 different screens;
[0108] For example, it can be 11 grayscale images (i.e., each grayscale image under 0%*256, 10%*256, 20%*256, ..., 100%*256), a full red field image, a full green field image, and a full blue field image, for a total of 14 images;
[0109] S320: The color temperature meter collects the color temperature and brightness values of the above 14 images, and the host computer reads the chromaticity and brightness values corresponding to the 14 images collected by the color temperature meter.
[0110] Chromaticity values can refer to color temperature coordinates, i.e., x and y coordinates; brightness values can refer to Lv values.
[0111] The S330 and host computer calculate the Gamma correction parameters (i.e., initial gamma correction coefficients) of the display device based on the color temperature and brightness values (i.e., image information) of the 14 images collected and the target Gamma value set by the user (e.g., 2.2 or 2.4).
[0112] S340: The host computer writes the Gamma correction parameters (i.e., the initial gamma correction coefficients) to the display device via the serial port.
[0113] S350, The display device displays 11 grayscale images again (i.e., the various grayscale images under 0%*256, 10%*256, 20%*256, ..., 100%*256, which are also the multiple grayscale images displayed by the display device under the initial gamma correction coefficient);
[0114] S360: The host computer collects the brightness values of the above 11 grayscale images using a color temperature meter (i.e., obtains the brightness values of multiple grayscale images displayed by the display device under the initial gamma correction coefficient), calculates and writes the actual Gamma value of each grayscale image in the 9 grayscale images (i.e., 10%*256, 20%*256, ..., 90%*256) after writing the Gamma correction parameters (i.e., the initial gamma correction coefficient):
[0115] Assuming the brightness value corresponding to a grayscale image with 0%*256 grayscale is represented as Lv0 (i.e., the minimum brightness value corresponding to the grayscale image with the smallest grayscale), the brightness value corresponding to a grayscale image with 100%*256 grayscale is represented as Lv100 (i.e., the maximum brightness value corresponding to the grayscale image with the largest grayscale), the brightness value corresponding to a grayscale image with 10%*256 grayscale is represented as Lv10 (i.e., the brightness value of the target grayscale image), and so on;
[0116] Using Lv0 and Lv100 as reference brightness values, the formula for the actual Gamma value corresponding to a 10%*256 grayscale image after correction can be expressed as:
[0117]
[0118] The calculation of the actual gamma value of other target grayscale images can be deduced in the same way.
[0119] S370. After writing the Gamma correction parameters, calculate the gamma deviation between the target Gamma value and each actual Gamma value in the above 9 grayscale images.
[0120] Gamma deviation value = Actual Gamma value - Target Gamma value;
[0121] S380. Based on the 9 gamma deviation values generated in S370, linear interpolation is performed to generate a deviation curve (i.e., gamma deviation curve) within the range of 0-4095 (a total of 4096 points). The target gamma value is subtracted from the value on the deviation curve to form a new correction target gamma value curve (i.e., the gamma curve is determined based on the difference between the target gamma value and the corresponding value on the gamma deviation curve).
[0122] For example, if the target Gamma value is 2.2, after the first Gamma correction and writing the Gamma correction parameters (i.e., writing the initial gamma correction coefficients to the display device), the actual Gamma value of a certain grayscale image is 2.4. The corresponding gamma deviation value is then 2.4 - 2.2 = 0.2. For this grayscale image, the new Gamma correction target value is: 2.2 (target Gamma value) - 0.2 (gamma deviation value) = 2.0 (the new Gamma correction target value, i.e., the adjusted gamma value). Multiple grayscale images are sequentially assigned adjusted gamma values, thus forming a gamma curve.
[0123] S390. Using a new correction target Gamma value curve (i.e., a gamma curve determined based on the target gamma value and each actual gamma value), and the image information corresponding to the above 11 grayscale images, recalculate the Gamma correction parameters (i.e., the target gamma correction coefficients) and write them into the display device.
[0124] In existing solutions, for red-green-blue-white displays (i.e., WRGB screens) or other displays where the white field brightness is not equal to the sum of the red, green, and blue field brightness, the actual Gamma value at different gray levels of the calibrated display device deviates significantly from the target Gamma value. However, the calibration method provided by this invention can reduce the deviation between the actual and target Gamma values after Gamma calibration, thus improving the accuracy of the calibration.
[0125] Example 3
[0126] Figure 5 This is a schematic diagram of a calibration device provided in Embodiment 3 of the present invention. Figure 5 As shown, the device is configured in an electronic device used to calibrate an optical inspection instrument, which may include a light source controller, a light source, and an image acquisition device. The device includes:
[0127] The brightness determination module 410 is used to determine the white field brightness, red field brightness, green field brightness and blue field brightness under the same color level;
[0128] The gamma value determination module 420 is used to determine the actual gamma values corresponding to the multiple grayscale images displayed by the display device under the initial gamma correction coefficient if the white field brightness is not equal to the sum of the red field brightness, green field brightness and blue field brightness under the same color level. The multiple grayscale images correspond to different grayscale levels.
[0129] The curve determination module 430 is used to determine a gamma curve based on the target gamma value and each of the actual gamma values, wherein the gamma curve represents the adjusted gamma value corresponding to different gray levels.
[0130] The coefficient determination module 440 is used to determine the target gamma correction coefficient of the display device based on the gamma curve and the image information corresponding to the multiple grayscale images.
[0131] The device first determines the white, red, green, and blue brightness levels at the same color level using a brightness determination module 410. Then, using a gamma value determination module 420, if the white brightness at the same color level is not equal to the sum of the red, green, and blue brightness levels, it determines the actual gamma values corresponding to the multiple grayscale images displayed by the display device under the initial gamma correction coefficient. These multiple grayscale images correspond to different grayscale levels. Next, using a curve determination module 430, a gamma curve is determined based on the target gamma value and the actual gamma values. The gamma curve represents the adjusted gamma value corresponding to different grayscale levels. Finally, using a coefficient determination module 440, the target gamma correction coefficient for the display device is determined based on the gamma curve and the image information corresponding to the multiple grayscale images. The device determines the adjusted gamma value by using the actual gamma values of multiple grayscale images under the initial gamma correction coefficient and the target gamma value. Based on the adjusted gamma value and the image information of multiple grayscale images, the corresponding target gamma correction coefficient is recalculated. This solves the problem of inaccurate initial gamma correction coefficients when the white field brightness is not equal to the sum of the red field brightness, green field brightness and blue field brightness, thus improving the accuracy of correction.
[0132] Optionally, the curve determination module 430 includes:
[0133] A deviation value determination unit is used to determine the gamma deviation value of each actual gamma value based on the actual gamma value and the target gamma value.
[0134] The deviation curve determination unit is used to determine the gamma deviation curve based on each gamma deviation value and the corresponding gray level. The gamma deviation curve represents the correspondence between different gray levels and the corresponding gamma deviation values.
[0135] The gamma curve determination unit is used to determine the gamma curve based on the target gamma value and the gamma deviation curve.
[0136] Optional, the deviation curve determination unit includes:
[0137] An initial point determination subunit is used to determine the initial point on the gamma deviation curve based on each of the gamma deviation values and the corresponding gray levels.
[0138] A linear interpolation subunit is used to perform linear interpolation based on the initial point to obtain the gamma deviation curve.
[0139] Optionally, determining the gamma deviation value of the actual gamma value based on the actual gamma value and the target gamma value includes:
[0140] The difference between the actual gamma value and the target gamma value is determined as the gamma deviation value of the actual gamma value;
[0141] Accordingly, determining the gamma curve based on the target gamma value and the gamma deviation curve includes:
[0142] The gamma curve is determined based on the difference between the target gamma value and the corresponding value on the gamma deviation curve.
[0143] Optionally, determining the gamma deviation value of the actual gamma value based on the actual gamma value and the target gamma value includes:
[0144] The difference between the target gamma value and the actual gamma value is determined as the gamma deviation value of the actual gamma value;
[0145] Accordingly, determining the gamma curve based on the target gamma value and the gamma deviation curve includes:
[0146] The gamma curve is determined based on the sum of the target gamma value and the corresponding value on the gamma deviation curve.
[0147] Optionally, the brightness determination module 410 includes:
[0148] The brightness determination subunit is used to determine the white field brightness, red field brightness, green field brightness, and blue field brightness for each color level in the color level set.
[0149] Optionally, the gamma value determination module 420 includes:
[0150] The brightness value acquisition unit is used to acquire the brightness values of multiple grayscale images displayed by the display device under the initial gamma correction coefficient;
[0151] The reference brightness value determination unit is used to take the maximum brightness value corresponding to the grayscale image with the largest grayscale and the minimum brightness value corresponding to the grayscale image with the smallest grayscale as the reference brightness value.
[0152] The gamma value determination unit is used to determine the actual gamma value corresponding to the target grayscale image based on the brightness value of the target grayscale image and the reference brightness value. The target grayscale image is the grayscale image other than the grayscale image with the largest grayscale and the grayscale image with the smallest grayscale among the multiple grayscale images displayed.
[0153] The calibration device provided in the embodiments of the present invention can execute the calibration method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the method.
[0154] Example 4
[0155] Figure 6 This is a schematic diagram of an electronic device according to Embodiment 4 of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0156] like Figure 6 As shown, the electronic device 10 includes at least one processor 11 and a storage device, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The storage device stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0157] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0158] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as correction methods.
[0159] In some embodiments, the correction method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the correction method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the correction method by any other suitable means (e.g., by means of firmware).
[0160] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0161] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0162] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0163] To provide interaction with a user, the systems and techniques described herein can be implemented on a terminal device having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the terminal device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0164] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0165] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0166] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0167] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A calibration method, characterized in that, The method includes: Determine the white point brightness, red point brightness, green point brightness, and blue point brightness at the same color level; If, under the same color level, the white field brightness is not equal to the sum of the red field brightness, green field brightness, and blue field brightness, then the actual gamma values corresponding to the multiple grayscale images displayed by the display device under the initial gamma correction coefficient are determined, and the grayscale images correspond to different grayscale levels. Based on the target gamma value and each of the actual gamma values, a gamma curve is determined, wherein the gamma curve represents the adjusted gamma value corresponding to different gray levels. Based on the gamma curve and the image information corresponding to the multiple grayscale images, the target gamma correction coefficient of the display device is determined; The determination of the gamma curve based on the target gamma value and each of the actual gamma values includes: For each actual gamma value, a gamma deviation value is determined based on the actual gamma value and the target gamma value; Based on each of the gamma deviation values and the corresponding gray levels, a gamma deviation curve is determined, wherein the gamma deviation curve represents the correspondence between different gray levels and the corresponding gamma deviation values; Based on the target gamma value and the gamma deviation curve, determine the gamma curve; The step of determining the gamma deviation value of the actual gamma value based on the actual gamma value and the target gamma value includes: The difference between the actual gamma value and the target gamma value is determined as the gamma deviation value of the actual gamma value; Accordingly, determining the gamma curve based on the target gamma value and the gamma deviation curve includes: The gamma curve is determined based on the difference between the target gamma value and the corresponding value on the gamma deviation curve. or, The determination of the gamma deviation value of the actual gamma value based on the actual gamma value and the target gamma value includes: The difference between the target gamma value and the actual gamma value is determined as the gamma deviation value of the actual gamma value; Accordingly, determining the gamma curve based on the target gamma value and the gamma deviation curve includes: The gamma curve is determined based on the sum of the target gamma value and the corresponding value on the gamma deviation curve.
2. The method according to claim 1, characterized in that, The determination of the gamma deviation curve based on each gamma deviation value and its corresponding gray level includes: Based on each of the gamma deviation values and the corresponding gray levels, the initial point on the gamma deviation curve is determined; Linear interpolation is performed based on the initial point to obtain the gamma deviation curve.
3. The method according to claim 1, characterized in that, Determining the white point brightness, red point brightness, green point brightness, and blue point brightness at the same color level includes: Determine the white point brightness, red point brightness, green point brightness, and blue point brightness for each color level in the color level set.
4. The method according to claim 1, characterized in that, The determination of the actual gamma values corresponding to the multiple grayscale images displayed by the display device under the initial gamma correction coefficient includes: Obtain the brightness values of multiple grayscale images displayed by the display device under the initial gamma correction factor; The maximum brightness value corresponding to the grayscale image with the highest grayscale and the minimum brightness value corresponding to the grayscale image with the lowest grayscale are used as the reference brightness values. For a target grayscale image, based on the brightness value of the target grayscale image and the reference brightness value, the actual gamma value corresponding to the target grayscale image is determined. The target grayscale image is the grayscale image other than the grayscale image with the largest grayscale and the grayscale image with the smallest grayscale among the multiple grayscale images displayed.
5. A calibration device, characterized in that, The device includes: The brightness determination module is used to determine the brightness of the white field, red field, green field, and blue field at the same color level. The gamma value determination module is used to determine the actual gamma values corresponding to the multiple grayscale images displayed by the display device under the initial gamma correction coefficient if the white field brightness is not equal to the sum of the red field brightness, green field brightness and blue field brightness under the same color level. The multiple grayscale images correspond to different grayscale levels. The curve determination module is used to determine a gamma curve based on the target gamma value and each of the actual gamma values, wherein the gamma curve represents the adjusted gamma value corresponding to different gray levels; The coefficient determination module is used to determine the target gamma correction coefficient of the display device based on the gamma curve and the image information corresponding to the multiple grayscale images; The curve determination module includes: A deviation value determination unit is used to determine the gamma deviation value of each actual gamma value based on the actual gamma value and the target gamma value. The deviation curve determination unit is used to determine the gamma deviation curve based on each gamma deviation value and the corresponding gray level. The gamma deviation curve represents the correspondence between different gray levels and the corresponding gamma deviation values. A gamma curve determination unit is used to determine a gamma curve based on the target gamma value and the gamma deviation curve. The step of determining the gamma deviation value of the actual gamma value based on the actual gamma value and the target gamma value includes: The difference between the actual gamma value and the target gamma value is determined as the gamma deviation value of the actual gamma value; The step of determining the gamma curve based on the target gamma value and the gamma deviation curve includes: The gamma curve is determined based on the difference between the target gamma value and the corresponding value on the gamma deviation curve. Alternatively, determining the gamma deviation value of the actual gamma value based on the actual gamma value and the target gamma value includes: The difference between the target gamma value and the actual gamma value is determined as the gamma deviation value of the actual gamma value; The step of determining the gamma curve based on the target gamma value and the gamma deviation curve includes: The gamma curve is determined based on the sum of the target gamma value and the corresponding value on the gamma deviation curve.
6. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-4.
Citation Information
Patent Citations
Gamma value adjusting method and device for display panel and display device
CN109147707A
Method of operating an organic light emitting display device, and organic light emitting display device
US20140085170A1