Brightness curve calibration method and device, computer device and storage medium
By obtaining a set of brightness grayscale calibration points in AMOLED display devices and using the broken lines of adjacent brightness grayscale calibration points and auxiliary calibration points, the brightness curve of the pixels is calibrated, which solves the problem of large brightness curve calibration error and improves display uniformity.
Patent Information
- Application Number
- CN202210153616.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-18
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2042-02-18
AI Technical Summary
In existing technologies, the brightness curve calibration error of AMOLED display devices is relatively large, resulting in a severe mura phenomenon and affecting the display effect.
By acquiring the original set of brightness grayscale calibration points of the pixel, selecting multiple brightness grayscale calibration points, and using the polyline of adjacent brightness grayscale calibration points and auxiliary calibration points to meet the preset brightness error conditions, the brightness curve of the pixel is calibrated.
It improves the accuracy of brightness curve calibration, reduces the mura phenomenon, and enhances the display uniformity of display devices.
Smart Images

Figure CN116665591B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image display technology, and in particular to a brightness curve calibration method, apparatus, computer equipment, storage medium, and computer program product. Background Technology
[0002] With the development of image display technology, a technology has emerged that uses AMOLED display devices to display images. This display screen is composed of independent light-emitting sub-pixel devices, such as sub-pixel thin-film transistors. Due to uncontrollable factors in the manufacturing process of these sub-pixel devices, various trace phenomena caused by uneven brightness may occur when the image is displayed through the display device, namely the mura phenomenon.
[0003] Currently, addressing the mura phenomenon in display devices typically requires calibrating each pixel. This method first determines a standard luminance curve reflecting the relationship between grayscale and brightness, and then calibrates the luminance curves of each pixel to this standard curve. However, since there is no linear correspondence between grayscale and brightness in the luminance curve, a linear piecewise linear relationship is commonly used to calibrate the luminance curve, and then the luminance curves of each pixel are calibrated to the standard curve to achieve pixel correction. However, the calibration curves currently used to calibrate pixel luminance curves have a large error compared to the actual pixel luminance curves, resulting in poor pixel correction performance. Summary of the Invention
[0004] Therefore, it is necessary to provide a brightness curve calibration method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the accuracy of calibration curves, in order to address the above-mentioned technical problems.
[0005] In a first aspect, this application provides a brightness curve calibration method, the method comprising:
[0006] Obtain the original calibration point set of the brightness grayscale corresponding to the pixel;
[0007] Determine multiple brightness grayscale calibration points selected from the original brightness grayscale calibration point set;
[0008] Select auxiliary calibration points constrained by the brightness and grayscale values of two adjacent brightness grayscale calibration points;
[0009] If the auxiliary calibration point makes the broken line connecting the two adjacent brightness grayscale calibration points and the auxiliary calibration point satisfy the preset brightness error condition, then the brightness curve of the pixel is calibrated based on the two adjacent brightness grayscale calibration points and the corresponding auxiliary calibration point.
[0010] In one embodiment, selecting auxiliary calibration points constrained by the brightness and grayscale values of two adjacent brightness grayscale calibration points includes: obtaining a first brightness grayscale calibration point with the smallest grayscale value and a second brightness grayscale calibration point with the largest grayscale value from the plurality of brightness grayscale calibration points; obtaining a first auxiliary calibration point constrained by the brightness and grayscale values of the first brightness grayscale calibration point and the brightness and grayscale values of the brightness grayscale calibration points adjacent to the first brightness grayscale calibration point, and a second auxiliary calibration point constrained by the brightness and grayscale values of the second brightness grayscale calibration point and the brightness and grayscale values of the brightness grayscale calibration points adjacent to the second brightness grayscale calibration point; and using the first auxiliary calibration point and the second auxiliary calibration point as the selected auxiliary calibration points.
[0011] In one embodiment, obtaining a first auxiliary calibration point constrained by a first brightness grayscale calibration point and the brightness and grayscale values of brightness grayscale calibration points adjacent to the first brightness grayscale calibration point includes: obtaining a first grayscale value and a first brightness value corresponding to the first brightness grayscale calibration point, and a second grayscale value and a second brightness value corresponding to the brightness grayscale calibration points adjacent to the first brightness grayscale calibration point; determining a grayscale interval based on the first grayscale value, the second grayscale value, and a pre-configured grayscale coefficient, and obtaining a constrained grayscale value from the grayscale interval; determining a brightness value interval based on the constrained grayscale value, the first brightness value, and the second brightness value, and selecting a constrained brightness value from the brightness value interval; and obtaining the first auxiliary calibration point based on the constrained grayscale value and the constrained brightness value.
[0012] In one embodiment, determining the brightness value range based on the grayscale value, the first brightness value, and the second brightness value of the first auxiliary calibration point includes: obtaining the first brightness grayscale calibration point based on the first brightness value and the second brightness value, and the first grayscale value and the second grayscale value; establishing a brightness connection line between brightness grayscale calibration points adjacent to the first brightness grayscale calibration point; determining the initial brightness value corresponding to the constrained grayscale value based on the brightness connection line; obtaining a pre-configured brightness gain coefficient; and determining the brightness value range using the initial brightness value and the brightness gain coefficient.
[0013] In one embodiment, the number of auxiliary calibration points constrained by the brightness values and grayscale values of two adjacent brightness grayscale calibration points is multiple; if the auxiliary calibration points cause the polyline connecting the two adjacent brightness grayscale calibration points and the auxiliary calibration points to satisfy a preset brightness error condition, then the brightness curve of the pixel is calibrated based on the two adjacent brightness grayscale calibration points and the corresponding auxiliary calibration points, including: selecting a verification calibration point located between the two adjacent brightness grayscale calibration points from the set of original brightness grayscale calibration points; obtaining a polyline connecting each auxiliary calibration point and the two adjacent brightness grayscale calibration points to obtain multiple candidate polylines; obtaining the brightness value of the grayscale value corresponding to the verification calibration point on each candidate polyline, determining the brightness value error of each candidate polyline based on the brightness value on each candidate polyline and the brightness value represented by the verification calibration point; and selecting the candidate polyline with the smallest brightness value error as the polyline that satisfies the preset brightness error condition.
[0014] In one embodiment, obtaining the original calibration point set of brightness grayscale corresponding to the pixel includes: obtaining a plurality of grayscale values preset for the pixel; performing gamma correction processing on each preset grayscale value to obtain the brightness value corresponding to each preset grayscale value; performing normalization processing on the brightness value, and constructing the original calibration point set of brightness grayscale based on the normalized brightness value and each grayscale value.
[0015] In one embodiment, the pixel is a display pixel included in the display device to be calibrated; after calibrating the brightness curve of the pixel, the method further includes: obtaining the brightness curves calibrated for each display pixel included in the display device to be calibrated; determining a reference brightness curve from the calibrated brightness curves; and performing calibration processing on the brightness curves calibrated for each display pixel based on the reference brightness curve.
[0016] Secondly, this application also provides a brightness curve calibration device, the device comprising:
[0017] The original brightness calibration module is used to obtain the original calibration point set of brightness grayscale corresponding to the pixel;
[0018] A brightness grayscale calibration module is used to determine multiple brightness grayscale calibration points selected from the original brightness grayscale calibration point set;
[0019] The auxiliary calibration selection module is used to select auxiliary calibration points constrained by the brightness values and grayscale values of two adjacent brightness grayscale calibration points;
[0020] The brightness curve calibration module is used to calibrate the brightness curve of the pixel based on the two adjacent brightness grayscale calibration points and the corresponding auxiliary calibration point if the auxiliary calibration point makes the broken line connecting the two adjacent brightness grayscale calibration points and the auxiliary calibration point meet the preset brightness error condition.
[0021] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0022] Obtain the original calibration point set of the brightness grayscale corresponding to the pixel;
[0023] Determine multiple brightness grayscale calibration points selected from the original brightness grayscale calibration point set;
[0024] Select auxiliary calibration points constrained by the brightness and grayscale values of two adjacent brightness grayscale calibration points;
[0025] If the auxiliary calibration point makes the broken line connecting the two adjacent brightness grayscale calibration points and the auxiliary calibration point satisfy the preset brightness error condition, then the brightness curve of the pixel is calibrated based on the two adjacent brightness grayscale calibration points and the corresponding auxiliary calibration point.
[0026] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0027] Obtain the original calibration point set of the brightness grayscale corresponding to the pixel;
[0028] Determine multiple brightness grayscale calibration points selected from the original brightness grayscale calibration point set;
[0029] Select auxiliary calibration points constrained by the brightness and grayscale values of two adjacent brightness grayscale calibration points;
[0030] If the auxiliary calibration point makes the broken line connecting the two adjacent brightness grayscale calibration points and the auxiliary calibration point satisfy the preset brightness error condition, then the brightness curve of the pixel is calibrated based on the two adjacent brightness grayscale calibration points and the corresponding auxiliary calibration point.
[0031] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0032] Obtain the original calibration point set of the brightness grayscale corresponding to the pixel;
[0033] Determine multiple brightness grayscale calibration points selected from the original brightness grayscale calibration point set;
[0034] Select auxiliary calibration points constrained by the brightness and grayscale values of two adjacent brightness grayscale calibration points;
[0035] If the auxiliary calibration point makes the broken line connecting the two adjacent brightness grayscale calibration points and the auxiliary calibration point satisfy the preset brightness error condition, then the brightness curve of the pixel is calibrated based on the two adjacent brightness grayscale calibration points and the corresponding auxiliary calibration point.
[0036] The aforementioned brightness curve calibration method, apparatus, computer equipment, storage medium, and computer program product obtain a set of original brightness grayscale calibration points corresponding to a pixel; determine multiple brightness grayscale calibration points selected from the original set of brightness grayscale calibration points; select auxiliary calibration points constrained by the brightness values and grayscale values of two adjacent brightness grayscale calibration points; if the auxiliary calibration point makes the broken line connecting two adjacent brightness grayscale calibration points and the auxiliary calibration point satisfy a preset brightness error condition, then the brightness curve of the pixel is calibrated based on the two adjacent brightness grayscale calibration points and the corresponding auxiliary calibration point. In this embodiment, the brightness curve is calibrated by connecting the brightness grayscale calibration points selected from the original set of brightness grayscale calibration points and the auxiliary calibration points constrained by the brightness values and grayscale values of adjacent brightness grayscale calibration points and satisfying the preset brightness error condition. The calibration curve of the auxiliary calibration points used in this embodiment can satisfy the brightness error condition, thereby improving the accuracy of the calibrated brightness curve. Attached Figure Description
[0037] Figure 1 This is a flowchart illustrating a brightness curve calibration method in one embodiment;
[0038] Figure 2 This is a flowchart illustrating the selection of auxiliary calibration points in one embodiment;
[0039] Figure 3 This is a schematic diagram of the process for obtaining the first auxiliary calibration point in one embodiment;
[0040] Figure 4 This is a flowchart illustrating the process of determining a brightness value range in one embodiment;
[0041] Figure 5 This is a flowchart illustrating the process of calibrating the brightness curve of a pixel in one embodiment;
[0042] Figure 6 This is a schematic diagram of the process for correcting display pixels in one embodiment;
[0043] Figure 7 A diagram illustrating dynamic point binding settings in an application instance;
[0044] Figure 8 This is a structural block diagram of a brightness curve calibration device in one embodiment;
[0045] Figure 9 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0046] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0047] In one embodiment, such as Figure 1 As shown, a brightness curve calibration method is provided. This embodiment illustrates the application of this method to a terminal, which can be various personal computers, laptops, smartphones, tablets, and portable wearable devices. It is understood that this method can also be applied to servers, and to systems including both terminals and servers, and implemented through interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0048] Step S101: Obtain the original calibration point set of the brightness grayscale corresponding to the pixel.
[0049] In this context, a pixel refers to a pixel located in an AMOLED display device that requires calibration. The original brightness grayscale calibration point set is a collection used to store the correspondence between the brightness value and grayscale value of a pixel. The coordinates of different original brightness calibration points represent the different brightness values corresponding to the pixel at different grayscale values. For example, the original brightness grayscale calibration point set may include calibration point A, calibration point B, and calibration point C. The coordinates (A, A) of calibration point A can represent that the brightness value of the pixel at grayscale value A is brightness value A, and the coordinates (B, B) of calibration point B can represent that the brightness value of the pixel at grayscale value B is brightness value B, and so on. In this embodiment, the terminal can collect different pixel values corresponding to a certain pixel at different grayscale values, thereby obtaining multiple original brightness grayscale calibration points, forming an original brightness grayscale calibration point set.
[0050] Step S102: Determine multiple brightness grayscale calibration points selected from the original brightness grayscale calibration point set.
[0051] The brightness grayscale calibration points are used to form the brightness calibration curve. In this embodiment, not all calibration points in the original brightness grayscale calibration point set are used to form the brightness calibration curve of the pixel. Instead, a portion of the calibration points are selected as brightness grayscale calibration points, and the selected brightness grayscale calibration points are used to form the calibration curve. The selection method for these brightness grayscale calibration points can be that the terminal has pre-set corresponding grayscale values, or it can be that only calibration points with fixed grayscale values are selected as brightness grayscale calibration points. For example, the original brightness grayscale calibration point set may include calibration point A, calibration point B, and calibration point C. If the terminal has pre-set that the calibration points corresponding to grayscale values A and C are used as brightness grayscale calibration points, then calibration point A and calibration point C can be selected from the collected calibration points A, B, and C as brightness grayscale calibration points.
[0052] Step S103: Select an auxiliary calibration point constrained by the brightness values and grayscale values of two adjacent brightness grayscale calibration points.
[0053] Auxiliary calibration points are calibration points constrained by the brightness and grayscale values of two adjacent brightness grayscale calibration points. That is, the grayscale value of the calibration point lies between the grayscale values of the two adjacent brightness grayscale calibration points, and the brightness value lies between the brightness values of the two adjacent brightness grayscale calibration points. There can be multiple auxiliary calibration points; any point satisfying the above constraints can be used as an auxiliary calibration point. In this embodiment, after determining two adjacent brightness grayscale calibration points in step S102, multiple auxiliary calibration points satisfying the constraints can be selected from the brightness grayscale interval formed by the brightness and grayscale values between the two adjacent brightness grayscale calibration points.
[0054] For example, calibration point A and calibration point C are two adjacent brightness grayscale calibration points. The coordinates of calibration point A are [A, A], which means that the grayscale value of calibration point A is the brightness value corresponding to the grayscale value A. The coordinates of calibration point C are [C, C], which means that the grayscale value of calibration point C is the brightness value corresponding to the grayscale value C. Therefore, the selection range of auxiliary calibration points is that the grayscale value is between grayscale value A and grayscale value C, and the brightness value is between brightness value A and brightness value C.
[0055] Step S104: If the auxiliary calibration point makes the broken line connecting two adjacent brightness grayscale calibration points and the auxiliary calibration point satisfy the preset brightness error condition, then the brightness curve of the pixel is calibrated based on the two adjacent brightness grayscale calibration points and the corresponding auxiliary calibration point.
[0056] The preset brightness error condition refers to the pre-set brightness error condition, which can be used to characterize the error between the brightness calibration curve displayed in the form of a broken line and the standard brightness curve. In this embodiment, after determining the multiple auxiliary calibration points contained between two adjacent brightness grayscale calibration points, each auxiliary calibration point can be connected to the two adjacent brightness grayscale calibration points to obtain multiple broken lines. The terminal can filter out the broken lines that meet the preset brightness error condition from the multiple broken lines, and filter out the auxiliary calibration points corresponding to the broken lines from the multiple auxiliary calibration points. By connecting two adjacent brightness grayscale calibration points and the corresponding auxiliary calibration points, the final brightness calibration curve is obtained.
[0057] For example, the original set of brightness grayscale calibration points includes calibration points A, B, C, D, and E. The grayscale values are in the following order: grayscale value A of calibration point A < grayscale value B of calibration point B < grayscale value C of calibration point C < grayscale value D of calibration point D < grayscale value E of calibration point E. If the terminal uses calibration points A, C, and E as multiple brightness grayscale calibration points, and since calibration points A and C, and C and E are adjacent brightness grayscale calibration points, then multiple auxiliary calibration points constrained by calibration points A and C can be determined. Auxiliary calibration points, such as calibration point B1, calibration point B2, and calibration point B3, etc., and multiple auxiliary calibration points constrained by calibration point C and calibration point E, including calibration point D1, calibration point D2, and calibration point D3, etc., can be formed. Therefore, multiple polylines can be formed, such as calibration point A-calibration point B1-calibration point C-calibration point D1-calibration point E and calibration point A-calibration point B1-calibration point C-calibration point D2-calibration point E, etc. Then, the polyline that meets the preset brightness error condition can be selected from the above multiple polylines. For example, the polyline with the smallest brightness error can be used as the final brightness calibration curve for that pixel. Since calibration points B and D themselves satisfy the constraint conditions, that is, the calibration curve formed by calibration points B and D is itself a part of multiple brightness calibration curves, and this embodiment can select the best curve that satisfies the preset brightness error condition from multiple brightness calibration curves as the brightness curve of the calibrated pixel, this embodiment can improve the accuracy of the calibrated pixel brightness curve compared to directly using the fixed broken line composed of calibration points A-B-C-D-E as the brightness calibration curve.
[0058] In the above brightness curve calibration method, the following steps are taken: First, obtain the original set of brightness grayscale calibration points corresponding to the pixel. Then, determine multiple brightness grayscale calibration points selected from the original set of calibration points. Next, select auxiliary calibration points constrained by the brightness and grayscale values of two adjacent brightness grayscale calibration points. If the auxiliary calibration point causes the broken line connecting two adjacent brightness grayscale calibration points and the auxiliary calibration point to satisfy a preset brightness error condition, then the brightness curve of the pixel is calibrated based on the two adjacent brightness grayscale calibration points and the corresponding auxiliary calibration point. In this embodiment, the brightness curve is calibrated by connecting the brightness grayscale calibration points selected from the original set of calibration points and the auxiliary calibration points constrained by the brightness and grayscale values of adjacent brightness grayscale calibration points and satisfying the preset brightness error condition. The calibration curve using the auxiliary calibration points in this embodiment can better satisfy the brightness error condition, thereby improving the accuracy of the calibrated brightness curve.
[0059] In one embodiment, such as Figure 2 As shown, step S103 may further include:
[0060] Step S201: From multiple brightness grayscale calibration points, obtain the first brightness grayscale calibration point with the smallest grayscale value and the second brightness grayscale calibration point with the largest grayscale value.
[0061] The first brightness grayscale calibration point refers to the brightness grayscale calibration point with the smallest grayscale value, while the second brightness grayscale calibration point refers to the brightness grayscale calibration point with the largest grayscale value. After determining the selected multiple brightness grayscale calibration points in step S102, the grayscale value of each brightness grayscale calibration point can be obtained, and the brightness grayscale calibration point with the smallest grayscale value is used as the first brightness grayscale calibration point, and the calibration point with the largest grayscale value is used as the second brightness grayscale calibration point.
[0062] Step S202: Obtain a first auxiliary calibration point constrained by the brightness value and grayscale value of the first brightness grayscale calibration point and the brightness grayscale calibration points adjacent to the first brightness grayscale calibration point; and a second brightness grayscale calibration point constrained by the brightness value and grayscale value of the second brightness grayscale calibration point and the brightness value and grayscale value of the second brightness grayscale calibration point.
[0063] Step S203: Select the first auxiliary calibration point and the second auxiliary calibration point as the auxiliary calibration points.
[0064] In this embodiment, the acquisition of auxiliary calibration points is only performed on the first brightness grayscale calibration point with the smallest grayscale value and its adjacent brightness grayscale calibration points, and only on the second brightness grayscale calibration point with the largest grayscale value and its adjacent brightness grayscale calibration points. Since the brightness variations in the low and high grayscale regions are significantly different, while the consistency of the grayscale variations in the intermediate range is stronger, this embodiment only performs auxiliary calibration point acquisition on the high and low grayscale regions.
[0065] For example, the determined brightness grayscale calibration points are identified as calibration point A, calibration point C, calibration point D, calibration point E, and calibration point G in ascending order of grayscale value. Then, the first brightness grayscale calibration point can be calibration point A, and the second brightness grayscale calibration point can be calibration point G. In this embodiment, the auxiliary calibration points are only obtained between the first brightness grayscale calibration point and its adjacent brightness grayscale calibration points, and between the second brightness grayscale calibration point and its adjacent brightness grayscale calibration points. That is, auxiliary calibration points are only obtained in the region between calibration point A and calibration point C, and in the region between calibration point E and calibration point G.
[0066] In this embodiment, the acquisition of auxiliary calibration points is only performed on low grayscale areas and high grayscale areas with large differences in brightness variation, while the acquisition of auxiliary calibration points is not performed on intermediate areas with strong consistency. This improves the acquisition efficiency of calibration curve while ensuring the accuracy of calibration brightness curve.
[0067] In one embodiment, such as Figure 3 As shown, step S202 may further include:
[0068] Step S301: Obtain the first grayscale value and the first brightness value corresponding to the first brightness grayscale calibration point, and the second grayscale value and the second brightness value corresponding to the brightness grayscale calibration point adjacent to the first brightness grayscale calibration point.
[0069] Here, the first grayscale value refers to the grayscale value corresponding to the first brightness grayscale calibration point, the first brightness value refers to the brightness value corresponding to the first brightness grayscale calibration point, the second grayscale value refers to the grayscale value corresponding to the brightness grayscale calibration point adjacent to the first brightness grayscale calibration point, and the second brightness value refers to the brightness value corresponding to the brightness grayscale calibration point.
[0070] For example, when the first grayscale calibration point is calibration point A, and the adjacent calibration point is calibration point C, then the first grayscale value and the first brightness value represent the grayscale value and brightness value of calibration point A, while the second grayscale value and the second brightness value represent the grayscale value and brightness value of calibration point C.
[0071] Step S302: Determine the gray level range based on the first gray level value, the second gray level value, and the pre-configured gray level coefficient, and obtain the constrained gray level value from the gray level range.
[0072] Here, the constraint grayscale value represents the grayscale value corresponding to the first auxiliary calibration point selected. There can be multiple grayscale values, as long as they satisfy the grayscale range. The grayscale coefficient is a coefficient used to constrain the range of the grayscale range. This coefficient can be pre-configured, for example, set to 0.7. In this embodiment, determining the grayscale range used to obtain the constraint grayscale value requires not only the first grayscale value and the second grayscale value, but also the set grayscale coefficient.
[0073] Specifically, the grayscale interval corresponding to the set constraint grayscale value can be represented as: (gray_p1, gray_p1+(gray_p3-gray_p1)*n)), where gray_p1 represents the first grayscale value, gray_p3 represents the second grayscale value, and n represents the pre-set grayscale coefficient.
[0074] Step S303: Determine the brightness value range based on the constraint grayscale value, the first brightness value, and the second brightness value, and select the constraint brightness value from the brightness value range.
[0075] The constraint brightness value represents the brightness value corresponding to the first auxiliary calibration point selected. There can be multiple brightness values, as long as they satisfy a brightness value range. In this embodiment, after determining the constraint grayscale value in step S302, the obtained constraint grayscale value, the first brightness value, and the second brightness value can be used to determine the brightness value range satisfied by the brightness value corresponding to the constraint grayscale value, and constraint brightness values corresponding to the constraint grayscale value can be selected from this range.
[0076] Step S304: Obtain the first auxiliary calibration point based on the constraint grayscale value and the constraint brightness value.
[0077] Finally, after determining the constraint grayscale value in step S302 and the constraint brightness value corresponding to each constraint grayscale value in step S303, multiple first auxiliary calibration points can be obtained using the above constraint grayscale values.
[0078] Similarly, the determination of the second auxiliary calibration point can also be achieved through the above steps. First, determine the grayscale value and brightness value corresponding to the second brightness grayscale calibration point and the brightness grayscale calibration points adjacent to the second brightness grayscale calibration point. Then, the corresponding grayscale range can be obtained by using the grayscale coefficient and the grayscale value of the second brightness grayscale calibration point and its adjacent brightness grayscale calibration points. After filtering out the corresponding constraint grayscale value, the brightness value range can be obtained based on the constraint grayscale value and the brightness value of the second brightness grayscale calibration point and its adjacent brightness grayscale calibration points. Thus, the corresponding constraint brightness value is determined, and the second auxiliary calibration point is formed.
[0079] In this embodiment, the first auxiliary calibration point is determined by constraining grayscale values and constraining brightness values. The constrained grayscale values are selected from the grayscale range determined by the grayscale values of the first brightness grayscale calibration point and its adjacent brightness grayscale calibration points, as well as the grayscale coefficient. The constrained brightness values are determined by the determined over-constrained grayscale values and the brightness values of the first brightness grayscale calibration point and its adjacent brightness grayscale calibration points. This allows for further constraint on the grayscale values and brightness values of the first auxiliary calibration point, thereby further reducing the error of the calibrated brightness curve.
[0080] Furthermore, such as Figure 4 As shown, step S303 may further include:
[0081] Step S401: Based on the first brightness value and the second brightness value, as well as the first grayscale value and the second grayscale value, obtain the first brightness grayscale calibration point and the brightness connection line between the brightness grayscale calibration points adjacent to the first brightness grayscale calibration point.
[0082] The brightness connection refers to the connection between the first brightness grayscale calibration point and the brightness grayscale calibration points adjacent to the first brightness grayscale calibration point. In this embodiment, after determining the first brightness value and the second brightness value, as well as the first grayscale value and the second grayscale value, the functional expression of the connection between the first brightness grayscale calibration point and its adjacent brightness grayscale calibration points can be obtained, thus obtaining the brightness connection.
[0083] Step S402: Determine the initial brightness value corresponding to the constrained grayscale value based on the brightness connection line.
[0084] The initial brightness value refers to the brightness value at the corresponding position of the constraint grayscale value on the brightness line. Since the functional expression of the brightness line can characterize the relationship between the brightness value and the grayscale value, after the constraint brightness value is determined in step S302, the constraint brightness value can be substituted into the functional expression of the brightness line to obtain the initial brightness value corresponding to the constraint grayscale value.
[0085] Step S403: Obtain the pre-configured brightness gain coefficient, and determine the brightness value range using the initial brightness value and the brightness gain coefficient.
[0086] The brightness gain coefficient refers to the pre-configured gain coefficient for brightness, such as 0.002, which is used to solve the effects caused by brightness noise. Therefore, after obtaining the initial brightness value in step S402, the initial brightness value and the brightness gain coefficient can be added together to determine the brightness value range.
[0087] For example, the brightness value range can be represented in the following form: (lumi1, (gray_a1-gray_p1) / (gray_p3-gray_p1)*(lumi3-lumi1)+lumi1+m), where lumi1 represents the first brightness value, gray_a1 represents the constraint grayscale value, (gray_a1-gray_p1) / (gray_p3-gray_p1)*(lumi3-lumi1)+lumi1 represents the initial brightness value of the constraint grayscale value on the brightness line, and m represents the brightness gain coefficient.
[0088] Similarly, the determination of the brightness value range of the second auxiliary calibration point can also be achieved through the above steps: by constructing a brightness line between the second brightness grayscale calibration point and its adjacent first brightness grayscale calibration point, and using this brightness line to determine the initial brightness value corresponding to the constraint grayscale value, and based on the initial brightness value and the brightness gain coefficient, the final brightness value range corresponding to the constraint grayscale value is obtained.
[0089] In this embodiment, the selection of the brightness value range can be determined based on the initial brightness value corresponding to the constraint grayscale value on the brightness line and the pre-configured brightness gain coefficient. In this way, the influence of brightness noise can be eliminated by the brightness gain coefficient, thereby further improving the accuracy of the brightness value range determination.
[0090] In one embodiment, the number of auxiliary calibration points constrained by the brightness values and grayscale values of two adjacent brightness grayscale calibration points is multiple; such as Figure 5 As shown, step S104 may further include:
[0091] Step S501: Select a verification calibration point located between two adjacent brightness grayscale calibration points from the original set of brightness grayscale calibration points.
[0092] Verification calibration points refer to calibration points located between two adjacent brightness grayscale calibration points in the original brightness grayscale calibration point set. In this embodiment, since not all the calibration points collected in the original brightness grayscale calibration point set are used as brightness grayscale calibration points, the remaining calibration points can be used as verification calibration points if they are located between two adjacent brightness grayscale calibration points selected.
[0093] For example, the original calibration point set of brightness grayscale may include calibration point 1, calibration point 2, calibration point 3, calibration point 4, calibration point 5, calibration point 6, and calibration point 7 in ascending order of grayscale value. If the selected brightness grayscale calibration points are calibration point 1, calibration point 4, calibration point 5, and calibration point 7, then the remaining calibration points 2 and 3 can be used as verification calibration points because they are located between adjacent brightness grayscale calibration points, i.e., between calibration point 1 and calibration point 4. Similarly, since calibration point 6 is located between calibration point 5 and calibration point 7, it can also be used as a verification calibration point.
[0094] Step S502: Obtain the polyline connecting each auxiliary calibration point with two adjacent brightness grayscale calibration points to obtain multiple candidate polylines.
[0095] Candidate polylines refer to the polylines formed between auxiliary calibration points and two adjacent brightness grayscale calibration points. Since the number of auxiliary calibration points constrained by two adjacent brightness grayscale calibration points can be multiple, the number of candidate polylines can also be multiple. Taking calibration points 1 and 4 as two adjacent brightness grayscale calibration points as an example, the number of auxiliary calibration points constrained by calibration points 1 and 4 can also be multiple, such as auxiliary calibration points 1, 2, and 3. Then, the number of polylines connecting each auxiliary calibration point to the two adjacent brightness grayscale calibration points, i.e., candidate polylines, can also be multiple, namely, polyline 1 formed by calibration point 1 - auxiliary calibration point 1 - calibration point 4, polyline 2 formed by calibration point 1 - auxiliary calibration point 2 - calibration point 4, and polyline 3 formed by calibration point 1 - auxiliary calibration point 3 - calibration point 4.
[0096] Step S503: Obtain the brightness value of the grayscale value corresponding to the verification calibration point on each candidate broken line, and determine the brightness value error of each candidate broken line based on the brightness value on each candidate broken line and the brightness value represented by the verification calibration point.
[0097] The brightness value represented by the verification calibration point refers to the actual measured brightness value corresponding to the verification calibration point, that is, the true brightness value of the verification calibration point. The brightness value of the grayscale value corresponding to the verification calibration point on each candidate broken line refers to the brightness value reflected by the grayscale value corresponding to the verification calibration point on each candidate broken line, that is, the brightness value calibrated by the verification calibration point on each candidate broken line. In this embodiment, after obtaining multiple candidate broken lines in step S502, since the candidate broken lines can be used to represent the correspondence between brightness values and grayscale values, the terminal can obtain the brightness value corresponding to the grayscale value of a certain verification calibration point on each candidate broken line, which serves as the calibration brightness value for each candidate broken line corresponding to that grayscale value. Simultaneously, the error between the brightness values can be calculated using the calibration brightness value and the actual brightness value, specifically the error of each verification calibration point on a certain candidate broken line. After obtaining the error of each verification calibration point on a certain candidate broken line, the various errors can be summed to obtain the brightness value error of each candidate broken line.
[0098] For example, between calibration point 1 and calibration point 4, there are calibration points 2 and 3 serving as verification calibration points. After determining multiple candidate broken lines connecting calibration points 1 and 4 in step S502, the brightness value error corresponding to each candidate broken line can be calculated separately. Taking broken line 1 as an example, after determining the correspondence between the brightness value and grayscale value described by broken line 1, the grayscale values corresponding to calibration points 2 and 3 can be substituted into the above correspondence to obtain the brightness value corresponding to each grayscale value, represented by brightness value 2' and brightness value 3'. At the same time, the brightness values represented by calibration points 2 and 3, that is, the true brightness values corresponding to the grayscale values, are brightness value 2 and brightness value 3. Therefore, the error can be calculated using brightness value 2' and brightness value 2, and the error can be calculated using brightness value 3' and brightness value 3. The sum of the errors is taken as the brightness value error of broken line 1, thereby obtaining the brightness value error corresponding to all candidate broken lines.
[0099] For example, the formula for calculating the brightness value error can be shown below:
[0100]
[0101] Where p1 and p3 represent two adjacent brightness grayscale calibration points, lumi represents the brightness value represented by each verification calibration point, that is, the true brightness value corresponding to a certain grayscale value between p1 and p3, and La represents the brightness value corresponding to that grayscale value on a candidate broken line connecting p1 and p3.
[0102] Step S504: Select the candidate line with the smallest brightness value error as the line that satisfies the preset brightness error condition.
[0103] Finally, after obtaining the brightness value errors of all candidate lines in step S503, the candidate line with the smallest brightness value error can be determined as the final line that satisfies the preset brightness error condition.
[0104] In this embodiment, the verification calibration points in the original brightness grayscale calibration point set can be used to verify multiple candidate broken lines formed by each auxiliary calibration point and two adjacent brightness grayscale calibration points. This allows the candidate broken line with the smallest brightness value error to be selected as the broken line that meets the preset brightness error condition. This ensures that the selected broken line has the smallest error value with the real brightness curve, which can further improve the accuracy of the brightness calibration curve.
[0105] In one embodiment, step S101 may further include: obtaining a plurality of grayscale values preset for a pixel; performing gamma correction processing on each preset grayscale value to obtain the brightness value corresponding to each preset grayscale value; performing normalization processing on the brightness value, and constructing an original calibration point set of brightness grayscale based on the normalized brightness value and each grayscale value.
[0106] In this embodiment, the construction of the original calibration point set of brightness grayscale can be achieved by constructing the correspondence between the pixel at different grayscale values and brightness values. First, multiple brightness values are obtained after gamma correction processing of multiple grayscale values in the pixel. Then, brightness normalization processing is performed on the brightness values to obtain the normalized brightness values. Finally, the correspondence between each grayscale value and the normalized brightness value can be established to obtain multiple original calibration points of brightness grayscale, forming the original calibration point set of brightness grayscale.
[0107] For example, for a certain pixel, the normalized brightness values corresponding to the pixel at different gray levels, such as gray level A, gray level B, and gray level C, can be obtained respectively as brightness value A, brightness value B, and brightness value C. Thus, the calibration point A representing the brightness value A corresponding to gray level A, the calibration point B representing the brightness value B corresponding to gray level B, and the calibration point C representing the brightness value C corresponding to gray level C can be obtained.
[0108] In this embodiment, the brightness value obtained by performing gamma correction and normalization on the grayscale value can be used to establish a correspondence with the grayscale value, thereby obtaining multiple original calibration points for brightness grayscale and forming a set of original calibration points for brightness grayscale, which can improve the accuracy of the set of original calibration points for brightness grayscale.
[0109] In one embodiment, the pixel is the display pixel included in the display device to be calibrated; such as Figure 6 As shown, after step S104, the following may also be included:
[0110] Step S601: Obtain the brightness curves of each display pixel in the display device to be calibrated.
[0111] The display device to be calibrated refers to the display device that needs brightness curve calibration, such as a display device exhibiting mura. A pixel refers to the display pixels contained in the display device to be calibrated. After determining the brightness curve corresponding to a specific display pixel in the display device to be calibrated in step S104, the brightness curve calibrated for each display pixel can be obtained through the processes from steps S101 to S104.
[0112] Step S602: Determine the reference brightness curve from the separately calibrated brightness curves.
[0113] The reference brightness curve refers to the calibrated brightness curve that serves as the calibration target. In this embodiment, in order to avoid the occurrence of the mura phenomenon, it is necessary to ensure that all calibrated brightness curves in the display device have the same form. Therefore, it is necessary to determine a standard calibrated brightness curve from them. For example, the brightness curve calibrated by the pixels in the central part of the display device can be used as the reference brightness curve.
[0114] Step S603: Based on the reference brightness curve, the brightness curves of each display pixel are calibrated and corrected.
[0115] Finally, after determining the reference brightness curve, the brightness curves of each display pixel can be corrected to the reference brightness curve to ensure that each display pixel in the display device represents the correspondence between grayscale values and brightness values through the reference brightness curve, thereby avoiding the mura phenomenon caused by uneven brightness values.
[0116] In this embodiment, after determining the luminance curve of each pixel in the display device to be calibrated, the luminance curve of each pixel can be calibrated based on the reference luminance curve, thereby improving the pixel calibration effect.
[0117] In one application example, a dynamic point-binding AMOLED screen demura method is also provided. This method acquires a brightness map of 0-255 gray levels in a dark environment and obtains the correct display brightness based on the brightness change relationship under different gray levels, thereby achieving the calibration of a specific brightness. Furthermore, it can correct different pixel values based on the dynamic point-binding calibration error.
[0118] Specifically, this may include the following steps:
[0119] Step 1: Obtain the data after gamma correction.
[0120] Step 2: Brightness grayscale normalization.
[0121] The gamma value stems from the fact that the brightness perceived by the human eye is not linearly related to the actual brightness. For a specified grayscale range of 0-255, the collected brightness data is normalized, and in general, the gamma value is approximately 2.2. If the gamma value is too large, the overall image will be too dark, and details will be easily lost in low grayscale scenes; if the gamma value is too small, the overall image will be too bright, and the image's sense of depth will be distorted.
[0122] Step 3: Dynamic Range Binding Settings
[0123] like Figure 7 As shown, during Demura calibration, fixed binding points are set as p1, p3, p4, p5, p7, with grayscale values Gray1, gray3, gray4, gray5, gray7 and luminance values Lumi1, Lumi3, Lumi4, Lumi5, Lumi7.
[0124] a1 and b1 are virtual dynamic binding points, and n is set as the dynamic grayscale factor.
[0125] The maximum range of grayscale variation for a1 is:
[0126] (gray_p1,gray_p1+(gray_p3-gray_p1)*n),
[0127] The maximum range of variation for grayscale b1 is:
[0128] (gray_p5,gray_p5+(gray_p7-gray_p5)*n),
[0129] Let m be the brightness gain coefficient.
[0130] The maximum range of brightness variation for a1 is:
[0131] (lumi1,(gray_a1-p1) / (p3-p1))*(lumi3-lumi1)+lumi1+m)
[0132] The maximum range of brightness variation for b1 is:
[0133] (lumi5,(gray_b1-p5) / (p7-p5))*(lumi7-lumi5)+lumi5+m)
[0134] like Figure 7As shown, in the low grayscale region, a' and a1 form a set of virtual dynamic binding points, and in the high grayscale region, b' and b1 form a set of virtual dynamic binding points. Since OLED devices emit light independently, the gray-lumi variation in the p3-p5 range is relatively consistent, and there are relatively common binding points to choose from. In the low grayscale range p1-p3 and the p5-p7 range, the light emission characteristics of the devices differ greatly. Therefore, dynamic binding points a1 and b1 are set for sub-pixel specificity to correct the relationship curve between low grayscale and high grayscale.
[0135] The dynamic grayscale can be determined as follows:
[0136]
[0137] Specifically, within the grayscale range of p1-p3, it is necessary to solve for the dynamic grayscale a1, so that each brightness value La on the calibration line... i The goal is to minimize the sum of the differences between (i∈[p1,p3]) and the standard curve, i.e., to find the dynamic calibration point a1 for all points within the interval [p1,p3]. When point a1 moves dynamically within the interval [p1,p3], let p1-a1 be line l and a1-p3 be line 2. Lines 1 and 2 can be used to characterize the calibration lines within the interval [p1,p3], and minimize the sum of the calibration brightness La and the actual correction brightness error for all grayscale points within the interval [p1,p3], i.e.:
[0138]
[0139] In addition, the actual interval [p1,p3] will be compressed by considering the dynamic gray level factor, i.e. (gray_p1,gray_p1+(gray_p3-gray_p1)*n), which can be 0.7. At the same time, considering the influence of factors such as brightness noise, the brightness gain coefficient m is also considered, which can be 0.002.
[0140] 2. Solving for point b1 is done in the same way as solving for point a1.
[0141] 3. Dynamic point binding means that for each calibration curve in the entire image, the values of a1 and b1 are different, while the values of p1, p3, p4, p5, and p7 are the same.
[0142] Step 4: Calculate the demura data that needs to be compensated.
[0143] The calibration curve is B, and the ideal calibration curve for correction is A. At a certain gray level, for example, the luminance corresponding to the G2 gray level on the calibration curve B is l2. The gray level corresponding to this luminance on the ideal calibration curve A should be point G1. If the screen is to emit a brightness of l2 after correction, the G2 gray level needs to be corrected to G1.
[0144] Through the above application examples, based on dynamic point binding selection, the original GAMMA is calibrated, and the defective screen is demuraed according to the benchmark GAMMA, which can greatly improve the yield of the production line. It has the following main advantages: normalization operation is performed to reduce the data range, and free dynamic point binding is adopted to effectively solve the problem of uneven compensation at low gray levels and high gray levels.
[0145] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0146] Based on the same inventive concept, this application also provides a luminance curve calibration device for implementing the luminance curve calibration method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more luminance curve calibration device embodiments provided below can be found in the limitations of the luminance curve calibration method described above, and will not be repeated here.
[0147] In one embodiment, such as Figure 8 As shown, a brightness curve calibration device is provided, including: a raw brightness calibration module 801, a brightness grayscale calibration module 802, an auxiliary calibration selection module 803, and a brightness curve calibration module 804, wherein:
[0148] The original brightness calibration module 801 is used to obtain the original calibration point set of the brightness grayscale corresponding to the pixel;
[0149] The brightness grayscale calibration module 802 is used to determine multiple brightness grayscale calibration points selected from the original brightness grayscale calibration point set;
[0150] The auxiliary calibration selection module 803 is used to select auxiliary calibration points constrained by the brightness values and grayscale values of two adjacent brightness grayscale calibration points;
[0151] The brightness curve calibration module 804 is used to calibrate the brightness curve of a pixel based on two adjacent brightness grayscale calibration points and the corresponding auxiliary calibration point if the auxiliary calibration point makes the broken line connecting two adjacent brightness grayscale calibration points and the auxiliary calibration point meet the preset brightness error condition.
[0152] In one embodiment, the auxiliary calibration selection module 803 is further configured to: obtain a first brightness grayscale calibration point with the smallest grayscale value and a second brightness grayscale calibration point with the largest grayscale value from a plurality of brightness grayscale calibration points; obtain a first auxiliary calibration point constrained by the brightness value and grayscale value of the first brightness grayscale calibration point and the brightness value and grayscale value of the brightness grayscale calibration points adjacent to the first brightness grayscale calibration point; and obtain a second auxiliary calibration point constrained by the brightness value and grayscale value of the second brightness grayscale calibration point and the brightness value and grayscale value of the brightness grayscale calibration points adjacent to the second brightness grayscale calibration point; and select the first auxiliary calibration point and the second auxiliary calibration point as auxiliary calibration points.
[0153] In one embodiment, the auxiliary calibration selection module 803 is further configured to obtain the first grayscale value and the first brightness value corresponding to the first brightness grayscale calibration point, and the second grayscale value and the second brightness value corresponding to the brightness grayscale calibration point adjacent to the first brightness grayscale calibration point; determine a grayscale interval based on the first grayscale value, the second grayscale value and the pre-configured grayscale coefficient, and obtain a constraint grayscale value from the grayscale interval; determine a brightness value interval based on the constraint grayscale value, the first brightness value and the second brightness value, and select a constraint brightness value from the brightness value interval; and obtain the first auxiliary calibration point based on the constraint grayscale value and the constraint brightness value.
[0154] In one embodiment, the auxiliary calibration selection module 803 is further configured to obtain a first brightness grayscale calibration point and a brightness connection line between brightness grayscale calibration points adjacent to the first brightness grayscale calibration point based on the first brightness value and the second brightness value, and the first grayscale value and the second grayscale value; determine the initial brightness value corresponding to the constraint grayscale value based on the brightness connection line; obtain a pre-configured brightness gain coefficient, and determine the brightness value range using the initial brightness value and the brightness gain coefficient.
[0155] In one embodiment, the number of auxiliary calibration points constrained by the brightness values and grayscale values of two adjacent brightness grayscale calibration points is multiple; the brightness curve calibration module 804 is further used to select verification calibration points located between two adjacent brightness grayscale calibration points from the original brightness grayscale calibration point set; obtain the broken lines connecting each auxiliary calibration point and the two adjacent brightness grayscale calibration points to obtain multiple candidate broken lines; obtain the brightness value of the grayscale value corresponding to the verification calibration point on each candidate broken line; determine the brightness value error of each candidate broken line based on the brightness value on each candidate broken line and the brightness value represented by the verification calibration point; and select the candidate broken line with the smallest brightness value error as the broken line that satisfies the preset brightness error condition.
[0156] In one embodiment, the original brightness calibration module 801 is further configured to acquire multiple grayscale values preset for a pixel; perform gamma correction processing on each preset grayscale value to obtain the brightness value corresponding to each preset grayscale value; perform normalization processing on the brightness value, and construct an original brightness grayscale calibration point set based on the normalized brightness value and each grayscale value.
[0157] In one embodiment, the pixel is the display pixel included in the display device to be calibrated; the brightness curve calibration device further includes: a brightness curve calibration module, used to acquire the brightness curves calibrated by each display pixel included in the display device to be calibrated; determine a reference brightness curve from the calibrated brightness curves; and perform calibration processing on the brightness curves calibrated by each display pixel based on the reference brightness curve.
[0158] Each module in the aforementioned brightness curve calibration device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0159] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 9 As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a brightness curve calibration method. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.
[0160] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0161] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0162] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0163] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0164] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0165] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0166] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0167] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method of calibrating a luminance curve, characterized in that, The method comprises: acquiring a set of original calibration points of brightness gray scale corresponding to a pixel; determining a plurality of brightness gray scale calibration points selected from the set of original calibration points of brightness gray scale; selecting an auxiliary calibration point constrained by brightness values and gray scale values of two adjacent brightness gray scale calibration points; the gray scale value of the auxiliary calibration point is between the gray scale values of the two adjacent brightness gray scale calibration points, and the brightness value of the auxiliary calibration point is between the brightness values of the two adjacent brightness gray scale calibration points; if the auxiliary calibration point makes a broken line connecting the two adjacent brightness gray scale calibration points and the auxiliary calibration point satisfy a preset brightness error condition, then calibrating a brightness curve of the pixel based on the two adjacent brightness gray scale calibration points and the corresponding auxiliary calibration point.
2. The method of claim 1, wherein, The selecting an auxiliary calibration point constrained by brightness values and gray scale values of two adjacent brightness gray scale calibration points comprises: acquiring a first brightness gray scale calibration point with the minimum gray scale value and a second brightness gray scale calibration point with the maximum gray scale value from the plurality of brightness gray scale calibration points; acquiring a first auxiliary calibration point constrained by the brightness value and the gray scale value of the first brightness gray scale calibration point and the brightness gray scale calibration point adjacent to the first brightness gray scale calibration point, and a second auxiliary calibration point constrained by the brightness value and the gray scale value of the second brightness gray scale calibration point and the brightness gray scale calibration point adjacent to the second brightness gray scale calibration point; taking the first auxiliary calibration point and the second auxiliary calibration point as the selected auxiliary calibration point.
3. The method of claim 2, wherein, The acquiring a first auxiliary calibration point constrained by the brightness value and the gray scale value of the first brightness gray scale calibration point and the brightness gray scale calibration point adjacent to the first brightness gray scale calibration point comprises: acquiring a first gray scale value and a first brightness value corresponding to the first brightness gray scale calibration point, and a second gray scale value and a second brightness value corresponding to the brightness gray scale calibration point adjacent to the first brightness gray scale calibration point; determining a gray scale interval based on the first gray scale value, the second gray scale value, and a pre-configured gray scale coefficient, and acquiring a constraint gray scale value from the gray scale interval; determining a brightness value interval according to the constraint gray scale value, the first brightness value, and the second brightness value, and selecting a constraint brightness value from the brightness value interval; obtaining the first auxiliary calibration point according to the constraint gray scale value and the constraint brightness value.
4. The method of claim 3, wherein, The determining a brightness value interval according to the gray scale value of the first auxiliary calibration point, the first brightness value, and the second brightness value comprises: obtaining a brightness connecting line between the first brightness gray scale calibration point and the brightness gray scale calibration point adjacent to the first brightness gray scale calibration point according to the first brightness value and the second brightness value, and the first gray scale value and the second gray scale value; determining an initial brightness value corresponding to the constraint gray scale value according to the brightness connecting line; acquiring a pre-configured brightness gain coefficient, and determining the brightness value interval by using the initial brightness value and the brightness gain coefficient.
5. The method of claim 1, wherein, The number of auxiliary calibration points constrained by brightness values and gray scale values of two adjacent brightness gray scale calibration points is multiple. If the auxiliary calibration point makes the polyline connecting the two adjacent luminance gray scale calibration points and the auxiliary calibration point satisfy a preset luminance error condition, then based on the two adjacent luminance gray scale calibration points and the corresponding auxiliary calibration point, a luminance curve of the pixel is calibrated, including: selecting a verification calibration point between the two adjacent luminance gray scale calibration points from the luminance gray scale original calibration point set; obtaining a plurality of candidate polylines connecting each auxiliary calibration point and the two adjacent luminance gray scale calibration points; obtaining a luminance value of the gray scale value corresponding to the verification calibration point on each candidate polyline, and determining a luminance value error of each candidate polyline according to the luminance value on each candidate polyline and the luminance value represented by the verification calibration point; taking the candidate polyline with the minimum luminance value error as the polyline satisfying the preset luminance error condition.
6. The method of claim 1, wherein, The luminance gray scale original calibration point set corresponding to the pixel includes: obtaining a plurality of gray scale values pre-set for the pixel; performing gamma correction processing on each pre-set gray scale value to obtain a luminance value corresponding to each pre-set gray scale value; performing normalization processing on the luminance value, and constructing the luminance gray scale original calibration point set based on the normalized luminance value and the gray scale values.
7. The method of claim 1, wherein, The pixel is a display pixel included in a display device to be corrected; After the luminance curve of the pixel is calibrated, the method further includes: obtaining a luminance curve calibrated by each display pixel included in the display device to be corrected; determining a reference luminance curve from the luminance curves calibrated respectively; performing correction processing on the luminance curves calibrated respectively by each display pixel based on the reference luminance curve.
8. A luminance curve calibration apparatus characterized by comprising: The device includes: an original luminance calibration module configured to obtain a luminance gray scale original calibration point set corresponding to a pixel; a luminance gray scale calibration module configured to determine a plurality of luminance gray scale calibration points selected from the luminance gray scale original calibration point set; an auxiliary calibration selection module configured to select an auxiliary calibration point constrained by luminance values and gray scale values of two adjacent luminance gray scale calibration points; the gray scale value of the auxiliary calibration point is between the gray scale values of the two adjacent luminance gray scale calibration points, and the luminance value of the auxiliary calibration point is between the luminance values of the two adjacent luminance gray scale calibration points; a luminance curve calibration module configured to, if the auxiliary calibration point makes a polyline connecting the two adjacent luminance gray scale calibration points and the auxiliary calibration point satisfy a preset luminance error condition, calibrate a luminance curve of the pixel based on the two adjacent luminance gray scale calibration points and the corresponding auxiliary calibration point. 9.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-8 when the computer program is executed by the processor. The processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by the processor, implements the steps of the method of any one of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that, The computer program, when executed by the processor, implements the steps of the method of any one of claims 1 to 7.
Citation Information
Patent Citations
Display device, image display method and gray scale brightness conversion method
CN105654920A
Picture quality adjusting method, adjusting device and terminal device
CN109215614A