Brightness correction method, brightness correction device, and computer readable medium
By acquiring brightness values using a color camera and brightness measurement equipment, calculating correction coefficients, and converting images, the problem of uneven brightness caused by color camera filters was solved, achieving more accurate brightness correction and improved image quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-04
- Publication Date
- 2026-03-20
AI Technical Summary
Existing technologies exhibit uneven brightness when converting color images captured by color cameras to grayscale images, affecting the quality of the displayed image. This is especially true during the evolution from Mono Demura technology to Color Demura technology, where the uneven brightness caused by color camera filters cannot be effectively corrected.
Multiple brightness values are acquired using a color camera and a brightness measurement device. The correction coefficients of the color camera and the brightness measurement device are calculated. These correction coefficients are then used to convert the image under test into a target grayscale image, reducing the brightness unevenness caused by the color camera filter and improving the accuracy of brightness correction.
It achieves more accurate brightness correction, reduces uneven brightness caused by color camera filters, and improves the quality of displayed images.
Smart Images

Figure CN117524142B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of display panel correction, and in particular to a brightness correction method, a brightness correction device and a computer readable medium. BACKGROUND
[0002] With the development of display technology, the display quality requirements are also getting higher and higher, especially for VA type liquid crystal display, display mura phenomenon is one of the major problems affecting the display quality, therefore, it is necessary to further improve the demura technology, so as to meet the higher display quality requirements.
[0003] In the related art, the Demura technology is mainly divided into two kinds. One is Mono Demura technology, which corrects the brightness non-uniformity; the other is Color Demura technology, which corrects the brightness and chroma non-uniformity at the same time. The technology currently used by LCD factories is gradually evolving from Mono Demura technology to Color Demura technology. In view of production efficiency, a color camera is selected for Color Demura. In order to make the Demura equipment simultaneously consider Mono Demura function, the data of the color camera needs to be processed to match the compensation of Mono Demura to the display quality.
[0004] Among them, the color camera has a Bayer array filter, and the missing color channel is filled by an interpolation algorithm. This is obviously redundant for Mono Demura, because Mono Demura only needs to correct the brightness non-uniformity, and does not need to correct the chroma non-uniformity. Therefore, it is necessary to convert the color image captured by the color camera into a gray scale image, and then use the Mono Demura function.
[0005] There are usually two methods to convert a color image into a gray scale image. One is the average method, which averages the RGB values of the color image pixels as the gray scale of the same position pixel in the gray scale image; the other is the weighted average method, which uses the perception characteristics of the human eye to different colors to assign different weight coefficients to different color channels, for example, Y=0.2989*R+0.5870*G+0.1140*B, Y is the gray scale of the pixel in the gray scale image, and R, G and B are different color components of the same pixel in the color image. However, the above two processing methods will cause the processed image to have a gray scale non-uniformity phenomenon as shown in Figure 1 Figure 1 In the current display image 1, there is an image area 10 in which the abnormal gray scale 101 and the abnormal gray scale 102 are obviously different from the target gray scale 103, so that the display image appears the phenomenon of gray scale unevenness. At the same time, since the brightness is positively correlated with the gray scale, when the gray scale is uneven, the brightness of the display image is also uneven, which affects the quality of the display image. SUMMARY
[0006] Therefore, the present application provides a brightness correction method, a brightness correction device and a computer readable medium, which can obtain a more real target gray scale image through matching the data of the color camera and the data of the brightness measuring device, reduce the brightness unevenness phenomenon caused by the color camera filter, and improve the accuracy of brightness correction.
[0007] According to an aspect of the present application, a brightness correction method is provided, which includes: controlling a display device to display at least one test image, the test image including a plurality of display areas with different gray scales and belonging to the same color; issuing a shooting instruction to a color camera to obtain a plurality of first brightness values corresponding to different colors of a same target area of different test images; issuing a measurement instruction to a brightness measuring device to obtain a plurality of second brightness values corresponding to different colors of the same target area of different test images; calculating first and second correction coefficients of the color camera according to the plurality of first brightness values and the plurality of second brightness values; converting the test image into a target gray scale image based on the first and second correction coefficients; and performing brightness correction on a target display panel using the target gray scale image.
[0008] In an embodiment, the controlling the display device to display at least one test image includes: controlling the display device to sequentially display a red test image, a green test image and a blue test image; and respectively calibrating the red test image, the green test image and the blue test image to obtain a red target area in the red test image, a green target area in the green test image and a blue target area in the blue test image, the red target area, the green target area and the blue target area being the same target area.
[0009] In an embodiment, the issuing a shooting instruction to the color camera to obtain a plurality of first brightness values corresponding to different colors of a same target area of different test images includes: issuing a shooting instruction to the color camera; receiving first color data returned by the color camera; and extracting a first red brightness value corresponding to red, a first green brightness value corresponding to green and a first blue brightness value corresponding to blue from the first color data.
[0010] In an embodiment, the first red luminance value corresponding to the red color, the first green luminance value corresponding to the green color, and the first blue luminance value corresponding to the blue color are extracted from the color image data, including: averaging the luminance values of all the pixels in the red target region, the luminance values of all the pixels in the green target region, and the luminance values of all the pixels in the blue target region, respectively, to obtain the first red luminance value corresponding to the red target region, the first green luminance value corresponding to the green target region, and the first blue luminance value corresponding to the blue target region.
[0011] In an embodiment, the measuring instructions are sent to the luminance measuring device to obtain a plurality of second luminance values corresponding to different colors of the same target region of different images to be measured, including: sending the measuring instructions to the luminance measuring device; receiving the second color data returned by the luminance measuring device; and extracting the second red luminance value corresponding to the red color, the second green luminance value corresponding to the green color, and the second blue luminance value corresponding to the blue color from the second color data.
[0012] In an embodiment, the second red luminance value corresponding to the red color, the second green luminance value corresponding to the green color, and the second blue luminance value corresponding to the blue color are extracted from the second color data, including: extracting the second red luminance value of the entire red target region, the second green luminance value of the entire green target region, and the second blue luminance value of the entire blue target region, respectively.
[0013] In an embodiment, the first correction coefficient and the second correction coefficient of the color camera are calculated according to the plurality of first luminance values and the plurality of second luminance values, including: calculating the first correction coefficient of the color camera according to the first red luminance value, the first green luminance value, the second red luminance value, and the second green luminance value; and calculating the second correction coefficient of the color camera according to the first blue luminance value, the first green luminance value, the second blue luminance value, and the second green luminance value.
[0014] In an embodiment, the image to be measured is converted into a target gray scale image based on the first correction coefficient and the second correction coefficient, including: obtaining the red channel value, the green channel value, and the blue channel value of any pixel in the image to be measured; configuring the proportions of the red channel value, the green channel value, and the blue luminance value as α:1:β, where α is the first correction coefficient and β is the second correction coefficient; obtaining the target gray scale of the target pixel corresponding to the any pixel in the target gray scale image based on the proportions of the red channel value, the green channel value, and the blue luminance value; and generating a target gray scale image based on the target gray scale.
[0015] According to another aspect of the present application, a luminance correction device is provided, which comprises a processor and a storage device for storing one or more programs, which when executed by the processor, cause the processor to implement the luminance correction method.
[0016] According to another aspect of the present application, a computer readable medium is provided, which stores a computer program, which when executed by a processor, implements the luminance correction method.
[0017] By acquiring a plurality of first luminance values by using a color camera, acquiring a plurality of second luminance values by using a luminance measuring device, and calculating first and second correction coefficients according to the first and second luminance values, and then distributing weight coefficients for converting a to-be-tested image into a target gray scale image based on the first and second correction coefficients, according to aspects of the present application, a more real target gray scale image can be obtained by matching data of the color camera with data of the luminance measuring device, luminance non-uniformity caused by a filter of the color camera is reduced, and the accuracy of luminance correction is improved. BRIEF DESCRIPTION OF DRAWINGS
[0018] The technical solutions and other beneficial effects of the present application will become apparent from the following detailed description of the specific embodiments of the present application, taken in conjunction with the accompanying drawings.
[0019] Figure 1 A schematic diagram showing gray scale non-uniformity in the related art is shown.
[0020] Figure 2 A flow chart showing a luminance correction method according to an embodiment of the present application is shown.
[0021] Figure 3 A schematic diagram showing a luminance correction method according to an embodiment of the present application is shown.
[0022] Figure 4 A schematic diagram showing a luminance correction system according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0023] The technical solutions and other beneficial effects of the present application will become apparent from the following detailed description of the specific embodiments of the present application, taken in conjunction with the accompanying drawings.
[0024] In the description of the application, it needs to be understood that the orientation or positional relationship indicated by the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise" and the like are based on the orientation or positional relationship shown in the drawings, and are only for the purpose of facilitating the description of the application and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the application. In addition, the terms "first", "second" are only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first", "second" can be explicitly or implicitly included one or more of the features. In the description of the application, the meaning of "a plurality of" is two or more, unless otherwise explicitly specified and limited.
[0025] In the description of the application, it needs to be understood that the terms "mounting", "connecting", "connecting" should be understood broadly, for example, it can be fixedly connected, or it can be detachably connected, or integrally connected; it can be mechanically connected, or it can be electrically connected or can communicate with each other; it can be directly connected, or indirectly connected through an intermediate medium, or it can be the internal communication of two elements or the interaction relationship between two elements. For those skilled in the art, the specific meaning of the above terms in the application can be understood according to the specific circumstances.
[0026] The following disclosure provides many different embodiments or examples for implementing different structures of the application. In order to simplify the disclosure of the application, the components and arrangements of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the application. In addition, the application can repeatedly refer to numbers and / or letters in different examples, and such repetition is for the purpose of simplification and clarity, which itself does not indicate the relationship between the various embodiments and / or arrangements discussed. In addition, the application provides examples of various specific processes and materials, but those skilled in the art can realize the application of other processes and / or the use of other materials. In some examples, methods, means, elements and circuits well known to those skilled in the art are not described in detail, in order to highlight the main idea of the application.
[0027] Figure 2 A flowchart of a brightness correction method according to an embodiment of the application is shown. As shown in Figure 2 The brightness correction method comprises:
[0028] Step S1: controlling the display device under test to display at least one test image, the test image comprising a plurality of display regions, the plurality of display regions having different gray scales and belonging to the same color;
[0029] In some embodiments, the display device under test can also be a standard light source, an integrating sphere, or other devices that can be used to display images. For the convenience of description, the display device under test is taken as a display panel in the following description.
[0030] In some embodiments, the test image can also be a test image of other colors, such as a white test image, so as to further compare the brightness.
[0031] In some embodiments, the overall size of different test images can be the same. Each test image can comprise a plurality of display regions, the gray scale of different pixels in each display region can be the same, and the gray scale of different display regions can be different. For example, the bit depth of the test image is 8 bits, and there are 256 gray scale levels. The number of display regions can be equal to the number of gray scale levels, and there are also 256 display regions. Each display region can be used to display a fixed gray scale level.
[0032] For a test image, the color displayed by the test image is fixed. For example, a red test image can display 256 gray scale levels of red. Although the gray scales of the plurality of display regions in the red test image are different, the display regions all display the same color.
[0033] Further, the controlling the display device under test to display at least one test image comprises:
[0034] Step S11: controlling the display device under test to display a red test image, a green test image, and a blue test image in sequence.
[0035] In some embodiments, the red test image, the green test image, and the blue test image can be displayed in turn by the display device under test. The display order of the red test image, the green test image, and the blue test image can be determined according to requirements, and the present application is not limited in this regard.
[0036] Step S12: calibrating the red test image, the green test image and the blue test image respectively to obtain a red target region in the red test image, a green target region in the green test image and a blue target region in the blue test image, wherein the red target region, the green target region and the blue target region are the same target region.
[0037] In an embodiment, the red target region, the green target region or the blue target region are the same target region. That is, the outer contour shapes of the red target region, the green target region and the blue target region can be the same. For example, the outer contour shapes of the red target region, the green target region and the blue target region can all be circular. Moreover, the positions of the red target region, the green target region and the blue target region can be the same. For example, the red target region can be located in the middle of the red test image, the green target region can be located in the middle of the green test image, and the blue target region can be located in the middle of the blue test image.
[0038] Step S2: issuing a photographing instruction to the color camera to obtain a plurality of first luminance values corresponding to different colors of the same target region of different test images;
[0039] In an embodiment, the color camera can be arranged on one side of the test display device to photograph at least one of the test images according to the received photographing instruction. Specifically, the color camera can sequentially photograph the red target region of the red test image, the green target region of the green test image and the blue target region of the blue test image displayed by the test display device in turn.
[0040] Further, a photographing instruction is issued to the color camera to obtain a plurality of first luminance values corresponding to different colors of the same target region of different test images.
[0041] Step S21: issuing a photographing instruction to the color camera;
[0042] In an embodiment, the color camera can be electrically connected to the luminance correction device in a wired manner. For example, the luminance correction device can be a computer. The computer can be installed with camera control software for issuing a photographing instruction to the color camera, wherein the photographing instruction can include a photographing request and coordinate information of the region to be photographed, so that the color camera photographs the target region of the test image at a specific time.
[0043] Step S22: receiving first color data returned by the color camera;
[0044] In an embodiment, the luminance correction device can receive first color data returned by the color camera. The first color data can include luminance values of each pixel of a target region of the color image to be measured.
[0045] In an embodiment, there is a positive correlation between the gray scale and the luminance, that is, the greater the gray scale, the higher the luminance; the smaller the gray scale, the lower the luminance. Therefore, in this application, the luminance value can be represented by the gray scale. Of course, in order to more accurately represent the luminance value, the gray scale and a preset coefficient can also be used to represent the luminance value, but this preset coefficient will be eliminated in the subsequent calculation of the ratio.
[0046] Step S23: extracting a first red luminance value corresponding to red, a first green luminance value corresponding to green, and a first blue luminance value corresponding to blue from the first color data.
[0047] The first luminance value can be the first red luminance value, the first green luminance value, or the first blue luminance value.
[0048] It should be noted that the color camera is installed with a filter of a Bayer array. Normally, when a color image is captured by using an ideal camera without a filter, the ideal camera collects three color channel values of each pixel, i.e. R value, G value and B value. However, the filter of the Bayer array collects a single color channel value of each pixel point, and the other two color channel values are missing, which are usually filled by an interpolation algorithm. This results in a difference between the three color channel values output by the color camera and the real image, and further causes inaccurate gray scale correction in the later stage. Therefore, after receiving the first color data, the first red luminance value corresponding to red, the first green luminance value corresponding to green, and the first blue luminance value corresponding to blue can be extracted from the first color data, so that the filled color channel values can be filtered out, and the data consistent with the real image to be measured can be retained.
[0049] Further, extracting the first red luminance value corresponding to red, the first green luminance value corresponding to green, and the first blue luminance value corresponding to blue from the color image data includes:
[0050] Step S231: averaging the luminance values of all pixel points in the red target region, the luminance values of all pixel points in the green target region, and the luminance values of all pixel points in the blue target region, respectively, to obtain the first red luminance value corresponding to the red target region, the first green luminance value corresponding to the green target region, and the first blue luminance value corresponding to the blue target region.
[0051] In an embodiment, the first red luminance value corresponding to the red target region can be obtained by adding the luminance values of all the pixels in the red target region and dividing the sum by the number of the pixels. Similarly, the first green luminance value corresponding to the green target region can be obtained by adding the luminance values of all the pixels in the green target region and dividing the sum by the number of the pixels; and the first blue luminance value corresponding to the blue target region can be obtained by adding the luminance values of all the pixels in the blue target region and dividing the sum by the number of the pixels.
[0052] Step S3: issuing a measurement instruction to the luminance measuring device to obtain a plurality of second luminance values corresponding to different colors of the same target region of different images to be measured;
[0053] In an embodiment, the luminance measuring device can be a standard colorimeter. The colorimeter can decompose the light emitted by a sample into a spectrum, and then quantify the absorption, reflection and transmission characteristics of different wavelengths of colors in the spectrum into digital data to describe the color properties of the image. The colorimeter can be used to obtain a plurality of second luminance values corresponding to different colors of the same target region of different images to be measured.
[0054] In an embodiment, the luminance measuring device can be arranged on one side of the display device to be measured. The luminance measuring device can be used to take pictures at the same time as the color camera, or can be used to take pictures at different times. Therefore, steps S2 and S3 can be performed simultaneously or in sequence. It can be understood that the present application does not limit the working order of the luminance measuring device and the color camera.
[0055] Further, the luminance measuring device is instructed to measure a plurality of second luminance values corresponding to different colors of the same target region of different images to be measured, including:
[0056] Step S31: issuing a measurement instruction to the luminance measuring device;
[0057] In an embodiment, the luminance measuring device can be electrically connected to the luminance correction device by a wired manner. In the case that the luminance correction device is a computer, the computer can be further installed with colorimeter control software for issuing a measurement instruction to the luminance measuring device. The measurement instruction can include a measurement request and coordinate information of a region to be measured, so that the luminance measuring device measures the target region of the image to be measured at a specific time.
[0058] Step S32: receiving second color data returned by the luminance measuring device;
[0059] In an embodiment, the luminance correction device can receive second color data returned by the luminance measuring device. The second color data can include luminance values of the whole target area of different colors to be measured.
[0060] Step S33: extracting a second red luminance value corresponding to red, a second green luminance value corresponding to green, and a second blue luminance value corresponding to blue from the second color data.
[0061] The second luminance value can be the second red luminance value, the second green luminance value, or the second blue luminance value.
[0062] Further, extracting a second red luminance value corresponding to red, a second green luminance value corresponding to green, and a second blue luminance value corresponding to blue from the second color data includes:
[0063] Step S331: extracting a second red luminance value of the whole red target area, a second green luminance value of the whole green target area, and a second blue luminance value of the whole blue target area, respectively.
[0064] In an embodiment, since the luminance values of the whole target area can be obtained by using the luminance measuring device, the second red luminance value of the whole red target area, the second green luminance value of the whole green target area, and the second blue luminance value of the whole blue target area can be directly extracted.
[0065] Step S4: calculating first correction coefficients and second correction coefficients of the color camera according to the first luminance values and the second luminance values.
[0066] In an embodiment, the first correction coefficients and the second correction coefficients of the color camera can be calculated based on green, i.e., the first correction coefficients are calculated based on the first green luminance value, and the second correction coefficients are calculated based on the second green luminance value. The luminance value of green appears twice here. This is because the filters of the Bayer array are arranged in the proportion of (red: green: blue) (1:2:1), and the green component is more than the red component and the blue component. Therefore, the embodiments of the present application calculate the first correction coefficients and the second correction coefficients of the color camera based on green, which can match the filter settings of the color camera itself, and since the obtained second luminance values are real, the color camera can be matched with the real display panel, the accuracy of luminance correction is improved, and the mura phenomenon caused by the color camera filter is reduced.
[0067] Further, calculating the first correction coefficients and the second correction coefficients of the color camera according to the first luminance values and the second luminance values includes:
[0068] Step S41: calculating a first correction coefficient of the color camera according to the first red luminance value, the first green luminance value, the second red luminance value and the second green luminance value;
[0069] In an embodiment, the first red luminance value is denoted as Rt, the first green luminance value is denoted as Gt, the first blue luminance value is denoted as Bt, the first correction coefficient is denoted as a, the second red luminance value is denoted as Rc, the second green luminance value is denoted as Gc, and the second blue luminance value is denoted as Bc. The first correction coefficient of the color camera according to the first red luminance value, the first green luminance value, the second red luminance value and the second green luminance value can be calculated by using the following formula (1):
[0070]
[0071] wherein Rt / Gt is the luminance ratio of the image to be measured collected by the color camera, Rc / Gc is the luminance ratio of the image to be measured collected by the luminance measuring device, and the first correction coefficient a can be used to fit the red difference between the real image and the ideal image caused by the filter of the color camera.
[0072] Step S42: calculating a second correction coefficient of the color camera according to the first blue luminance value, the first green luminance value, the second blue luminance value and the second green luminance value.
[0073] In an embodiment, the second correction coefficient of the color camera according to the first blue luminance value, the first green luminance value, the second blue luminance value and the second green luminance value can be calculated by using the following formula (1):
[0074]
[0075] wherein Bt / Gt is the luminance ratio of the image to be measured collected by the color camera, Bc / Gc is the luminance ratio of the image to be measured collected by the luminance measuring device, and the second correction coefficient β can be used to fit the blue difference between the real image and the ideal image caused by the filter of the color camera.
[0076] It should be noted that the first correction coefficient and the second correction coefficient can be dynamically changed. In the laboratory test, the first correction coefficient and the second correction coefficient can be adjusted according to different devices to be measured and targets to be measured.
[0077] Step S5: converting the image to be measured into a target gray scale image based on the first correction coefficient and the second correction coefficient;
[0078] Further, converting the image to be measured into a target gray scale image based on the first correction coefficient and the second correction coefficient comprises:
[0079] Step S51: obtaining a red channel value, a green channel value and a blue channel value of any pixel in the image to be measured.
[0080] In an embodiment, the red channel value can be the second red luminance value, the green channel value can be the second green luminance value, and the blue channel value can be the blue channel value.
[0081] Step S52: configuring the ratio of the red channel value, the green channel value and the blue luminance value as (α:1:β), where α is the first correction coefficient and β is the second correction coefficient.
[0082] In an embodiment, the first weight coefficient of the red channel value is α / (α+β+1), the second weight coefficient of the green channel value is 1 / (α+β+1), and the third weight coefficient of the green channel value is β / (α+β+1). The ratio of the first weight coefficient, the second weight coefficient and the third weight coefficient is (α:1:β).
[0083] Step S53: obtaining a target gray scale of a target pixel corresponding to the any pixel in the target gray scale image based on the ratio of the red channel value, the green channel value and the blue luminance value.
[0084] In an embodiment, obtaining the target gray scale of the target pixel corresponding to the any pixel in the target gray scale image based on the ratio of the red channel value, the green channel value and the blue luminance value can be represented by the following formula (3):
[0085]
[0086] Where Y is the target gray scale of the target pixel corresponding to the any pixel.
[0087] Step S54: generating a target gray scale image based on the target gray scale.
[0088] In an embodiment, the target gray scale can be multiple. Redisplaying multiple target gray scales on a display panel can obtain the target gray scale image.
[0089] Step S6: performing luminance correction on a target display panel using the target gray scale image.
[0090] In an embodiment, luminance correction can be performed on a target display panel based on the target gray scale image. Since the target gray scale image has solved the problem of mismatch between the color camera filter and the actual image, performing luminance correction on the target display panel based on the target gray scale image can make the correction of luminance more accurate.
[0091] Figure 3A schematic diagram of the brightness correction method of the embodiments of the present application is shown. As shown in Figure 3 In one example, briefly, first, an RGB image can be acquired by using a color camera, then the RGB image is converted into a grayscale image (or gray scale image) based on the first correction coefficient and the second correction coefficient, then the mura compensation value is calculated by using the grayscale image, and finally the compensation value is burned into the LCD display.
[0092] Figure 4 A schematic diagram of the brightness correction system of the embodiments of the present application is shown. Referring to Figure 4 The brightness correction system of the present application can include a brightness measurement device 41, a color camera 42, a brightness correction device 43, and a display panel 44. The brightness correction device 43 can be a computer, and the brightness correction device 43 can be electrically connected to the display panel 44. The brightness correction device includes a processor and a storage device for storing one or more programs, which, when executed by the processor, cause the processor to implement the brightness correction method.
[0093] In addition, the present application also provides a computer readable medium having a computer program stored thereon, which, when executed by a processor, implements the brightness correction method.
[0094] In summary, the present application acquires a plurality of first brightness values by using a color camera, acquires a plurality of second brightness values by using a brightness measurement device, and calculates a first correction coefficient and a second correction coefficient according to the first brightness values and the second brightness values, and then distributes a weight coefficient for converting a to-be-measured image into a target gray scale image based on the first correction coefficient and the second correction coefficient. A more realistic target gray scale image can be obtained by matching the data of the color camera with the data of the brightness measurement device, the brightness non-uniformity phenomenon caused by the color camera filter is reduced, and the accuracy of brightness correction is improved.
[0095] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.
[0096] The brightness correction method, brightness correction device, and computer readable medium provided by the embodiments of the present application are described in detail above, and the principles and implementation manners of the present application are described by applying specific examples. The above description of the embodiments is only used to help understand the technical solutions and core ideas of the present application; those skilled in the art should understand that the technical solutions recorded in the above embodiments can be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A brightness correction method, characterized in that, include: The device under test is controlled to display at least one image to be tested, the image to be tested comprising multiple display areas, the multiple display areas having different gray levels and belonging to the same color; Send a shooting command to the color camera to acquire multiple first brightness values of different colors for the same target area in different images to be tested; A measurement command is sent to the brightness measurement device to obtain multiple second brightness values of different colors for the same target area in different images under test; The first correction coefficient and the second correction coefficient of the color camera are calculated based on a plurality of the first brightness values and a plurality of the second brightness values; The image under test is converted into a target grayscale image based on the first correction coefficient and the second correction coefficient; The target grayscale image is used to perform brightness correction on the target display panel; The process of converting the image under test into a target grayscale image based on the first correction coefficient and the second correction coefficient includes: Obtain the red channel value, green channel value, and blue channel value of any pixel in the image to be tested; The ratio of the red channel value, green channel value, and blue brightness value is configured as α:1:β, where α is the first correction coefficient and β is the second correction coefficient; The target grayscale of the target pixel corresponding to any pixel in the target grayscale image is obtained based on the ratio of the red channel value, green channel value and blue brightness value. Generate a target grayscale image based on the target grayscale.
2. The brightness correction method according to claim 1, characterized in that, The control of the display device under test to display at least one image under test includes: The device under test is controlled to sequentially display the red image under test, the green image under test, and the blue image under test. The red, green, and blue images to be tested are calibrated respectively to obtain the red target region in the red image, the green target region in the green image, and the blue target region in the blue image. The red target region, the green target region, and the blue target region are the same target region.
3. The brightness correction method according to claim 2, characterized in that, A recording command is sent to the color camera to acquire multiple first brightness values of different colors for the same target area in different images under test. Send a recording command to the color camera; Receive the first color data returned by the color camera; Extract the first red luminance value corresponding to red, the first green luminance value corresponding to green, and the first blue luminance value corresponding to blue from the first color data.
4. The brightness correction method according to claim 3, characterized in that, Extracting a first red luminance value corresponding to red, a first green luminance value corresponding to green, and a first blue luminance value corresponding to blue from the first color data includes: The brightness values of all pixels in the red target region, the green target region, and the blue target region are averaged respectively to obtain the first red brightness value corresponding to the red target region, the first green brightness value corresponding to the green target region, and the first blue brightness value corresponding to the blue target region.
5. The brightness correction method according to claim 4, characterized in that, Sending a measurement command to a luminance measurement device to acquire multiple second luminance values corresponding to different colors for the same target area in different images under test, including: Send a measurement command to the brightness measurement device; Receive the second color data returned by the brightness measurement device; Extract the second red luminance value corresponding to red, the second green luminance value corresponding to green, and the second blue luminance value corresponding to blue from the second color data.
6. The brightness correction method according to claim 5, characterized in that, Extracting the second red luminance value corresponding to red, the second green luminance value corresponding to green, and the second blue luminance value corresponding to blue from the second color data includes: The second red brightness value of the entire red target area, the second green brightness value of the entire green target area, and the second blue brightness value of the entire blue target area are extracted respectively.
7. The brightness correction method according to claim 6, characterized in that, Calculating a first correction coefficient and a second correction coefficient for the color camera based on a plurality of first brightness values and a plurality of second brightness values includes: The first correction coefficient of the color camera is calculated based on the first red brightness value, the first green brightness value, the second red brightness value, and the second green brightness value; The second correction coefficient of the color camera is calculated based on the first blue brightness value, the first green brightness value, the second blue brightness value, and the second green brightness value.
8. A brightness correction device, characterized in that, The brightness correction device includes: a processor; and a storage device for storing one or more programs, which, when executed by the processor, cause the processor to implement the brightness correction method as described in any one of claims 1-7.
9. A computer-readable medium, characterized in that, It stores a computer program that, when executed by a processor, implements the brightness correction method as described in any one of claims 1-7.
Citation Information
Patent Citations
Correction method and device of display device and processor
CN112185301A