CN109036333B - Display parameter correction method and device of display, terminal equipment and storage medium - Google Patents

Display parameter correction method and device of display, terminal equipment and storage medium Download PDF

Info

Publication number
CN109036333B
CN109036333B CN201811085080.XA CN201811085080A CN109036333B CN 109036333 B CN109036333 B CN 109036333B CN 201811085080 A CN201811085080 A CN 201811085080A CN 109036333 B CN109036333 B CN 109036333B
Authority
CN
China
Prior art keywords
point
display
debugging
maximum
lookup table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811085080.XA
Other languages
Chinese (zh)
Other versions
CN109036333A (en
Inventor
李沛莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201811085080.XA priority Critical patent/CN109036333B/en
Publication of CN109036333A publication Critical patent/CN109036333A/en
Application granted granted Critical
Publication of CN109036333B publication Critical patent/CN109036333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed

Abstract

The invention discloses a display parameter correction method of a display, which comprises the following steps: acquiring a maximum adjustable point and a minimum adjustable point of a display to be corrected, and acquiring maximum brightness according to the maximum adjustable point; calculating and generating a first Gamma lookup table according to the maximum brightness and the minimum brightness of the display; generating a preset number of debugging points according to the maximum debugging points and the minimum debugging points; generating a debugging point set according to each debugging point and correction data obtained after each debugging point is corrected; arranging the adjustable point sets according to the correction data and the first Gamma lookup table to obtain a second Gamma lookup table; and fitting according to the second Gamma lookup table to generate a Gamma correction curve and generate a third Gamma lookup table. The invention also discloses a device for correcting the display parameters of the display, terminal equipment and a storage medium, so that the accuracy and the effectiveness of selecting the correction points are improved, the correction data are more accurate, and the user experience is improved.

Description

Display parameter correction method and device of display, terminal equipment and storage medium
Technical Field
The present invention relates to the field of display technologies, and in particular, to a method and an apparatus for correcting display parameters of a display, a terminal device, and a storage medium.
Background
With the continuous improvement of living standard and the continuous improvement of technology, display devices such as liquid crystal televisions, electronic whiteboards and the like have become more popular. In order to obtain visual and sensory comfort, users demand higher and higher display quality of display devices, and adjusting gamma curves is an important measure for improving display picture quality (such as brightness and color temperature). At present, a gamma curve is generally corrected by adopting a fixed point correction method or a point-by-point correction method, so that the picture of the display screen is pure and fine, and the color is really restored.
However, in the process of implementing the present invention, the inventor finds that when the fixed point correction is adopted, the error of correction is large if the sampling point is not proper, and when the point-by-point correction method is adopted, the sampling points are corrected individually, the calculation of the current point cannot be applied to the calculation of the next point in time, the efficiency is low, and the error is also easily caused.
Disclosure of Invention
In view of the foregoing problems, an object of the present invention is to provide a method and an apparatus for correcting display parameters of a display, a terminal device, and a storage medium, so as to improve accuracy and effectiveness of selecting a correction point, correct the data more accurately, and improve user experience.
In a first aspect, an embodiment of the present invention provides a method for correcting display parameters of a display, including:
acquiring a maximum adjustable point and a minimum adjustable point of a display to be corrected, and acquiring the maximum brightness of the display according to the maximum adjustable point;
calculating according to the maximum brightness and the minimum brightness of the display to generate a first Gamma lookup table; wherein the minimum brightness is a full black field brightness value of the display;
generating a preset number of debugging points according to the maximum debugging points and the minimum debugging points;
generating a set of adjustable debugging points according to each debugging point and correction data obtained after each debugging point is corrected;
arranging the adjustable point sets according to the correction data and the first Gamma lookup table to obtain a second Gamma lookup table;
and fitting according to the second Gamma lookup table to generate a Gamma correction curve, and generating a third Gamma lookup table according to the Gamma correction curve, so that when displaying, the display parameters of the display are corrected according to the third Gamma lookup table.
In a first implementation manner of the first aspect, the obtaining a maximum adjustable point and a minimum adjustable point of a display to be corrected, and obtaining a maximum brightness of the display according to the maximum adjustable point specifically include:
acquiring a maximum adjustable point and a minimum adjustable point of a display to be corrected; the maximum adjustable point is a maximum effective point obtained by adjusting a specified first gray-scale value; the minimum adjustable point is a minimum effective point obtained by adjusting the specified second gray scale value; the first gray scale value is greater than the second gray scale value;
acquiring the maximum brightness of the display according to the maximum adjustable point; and the maximum brightness is a brightness value obtained by measuring the maximum adjustable point.
According to a first implementation form of the first aspect, in a second implementation form of the first aspect, the first grayscale value is a maximum grayscale value of the display, and the second grayscale value is 20% of the maximum grayscale value;
or the first gray scale value is 90% of the maximum gray scale value and the second gray scale value is 10% of the maximum gray scale value; and the maximum gray scale value of the display is the gray scale value of the display in the full white field.
In a third implementation manner of the first aspect, the generating a predetermined number of debug points according to the maximum debug point and the minimum debug point specifically includes:
and acquiring a preset number of debugging points by utilizing a binary search method according to the maximum debugging point and the minimum debugging point.
In a fourth implementation manner of the first aspect, the generating a set of adjustable point points according to each of the debugging points and correction data obtained after each of the debugging points is corrected specifically includes:
acquiring correction data obtained after color temperature correction of each debugging point; wherein, the correction data of the maximum debugging point is obtained after color temperature correction is carried out according to a subtraction principle;
and generating a set of adjustable debugging points according to each debugging point and the correction data corresponding to each debugging point.
According to a fourth implementation form of the first aspect, in a fifth implementation form of the first aspect, the first Gamma lookup table comprises at least two RGB input values and a target luminance value corresponding to each RGB input value; the correction data of each debugging point comprises an RGB output value and a brightness value which meet the target color temperature coordinate after correction;
and the adjustable point set is arranged according to the correction data and the first Gamma lookup table to obtain a second Gamma lookup table, which specifically includes:
arranging each debugging point in the set of debugging points in the first Gamma lookup table according to the brightness value of each debugging point to obtain a second Gamma lookup table; wherein the second Gamma lookup table includes at least two RGB input values, an RGB output value corresponding to each of the RGB input values, and a target luminance value.
According to a fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the fitting is performed according to the second Gamma lookup table to generate a Gamma correction curve, and a third Gamma lookup table is generated according to the Gamma correction curve, specifically:
fitting to generate a Gamma correction curve according to the second Gamma lookup table; wherein the Gamma correction curve comprises a relationship between the RGB input values and the RGB output values;
generating a third Gamma lookup table according to the Gamma correction curve; wherein the third Gamma lookup table includes at least one RGB input value and an RGB output value corresponding to each of the RGB input values.
In a second aspect, an embodiment of the present invention further provides an apparatus for correcting display parameters of a display, including:
the first debugging point obtaining module is used for obtaining a maximum debugging point and a minimum debugging point of a display to be corrected and obtaining the maximum brightness of the display according to the maximum debugging point;
the first lookup table generating module is used for calculating according to the maximum brightness and the minimum brightness of the display to generate a first Gamma lookup table; wherein the minimum brightness is a full black field brightness value of the display;
the second debugging point obtaining module is used for generating a preset number of debugging points according to the maximum debugging point and the minimum debugging point;
the point set generating module is used for generating a debugging point set according to each debugging point and correction data obtained after each debugging point is corrected;
the second lookup table generation module is used for arranging the adjustable point set according to the correction data and the first Gamma lookup table to obtain a second Gamma lookup table;
and the third lookup table generating module is used for fitting according to the second Gamma lookup table to generate a Gamma correction curve and generating a third Gamma lookup table according to the Gamma correction curve, so that when the display is performed, the display parameters of the display are corrected according to the third Gamma lookup table.
In a third aspect, an embodiment of the present invention further provides a terminal device, including a display, a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements the display parameter correction method for the display according to any one of the above items when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute any one of the above display parameter correction methods for a display.
One of the above technical solutions has the following advantages: the target gamma distribution is calculated according to the actual maximum brightness and the minimum brightness of the display, the real-time calculation can be carried out according to different gamma curves, and the algorithm is flexible and wide in applicability; other effective points are obtained by searching the maximum adjustable point and the minimum adjustable point, so that the point taking is more efficient, the distribution of the adjustable points is prevented from being concentrated, and the correction data is more accurate due to small deviation of a curve fitted by the adjustable points; and generating a third Gamma lookup table according to the correction curve to correct the display parameters of the display, wherein the correction speed is high, so that the display effect (brightness or chroma and the like) of the display is consistent with the use scene and the display content, and the visual experience of a user is improved. Of course, it is not necessary for any product in which the invention is practiced to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a display parameter calibration method for a display according to a first embodiment of the present invention.
Fig. 2 is a flowchart illustrating a method for correcting display parameters of a display according to a first embodiment of the present invention.
Fig. 3 is a third Gamma lookup representation of a display parameter calibration method for a display according to a third embodiment of the present invention.
Fig. 4 is a schematic diagram illustrating a Gamma curve after correction and a reference curve in a display parameter correction method for a display according to a third embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a display parameter correction apparatus of a display according to a fourth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a first embodiment of the present invention provides a method for calibrating display parameters of a display, which can be executed on a terminal device and includes the following steps:
s10, obtaining the maximum adjustable point and the minimum adjustable point of the display to be corrected, and obtaining the maximum brightness of the display according to the maximum adjustable point.
S20, calculating according to the maximum brightness and the minimum brightness of the display to generate a first Gamma lookup table; wherein the minimum brightness is a full black field brightness value of the display.
In this embodiment, the terminal device is a display device having a display or a display screen, and may be an electronic device such as an LCD, a TV, an electronic whiteboard, or a commercial display device. In this embodiment, the display effect of the terminal device may be corrected, for example, by correcting standard gamma, 1886gamma, and Digital gamma (Digital Imaging and communications in Medicine), or HDR oetf (High-Dynamic range optical-Electro Transfer Function, High Dynamic range image and photoelectric conversion characteristics).
In this embodiment, as shown in fig. 2, fig. 2 is a flowchart for correcting display parameters of a display, searching for a predetermined number of target points or debug points and performing debugging, where a maximum adjustable point and a minimum adjustable point of the display need to be obtained first, for example, the maximum gray scale of the display is adjusted and recorded as the maximum adjustable point, and the minimum gray scale is adjusted and recorded as the minimum adjustable point, where it is to be noted that the brightness measured at the maximum adjustable point is the maximum brightness of the display, for example, if the maximum adjustable point is obtained when the display is in a full white field, the maximum brightness of the display is the brightness value when the display is in the full white field. In this embodiment, the minimum luminance of the display is the luminance of the display at full black field, i.e. the luminance value measured when RGB (0, 0, 0) is input.
In this embodiment, the display Gamma is a physical property of the display, and is fixed, invariant, and uncorrectable, so that the Gamma value (Gamma Look-Up Table) corresponding to the display may be calculated by measuring the maximum brightness and the minimum brightness of the display to be corrected, and using the Gamma formula of the display, that is, the first Gamma lookup Table. As an example, the Gamma formula for different displays is different, for example, the standard Gamma formula is:
Figure GDA0002316141270000061
1886Gamma equation:
L=a(max[(V+b),0])γ
a=(LW1/γ-LB1/γ)γ
Figure GDA0002316141270000071
therefore, the target brightness corresponding to the theoretically input RGB digital signal value can be calculated according to the Gamma formula of the display and the measured maximum brightness and minimum brightness of the display, and therefore, the target Gamma distribution can be calculated, that is, the first Gamma lookup table of the display is calculated.
And S30, generating a preset number of debugging points according to the maximum debugging points and the minimum debugging points.
And S40, generating a set of adjustable point points according to each debugging point and the correction data obtained after each debugging point is corrected.
In this embodiment, other debugging points are searched by obtaining the maximum and minimum adjustable points of the display, for example, an effective point obtained by adjusting a predetermined gray scale between the maximum and minimum adjustable points is marked as a debugging point; or performing binary division according to the maximum adjustable point and the minimum adjustable point to obtain other adjustable points.
In the present embodiment, each debugging point is corrected according to display parameters (such as display brightness and color temperature of a display) to be corrected, and correction data is recorded. For example, for a certain debugging point, the measured brightness is a, and the required target brightness is b (where a is smaller than b), so that the corresponding output RGB value needs to be increased, and therefore, each debugging point is corrected, correction data such as the corrected RGB output value and brightness value is recorded, and a set of debugging points is generated according to each debugging point and the correction data corresponding to each debugging point.
And S50, arranging the adjustable point set according to the correction data and the first Gamma lookup table to obtain a second Gamma lookup table.
In this embodiment, each debugging point is arranged in the first Gamma lookup table according to the correction data of each debugging point, and data such as target brightness corresponding to the theoretically input RGB digital signal value can be obtained according to the first Gamma lookup table, so that the target brightness in the correction data of each debugging point corresponds to the target brightness in the first Gamma lookup table, and thus the RGB output value corresponding to the theoretically input RGB value can be obtained, and the RGB output value can meet the target brightness requirement. Therefore, from the correction data for each debugging point and the first lookup table, a plurality of correction points (each correction point corresponding to RGB input value, corresponding RGB output value, target luminance, and the like) corresponding to the number of debugging points can be obtained, thereby generating a second Gamma lookup table.
And S60, fitting according to the second Gamma lookup table to generate a Gamma correction curve, and generating a third Gamma lookup table according to the Gamma correction curve, so that when displaying, the display parameters of the display are corrected according to the third Gamma lookup table.
In this embodiment, a Gamma correction curve is generated by fitting the point set according to each point in the second Gamma lookup table, for example, a curve is generated by fitting through a linear interpolation method, or fitting is performed through other methods, where the correction curve generated by fitting includes an input and output relationship of RGB values, so that data of a required point can be obtained according to the curve, thereby generating a third Gamma lookup table, where the third Gamma lookup table includes an RGB input value and an RGB output value, and is equivalent to an RGB mapping table. In this embodiment, the third Gamma lookup table is stored through a serial port and replaced into the whole device (i.e., the terminal device), so that the writing mode of Gamma with different schemes is compatible, and when displaying is performed, the display parameters of the display can be corrected according to the third Gamma lookup table.
In conclusion, the target gamma distribution is calculated according to the actual maximum brightness and the minimum brightness of the display, the real-time calculation can be carried out according to different gamma curves, the method is suitable for the requirements of the gamma curves, the lut curves and the like of the current distribution, and the algorithm is flexible and has wide applicability; other effective points are obtained by searching the maximum adjustable point and the minimum adjustable point, so that the point taking is more efficient, the distribution of the adjustable points is prevented from being concentrated, and the correction data is more accurate due to small deviation of a curve fitted by the adjustable points; and generating a third Gamma lookup table according to the correction curve to correct the display parameters of the display, wherein the correction speed is high, so that the display effect (brightness or chroma and the like) of the display is consistent with the use scene and the display content, and the visual experience of a user is improved.
In another preferred embodiment, the step S10 specifically includes:
acquiring a maximum adjustable point and a minimum adjustable point of the display; the maximum adjustable point is a maximum effective point obtained by adjusting a specified first gray-scale value; the minimum adjustable point is a minimum effective point obtained by adjusting the specified second gray scale value; the first gray scale value is greater than the second gray scale value; acquiring the maximum brightness of the display according to the maximum adjustable point; and the maximum brightness is a brightness value obtained by measuring the maximum adjustable point. And further comprising: the first gray scale value is a gray scale value of a full white field of the display, and the second gray scale value is 20% of a maximum gray scale value of the display; or the first gray scale value is 90% of the maximum gray scale value of the display, and the second gray scale value is 10% of the maximum gray scale value of the display; and the maximum gray scale value of the display is the gray scale value of the full white field of the display.
As an example, there are two schemes for finding the maximum adjustable point and the minimum adjustable point, taking 8bit (gray scale 0-255) as an example:
the first scheme is as follows:
when the maximum adjustable point is obtained, adjusting the display in a full white field (maximum gray scale 255, 255 and 255), and when the adjustment is effective (brightness changes), recording the gray scale value at the moment as the maximum effective value, namely the maximum adjustable point; when the minimum adjustable point is obtained, adjustment is carried out at 20% gray scale (51, 51, 51), wherein, effective points in the adjustment process are searched downwards by utilizing a binary search method, and the minimum effective value is taken as the minimum adjustable point, for example, the minimum adjustable point is about 10% gray scale.
Scheme II:
when the maximum adjustable point is obtained, adjusting the 90% gray scale, firstly searching the effective point from the 100% gray scale, if the adjustment is effective, recording the effective point, otherwise, searching downwards, namely searching the effective point from the 80% gray scale, and taking the maximum effective value in the adjusting process as the maximum adjustable point; when the minimum adjustable point is obtained, firstly searching the effective point from the 0% gray scale during the adjustment of the 10% gray scale, recording the effective point if the adjustment is effective, otherwise, searching upwards, namely searching the effective point from the 20% gray scale, and taking the minimum effective value in the adjustment process as the minimum adjustable point.
In this embodiment, after obtaining the maximum adjustable point, a brightness value corresponding to the maximum adjustable point is measured, where the brightness value is the maximum brightness of the display.
In this embodiment, the step S30 specifically includes: and acquiring a preset number of debugging points by utilizing a binary search method according to the maximum debugging point and the minimum debugging point.
In this embodiment, after the maximum adjustable point and the minimum adjustable point are found, the two points may be debugged and corrected, and after the debugging is completed, other debugging points are found by using a bisection method, and as an example, a middle point m between the maximum adjustable point and the minimum adjustable point is calculated, that is, m is (maximum adjustable point + minimum adjustable point)/2, and the debugging is performed; and then, taking the middle point m1 between the maximum adjustable point and the point m for debugging, taking the middle point m2 between the minimum adjustable point and the point m for debugging, and repeating the steps until all the adjustable points with known quantity are found, wherein the gamma correction can correct 16 points, 32 points, 64 points or 128 points and the like under the general condition according to the requirement of accuracy. It should be noted that, in general, the RGB curve changes in a certain trend, and the adjusted values of the debugging points can be used to search for other debugging points in two ways, which is more efficient and makes the point set distributed uniformly.
By the method, the maximum adjustable point and the minimum adjustable point are searched, the adjustment is effective, and the data distribution is pulled as far as possible; and then, other debugging points are found by utilizing a binary search method, the point taking is more efficient, and meanwhile, the point set is uniformly distributed, so that the deviation of a correction curve obtained by fitting is small, and the accuracy of correction data is higher.
In another preferred embodiment, the step S40 specifically includes:
acquiring correction data obtained after color temperature correction of each debugging point; wherein, the correction data of the maximum debugging point is obtained after color temperature correction is carried out according to a subtraction principle;
and generating a set of adjustable debugging points according to each debugging point and the correction data corresponding to each debugging point.
In this embodiment, the luminance and chromaticity of the display may be corrected at the same time, where the color temperature (color temperature may be specified by color temperature coordinates x and y, where coordinate x is the proportion of red primary color, coordinate y is the proportion of green primary color, and blue primary color z is derived from x + y + z ═ 1) of each obtained debugging point is corrected first, and for each debugging point, the color temperature coordinate of the debugging point is made to approach the target color temperature coordinates x and y by inputting and changing the value (i.e., RGB value) of its digital signal, and there is a correlation between the color temperature coordinate and the color temperature; in order to achieve the target color temperature coordinate x, y, the digital signal RGB is adjusted, and the physical brightness and the digital signal RGB variation relationship are positively correlated. In this embodiment, the larger R, the larger x during debugging; the larger G, the larger y; the larger B is, the smaller x/y is, so that the rule is obtained: ↓r, x ↓, ×) R, x ↓; ↓G, y ↓, ×) G, y ↓; ↓B, x ↓y ↓, × [ beta ] B, x ↓ y ↓. Here, for a given gray scale signal (i.e., the gray scale value corresponding to the debugging point, the RGB value), the color temperature coordinate of the displayed gray scale image approaches the target color temperature coordinate by adjusting the proportion of R, G, B in the output signal, and the correction data such as the RGB output value (i.e., R, G, B three output values), the color temperature coordinate (x, y), and the brightness value Lv obtained by debugging are recorded. And after each debugging point is corrected, each debugging point and each corresponding correction data are combined to generate a set of debugging points.
It should be noted that, when correcting the maximum adjustable point, the adjustment is performed by a subtraction principle, where the subtraction principle is to adjust only R and B at the same time without adjusting G or adjust only G and B at the same time without adjusting R, and as an example, if RGB corresponding to the maximum adjustable point is (255, 255, 255) and color temperature coordinates are (x1, y1), when correcting, the color temperature coordinates are compared with the target color temperature coordinates (x, y), if both x1 and y1 are greater than (or higher than) the target color temperatures x and y, the adjustment is performed at a distance from the target color temperature, that is, the B component is increased until one of x1 and y1 is lower than the target value, and then it is determined which value is higher than the target value x, if x1 is higher than the target value x, the R component is decreased, and if y1 is higher than the target value y. The G component is reduced, it being understood that when correcting the maximum adjustable point, only R and B or only G and B are adjusted at the same time, ensuring that the value of one of the components is the original value, i.e. 255. And when the minimum adjustable point is corrected, the uniform distribution of the point set is ensured by adding and subtracting the components of R and B and not adjusting the value of G as much as possible. When debugging other debugging points, the color temperature coordinate of the debugging point can be close to the target color temperature coordinate by adjusting the proportion of R, G, B in the output signal according to the actual situation, as an example, for a certain debugging point, the color temperature coordinate of the debugging point is compared with the target color temperature coordinate, and if the color temperature coordinates x2 and y2 are both larger than the target value, the component B is increased; on the contrary, if the color temperature coordinates x2 and y2 are smaller than the target value, the B component is reduced; if x2 is large, then the R component is reduced; if y2 is larger, the G component is reduced, and finally the color temperature of the debugging point can be made to meet the requirement. After each debugging point is corrected by the debugging method, the uniform distribution of the point set can be ensured.
In this embodiment, the target luminance corresponding to the theoretical input RGB digital signal value may be calculated according to a Gamma formula of the display, and the actual maximum luminance and the minimum luminance, so that the first Gamma lookup table includes at least two RGB input values and a target luminance value corresponding to each RGB input value; and the correction data of each debugging point comprises an RGB output value and a brightness value which meet the target color temperature coordinate after correction; step S50 is specifically: arranging each debugging point in the set of debugging points in the first Gamma lookup table according to the brightness value of each debugging point to obtain a second Gamma lookup table; wherein the second Gamma lookup table includes at least two RGB input values, an RGB output value corresponding to each of the RGB input values, and a target luminance value.
In this embodiment, the debugging points are arranged in the first Gamma lookup table according to the corrected brightness value of each debugging point, for example, according to the brightness value of the debugging point, an RGB input value whose brightness value meets the brightness requirement (for example, meets the target brightness requirement corresponding to the RGB input value or is close to the target brightness) is found in the first Gamma lookup table, and an RGB output value corresponding to the brightness value is used as an output signal of the RGB input value, so that an RGB output value corresponding to a theoretical RGB input value can be obtained, and the RGB output value can meet both the target brightness requirement and the target color temperature requirement, and finally a second Gamma lookup table is generated, where the second Gamma lookup table includes a plurality of RGB input values corresponding to each RGB input value, and the RGB output value and the target brightness, coordinates, and other data.
In this embodiment, the step S60 specifically includes: fitting to generate a Gamma correction curve according to the second Gamma lookup table; wherein the Gamma correction curve comprises a relationship between the RGB input values and the RGB output values; generating a third Gamma lookup table according to the Gamma correction curve; wherein the third Gamma lookup table includes at least one RGB input value and an RGB output value corresponding to each of the RGB input values.
In this embodiment, a Gamma correction curve including a corresponding relationship between RGB input values and RGB output values may be generated by fitting all points in the second Gamma lookup table through linear interpolation or other manners, where it should be noted that, since RGB input values are linear data and corrected RGB output values are nonlinear data, the Gamma correction curve includes R, G, B input-output relationships of three curves, and a third Gamma lookup table (an RGB mapping table capable of correcting luminance and chrominance at the same time) may be generated according to the Gamma correction curve. For example, the input RGB is 10 bits, and the value range is 0 to 1023, so that three output values of R, G, B corresponding to RGB input values of 0 to 1023 respectively can be obtained according to the Gamma correction curve, and a third Gamma lookup table is generated. The RGB input values contained in the third Gamma lookup table are linear data, the RGB output values are nonlinear data, and the output values of the third Gamma lookup table are higher than the input values by several bits for calculation accuracy, for example, as shown in fig. 3, index in the figure is R, G, B input values (8 bits), and the maximum is 255, and three values are equal. R, G, B, three columns are corrected data (namely RGB output value, 14bit), maximum 4095, and finally the third Gamma lookup table is stored through a serial port and replaced to the whole machine, so that when displaying, the display parameters of the display can be corrected according to the third Gamma lookup table, and simultaneously, debugging data can be additionally stored, which is convenient for collecting and analyzing the whole machine and tracing problems, as shown in FIG. 4, it can be seen that the measured Gamma curve after correction is basically completely coincident with the reference curve.
By the mode, the color temperature of each debugging point is corrected, the debugging points are arranged to the first Gamma lookup table according to the correction data, so that the brightness and the color temperature (namely the chromaticity) of the display can be corrected at the same time, the Gamma correction efficiency and accuracy are improved, the picture display effect is improved, and the visual experience of a user is improved.
Referring to fig. 5, a second embodiment of the present invention further provides a device for calibrating display parameters of a display, including:
a first debugging point obtaining module 10, configured to obtain a maximum debugging point and a minimum debugging point of a display to be corrected, and obtain a maximum brightness of the display according to the maximum debugging point;
a first lookup table generating module 20, configured to calculate according to the maximum brightness and the minimum brightness of the display, and generate a first Gamma lookup table; wherein the minimum brightness is a full black field brightness value of the display;
a second debug point obtaining module 30, configured to generate a predetermined number of debug points according to the maximum debug point and the minimum debug point;
a point set generating module 40, configured to generate a point set of adjustable points according to each debugging point and correction data obtained after each debugging point is corrected;
a second lookup table generating module 50, configured to arrange the adjustable point sets according to the correction data and the first Gamma lookup table to obtain a second Gamma lookup table;
and a third lookup table generating module 60, configured to perform fitting according to the second Gamma lookup table to generate a Gamma correction curve, and generate a third Gamma lookup table according to the Gamma correction curve, so that when performing display, the display parameters of the display are corrected according to the third Gamma lookup table.
Preferably, the first debugging point obtaining module 10 specifically includes:
the first debugging point acquisition unit is used for acquiring the maximum debugging point and the minimum debugging point of the display to be corrected; the maximum adjustable point is a maximum effective point obtained by adjusting a specified first gray-scale value; the minimum adjustable point is a minimum effective point obtained by adjusting the specified second gray scale value;
the maximum brightness obtaining unit is used for obtaining the maximum brightness of the display according to the maximum adjustable point; and the maximum brightness is a brightness value obtained by measuring the maximum adjustable point.
Further, the first grayscale value is a maximum grayscale value of the display, and the second grayscale value is 20% of the maximum grayscale value;
or the first gray scale value is 90% of the maximum gray scale value and the second gray scale value is 10% of the maximum gray scale value; and the maximum gray scale value of the display is the gray scale value of the display in the full white field.
Preferably, the second debugging point obtaining module 30 is specifically:
and the second debugging point obtaining unit is used for obtaining a preset number of debugging points by utilizing a binary search method according to the maximum debugging point and the minimum debugging point.
Preferably, the point set generating module 40 specifically includes:
the correction data acquisition unit is used for acquiring correction data obtained after color temperature correction of each debugging point; wherein, the correction data of the maximum debugging point is obtained after color temperature correction is carried out according to a subtraction principle;
and the debugging point set generating unit is used for generating a debugging point set according to each debugging point and the correction data corresponding to each debugging point.
Further, the first Gamma lookup table includes at least two RGB input values and a target luminance value corresponding to each RGB input value; the correction data of each debugging point comprises an RGB output value and a brightness value which meet the target color temperature coordinate after correction; the second lookup table generating module 50 specifically includes:
the second lookup table generating unit is used for arranging each debugging point in the set of debugging points in the first Gamma lookup table according to the brightness value of each debugging point to obtain a second Gamma lookup table; wherein the second Gamma lookup table includes at least two RGB input values, an RGB output value corresponding to each of the RGB input values, and a target luminance value.
Further, the third lookup table generating module 60 specifically includes:
the correction curve fitting unit is used for fitting and generating a Gamma correction curve according to the second Gamma lookup table; wherein the Gamma correction curve comprises a relationship between the RGB input values and the RGB output values;
the third lookup table generating unit is used for generating a third Gamma lookup table according to the Gamma correction curve; wherein the third Gamma lookup table includes at least one RGB input value and an RGB output value corresponding to each of the RGB input values.
A third embodiment of the present invention provides a terminal device for correcting display parameters of a display. The terminal device for display parameter correction of the display of the embodiment includes: a processor, a display, a memory and a computer program stored in said memory and executable on said processor, such as a program for display parameter correction of a display. The processor, when executing the computer program, implements the steps in the above-described embodiments of the method for correcting the display parameters of each display, such as step S10 shown in fig. 1. Alternatively, the processor implements the functions of the units in the above device embodiments when executing the computer program, for example, the first debug point obtaining module 10 shown in fig. 5.
Illustratively, the computer program may be partitioned into one or more modules that are stored in the memory and executed by the processor to implement the invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the terminal device for display parameter correction of the display.
The terminal device for correcting the display parameters of the display can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The terminal device for display parameter correction of the display can include, but is not limited to, a processor, a memory, and a display. It will be appreciated by those skilled in the art that the above components are merely examples of a terminal device for display parameter correction of a display, and do not constitute a limitation of a terminal device for display parameter correction of a display, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal device for display parameter correction of a display may further include an input-output device, a network access device, a bus, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general processor may be a microprocessor or the processor may be any conventional processor or the like, the processor is a control center of the terminal device for display parameter correction of the display, and various interfaces and lines are used to connect various parts of the terminal device for display parameter correction of the whole display.
The memory can be used for storing the computer program and/or the module, and the processor can realize various functions of the terminal equipment for correcting the display parameters of the display by running or executing the computer program and/or the module stored in the memory and calling the data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, a text conversion function, etc.), and the like; the storage data area may store data (such as audio data, text message data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The terminal device integrated module for correcting the display parameters of the display can be stored in a computer readable storage medium if the module is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (9)

1. A display parameter correction method of a display is characterized by comprising the following steps:
acquiring a maximum adjustable point and a minimum adjustable point of a display to be corrected, and acquiring the maximum brightness of the display according to the maximum adjustable point;
calculating according to the maximum brightness and the minimum brightness of the display to generate a first Gamma lookup table; wherein the minimum brightness is a full black field brightness value of the display;
generating a preset number of debugging points according to the maximum debugging points and the minimum debugging points;
generating a set of adjustable debugging points according to each debugging point and correction data obtained after each debugging point is corrected;
arranging the adjustable point sets according to the correction data and the first Gamma lookup table to obtain a second Gamma lookup table;
fitting according to the second Gamma lookup table to generate a Gamma correction curve, and generating a third Gamma lookup table according to the Gamma correction curve, so that when displaying, the display parameters of the display are corrected according to the third Gamma lookup table;
generating a set of debugging points according to each debugging point and correction data obtained after each debugging point is corrected, specifically:
acquiring correction data obtained after color temperature correction of each debugging point; wherein, the correction data of the maximum debugging point is obtained after color temperature correction is carried out according to a subtraction principle;
and generating a set of adjustable debugging points according to each debugging point and the correction data corresponding to each debugging point.
2. The method according to claim 1, wherein the obtaining a maximum adjustable point and a minimum adjustable point of a display to be corrected, and obtaining a maximum brightness of the display according to the maximum adjustable point specifically include:
acquiring a maximum adjustable point and a minimum adjustable point of a display to be corrected; the maximum adjustable point is a maximum effective point obtained by adjusting a specified first gray-scale value; the minimum adjustable point is a minimum effective point obtained by adjusting the specified second gray scale value; the first gray scale value is greater than the second gray scale value;
acquiring the maximum brightness of the display according to the maximum adjustable point; and the maximum brightness is a brightness value obtained by measuring the maximum adjustable point.
3. The method according to claim 2, wherein the first gray-scale value is a maximum gray-scale value of the display, and the second gray-scale value is 20% of the maximum gray-scale value;
or the first gray scale value is 90% of the maximum gray scale value and the second gray scale value is 10% of the maximum gray scale value; and the maximum gray scale value of the display is the gray scale value of the display in the full white field.
4. The method for correcting display parameters of a display according to claim 1, wherein the generating a predetermined number of debugging points according to the maximum adjustable point and the minimum adjustable point specifically comprises:
and acquiring a preset number of debugging points by utilizing a binary search method according to the maximum debugging point and the minimum debugging point.
5. The method of claim 1, wherein the first Gamma lookup table comprises at least two RGB input values and a target luminance value corresponding to each RGB input value; the correction data of each debugging point comprises an RGB output value and a brightness value which meet the target color temperature coordinate after correction;
and the adjustable point set is arranged according to the correction data and the first Gamma lookup table to obtain a second Gamma lookup table, which specifically includes:
arranging each debugging point in the set of debugging points in the first Gamma lookup table according to the brightness value of each debugging point to obtain a second Gamma lookup table; wherein the second Gamma lookup table includes at least two RGB input values, an RGB output value corresponding to each of the RGB input values, and a target luminance value.
6. The method according to claim 5, wherein the fitting is performed according to the second Gamma lookup table to generate a Gamma correction curve, and a third Gamma lookup table is generated according to the Gamma correction curve, specifically:
fitting to generate a Gamma correction curve according to the second Gamma lookup table; wherein the Gamma correction curve comprises a relationship between the RGB input values and the RGB output values;
generating a third Gamma lookup table according to the Gamma correction curve; wherein the third Gamma lookup table includes at least one RGB input value and an RGB output value corresponding to each of the RGB input values.
7. An apparatus for display parameter correction of a display, comprising:
the first debugging point obtaining module is used for obtaining a maximum debugging point and a minimum debugging point of a display to be corrected and obtaining the maximum brightness of the display according to the maximum debugging point;
the first lookup table generating module is used for calculating according to the maximum brightness and the minimum brightness of the display to generate a first Gamma lookup table; wherein the minimum brightness is a full black field brightness value of the display;
the second debugging point obtaining module is used for generating a preset number of debugging points according to the maximum debugging point and the minimum debugging point;
the point set generating module is used for generating a debugging point set according to each debugging point and correction data obtained after each debugging point is corrected;
the second lookup table generation module is used for arranging the adjustable point set according to the correction data and the first Gamma lookup table to obtain a second Gamma lookup table;
the third lookup table generating module is used for fitting according to the second Gamma lookup table to generate a Gamma correction curve and generating a third Gamma lookup table according to the Gamma correction curve, so that when the display is performed, the display parameters of the display are corrected according to the third Gamma lookup table;
the point set generation module specifically comprises:
the correction data acquisition unit is used for acquiring correction data obtained after color temperature correction of each debugging point; wherein, the correction data of the maximum debugging point is obtained after color temperature correction is carried out according to a subtraction principle;
and the debugging point set generating unit is used for generating a debugging point set according to each debugging point and the correction data corresponding to each debugging point.
8. A terminal device comprising a display, a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the display parameter correction method of the display according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, comprising a stored computer program, wherein when the computer program runs, the computer-readable storage medium controls an apparatus to execute the method for correcting display parameters of a display according to any one of claims 1 to 6.
CN201811085080.XA 2018-09-17 2018-09-17 Display parameter correction method and device of display, terminal equipment and storage medium Active CN109036333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811085080.XA CN109036333B (en) 2018-09-17 2018-09-17 Display parameter correction method and device of display, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811085080.XA CN109036333B (en) 2018-09-17 2018-09-17 Display parameter correction method and device of display, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109036333A CN109036333A (en) 2018-12-18
CN109036333B true CN109036333B (en) 2020-06-02

Family

ID=64616846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811085080.XA Active CN109036333B (en) 2018-09-17 2018-09-17 Display parameter correction method and device of display, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109036333B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070841B (en) * 2019-03-26 2020-11-27 深圳市嘉利达专显科技有限公司 Display screen adjusting method and device and electronic equipment
CN109979390B (en) * 2019-04-09 2020-10-30 京东方科技集团股份有限公司 Gamma correction method, device, system and medium
CN111654937B (en) * 2020-07-22 2022-10-04 广州彩熠灯光股份有限公司 Correction data testing method, lamp color correction method, medium and console
CN114697591A (en) * 2020-12-29 2022-07-01 深圳Tcl新技术有限公司 Display picture adjusting method and device, storage medium and terminal equipment
CN112565727B (en) * 2021-02-19 2021-05-25 深圳市火乐科技发展有限公司 Projection equipment control method, device, medium and electronic equipment
CN113178165B (en) * 2021-03-26 2022-03-18 卡莱特云科技股份有限公司 LED display screen correction method and device in HDR mode
CN113284456B (en) * 2021-07-21 2021-12-10 卡莱特云科技股份有限公司 Method and device for determining correction coefficient of display screen lamp point and computer equipment
CN114677983B (en) * 2022-03-30 2023-04-28 Oppo广东移动通信有限公司 Display calibration method and related device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546547A (en) * 2009-04-23 2009-09-30 北京德为视讯科技股份有限公司 Method for correcting display
CN104050922A (en) * 2014-06-26 2014-09-17 云南北方奥雷德光电科技股份有限公司 Method for quickly establishing gamma correction lookup table of OLED displayer

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004120366A (en) * 2002-09-26 2004-04-15 Sony Corp Apparatus and method for image processing
JP2008158215A (en) * 2006-12-22 2008-07-10 Canon It Solutions Inc Video signal controller and control method thereof, program, and computer-readable storage medium
US8803922B2 (en) * 2007-05-30 2014-08-12 Apple Inc. Methods and apparatuses for increasing the apparent brightness of a display
TWI393089B (en) * 2008-03-21 2013-04-11 Chimei Innolux Corp Method of storing gamma look-up table
US20150103252A1 (en) * 2013-10-16 2015-04-16 Nvidia Corporation System, method, and computer program product for gamma correction in a video or image processing engine
TWI540556B (en) * 2014-06-05 2016-07-01 晨星半導體股份有限公司 Gamma correction circuit and gamma correction method
US9530343B2 (en) * 2014-06-23 2016-12-27 Shenzhen China Star Optoelectronics Technology Co., Ltd. Method for correcting gray-scale of display panel
CN105654920B (en) * 2015-12-31 2018-06-12 厦门天马微电子有限公司 Display device, method for displaying image and gray-scale intensity conversion method
CN107799081B (en) * 2017-11-08 2019-10-22 武汉华星光电半导体显示技术有限公司 Gamma corrects system and its bearing calibration

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546547A (en) * 2009-04-23 2009-09-30 北京德为视讯科技股份有限公司 Method for correcting display
CN104050922A (en) * 2014-06-26 2014-09-17 云南北方奥雷德光电科技股份有限公司 Method for quickly establishing gamma correction lookup table of OLED displayer

Also Published As

Publication number Publication date
CN109036333A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN109036333B (en) Display parameter correction method and device of display, terminal equipment and storage medium
CN109326264B (en) Brightness Demura method and system of liquid crystal display module
US11200844B2 (en) Method and apparatus for controlling brightness of display, and terminal device
CN107408367B (en) Method, device and system for correcting unevenness of display screen
CN113284456B (en) Method and device for determining correction coefficient of display screen lamp point and computer equipment
WO2020093495A1 (en) Method and device for adjusting gamma value of display panel
US20200211502A1 (en) Mura correction system
US8648885B2 (en) Method for creating gamma look-up table and display device
US11501689B2 (en) Control method and control apparatus for brightness of display panel, storage medium and processor
CN109309826B (en) Image color balancing method and device, terminal equipment and readable storage medium
KR20160059021A (en) Display panel driving device and display device having the same
US9886885B2 (en) Gamma correction circuit and display device
US11380284B2 (en) Color space mapping method, equipment, computer readable storage medium, and device
CN114333724A (en) Display brightness and color correction method and device, electronic equipment and storage medium
JP6361375B2 (en) Image processing apparatus, image processing method, and image display apparatus
CN112929625A (en) Display material rendering method and device
KR20180113909A (en) Driver ic apparatus including correction function
CN108447456B (en) A kind of image shows bearing calibration and device
CN109994084A (en) The digital gamma correction device of computer readable storage medium and the application medium
JP6277984B2 (en) Image correction apparatus, image correction method, and image correction program
CN109410873B (en) Driving method and system and display device
US10304365B2 (en) Image correction device, display device, and image correction method
CN105427816A (en) Information processing method and electronic equipment
CN115170681B (en) Gamma lookup table generation method and device, electronic equipment and storage medium
CN111312141B (en) Color gamut adjusting method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant