CN111210763A - Gamma calibration method and device - Google Patents

Gamma calibration method and device Download PDF

Info

Publication number
CN111210763A
CN111210763A CN202010066820.6A CN202010066820A CN111210763A CN 111210763 A CN111210763 A CN 111210763A CN 202010066820 A CN202010066820 A CN 202010066820A CN 111210763 A CN111210763 A CN 111210763A
Authority
CN
China
Prior art keywords
gray scale
brightness
lumi
measured
order
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.)
Granted
Application number
CN202010066820.6A
Other languages
Chinese (zh)
Other versions
CN111210763B (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.)
Colorlight Cloud Technology Co Ltd
Original Assignee
Colorlight Shenzhen Cloud Technology 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 Colorlight Shenzhen Cloud Technology Co Ltd filed Critical Colorlight Shenzhen Cloud Technology Co Ltd
Priority to CN202010066820.6A priority Critical patent/CN111210763B/en
Publication of CN111210763A publication Critical patent/CN111210763A/en
Application granted granted Critical
Publication of CN111210763B publication Critical patent/CN111210763B/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
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • G09G2320/0276Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Of Color Television Signals (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

The embodiment of the invention provides a gamma calibration method and a device, wherein the method comprises the following steps: acquiring a gamma grade n to be calibrated; respectively measuring the measurement brightness of the front n-order gray scale when the display equipment displays the target color; calculating the theoretical brightness of each gray scale according to the measured brightness; calculating the gamma calibration value of each gray scale by using the measured brightness and the theoretical brightness of each gray scale; and carrying out gamma calibration on display parameters of the display equipment according to the obtained gamma calibration value, wherein the display parameters are parameters for setting the display effect of the display equipment. By applying the scheme provided by the embodiment of the invention, the gamma calibration value of each gray scale can be automatically calculated by utilizing the measured brightness and the theoretical brightness of each gray scale, so that the gamma calibration of the display parameters of the display equipment is carried out without manual adjustment of workers.

Description

Gamma calibration method and device
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a gamma calibration method and apparatus.
Background
In practical application, each LED screen has a unique gamma table corresponding to the LED screen, and the gamma calibration of the LED screen can be performed by adjusting the gamma table so as to change the display effect of the LED screen.
In the related art, workers usually adjust the gamma table manually, but the gamma table needs to be adjusted again after display parameters for setting the display effect of the LED screen are changed, for example, the gamma table needs to be adjusted again after the brightness of the LED screen is changed.
Disclosure of Invention
The embodiment of the invention aims to provide a gamma calibration method and a gamma calibration device, so as to automatically perform gamma calibration on display auditing equipment. The specific technical scheme is as follows:
in one aspect of the present invention, there is provided a gamma calibration method, including:
acquiring a gamma grade n to be calibrated;
respectively measuring the measurement brightness of the front n-order gray scale when the display equipment displays the target color;
calculating the theoretical brightness of each gray scale according to the measured brightness;
calculating the gamma calibration value of each gray scale by using the measured brightness and the theoretical brightness of each gray scale;
and carrying out gamma calibration on display parameters of the display equipment according to the obtained gamma calibration value, wherein the display parameters are parameters for setting the display effect of the display equipment.
Optionally, the step of calculating the theoretical brightness of each gray scale according to the measured brightness includes:
determining the minimum gray scale with the difference value between the measured brightness and the measured brightness of the 0-order gray scale larger than a preset value in the measured brightness, and taking the measured brightness of the determined minimum gray scale as the theoretical brightness of the 1-order gray scale;
and sequentially calculating the theoretical brightness of the residual gray scale by using the following expression:
lumi(i+1)=[lumi(i)-lumi(0)]/(i-0)*(i+1)
where lumi (0) represents the measured luminance of the 0-order gray scale, lumi (i) represents the theoretical luminance of the i-order gray scale, lumi (i +1) represents the theoretical luminance of the i + 1-order gray scale, and i belongs to [1, n ].
Optionally, the step of calculating the gamma calibration value of each gray scale by using the measured brightness and the theoretical brightness of each gray scale includes:
the slope k (i) of the first i-order gray scale with respect to the 0-order gray scale is calculated using the following expression, respectively:
(lumi(i)-lumi(0))/(i-0)
counting the maximum value and the minimum value of each slope obtained by calculation, and respectively recording the maximum value and the minimum value as kmax and kmin;
calculating the interval of the theoretical brightness of the i + 1-order gray scale by using the following expression:
[(lumi(i)-lumi(0))/(kmax),(lumi(i)-lumi(0))/(kmin)];
in the case where (lumi (i) -lumi (0))/(kmin) is greater than n, updating n to (lumi (i) -lumi (0))/(kmin) and measuring the measured luminance of the previous n-order gradation;
traversing the measured brightness of the measured previous n-order gray scale to determine the final brightness of the i + 1-order gray scale, wherein the final brightness is as follows: the difference value between the measured brightness of the measured previous n-order gray scale and the theoretical brightness of the i + 1-order gray scale is minimum and is higher than the brightness of the final brightness of the i-order gray scale;
and calculating the gamma calibration value of the i + 1-order gray scale by using the final brightness and the measured brightness of the i + 1-order gray scale.
Optionally, the step of measuring the measured brightness of the previous n-order gray scales when the display device displays the target color respectively includes:
controlling a display device to display a target color;
and adjusting the brightness displayed by the display equipment step by step according to a preset sequence in the range of the front n-order gray scale, and respectively measuring the measured brightness of the front n-order gray scale.
Optionally, the target color includes: red, blue and green.
In another aspect of the present invention, there is also provided a gamma calibration apparatus, including:
the acquisition module is used for acquiring a gamma grade n to be calibrated;
the measuring module is used for respectively measuring the measuring brightness of the front n-order gray scale when the display equipment displays the target color;
the calculation module is used for calculating the theoretical brightness of each gray scale according to the measured brightness;
the calculation module is used for calculating the gamma calibration value of each gray scale by using the measured brightness and the theoretical brightness of each gray scale;
and the calibration module is used for carrying out gamma calibration on the display parameters of the display equipment according to the obtained gamma calibration value, wherein the display parameters are parameters for setting the display effect of the display equipment.
Optionally, the calculating module is further used for
Determining the minimum gray scale with the difference value between the measured brightness and the measured brightness of the 0-order gray scale larger than a preset value in the measured brightness, and taking the measured brightness of the determined minimum gray scale as the theoretical brightness of the 1-order gray scale;
and sequentially calculating the theoretical brightness of the residual gray scale by using the following expression:
lumi(i+1)=[lumi(i)-lumi(0)]/(i-0)*(i+1)
where lumi (0) represents the measured luminance of the 0-order gray scale, lumi (i) represents the theoretical luminance of the i-order gray scale, lumi (i +1) represents the theoretical luminance of the i + 1-order gray scale, and i belongs to [1, n ].
Optionally, the computing module is further configured to
The slope k (i) of the first i-order gray scale with respect to the 0-order gray scale is calculated using the following expression, respectively:
(lumi(i)-lumi(0))/(i-0)
counting the maximum value and the minimum value of each slope obtained by calculation, and respectively recording the maximum value and the minimum value as kmax and kmin;
calculating the interval of the theoretical brightness of the i + 1-order gray scale by using the following expression:
[(lumi(i)-lumi(0))/(kmax),(lumi(i)-lumi(0))/(kmin)];
in the case where (lumi (i) -lumi (0))/(kmin) is greater than n, updating n to (lumi (i) -lumi (0))/(kmin) and measuring the measured luminance of the previous n-order gradation;
traversing the measured brightness of the measured previous n-order gray scale to determine the final brightness of the i + 1-order gray scale, wherein the final brightness is as follows: the difference value between the measured brightness of the measured previous n-order gray scale and the theoretical brightness of the i + 1-order gray scale is minimum and is higher than the brightness of the final brightness of the i-order gray scale;
and calculating the gamma calibration value of the i + 1-order gray scale by using the final brightness and the measured brightness of the i + 1-order gray scale.
Optionally, the measurement module is further used for
Controlling a display device to display a target color;
and adjusting the brightness displayed by the display equipment step by step according to a preset sequence in the range of the front n-order gray scale, and respectively measuring the measured brightness of the front n-order gray scale.
In another aspect of the present invention, an electronic device is further provided, which includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any gamma calibration method when executing the program stored in the memory.
The gamma calibration method and the gamma calibration device provided by the embodiment of the invention can obtain the gamma grade n to be calibrated; respectively measuring the measurement brightness of the front n-order gray scale when the display equipment displays the target color; calculating the theoretical brightness of each gray scale according to the measured brightness; calculating the gamma calibration value of each gray scale by using the measured brightness and the theoretical brightness of each gray scale; and carrying out gamma calibration on the display parameters of the display equipment according to the obtained gamma calibration value. By applying the scheme provided by the embodiment of the invention, the gamma calibration value of each gray scale can be automatically calculated by utilizing the measured brightness and the theoretical brightness of each gray scale, so that the gamma calibration of the display parameters of the display equipment is carried out without manual adjustment of workers.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flowchart of a gamma calibration method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a gamma calibration apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an 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 schematic flowchart of a gamma calibration method according to an embodiment of the present invention is provided, where the method includes:
s100, acquiring a gamma grade n to be calibrated.
In implementation, adjusting the display parameters in low gray has a significant effect of changing the display effect of the screen of the display device, and based on this, the gamma level n may be 1024 steps.
And S110, respectively measuring the measured brightness of the previous n-order gray scale when the display device displays the target color.
In implementation, the display device may be controlled to display a target color; and then, adjusting the brightness displayed by the display equipment step by step in the range of the front n-order gray scale according to a preset sequence, and respectively measuring the measured brightness of the front n-order gray scale. Specifically, the preset sequence may be a sequence of gray scales from low to high.
The target color may include: red, blue and green. That is, the measured luminance of the previous n-th order gray scale may be measured while the display device displays red, blue, and green, respectively.
In one implementation, a spectrocolorimeter may be used to measure the measured luminance of the first n-th gray levels, respectively.
S120, calculating the theoretical brightness of each gray scale according to the measured brightness.
In implementation, a minimum gray scale with a difference value larger than a preset value from the measured brightness of the 0-order gray scale may be determined from the measured brightness, and the measured brightness of the determined minimum gray scale may be used as the theoretical brightness of the 1-order gray scale; specifically, the predetermined value may be 0.02.
Then, the theoretical brightness of the residual gray scale is calculated by the following expression:
lumi(i+1)=[lumi(i)-lumi(0)]/(i-0)*(i+1)
where lumi (0) represents the measured luminance of the 0-order gray scale, lumi (i) represents the theoretical luminance of the i-order gray scale, lumi (i +1) represents the theoretical luminance of the i + 1-order gray scale, and i belongs to [1, n ].
S130, calculating the gamma calibration value of each gray scale by using the measured brightness and the theoretical brightness of each gray scale.
In implementation, the slope k (i) of the first i-order gray scale with respect to the 0-order gray scale can be calculated using the following expression:
(lumi(i)-lumi(0))/(i-0)
counting the maximum value and the minimum value of each slope obtained by calculation, and respectively recording the maximum value and the minimum value as kmax and kmin;
calculating the interval of the theoretical brightness of the i + 1-order gray scale by using the following expression:
[(lumi(i)-lumi(0))/(kmax),(lumi(i)-lumi(0))/(kmin)];
in the case where (lumi (i) -lumi (0))/(kmin) is greater than n, updating n to (lumi (i) -lumi (0))/(kmin) and measuring the measured luminance of the previous n-order gradation; in practice, when (lumi (i) -lumi (0))/(kmin) is greater than n, the optimal solution of the luminance of the i +1 order gray scale does not exist in the measured luminance of the previous n order gray scales measured currently, at this time, it is necessary to update n to (lumi (i) -lumi (0))/(kmin) and continue to measure the measured luminance of the previous n order gray scales, and since the measured luminance of the previous n order gray scales when n is not updated has been measured, it is only necessary to continue to measure the measured luminance of each gray scale which is not measured after n is updated.
Traversing the measured brightness of the measured previous n-order gray scale to determine the final brightness of the i + 1-order gray scale, wherein the final brightness is as follows: the difference value between the measured brightness of the measured previous n-order gray scale and the theoretical brightness of the i + 1-order gray scale is minimum and is higher than the brightness of the final brightness of the i-order gray scale; it is understood that as the gray scale increases, the brightness gradually increases, and therefore, the final brightness at the determined i + 1-order gray scale is higher than the brightness at the previous-order gray scale.
And calculating the gamma calibration value of the i + 1-order gray scale by using the final brightness and the measured brightness of the i + 1-order gray scale.
In implementation, the difference between the final brightness of the i +1 order gray scale and the measured brightness can be calculated, and the calculated difference is used as the gamma calibration value of the i +1 order gray scale.
And S140, carrying out gamma calibration on the display parameters of the display equipment according to the obtained gamma calibration value.
The display parameters are parameters for setting the display effect of the display equipment.
In an implementation, after the gamma calibration values of the respective gray scales are obtained, the display device may be adjusted at the respective gray scales by using the respective gamma calibration values.
By applying the scheme provided by the embodiment of the invention, the gamma calibration value of each gray scale can be automatically calculated by utilizing the measured brightness and the theoretical brightness of each gray scale, so that the gamma calibration of the display parameters of the display equipment is carried out without manual adjustment of workers.
Referring to fig. 2, a gamma calibration apparatus according to an embodiment of the present invention includes:
an obtaining module 200, configured to obtain a gamma level n to be calibrated;
the measurement module 210 is configured to measure the measurement brightness of the previous n-order gray scale when the display device displays the target color;
a calculating module 220 for calculating the theoretical brightness of each gray scale according to the measured brightness;
a calculating module 230, configured to calculate a gamma calibration value for each gray scale by using the measured brightness and the theoretical brightness of each gray scale;
a calibration module 240, configured to perform gamma calibration on display parameters of the display device according to the obtained gamma calibration value, where the display parameters are parameters for setting a display effect of the display device.
In one implementation, the calculating module 220 is further configured to calculate
Determining the minimum gray scale with the difference value between the measured brightness and the measured brightness of the 0-order gray scale larger than a preset value in the measured brightness, and taking the measured brightness of the determined minimum gray scale as the theoretical brightness of the 1-order gray scale;
and sequentially calculating the theoretical brightness of the residual gray scale by using the following expression:
lumi(i+1)=[lumi(i)-lumi(0)]/(i-0)*(i+1)
where lumi (0) represents the measured luminance of the 0-order gray scale, lumi (i) represents the theoretical luminance of the i-order gray scale, lumi (i +1) represents the theoretical luminance of the i + 1-order gray scale, and i belongs to [1, n ].
In one implementation, the calculating module 230 is further configured to
The slope k (i) of the first i-order gray scale with respect to the 0-order gray scale is calculated using the following expression, respectively:
(lumi(i)-lumi(0))/(i-0)
counting the maximum value and the minimum value of each slope obtained by calculation, and respectively recording the maximum value and the minimum value as kmax and kmin;
calculating the interval of the theoretical brightness of the i + 1-order gray scale by using the following expression:
[(lumi(i)-lumi(0))/(kmax),(lumi(i)-lumi(0))/(kmin)];
in the case where (lumi (i) -lumi (0))/(kmin) is greater than n, updating n to (lumi (i) -lumi (0))/(kmin) and measuring the measured luminance of the previous n-order gradation;
traversing the measured brightness of the measured previous n-order gray scale to determine the final brightness of the i + 1-order gray scale, wherein the final brightness is as follows: the difference value between the measured brightness of the measured previous n-order gray scale and the theoretical brightness of the i + 1-order gray scale is minimum and is higher than the brightness of the final brightness of the i-order gray scale;
and calculating the gamma calibration value of the i + 1-order gray scale by using the final brightness and the measured brightness of the i + 1-order gray scale.
In one implementation, the measurement module 210 is further configured to
Controlling a display device to display a target color;
and adjusting the brightness displayed by the display equipment step by step according to a preset sequence in the range of the front n-order gray scale, and respectively measuring the measured brightness of the front n-order gray scale.
In one implementation, the target color includes: red, blue and green.
By applying the scheme provided by the embodiment of the invention, the gamma calibration value of each gray scale can be automatically calculated by utilizing the measured brightness and the theoretical brightness of each gray scale, so that the gamma calibration of the display parameters of the display equipment is carried out without manual adjustment of workers.
An embodiment of the present invention further provides an electronic device, as shown in fig. 3, including a processor 001, a communication interface 002, a memory 003 and a communication bus 004, where the processor 001, the communication interface 002 and the memory 003 complete mutual communication through the communication bus 004,
a memory 003 for storing a computer program;
the processor 001 is configured to implement any one of the above gamma calibration methods when executing a program stored in the memory 003, and the method includes:
acquiring a gamma grade n to be calibrated;
respectively measuring the measurement brightness of the front n-order gray scale when the display equipment displays the target color;
calculating the theoretical brightness of each gray scale according to the measured brightness;
calculating the gamma calibration value of each gray scale by using the measured brightness and the theoretical brightness of each gray scale;
and carrying out gamma calibration on display parameters of the display equipment according to the obtained gamma calibration value, wherein the display parameters are parameters for setting the display effect of the display equipment.
By applying the scheme provided by the embodiment of the invention, the gamma calibration value of each gray scale can be automatically calculated by utilizing the measured brightness and the theoretical brightness of each gray scale, so that the gamma calibration of the display parameters of the display equipment is carried out without manual adjustment of workers.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the embodiments of the apparatus and the electronic device, since they are substantially similar to the embodiments of the method, the description is simple, and the relevant points can be referred to only in the partial description of the embodiments of the method.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method of gamma calibration, the method comprising:
acquiring a gamma grade n to be calibrated;
respectively measuring the measurement brightness of the front n-order gray scale when the display equipment displays the target color;
calculating the theoretical brightness of each gray scale according to the measured brightness;
calculating the gamma calibration value of each gray scale by using the measured brightness and the theoretical brightness of each gray scale;
and carrying out gamma calibration on display parameters of the display equipment according to the obtained gamma calibration value, wherein the display parameters are parameters for setting the display effect of the display equipment.
2. The method of claim 1, wherein the step of estimating the theoretical luminance for each gray level based on the measured luminance comprises:
determining the minimum gray scale with the difference value between the measured brightness and the measured brightness of the 0-order gray scale larger than a preset value in the measured brightness, and taking the measured brightness of the determined minimum gray scale as the theoretical brightness of the 1-order gray scale;
and sequentially calculating the theoretical brightness of the residual gray scale by using the following expression:
lumi(i+1)=[lumi(i)-lumi(0)]/(i-0)*(i+1)
where lumi (0) represents the measured luminance of the 0-order gray scale, lumi (i) represents the theoretical luminance of the i-order gray scale, lumi (i +1) represents the theoretical luminance of the i + 1-order gray scale, and i belongs to [1, n ].
3. The method of claim 2, wherein the step of calculating the gamma calibration value for each gray level using the measured brightness and the theoretical brightness for each gray level comprises:
the slope k (i) of the first i-order gray scale with respect to the 0-order gray scale is calculated using the following expression, respectively:
(lumi(i)-lumi(0))/(i-0)
counting the maximum value and the minimum value of each slope obtained by calculation, and respectively recording the maximum value and the minimum value as kmax and kmin;
calculating the interval of the theoretical brightness of the i + 1-order gray scale by using the following expression:
[(lumi(i)-lumi(0))/(kmax),(lumi(i)-lumi(0))/(kmin)];
in the case where (lumi (i) -lumi (0))/(kmin) is greater than n, updating n to (lumi (i) -lumi (0))/(kmin) and measuring the measured luminance of the previous n-order gradation;
traversing the measured brightness of the measured previous n-order gray scale to determine the final brightness of the i + 1-order gray scale, wherein the final brightness is as follows: the difference value between the measured brightness of the measured previous n-order gray scale and the theoretical brightness of the i + 1-order gray scale is minimum and is higher than the brightness of the final brightness of the i-order gray scale;
and calculating the gamma calibration value of the i + 1-order gray scale by using the final brightness and the measured brightness of the i + 1-order gray scale.
4. The method as claimed in claim 1, wherein the step of measuring the measured luminance of the previous n-th order gray scales, respectively, while the display device displays the target color, comprises:
controlling a display device to display a target color;
and adjusting the brightness displayed by the display equipment step by step according to a preset sequence in the range of the front n-order gray scale, and respectively measuring the measured brightness of the front n-order gray scale.
5. The method of any of claims 1-4, wherein the target color comprises: red, blue and green.
6. A gamma calibration apparatus, the apparatus comprising:
the acquisition module is used for acquiring a gamma grade n to be calibrated;
the measuring module is used for respectively measuring the measuring brightness of the front n-order gray scale when the display equipment displays the target color;
the calculation module is used for calculating the theoretical brightness of each gray scale according to the measured brightness;
the calculation module is used for calculating the gamma calibration value of each gray scale by using the measured brightness and the theoretical brightness of each gray scale;
and the calibration module is used for carrying out gamma calibration on the display parameters of the display equipment according to the obtained gamma calibration value, wherein the display parameters are parameters for setting the display effect of the display equipment.
7. The apparatus of claim 6, wherein the estimation module is further configured to estimate
Determining the minimum gray scale with the difference value between the measured brightness and the measured brightness of the 0-order gray scale larger than a preset value in the measured brightness, and taking the measured brightness of the determined minimum gray scale as the theoretical brightness of the 1-order gray scale;
and sequentially calculating the theoretical brightness of the residual gray scale by using the following expression:
lumi(i+1)=[lumi(i)-lumi(0)]/(i-0)*(i+1)
where lumi (0) represents the measured luminance of the 0-order gray scale, lumi (i) represents the theoretical luminance of the i-order gray scale, lumi (i +1) represents the theoretical luminance of the i + 1-order gray scale, and i belongs to [1, n ].
8. The apparatus of claim 6, wherein the computing module is further configured to
The slope k (i) of the first i-order gray scale with respect to the 0-order gray scale is calculated using the following expression, respectively:
(lumi(i)-lumi(0))/(i-0)
counting the maximum value and the minimum value of each slope obtained by calculation, and respectively recording the maximum value and the minimum value as kmax and kmin;
calculating the interval of the theoretical brightness of the i + 1-order gray scale by using the following expression:
[(lumi(i)-lumi(0))/(kmax),(lumi(i)-lumi(0))/(kmin)];
in the case where (lumi (i) -lumi (0))/(kmin) is greater than n, updating n to (lumi (i) -lumi (0))/(kmin) and measuring the measured luminance of the previous n-order gradation;
traversing the measured brightness of the measured previous n-order gray scale to determine the final brightness of the i + 1-order gray scale, wherein the final brightness is as follows: the difference value between the measured brightness of the measured previous n-order gray scale and the theoretical brightness of the i + 1-order gray scale is minimum and is higher than the brightness of the final brightness of the i-order gray scale;
and calculating the gamma calibration value of the i + 1-order gray scale by using the final brightness and the measured brightness of the i + 1-order gray scale.
9. The apparatus of claim 6, wherein the measurement module is further configured to
Controlling a display device to display a target color;
and adjusting the brightness displayed by the display equipment step by step according to a preset sequence in the range of the front n-order gray scale, and respectively measuring the measured brightness of the front n-order gray scale.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
CN202010066820.6A 2020-01-21 2020-01-21 Gamma calibration method and device Active CN111210763B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010066820.6A CN111210763B (en) 2020-01-21 2020-01-21 Gamma calibration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010066820.6A CN111210763B (en) 2020-01-21 2020-01-21 Gamma calibration method and device

Publications (2)

Publication Number Publication Date
CN111210763A true CN111210763A (en) 2020-05-29
CN111210763B CN111210763B (en) 2020-12-29

Family

ID=70785304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010066820.6A Active CN111210763B (en) 2020-01-21 2020-01-21 Gamma calibration method and device

Country Status (1)

Country Link
CN (1) CN111210763B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200525480A (en) * 2004-01-19 2005-08-01 Vastview Tech Inc Method and device of compensating brightness for LCD
US20070109321A1 (en) * 2005-11-17 2007-05-17 Marketech International Corp. Method for compensating a brightness error of a flat panel display
CN102013246A (en) * 2009-09-07 2011-04-13 群康科技(深圳)有限公司 Establishing method for gamma comparison table of display apparatus
US20130120659A1 (en) * 2011-11-10 2013-05-16 Samsung Mobile Display Co., Ltd. Gamma correction system and method for display device
CN104167194A (en) * 2014-08-18 2014-11-26 深圳市华星光电技术有限公司 Liquid crystal display panel gray-scale value setting method and liquid crystal display
CN104681007A (en) * 2015-03-16 2015-06-03 南京巨鲨显示科技有限公司 Working method of real-time multi-order brightness stabilization system
CN105244007A (en) * 2015-10-30 2016-01-13 青岛海信电器股份有限公司 Method and device for generating gray scale correction table of curved surface display screen
CN105528976A (en) * 2016-01-29 2016-04-27 深圳中科维优科技有限公司 Device and method for automatically measuring and calibrating gamma curve of display screen
CN106023916A (en) * 2016-06-08 2016-10-12 深圳市华星光电技术有限公司 Gamma correction system and method
US9514709B2 (en) * 2014-05-30 2016-12-06 Samsung Display Co., Ltd. Methods of correcting gamma and display device employing the same
CN106531081A (en) * 2017-01-23 2017-03-22 武汉华星光电技术有限公司 Display module driving device and method
CN106782303A (en) * 2016-12-28 2017-05-31 上海天马有机发光显示技术有限公司 A kind of display bearing calibration of display panel, apparatus and system
KR20170078959A (en) * 2015-12-29 2017-07-10 삼성디스플레이 주식회사 Method of driving display apparatus and display apparatus performing the same
CN109326264A (en) * 2018-12-20 2019-02-12 深圳大学 A kind of brightness Demura method and system of liquid crystal display die set
CN109523955A (en) * 2019-01-03 2019-03-26 京东方科技集团股份有限公司 Pixel compensation method and device, storage medium, display screen

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200525480A (en) * 2004-01-19 2005-08-01 Vastview Tech Inc Method and device of compensating brightness for LCD
US20070109321A1 (en) * 2005-11-17 2007-05-17 Marketech International Corp. Method for compensating a brightness error of a flat panel display
CN102013246A (en) * 2009-09-07 2011-04-13 群康科技(深圳)有限公司 Establishing method for gamma comparison table of display apparatus
US20130120659A1 (en) * 2011-11-10 2013-05-16 Samsung Mobile Display Co., Ltd. Gamma correction system and method for display device
US9514709B2 (en) * 2014-05-30 2016-12-06 Samsung Display Co., Ltd. Methods of correcting gamma and display device employing the same
CN104167194A (en) * 2014-08-18 2014-11-26 深圳市华星光电技术有限公司 Liquid crystal display panel gray-scale value setting method and liquid crystal display
CN104681007A (en) * 2015-03-16 2015-06-03 南京巨鲨显示科技有限公司 Working method of real-time multi-order brightness stabilization system
CN105244007A (en) * 2015-10-30 2016-01-13 青岛海信电器股份有限公司 Method and device for generating gray scale correction table of curved surface display screen
KR20170078959A (en) * 2015-12-29 2017-07-10 삼성디스플레이 주식회사 Method of driving display apparatus and display apparatus performing the same
CN105528976A (en) * 2016-01-29 2016-04-27 深圳中科维优科技有限公司 Device and method for automatically measuring and calibrating gamma curve of display screen
CN106023916A (en) * 2016-06-08 2016-10-12 深圳市华星光电技术有限公司 Gamma correction system and method
CN106782303A (en) * 2016-12-28 2017-05-31 上海天马有机发光显示技术有限公司 A kind of display bearing calibration of display panel, apparatus and system
CN106531081A (en) * 2017-01-23 2017-03-22 武汉华星光电技术有限公司 Display module driving device and method
CN109326264A (en) * 2018-12-20 2019-02-12 深圳大学 A kind of brightness Demura method and system of liquid crystal display die set
CN109523955A (en) * 2019-01-03 2019-03-26 京东方科技集团股份有限公司 Pixel compensation method and device, storage medium, display screen

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
屠震涛等: "灰度与亮度拟合对LCD面板Mura改善的影响", 《液晶与显示》 *
崔洋: "显示屏色彩亮度校正系统的设计", 《中国优秀硕士学位论文全文数据库·信息科技辑》 *

Also Published As

Publication number Publication date
CN111210763B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN108877736B (en) Compensation method and device for eliminating uneven screen brightness
US10971098B2 (en) Method and device for adjusting gray scale of display panel
WO2020233595A1 (en) Method and apparatus for determining pixel compensation value, electronic device and storage medium
CN109036233B (en) Production line multipoint automatic Gamma curve debugging method and system
CN109257507B (en) Method for adjusting screen brightness, mobile terminal and storage medium
CN111340735B (en) LED screen body correction method, device and terminal
CN108717847B (en) DICOM calibration method, medical display device and computer storage medium
US20160066114A1 (en) Loudness meter and loudness metering method
WO2021017374A1 (en) Concentration measuring instrument calibration method and apparatus, and concentration measuring instrument
CN108419067A (en) White balance parameter record, method of adjustment and device, storage medium, terminal, camera
CN111256802A (en) Calibration method of weighing device and weighing device
CN114283745A (en) Brightness compensation method of display panel and related device
CN111210763B (en) Gamma calibration method and device
WO2015194235A1 (en) Sampling data processing device, sampling data processing method, and computer program
CN111276092B (en) Optimization parameter determination method and device
CN108447456B (en) A kind of image shows bearing calibration and device
CN114222101B (en) White balance adjusting method and device and electronic equipment
CN112365833B (en) Method for detecting and correcting brightness adjustment value of light sensation under screen
CN109410889A (en) A kind of white balance adjustment method, device and electronic equipment
CN112304421B (en) Processing method of gray scale intensity data, storage medium and terminal equipment
CN115287382A (en) Blast furnace variable material control method and device and computer readable storage medium
CN114613313A (en) Gamma parameter determination method and device for display screen, electronic equipment and storage medium
CN110636682B (en) Method and device for accurately adjusting color temperature of photographic lamp
KR101420331B1 (en) Brightness ununiformity measuring method for display panel
CN111669519A (en) Multi-channel CCD image non-uniformity correction method and device and storage medium

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 518000 room 3801, block a, block 8, block C, Wanke Yuncheng phase III, Liuxin 4th Street, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province (37-39 floors)

Patentee after: Carlette cloud Technology Co.,Ltd.

Address before: 518000 101, integrated circuit Industrial Park, 1089 chaguang Road, Xili street, Shenzhen City, Guangdong Province

Patentee before: COLORLIGHT (SHENZHEN) CLOUD TECHNOLOGY Co.,Ltd.