Embodiments of the present disclosure relate to a Gamma-curve correction method for a display apparatus and a display apparatus.
Visual characteristics of human eyes have a nonlinear relationship with brightness of a surrounding environment, and thus, an existing display apparatus can carry out Gamma correction on an output image using a preset Gamma curve so as to meet visual requirements of the human eyes. However, in the existing display apparatus, the preset Gamma curve is implemented by an algorithm and is not corrected by an optical device, and a finally-generated Gamma curve often has a deviation from a standard Gamma curve, i.e., the generated Gamma curve is inaccurate, so that quality of the output image is influenced.
Embodiments of the disclosure provide a Gamma-curve correction method for a display apparatus, comprising:
determining a standard Gamma curve according to the display apparatus;
selecting a plurality of test gray scale values on the standard Gamma curve, and acquiring a plurality of target brightness values corresponding to the plurality of test gray scale values;
adjusting an input gray scale value of the display apparatus to obtain a plurality of test-correction gray scale values, wherein the test-correction gray scale values are corresponding input gray scale values when display brightness of the display apparatus is equal to respective target brightness;
generating an association relationship between input gray scale values and correction gray scale values of the display apparatus, according to the plurality of test gray scale values and the plurality of test-correction gray scale values; and
adjusting the input gray scale value of the display apparatus to a corresponding correction gray scale value, according to the association relationship.
In some implementations, selecting the plurality of test gray scale values on the standard Gamma curve includes: selecting the plurality of test gray scale values at a fixed preset interval on the standard Gamma curve.
In some implementations, the fixed preset interval is equal to 4 or 8 gray scale units.
In some implementations, selecting the plurality of test gray scale values on the standard Gamma curve includes: selecting test gray scale values in a low-gray-scale region and/or a high-gray-scale region of the standard Gamma curve at a first preset interval, and selecting test gray scale values in other regions of the standard Gamma curve at a second preset interval, the first preset interval being smaller than the second preset interval.
In some implementations, generating the association relationship between the input gray scale values and the correction gray scale values of the display apparatus includes: by a fitting method, generating the association relationship between the input gray scale values and the correction gray scale values of the display apparatus.
In some implementations, the association relationship includes:
GL′=A*GL+B*[1−e−GL/C],
where GL′ represents the correction gray scale value, GL represents the input gray scale value of the display apparatus, and A, B and C represent constant coefficients determined by the fitting method.
In some implementations, generating the association relationship between the input gray scale values and the correction gray scale values of the display apparatus includes: by an interpolation method, generating the association relationship between the input gray scale values and the correction gray scale values of the display apparatus.
In another aspect, embodiments of the disclosure further provide a display apparatus for applying the Gamma-curve correction method described above, comprising: a correction module, configured to adjust an input gray scale value of the display apparatus to a corresponding correction gray scale value according to an association relationship between input gray scale values and correction gray scale values of the display apparatus.
In some implementations, the display apparatus further comprises a test module and an association module. The test module is configured to: determine a standard Gamma curve according to the display apparatus; select a plurality of test gray scale values on the standard Gamma curve, and acquire a plurality of target brightness values corresponding to the plurality of test gray scale values; and adjust the input gray scale value of the display apparatus to obtain a plurality of test-correction gray scale values, wherein the test-correction gray scale values are corresponding input gray scale values when display brightness of the display apparatus is equal to respective target brightness. The association module is configured to, according to the plurality of test gray scale values and the plurality of test-correction gray scale values, generate the association relationship between the input gray scale values and the correction gray scale values of the display apparatus.
In some implementations, the test module is configured to select the plurality of test gray scale values at a fixed preset interval on the standard Gamma curve.
In some implementations, the test module is configured to: select test gray scale values in a low-gray-scale region and/or a high-gray-scale region of the standard Gamma curve at a first preset interval, and select test gray scale values in other regions of the standard Gamma curve at a second preset interval, the first preset interval being smaller than the second preset interval.
In some implementations, the association module is configured to generate the association relationship between the input gray scale values and the correction gray scale values of the display apparatus by a fitting method.
In some implementations, the association relationship includes:
GL′=A*GL+B*[1−e−GL/C],
where GL′ represents the correction gray scale value, GL represents the input gray scale value of the display apparatus, and A, B and C represent constant coefficients determined by the fitting method.
In some implementations, the association module is configured to generate the association relationship between the input gray scale values and the correction gray scale values of the display apparatus by an interpolation method.
In yet another aspect, embodiments of the disclosure further provide a storage medium, storing computer instructions suitable to be operated by a processor, wherein when the computer instructions are operated by the processor, the Gamma-curve correction method for the display apparatus described above is executed.
In order to illustrate the technical solutions in the embodiments of the present disclosure or the existing arts more clearly, the drawings needed to be used in the description of the embodiments or the existing arts will be briefly described in the following; it is obvious that the drawings described below are only related to some embodiments of the present disclosure, for one ordinary skilled person in the art, other drawings can be obtained according to these drawings without making other inventive work.
In order to make objects, technical details and advantages of the disclosure more apparent, the disclosure will be further illustrated in detail in connection with specific embodiments with reference to the drawings.
It should be noted that in the present disclosure, terms such as “first” and “second” are intended to distinguish different entities or different parameters with the same name, and it is thus clear that “first” and “second” merely intend to facilitate expression, but should not be understood as limitation to the embodiments of the present disclosure. Similar description will not be repeated in the subsequent embodiments.
An embodiment of the present disclosure provides a Gamma-curve correction method for a display apparatus. According to the method, an experimental test is carried out for each display apparatus; an association relationship between input gray scale values and correction gray scale values, which particularly belongs to the display apparatus, is calculated on the basis of data obtained by the experimental test and related theoretical values; and then by configuring a correction module in the display apparatus, when the display apparatus operates, the display apparatus can adjust an input gray scale value to a correction gray scale value according to the association relationship, thereby reaching a Gamma-curve correction effect and improving quality of an output image of the display apparatus.
With reference to
The Gamma-curve correction method includes, but is not limited to, step S101 to step S105 below:
S101: determining a standard Gamma curve according to the display apparatus.
In this step, according to inherent parameters of a current display apparatus which needs to be subjected to Gamma curve correction, the standard Gamma curve is determined. For example, a preset Gamma curve of a common computer display is a Gamma 2.2 curve (L=Lmax×(GL/1024)2.2, where L represents output a brightness of the display apparatus, Lmax represents a maximum output brightness of the display apparatus, and GL represents an input gray scale value of the display apparatus), and then the determined standard Gamma curve in this step is the Gamma 2.2 curve. Obviously, when the preset Gamma curve of the display apparatus is another Gamma curve, such as a Gamma 2.8 curve or a special-value Gamma curve, correspondingly in this step, the determined Gamma curve is a Gamma 2.8 curve or a special-value Gamma curve.
S102: selecting a plurality of test gray scale values on the standard Gamma curve, and acquiring a plurality of target brightness values corresponding to the plurality of test gray scale values.
In this step, firstly, a plurality of test gray scale values are selected on the determined standard Gamma curve; and then for each test gray scale value, an output brightness theoretical value of the display apparatus, which corresponds to the test gray scale value, is calculated by the standard Gamma curve, and the output brightness theoretical value is used as a target brightness value corresponding to the test gray scale value. The above-mentioned computing process is carried out for each test gray scale value, and finally, the plurality of target brightness values corresponding to the plurality of test gray scale values are obtained. Obviously, the plurality of test gray scale values and the plurality of target brightness values are in a one-to-one corresponding relationship.
For example, when a plurality of test gray scale values are selected, the plurality of test gray scale values are selected at a fixed preset interval on the standard Gamma curve. When the plurality of test gray scale values are selected at the fixed preset interval, interval gray scale units between any two adjacent test gray scale values are the same, and the plurality of finally-selected test gray scale values are regularly continuous in value, so that the method provided by the embodiments has wide-range applicability, and can be applicable to most of the common display apparatuses. According to actual measurement experience, the fixed preset interval, for example, may be set as 4 or 8 gray scale units. Obviously, according to actual test requirements or use requirements, the fixed preset interval can be flexibly selected.
For another example, when a plurality of test gray scale values are selected, test gray scale values are selected at a first preset interval in a low-gray-scale region and/or a high-gray-scale region of the standard Gamma curve, and test gray scale values are selected at a second preset interval in other regions of the standard Gamma curve, and the first preset interval is smaller than the second preset interval. In a common display apparatus, a low-gray-scale region and a high-gray-scale region of the preset Gamma curve of the common display apparatus more frequently have a problem of gray scale loss or insufficient expansion, i.e., the low-gray-scale region and the high-gray-scale region of the preset Gamma curve are more likely to be inaccurate than other regions. To solve this problem, in an embodiment, when the test gray scale values are selected on the standard Gamma curve, the smaller first preset interval is used in the low-gray-scale region and the high-gray-scale region of the standard Gamma curve so as to select a greater number of test gray scale values; and a smaller number of test gray scale values are selected with the larger second preset interval in other regions of the standard Gamma curve. Therefore, on the premise of ensuring that workload is not obviously increased, by selecting more test gray scale values in the low-gray-scale region and/or the high-gray-scale region of the preset Gamma curve, a subsequent correction result is more accurate in the low-gray-scale region and/or the high-gray-scale region, which particularly solves the problem of gray scale loss or insufficient expansion in the low-gray-scale region and/or the high-gray-scale region of the common display apparatus.
Certainly, when a plurality of test gray scale values are selected, test gray scale values in the low-gray-scale region of the standard Gamma curve are selected at a first preset interval, test gray scale values in the high-gray-scale region of the standard Gamma curve are selected at a second preset interval, and test gray scale values in other regions of the standard Gamma curve are selected at a third preset interval, where both the first preset interval and the second preset interval are smaller than the third preset interval, and the first preset interval can be smaller than, greater than or equal to the second preset interval (which is not limited in the present disclosure).
S103: adjusting an input gray scale value of the display apparatus to enable display brightness values of the display apparatus to be respectively equal to the plurality of target brightness values so as to obtain a plurality of test-correction gray scale values, where the test-correction gray scale values are the corresponding input gray scale values when the display brightness values of the display apparatus are equal to the target brightness values respectively.
In this step, in a process of powering up the display apparatus to carry out normal display, the input gray scale value of the display apparatus is adjusted to enable output brightness of the display apparatus to be equal to the target brightness, and then the current input gray scale value of the display apparatus is recorded and used as a test-correction gray scale value. For each target brightness, the above-mentioned operation process is carried out, so that finally, a plurality of test-correction gray scale values are obtained. Obviously, due to the one-to-one corresponding relationship between the plurality of target brightness values and the plurality of test gray scale values, by the above-mentioned process, the plurality of obtained test-correction gray scale values and the plurality of obtained test gray scale values are also in a one-to-one corresponding relationship.
S104: generating an association relationship between input gray scale values and correction gray scale values for the display apparatus, according to the plurality of test gray scale values and the plurality of test-correction gray scale values.
In this step, by using the plurality of test gray scale values and the plurality of test-correction gray scale values, which are obtained in the above-mentioned steps, and by using a mathematical method, a function relation between them can be established, and the function relation can show the association relationship between the input gray scale values and the correction gray scale values for the display apparatus.
Further, according to the one-to-one corresponding relationship between the plurality of test gray scale values and the plurality of test-correction gray scale values, the test gray scale value is used as an independent variable, the test-correction gray scale value is used as a variable, a function relation can be generated by a fitting method or an interpolation method, and the generated function relation shows the association relationship between the input gray scale values and the correction gray scale values for the display apparatus.
S105: adjusting an input gray scale value of the display apparatus to a correction gray scale value, according to the association relationship.
In this step, a correction module which can carry out computing operations on gray scale value data on the basis of the association relationship is arranged in the display apparatus, and the correction module is arranged in a control panel of the display apparatus by a programming approach and is used for achieving a correction function. For example, when the display apparatus operates, the correction module can adjust an input gray scale value of the display apparatus to a correction gray scale value in real time according to the association relationship. By adjusting the input gray scale values of the display apparatus to the correction gray scale values, a Gamma correction effect of the display apparatus in the actual working process is closer to the preset standard Gamma curve thereof, an effect of carrying out correction on the Gamma curve of the display apparatus is achieved, and the quality of the output image of the display apparatus is significantly promoted.
Moreover, besides using the above-mentioned software mode, the step can also be implemented by arranging a separate hardware module in the display apparatus. The hardware module can be a programmable chip, and can also be an arithmetic circuit constructed by general electronic components. That is, the correction module can be implemented by way of software, hardware or a combination thereof.
Based on the above-mentioned embodiment, the method provided by an embodiment of the present disclosure will be further illustrated below by a specific operation example.
In the step S101, the display apparatus which needs to be corrected is selected, a data-bit width used when the selected display apparatus operates is 10 bits, the maximum output brightness Lmax is 400, and the preset Gamma curve of the selected display apparatus is the Gamma 2.2 curve: L=Lmax×(GL/1024)2.2. The standard Gamma curve determined in the step S101 is the Gamma 2.2 curve correspondingly.
In the step S102, a plurality of test gray scale values are selected at a fixed preset interval on the Gamma 2.2 curve, and the fixed preset interval is equal to 8 gray scale units. The obtained test gray scale values can be referred to in a first column of data in Table 1. Then, according to the Gamma 2.2 curve, the target brightness respectively corresponding to the test gray scale values is obtained. The obtained target brightness can be referred to in a second column of data in Table 1.
In the step S103, the display apparatus is powered up to operate, an input gray scale value of the display apparatus is adjusted to enable the output brightness of the display apparatus to be equal to the corresponding target brightness, and then the current input gray scale value of the display apparatus is recorded and used as a corresponding test-correction gray scale value. The obtained test-correction gray scale values can be referred to in a third column of data in Table 1.
In the step S104, by using the actual measured data (the first column and third column of data in Table 1) of the test gray scale values and the test-correction gray scale values and using a fitting method, a function relation is established:
GL′=A*GL+B*[1−e−GL/C],
where GL′ represents a correction gray scale value, GL represents an input gray scale value of the display apparatus, and A, B and C represent constant coefficients determined by the fitting method.
By using the actual measured data of the test gray scale values and the test-correction gray scale values, through calculation, specific values of A, B and C are determined. Further, in order to improve accuracy of the result, a segmented function relation is established with a segmented processing approach. For example, the test gray scale value GL is divided into three segments: GL∈[0-64]; GL∈[64-352]; and GL∈[352-1016]. By calculation, an obtained result is that: when GL∈[0-64], A=1.49, B=17.31 and C=3.06; when GL∈[64-352], A=0.96, B=65.11, and C=45.67; and when GL∈[352-1016], A=0.9, B=87.67, and C=33.69.
Then the finally-obtained association relationship between the input gray scale values and the correction gray scale values of the display apparatus is that:
Moreover, when establishing the association relationship, an interpolation method can also be used, and based on the actual measured data of the test gray scale values and the test-correction gray scale values, by numerical processing software, the association relationship therebetween can be simply and rapidly generated, and thus, examples will not be given out in detail in the embodiments of the present disclosure.
In the step S105, according to the above-mentioned obtained association relationship between the input gray scale values and the correction gray scale value of the display apparatus, by arranging a correction module or an arithmetic circuit in the display apparatus, the input gray scale value of the display apparatus is adjusted to the correction gray scale value in real time so as to achieve the technical effects of the present disclosure. With reference to
In another aspect, as shown in
For example, the display apparatus further includes a test module 302 and an association module 304.
The test module 302 is configured to: determine a standard Gamma curve according to the display apparatus; select a plurality of test gray scale values on the standard Gamma curve, and acquire a plurality of target brightness values corresponding to the plurality of test gray scale values; and adjust input gray scale values of the display apparatus to obtain a plurality of test-correction gray scale values, wherein the test-correction gray scale values are the corresponding input gray scale values when display brightness of the display apparatus is equal to the target brightness.
The association module 304 is configured to, according to the plurality of test gray scale values and the plurality of test-correction gray scale values, generate the association relationship between the input gray scale values and the correction gray scale values of the display apparatus.
For example, the test module 302 is configured to select the plurality of test gray scale values at a fixed preset interval on the standard Gamma curve. For example, the fixed preset interval is equal to 4 or 8 gray scale units.
For example, the test module 302 is configured to: select test gray scale values in a low-gray-scale region and/or a high-gray-scale region of the standard Gamma curve at a first preset interval, and select test gray scale values in other regions of the standard Gamma curve at a second preset interval, the first preset interval being smaller than the second preset interval.
For example, the association module 304 is configured to generate the association relationship between the input gray scale values and the correction gray scale values of the display apparatus by a fitting method. For example, the association relationship is that:
GL′=A*GL+B*[1−e−GL/C],
where GL′ represents a correction gray scale value, GL represents an input gray scale value of the display apparatus, and A, B and C represent constant coefficients determined by the fitting method.
For example, the association module 304 is configured to generate the association relationship between the input gray scale values and the correction gray scale values of the display apparatus by an interpolation method.
For example, the display apparatus 300 further includes a display panel with a display function and/or a touch function. In an embodiment, a type of the display apparatus and a display technology applied by the display apparatus are not specifically defined. The display apparatus may be a liquid crystal panel, a liquid crystal display, a liquid crystal television, an Organic Light Emitting Diode (OLED) panel, an OLED display, an OLED television or electronic paper and the like.
The display apparatus provided by an embodiment of the present disclosure may further include one or more processors and one or more memories. The processor may process data signals and may include various computing architectures such as a complex instruction set computer (CISC) architecture, a reduced instruction set computer (RISC) architecture or an architecture for implementing a combination of multiple instruction sets. The memory may store instructions and/or data executed by the processor. The instructions and/or data may include codes which are configured to achieve some functions or all the functions of one or more devices in the embodiments of the present disclosure. For instance, the memory includes a dynamic random access memory (DRAM), a static random access memory (SRAM), a flash memory, an optical memory or other memories well known to those skilled in the art.
In some embodiments of the present disclosure, the test module, the association module and the correction module include codes and programs stored in the memories; and the processors may execute the codes and the programs to achieve some functions or all the functions described above.
In some embodiments of the present disclosure, the test module, the association module and the correction module may be specialized hardware devices and configured to achieve some or all of the functions described above. For instance, the test module, the association module and the correction module may be a circuit board or a combination of a plurality of circuit boards and configured to achieve the above functions. In embodiments of the present disclosure, the circuit board or a combination of the plurality of circuit boards may include: (1) one or more processors; (2) one or more non-transitory computer-readable memories connected with the processors; and (3) processor-executable firmware stored in the memories.
An embodiment of the present disclosure further provides a storage medium, storing computer instructions suitable to operate by a processor, and when the computer instructions are operated by the processor, the above-mentioned Gamma-curve correction method for the display apparatus can be executed.
According to the Gamma-curve correction method for the display apparatus and the display apparatus, which are provided by the present disclosure, by carrying out actual use test on the display apparatus, the association relationship between the input gray scale values and the correction gray scale values, which particularly belongs to the display apparatus, is generated; and when the display apparatus operates, according to the association relationship, the input gray scale value of the display apparatus is adjusted to a corresponding correction gray scale value, thereby achieving the effect of carrying out correction on the Gamma curve, solving the technical problem of an inaccurate preset Gamma curve in an existing display apparatus and effectively promoting the quality of the output image of the display apparatus.
Those skilled in the art should understand that: discussions of any embodiment above merely is exemplary, but not intended to denote that the scope (including the claims) of the present disclosure is limited to those examples; and under the thoughts of the present disclosure, the above-mentioned embodiments or technical characteristics in different embodiments can also be combined, the steps can be implemented by a random sequence, there are many other variations in different aspects of the present disclosure as mentioned above, and for concision, those variations are not provided in details.
The embodiments of the present disclosure intend to include all such replacements, modifications or changes which fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent replacements, improvements and the like within the spirit and principle of the present disclosure shall be included in the scope of the present disclosure.
In the present disclosure, terms such as “first”, “second” and the like used in the present disclosure do not indicate any sequence, quantity or significance but only for distinguishing different constituent parts. Also, the terms such as “a,” “an,” or “the” etc., are not intended to limit the amount, but indicate the existence of at least one. The terms “comprises,” “comprising,” “includes,” “including,” etc., are intended to specify that the elements or the objects stated before these terms and encompass the elements or the objects and equivalents thereof listed after these terms, but do not preclude the other elements or objects.
What are described above is related to the illustrative embodiments of the disclosure only and not limitative to the scope of the disclosure; any changes or replacements easily for those technical personnel who are familiar with this technology in the field to envisage in the scopes of the disclosure, should be in the scope of protection of the present disclosure. Therefore, the scopes of the disclosure are defined by the accompanying claims.
The present application claims the priority of the Chinese Patent Application No. 201710107355.4 filed on Feb. 27, 2017, which is incorporated herein by reference in its entirety as part of the disclosure of the present application.
Number | Date | Country | Kind |
---|---|---|---|
201710107355.4 | Feb 2017 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2017/106061 | 10/13/2017 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2018/153108 | 8/30/2018 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
20050201615 | Hsu et al. | Sep 2005 | A1 |
20070052735 | Chou | Mar 2007 | A1 |
20150243198 | Zhang et al. | Aug 2015 | A1 |
20150302788 | Kim | Oct 2015 | A1 |
20160140891 | Lim | May 2016 | A1 |
20160260368 | Zheng | Sep 2016 | A1 |
20170046995 | Chen et al. | Feb 2017 | A1 |
Number | Date | Country |
---|---|---|
101071536 | Nov 2007 | CN |
103295506 | Sep 2013 | CN |
103926714 | Jul 2014 | CN |
104064156 | Sep 2014 | CN |
105096827 | Nov 2015 | CN |
105741775 | Jul 2016 | CN |
105869567 | Aug 2016 | CN |
105869587 | Aug 2016 | CN |
106782283 | May 2017 | CN |
Entry |
---|
International Search Report dated Jan. 12, 2018. |
First Chinese Office Action dated Mar. 4, 2019. |
Number | Date | Country | |
---|---|---|---|
20190108780 A1 | Apr 2019 | US |