CN108600724B - Method and equipment for adjusting gamma curve - Google Patents

Method and equipment for adjusting gamma curve Download PDF

Info

Publication number
CN108600724B
CN108600724B CN201810552697.1A CN201810552697A CN108600724B CN 108600724 B CN108600724 B CN 108600724B CN 201810552697 A CN201810552697 A CN 201810552697A CN 108600724 B CN108600724 B CN 108600724B
Authority
CN
China
Prior art keywords
gamma curve
gamma
basic
curve
value sequence
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
CN201810552697.1A
Other languages
Chinese (zh)
Other versions
CN108600724A (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.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network 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 Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201810552697.1A priority Critical patent/CN108600724B/en
Publication of CN108600724A publication Critical patent/CN108600724A/en
Application granted granted Critical
Publication of CN108600724B publication Critical patent/CN108600724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/68Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits
    • H04N9/69Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits for modifying the colour signals by gamma correction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

The invention relates to the technical field of image processing, in particular to a method and equipment for adjusting gamma curves, which are used for solving the problems that each alternative gamma curve of a display terminal needs to be adjusted manually in the prior art, and the efficiency of adjusting the gamma curves is low. The embodiment of the invention determines at least one basic gamma curve generated according to the standard gamma level from a plurality of stored alternative gamma curves; after the change of the basic gamma curve is determined, at least one target gamma curve corresponding to the basic gamma curve is selected from a plurality of alternative gamma curves according to the image parameters used for generating the basic gamma curve; and adjusting at least one target gamma curve according to the changed basic gamma curve.

Description

Method and equipment for adjusting gamma curve
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a method and an apparatus for adjusting a gamma curve.
Background
With the intelligent development of display terminals, user experience has become an important basis for measuring the quality of intelligent display terminals, and particularly, the requirements on PQ (Picture quality) are higher and higher, wherein gamma is taken as a display basis and directly influences a series of indexes such as the brightness, contrast, color temperature and the like of PQ, and the accurate adjustment of gamma curves is extremely important.
At the present, in the product development stage of a display terminal, a plurality of alternative gamma curves are generated through a prefabricated PQ algorithm according to different image parameters and gamma levels; when the display terminal displays an image, one gamma curve is selected from the alternative gamma curves according to the image to be displayed, and the selected gamma curve is applied to an output image. However, in the existing solution, the number of candidate gamma curves generated according to different image parameters and gamma levels is as many as hundreds, and the PQ engineer needs to manually maintain hundreds of candidate gamma curves. When the alternative gamma curves need to be adjusted (for example, a new model is developed, and the alternative gamma curves need to be adjusted to adapt to the new model), a PQ engineer is required to manually adjust each alternative gamma curve, so that the workload of the PQ engineer is greatly increased, and the development period of a product is prolonged.
In summary, in the prior art, each alternative gamma curve of the display terminal needs to be manually adjusted, and the efficiency of adjusting the gamma curve is low.
Disclosure of Invention
The invention provides a method and equipment for adjusting gamma curves, which are used for solving the problems that each alternative gamma curve of a display terminal needs to be adjusted manually in the prior art, and the efficiency of adjusting the gamma curves is low.
Based on the above problem, an embodiment of the present invention provides a method for adjusting a gamma curve, including:
selecting at least one basic gamma curve generated according to the standard gamma level from a gamma curve set for image display; and aiming at any one basic gamma curve, after the basic gamma curve is determined to be changed, at least one gamma curve corresponding to the basic gamma curve in the gamma curve set is adjusted according to the changed basic gamma curve.
In a second aspect, an embodiment of the present invention provides an apparatus for adjusting a gamma curve, including: at least one processing unit and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
selecting at least one basic gamma curve generated according to the standard gamma level from a gamma curve set for image display; and aiming at any one basic gamma curve, after the basic gamma curve is determined to be changed, at least one gamma curve corresponding to the basic gamma curve in the gamma curve set is adjusted according to the changed basic gamma curve.
According to the embodiment of the invention, a basic gamma curve generated according to a standard gamma level is selected from a gamma curve set; after the basic gamma curve is changed, adjusting the gamma curve corresponding to the basic gamma curve in the gamma curve set according to the changed basic gamma curve; by adopting the method of the embodiment of the invention, when the gamma curves in the gamma curve set need to be adjusted, only the basic gamma curve needs to be adjusted, and after the basic gamma curve changes, the gamma curves corresponding to the basic gamma curve in the gamma curve set can be automatically adjusted according to the changed basic gamma curve, so that each alternative gamma curve does not need to be manually adjusted, the workload of a PQ engineer is greatly reduced, the development period of a product is correspondingly shortened, and the efficiency of adjusting the gamma curves is improved.
Drawings
FIG. 1 is a flowchart of a method for adjusting gamma curves according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first method for adjusting a gamma curve according to the present invention;
FIG. 3 is a schematic view of a first gamma curve according to the embodiment of the present invention;
FIG. 4 is a schematic view of a second gamma curve according to the embodiment of the present invention;
FIG. 5 is a schematic diagram of a third gamma curve according to the embodiment of the present invention;
FIG. 6 is a flowchart illustrating a second method for adjusting a gamma curve according to the present invention;
FIG. 7 is a schematic structural diagram of a first apparatus for adjusting gamma curves according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a second apparatus for adjusting a gamma curve according to an embodiment of the present invention.
Detailed Description
In the embodiment of the invention, at least one basic gamma curve generated according to a standard gamma level is selected from a gamma curve set for image display; and aiming at any one basic gamma curve, after the basic gamma curve is determined to be changed, at least one gamma curve corresponding to the basic gamma curve in the gamma curve set is adjusted according to the changed basic gamma curve.
According to the embodiment of the invention, a basic gamma curve generated according to a standard gamma level is selected from a gamma curve set; after the basic gamma curve is changed, adjusting the gamma curve corresponding to the basic gamma curve in the gamma curve set according to the changed basic gamma curve; by adopting the method of the embodiment of the invention, when the gamma curves in the gamma curve set need to be adjusted, only the basic gamma curve needs to be adjusted, and after the basic gamma curve changes, the gamma curves corresponding to the basic gamma curve in the gamma curve set can be automatically adjusted according to the changed basic gamma curve, so that each alternative gamma curve does not need to be manually adjusted, the workload of a PQ engineer is greatly reduced, the development period of a product is correspondingly shortened, and the efficiency of adjusting the gamma curves is improved.
The embodiment of the invention is suitable for the scene of image display of the display terminal; and the display terminal can be a smart phone, a tablet computer, a smart television and the like.
When each display terminal displays an image, a gamma curve needs to be selected from a gamma set stored in the display terminal according to the current image parameter and gamma grade, and the gamma curve is applied to an output image, so that the output image is corrected.
It should be noted that, in the development stage of the display terminal, the initial gamma curve set is a gamma curve set of a previous model that is used continuously, and in order to adapt to the model of the display terminal, each gamma curve in the gamma curve set needs to be adjusted to achieve a better image correction effect.
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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.
As shown in fig. 1, a method for adjusting a gamma curve according to an embodiment of the present invention includes:
step 101, selecting at least one basic gamma curve generated according to a standard gamma level from a gamma curve set for image display;
and 102, aiming at any one basic gamma curve, after the basic gamma curve is determined to be changed, adjusting at least one gamma curve corresponding to the basic gamma curve in the gamma curve set according to the changed basic gamma curve.
The gamma curve set can be stored in the display terminal;
and the gamma curves in the gamma curve set are generated by combining according to different image parameters and different gamma levels; that is, each gamma curve has a corresponding image parameter and gamma level.
Among them, the image parameters include but are not limited to:
color temperature level, color gamut information, HDR signal type;
the color temperature scale includes: cool, standard, arm 2;
the color gamut information includes: auto, native;
HDR signal types include: HDR10, HLG, Dolby vision;
the gamma grades include: 1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 1886.
For example, the image parameters only comprise color temperature levels, and the color temperature levels comprise four levels of cool, standard, arm and arm 2; gamma grades include 2.0, 2.1, 2.2, 2.3, 2.4; then, the gamma curve set includes 20 gamma curves, which are respectively: gamma curve 1 corresponding to coole, 2.0, gamma curve 2 corresponding to coole, 2.1, gamma curve 3 corresponding to coole, 2.2, gamma curve 4 corresponding to coole, 2.3, gamma curve 5 corresponding to coole, 2.4, gamma curve 6 corresponding to standard, 2.0, gamma curve 7 corresponding to standard, 2.1, gamma curve 8 corresponding to standard, 2.2, gamma curve 9 corresponding to standard, 2.3, gamma curve 10 corresponding to standard, 2.4, gamma curve 11 corresponding to m, 2.0, gamma curve 13 corresponding to war, 2.1, gamma curve 12 corresponding to war, 2.2, gamma curve 13 corresponding to war, 2.3, gamma curve 14 corresponding to war, 2.4, gamma curve 15 corresponding to war, gamma curve 35 corresponding to war, gamma curve 3 corresponding to war, gamma curve 3619, gamma curve 3 corresponding to war, gamma curve 3 corresponding to war, gamma curve 3, 2.3, gamma curve 3, 3619, 36, gamma curve 3, 7, 2.3, gamma curve 3, 7, gamma curve 3, gamma.
For another example, when the image parameters include color temperature levels and color gamut information, assuming that the color temperature levels include cool, standard and warm, the color gamut information includes auto and native; gamma grades include 2.0, 2.1, 2.2, 2.3; then the gamma curve set includes 24 gamma curves, which are respectively: gamma curves 1 corresponding to cool, auto, 2.0, gamma curves 2 corresponding to cool, gamma curves 3 corresponding to cool, auto, 2.1, gamma curves 4 corresponding to cool, auto, 2.3, gamma curves 5 corresponding to stand, auto, 2.0, gamma curves 6 corresponding to stand, auto, 2.1, gamma curves 7 corresponding to stand, auto, 2.2, gamma curves 8 corresponding to stand, auto, 2.3, gamma curves 12 corresponding to warm, auto, 2.0, gamma curves 10 corresponding to warm, auto, 2.1, gamma curves 11 corresponding to warm, auto, 2.2, gamma curves 12 corresponding to warm, gamma curves 12 corresponding to cool, 2.3, gamma curves 13, 15, gamma curves corresponding to cool, 2.1, 15, 14, 15, 2, gamma curves 21 corresponding to the term of rom, native and 2.0, 22 corresponding to the term of rom, native and 2.1, 23 corresponding to the term of rom, native and 2.2 and 24 corresponding to the term of rom, native and 2.3.
In step 101, a basic gamma curve generated according to a standard gamma level needs to be selected from a gamma curve set;
it should be noted that, in the embodiment of the present invention, a gamma level is preset as a standard gamma level;
for example, if 2.2 is set as the standard gamma level, the gamma curve generated according to the 2.2gamma level in the gamma curve set is used as the basic gamma curve.
Assume that the gamma curve set includes: gamma curves 1 corresponding to cool, auto, 2.0, gamma curves 2 corresponding to cool, gamma curves 3 corresponding to cool, auto, 2.1, gamma curves 4 corresponding to cool, auto, 2.3, gamma curves 5 corresponding to stand, auto, 2.0, gamma curves 6 corresponding to stand, auto, 2.1, gamma curves 7 corresponding to stand, auto, 2.2, gamma curves 8 corresponding to stand, auto, 2.3, gamma curves 12 corresponding to warm, auto, 2.0, gamma curves 10 corresponding to warm, auto, 2.1, gamma curves 11 corresponding to warm, auto, 2.2, gamma curves 12 corresponding to warm, gamma curves 12 corresponding to cool, 2.3, gamma curves 13, 15, gamma curves corresponding to cool, 2.1, 15, 14, 15, 2, gamma curves 21 corresponding to the term of rom, native and 2.0, 22 corresponding to the term of rom, native and 2.1, 23 corresponding to the term of rom, native and 2.2 and 24 corresponding to the term of rom, native and 2.3. The basic gamma curve is then: the gamma curves 3, standard, auto, 2.2, 7, war, auto, 2.2, 11, cool, native, 2.2, 15, standard, native, 2.2, 19, war, native, 2.2, 23.
In step 102, after the change of the basic gamma curve is determined, at least one gamma curve corresponding to the changed basic gamma curve in the gamma curve set is adjusted according to the changed basic gamma curve.
It should be noted that the reason why the basic gamma curve changes in the embodiment of the present invention may be that the basic gamma curve is manually adjusted;
for example, in the development process of the display terminal, if the display terminal continues to use the gamma curve set of the previous model, in order to match the gamma curve set stored in the display terminal with the model of the display terminal, the basic gamma curve in the gamma curve set is manually adjusted.
Aiming at any changed basic gamma curve, determining at least one gamma curve corresponding to the gamma curve from a gamma curve set;
optionally, at least one gamma curve in the gamma curve set corresponding to the gamma curve has the following characteristics:
the image parameters used for generating at least one gamma curve corresponding to the basic gamma curve are the same as the image parameters used for generating the basic gamma curve, and the gamma level used for generating at least one gamma curve corresponding to the basic gamma curve is different from the gamma level used for generating the basic gamma curve.
That is, at least one gamma curve corresponding to the basic gamma curve corresponds to the same image parameter as the basic gamma curve; at least one gamma curve corresponding to the basic gamma curve corresponds to a different gamma level from the basic gamma curve.
For example, gamma ratings include 2.0, 2.1, 2.2, 2.3; the basic gamma curve is: the gamma curve 3 corresponding to cool, auto and 2.2 is a first basic gamma curve, the gamma curve 7 corresponding to standard, auto and 2.2 is a second basic gamma curve, the gamma curve 11 corresponding to rom, auto and 2.2 is a third basic gamma curve, the gamma curve 15 corresponding to cool, native and 2.2 is a fourth basic gamma curve, the gamma curve 19 corresponding to standard, native and 2.2 is a fifth basic gamma curve, and the gamma curve 23 corresponding to rom and native2.2 is a sixth basic gamma curve;
then the gamma curves in the gamma curve set corresponding to the first basic gamma curve include: gamma curve 1 corresponding to cool, auto and 2.0, gamma curve 2 corresponding to cool, auto and 2.1, gamma curve 4 corresponding to cool, auto and 2.3;
the gamma curves in the gamma curve set corresponding to the second basic gamma curve comprise: gamma curves 5 for standard, auto, 2.0, 6 for standard, auto, 2.1, 8 for standard, auto, 2.3;
the gamma curves in the gamma curve set corresponding to the third basic gamma curve include: gamma curves 10 corresponding to rom, auto and 2.1, 12 corresponding to rom, auto and 2.3, and 13 corresponding to cool, native and 2.0;
the gamma curves in the gamma curve set corresponding to the fourth basic gamma curve include: gamma curves 13 corresponding to cool, native and 2.0, 14 corresponding to cool, native and 2.1, and 16 corresponding to cool, native and 2.3;
the gamma curves in the gamma curve set corresponding to the fifth basic gamma curve include: gamma curves 17 corresponding to standard, native and 2.0, gamma curves 18 corresponding to standard, native and 2.1, and gamma curves 20 corresponding to standard, native and 2.3;
the gamma curves in the gamma curve set corresponding to the sixth basic gamma curve include: gamma curves 21 corresponding to the term of rom, native and 2.0, 22 corresponding to the term of rom, native and 2.1 and 24 corresponding to the term of rom, native and 2.3.
After determining the gamma curve corresponding to the changed basic gamma curve from the gamma set, the embodiment of the invention adjusts the gamma curve corresponding to the changed basic gamma curve by adopting the following method:
aiming at any gamma curve corresponding to the basic gamma curve, determining a deviation value sequence of the gamma curve and the basic gamma curve according to the gamma level and the image parameters used for generating the gamma curve; the deviation value sequence is a sequence formed by deviation values between data points at the same positions on the gamma curve and the basic gamma curve; and adjusting the gamma curve according to the deviation value sequence and the changed basic gamma curve.
At least one gamma curve corresponding to the basic gamma curve is generated by using the same image parameters and different gamma levels; when the image parameters are the same, fixed deviation exists between data points at the same position on gamma curves corresponding to every two gamma levels, and deviation values between the data points at the same position on the gamma curves corresponding to the two gamma levels form a deviation value sequence;
for example, when the image parameter is a color temperature level, the color temperature level includes four levels of cool, standard, arm 2; gamma grades include 2.0, 2.1, 2.2, 2.3, 2.4; assuming 2.2 is a standard gamma level, the base gamma curve includes: a first basic gamma curve corresponding to cool and 2.2, a second basic gamma curve corresponding to standard and 2.2, a third basic gamma curve corresponding to arm and 2.2, and a fourth basic gamma curve corresponding to arm2 and 2.2.
Wherein, the gamma curve corresponding to the first basic gamma curve is as follows: gamma curve 1 corresponding to cool and 2.0, gamma curve 2 corresponding to cool and gamma 2.1, gamma curve 3 corresponding to cool and gamma 2.3, and gamma curve 4 corresponding to cool and gamma 2.4. A sequence formed by the deviation values between the data points at the same positions on the first basic gamma curve and the gamma curve 1 is a first deviation value sequence; the sequence formed by the deviation values between the data points at the same positions on the first basic gamma curve and the gamma curve 2 is a second deviation value sequence; the sequence of offset values between the data points at the same positions on the first basis gamma curve and the gamma curve 3 is a third sequence of offset values.
When the gamma curve 1 is adjusted, the gamma curve 1 is adjusted according to the changed first basic gamma curve and the first deviation value sequence;
when the gamma curve 2 is adjusted, the gamma curve 2 is adjusted according to the changed first basic gamma curve and the second deviation value sequence;
when the gamma curve 3 is adjusted, the gamma curve 3 is adjusted according to the changed first basic gamma curve and the third deviation value sequence.
Specifically, the determining of the deviation value sequence of the gamma curve and the basic gamma curve according to the embodiment of the present invention includes:
determining an offset value sequence corresponding to the gamma level used for generating the gamma curve according to the corresponding relation between the gamma level corresponding to the image parameter used for generating the gamma curve and the offset value sequence; and taking the determined deviation value sequence as the deviation value sequence of the gamma curve and the basic gamma curve.
In the implementation, the corresponding relation between the gamma levels corresponding to different image parameters and the offset value sequence is preset, when the offset value sequence of the gamma curve and the basic gamma curve needs to be determined, the corresponding relation between the gamma levels and the offset value sequence is selected according to the image parameters used for generating the gamma curve, and the offset value sequence of the gamma curve and the basic gamma curve is determined according to the gamma levels used for generating the gamma curve.
For example, the image parameters include color temperature levels and color gamut information, the color temperature levels include cool, standard, arm2 four levels, and the color gamut information includes auto, native; the selectable image parameters may be the following:
1、cool、auto;
2、standard、auto;
3、warm、auto;
4、warm2、auto;
5、cool、native;
6、standard、native;
7、warm、native;
8、warm2、native。
each selectable image parameter corresponds to a correspondence between a gamma level and a sequence of offset values.
It should be noted that, the correspondence relationship between the gamma levels and the offset value sequences corresponding to different image parameters may be the same, or different image parameters correspond to different correspondence relationships between the gamma levels and the offset value sequences.
The method for adjusting the gamma curve is described below as a specific example.
Wherein the image parameter is a color temperature level, and the color temperature level includes four levels of cool, standard, arm2, the selectable image parameter may be the following:
1、cool;
2、standard;
3、warm;
4、warm2。
if the gamma levels include 1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 1886, and 2.2 are standard gamma levels, then the base gamma curve included in the set of gamma curves includes: a first basic gamma curve generated according to cool and 2.2, a second basic gamma curve generated according to standard and 2.2, a third basic gamma curve generated according to rom and 2.2 and a fourth basic gamma curve generated according to rom 2 and 2.2;
the set of gamma curves includes a first gamma curve generated from cool and 1.8, a second gamma curve generated from cool and 1.9, a third gamma curve generated from cool and 2.0, a fourth gamma curve generated from cool and 2.1, a fifth gamma curve generated from cool and 2.3, a sixth gamma curve generated from cool and 2.4, a seventh gamma curve generated from cool and 2.5, an eighth gamma curve generated from cool and 2.6, a ninth gamma curve generated from cool and 1886, a tenth gamma curve generated from stand and 1.8, an eleventh gamma curve generated from stand and 1.9, a twelfth gamma curve generated from stand and 2.0, a thirteenth gamma curve generated from stand and 2.1, a fourteenth gamma curve generated from stand and 2.5, a sixteenth gamma curve generated from scale, 2.5, a seventeenth gamma curve generated from scale, a sixteenth curve generated from stand and 2.6, a fifteenth curve generated from scale, a sixteenth scale and a fifteenth curve generated from scale, 2.5, a fifteenth curve generated from scale and 2.6 1886, a nineteenth gamma curve generated according to rom 1.8, a twentieth gamma curve generated according to rom 1.9, a twenty-first gamma curve generated according to rom 2.0, a twenty-second gamma curve generated according to rom 2.1, a twenty-third gamma curve generated according to rom 2.3, a twenty-fourth gamma curve generated according to rom 2.4, a twenty-fifth gamma curve generated according to rom 2.5, a twenty-sixth gamma curve generated according to rom 2.6, a twenty-seventh gamma curve generated according to rom 1886, a twenty-eighth gamma curve generated according to rom 2, 1.8, a twenty-ninth gamma curve generated according to rom 2, 1.9, a thirty-ninth gamma curve generated according to rom 2, 2.0, a thirty-ninth gamma curve generated according to rom 2, a thirty-third gamma curve generated according to rom 395, a thirty-third gamma curve generated according to rom 3970, a thirty-third gamma curve generated according to tam 2.3, a twenty-sixth gamma curve generated according to tam 2.6, thirty-fifth gamma curves generated according to rom 2, 2.6 and thirty-sixth gamma curves generated according to rom 2, 1886.
As shown in fig. 2, the overall flow chart for adjusting the gamma curve in this embodiment:
step 201, selecting a basic gamma curve generated according to 2.2gamma levels from a gamma curve set;
in step 201, selecting a base gamma curve includes: a first basic gamma curve, a second basic gamma curve, a third basic gamma curve and a fourth basic gamma curve.
Step 202, manually adjusting a basic gamma curve;
that is, the first, second, third, and fourth basis gamma curves are manually adjusted.
Step 203, selecting a gamma curve corresponding to the basic gamma curve from the gamma set; the selected gamma curve and the corresponding basic gamma curve are generated according to the same image parameters and different gamma grades;
specifically, the gamma curve corresponding to the first basic gamma curve selected from the gamma set is: a first gamma curve, a second gamma curve, a third gamma curve, a fourth gamma curve, a fifth gamma curve, a sixth gamma curve, a seventh gamma curve, an eighth gamma curve and a ninth gamma curve;
selecting a gamma curve corresponding to the second basic gamma curve from the gamma set as follows: a tenth gamma curve, an eleventh gamma curve, a twelfth gamma curve, a thirteenth gamma curve, a fourteenth gamma curve, a fifteenth gamma curve, a sixteenth gamma curve, a seventeenth gamma curve and an eighteenth gamma curve;
selecting a gamma curve corresponding to the third basic gamma curve from the gamma set as follows: a nineteenth gamma curve, a twentieth gamma curve, a twenty-first gamma curve, a twenty-second gamma curve, a twenty-third gamma curve, a twenty-fourth gamma curve, a twenty-fifth gamma curve, a twenty-sixth gamma curve and a twenty-seventh gamma curve;
selecting a gamma curve corresponding to the fourth basic gamma curve from the gamma set as follows: a twenty-eighth gamma curve, a twenty-ninth gamma curve, a thirty-fourth gamma curve, a thirty-fifth gamma curve and a thirty-sixth gamma curve.
Step 204, aiming at any gamma curve corresponding to the basic gamma curve, determining an offset value sequence corresponding to the gamma level used for generating the gamma curve according to the corresponding relation between the gamma level corresponding to the image parameter used for generating the gamma curve and the offset value sequence;
when the image parameter is cool, the corresponding relationship between the gamma level and the offset value sequence is shown in table 1 below:
gamma level Sequence of deviation values
1.8 Sequence of deviation values 1
1.9 Sequence of deviation values 2
2.0 Sequence of deviation values 3
2.1 Sequence of deviation values 4
2.3 Sequence of deviation values 5
2.4 Sequence of deviation values 6
2.5 Sequence of deviation values 7
2.6 Sequence of deviation values 8
1886 Sequence of deviation values 9
TABLE 1
When the image parameter is standard, the corresponding relationship between the gamma level and the offset value sequence is shown in table 2 below:
Figure BDA0001680830640000131
Figure BDA0001680830640000141
TABLE 2
When the image parameter is arm, the corresponding relationship between the gamma level and the offset value sequence is shown in table 3 below:
gamma level Sequence of deviation values
1.8 Sequence of deviation values 19
1.9 Sequence of deviation values 20
2.0 Sequence of deviation values 21
2.1 Sequence of deviation values 22
2.3 Sequence of deviation values 23
2.4 Sequence of deviation values 24
2.5 Deviation ofSequence of values 25
2.6 Sequence of deviation values 26
1886 Sequence of deviation values 27
TABLE 3
When the image parameter is arm2, the correspondence between the corresponding gamma levels and the offset value sequence is shown in table 4 below:
Figure BDA0001680830640000142
Figure BDA0001680830640000151
TABLE 4
When the image parameters are different, the deviation value sequences corresponding to the same gamma level can be the same or different;
for example, when the image parameter is cool, the offset value sequence corresponding to the 1.8gamma level is offset value sequence 1; when the image parameter is standard, the deviation value sequence corresponding to the 1.8gamma level is a deviation value sequence 10; when the image parameter is arm, the deviation value sequence corresponding to the 1.8gamma level is a deviation value sequence 19; when the image parameter is arm2, the offset value sequence corresponding to the 1.8gamma level is the offset value sequence 28. The offset value sequence 1, the offset value sequence 10, the offset value sequence 19, and the offset value sequence 28 are all the same, or the offset value sequence 1, the offset value sequence 10, the offset value sequence 19, and the offset value sequence 28 are all different, or the offset value sequence 1, the offset value sequence 10, the offset value sequence 19, and the offset value sequence 28 are partially the same.
Step 205, aiming at any gamma curve corresponding to the basic gamma curve in the gamma curve set, adjusting the gamma curve according to the deviation value sequence corresponding to the gamma level used for generating the gamma curve and the changed basic gamma curve.
It should be noted that, the sum of the numerical value of each data point on the basic gamma curve and the deviation value corresponding to the data point in the deviation value sequence is used as the numerical value of the data point on the gamma curve corresponding to the basic gamma curve;
for example, when the image parameter is cool, the basic gamma curve corresponding to 2.2gamma levels is shown in FIG. 3. Supposing that a gamma curve with image parameters of cool and a gamma level of 1.8 needs to be adjusted, determining an offset value sequence corresponding to the 1.8gamma level according to the corresponding relation between the gamma level corresponding to the cool and the offset value sequence; and adjusting the gamma curve with the image parameter of cool and the gamma level of 1.8 according to the basic gamma curve and the deviation value sequence, wherein the adjusted gamma curve is shown in figure 4. Supposing that a gamma curve with image parameters of cool and gamma level of 2.4 needs to be adjusted, determining an offset value sequence corresponding to 2.4gamma levels according to the corresponding relation between the gamma level corresponding to cool and the offset value sequence; and adjusting the gamma curve with the image parameter of cool and the gamma level of 2.4 according to the basic gamma curve and the deviation value sequence, wherein the adjusted gamma curve is shown in figure 5.
It should be noted that, in the embodiment of the present invention, the correspondence between the gamma level and the offset value sequence may be predetermined according to a mathematical statistic algorithm.
As shown in FIG. 6, a complete flow chart of adjusting the gamma curve according to the embodiment of the present invention is shown.
Step 601, at least one basic gamma curve generated according to the standard gamma level is selected from a gamma curve set for displaying images.
Step 602, after judging whether a basic gamma curve changes, if so, executing a standard 603; if not, go to step 607.
Step 603, determining at least one gamma curve corresponding to the changed basic gamma curve;
the image parameters used for generating at least one gamma curve corresponding to the changed basic gamma curve are the same as the image parameters used for generating the changed basic gamma curve, and the gamma level used for generating at least one gamma curve corresponding to the changed basic gamma curve is different from the gamma level used for generating the changed basic gamma curve.
And step 604, determining an offset value sequence corresponding to the gamma level used for generating the gamma curve according to the corresponding relation between the gamma level corresponding to the image parameter used for generating the gamma curve and the offset value sequence aiming at any gamma curve corresponding to the changed basic gamma curve.
And step 605, using the determined deviation value sequence as a deviation value sequence of the gamma curve and the basic gamma curve.
And 606, adjusting the gamma curve in the gamma curve set according to the deviation value sequence and the changed basic gamma curve.
Step 607, the process ends.
As shown in fig. 7, an embodiment of the present invention provides an apparatus for adjusting a gamma curve, including: at least one processing unit 700 and at least one memory unit 701, wherein the memory unit 701 stores program code which, when executed by the processing unit 700, causes the processing unit 700 to perform the following:
selecting at least one basic gamma curve generated according to the standard gamma level from a gamma curve set for image display; and aiming at any one basic gamma curve, after the basic gamma curve is determined to be changed, at least one gamma curve corresponding to the basic gamma curve in the gamma curve set is adjusted according to the changed basic gamma curve.
Optionally, the image parameters used for generating the at least one gamma curve corresponding to the basic gamma curve are the same as the image parameters used for generating the basic gamma curve, and the gamma level used for generating the at least one gamma curve corresponding to the basic gamma curve is different from the gamma level used for generating the basic gamma curve.
Optionally, the processing unit 700 is specifically configured to:
aiming at any gamma curve corresponding to the basic gamma curve, determining a deviation value sequence of the gamma curve and the basic gamma curve according to the gamma level and the image parameters used for generating the gamma curve; the deviation value sequence is a sequence formed by deviation values between data points at the same positions on the gamma curve and the basic gamma curve; and adjusting the gamma curve according to the deviation value sequence and the changed basic gamma curve.
Optionally, the processing unit 700 is specifically configured to:
determining an offset value sequence corresponding to the gamma level used for generating the gamma curve according to the corresponding relation between the gamma level corresponding to the image parameter used for generating the gamma curve and the offset value sequence; and taking the determined deviation value sequence as the deviation value sequence of the gamma curve and the basic gamma curve.
Optionally, the image parameter includes part or all of the following information:
color temperature level, color gamut information, HDR signal type.
As shown in fig. 8, an embodiment of the present invention provides an apparatus for adjusting a gamma curve, including:
a selecting module 801, configured to select at least one basic gamma curve generated according to a standard gamma level from a gamma curve set for image display;
an adjusting module 802, configured to, after determining that the basic gamma curve changes according to any basic gamma curve, adjust at least one gamma curve corresponding to the basic gamma curve in the gamma curve set according to the changed basic gamma curve.
Optionally, the image parameters used for generating the at least one gamma curve corresponding to the basic gamma curve are the same as the image parameters used for generating the basic gamma curve, and the gamma level used for generating the at least one gamma curve corresponding to the basic gamma curve is different from the gamma level used for generating the basic gamma curve.
Optionally, the adjusting module 802 is specifically configured to:
aiming at any gamma curve corresponding to the basic gamma curve, determining a deviation value sequence of the gamma curve and the basic gamma curve according to the gamma level and the image parameters used for generating the gamma curve; the deviation value sequence is a sequence formed by deviation values between data points at the same positions on the gamma curve and the basic gamma curve; and adjusting the gamma curve according to the deviation value sequence and the changed basic gamma curve.
Optionally, the adjusting module 802 is specifically configured to:
determining an offset value sequence corresponding to the gamma level used for generating the gamma curve according to the corresponding relation between the gamma level corresponding to the image parameter used for generating the gamma curve and the offset value sequence; and taking the determined deviation value sequence as the deviation value sequence of the gamma curve and the basic gamma curve.
Optionally, the image parameter includes part or all of the following information:
color temperature level, color gamut information, HDR signal type.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method of adjusting a gamma curve, the method comprising:
selecting at least one basic gamma curve generated according to the standard gamma level from a gamma curve set for image display;
and aiming at any one basic gamma curve, after the basic gamma curve is determined to be changed, at least one gamma curve corresponding to the basic gamma curve in the gamma curve set is adjusted according to the changed basic gamma curve.
2. The method of claim 1, wherein generating at least one gamma curve corresponding to the base gamma curve uses the same image parameters as generating the base gamma curve, and wherein generating at least one gamma curve corresponding to the base gamma curve uses a different gamma level than generating the base gamma curve.
3. The method of claim 2, wherein the adjusting at least one gamma curve in the set of gamma curves corresponding to the base gamma curve based on the changed base gamma curve comprises:
aiming at any gamma curve corresponding to the basic gamma curve, determining a deviation value sequence of the gamma curve and the basic gamma curve according to the gamma level and the image parameters used for generating the gamma curve; the deviation value sequence is a sequence formed by deviation values between data points at the same positions on the gamma curve and the basic gamma curve;
and adjusting the gamma curve according to the deviation value sequence and the changed basic gamma curve.
4. The method of claim 3, wherein determining the sequence of deviation values for the gamma curve and the base gamma curve based on the gamma level and the image parameters used to generate the gamma curve comprises:
determining an offset value sequence corresponding to the gamma level used for generating the gamma curve according to the corresponding relation between the gamma level corresponding to the image parameter used for generating the gamma curve and the offset value sequence;
and taking the determined deviation value sequence as the deviation value sequence of the gamma curve and the basic gamma curve.
5. The method of any of claims 2 to 4, wherein the image parameters include some or all of the following information:
color temperature level, color gamut information, HDR signal type.
6. An apparatus for adjusting gamma curve, comprising: at least one processing unit and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
selecting at least one basic gamma curve generated according to the standard gamma level from a gamma curve set for image display; and aiming at any one basic gamma curve, after the basic gamma curve is determined to be changed, at least one gamma curve corresponding to the basic gamma curve in the gamma curve set is adjusted according to the changed basic gamma curve.
7. The apparatus of claim 6, wherein generating at least one gamma curve corresponding to the base gamma curve uses the same image parameters as generating the base gamma curve, and wherein generating at least one gamma curve corresponding to the base gamma curve uses a different gamma level than generating the base gamma curve.
8. The device of claim 6, wherein the processing unit is specifically configured to:
aiming at any gamma curve corresponding to the basic gamma curve, determining a deviation value sequence of the gamma curve and the basic gamma curve according to the gamma level and the image parameters used for generating the gamma curve; the deviation value sequence is a sequence formed by deviation values between data points at the same positions on the gamma curve and the basic gamma curve; and adjusting the gamma curve according to the deviation value sequence and the changed basic gamma curve.
9. The device of claim 8, wherein the processing unit is specifically configured to:
determining an offset value sequence corresponding to the gamma level used for generating the gamma curve according to the corresponding relation between the gamma level corresponding to the image parameter used for generating the gamma curve and the offset value sequence; and taking the determined deviation value sequence as the deviation value sequence of the gamma curve and the basic gamma curve.
10. The apparatus of any of claims 7 to 9, wherein the image parameters include some or all of the following information:
color temperature level, color gamut information, HDR signal type.
CN201810552697.1A 2018-05-31 2018-05-31 Method and equipment for adjusting gamma curve Active CN108600724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810552697.1A CN108600724B (en) 2018-05-31 2018-05-31 Method and equipment for adjusting gamma curve

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810552697.1A CN108600724B (en) 2018-05-31 2018-05-31 Method and equipment for adjusting gamma curve

Publications (2)

Publication Number Publication Date
CN108600724A CN108600724A (en) 2018-09-28
CN108600724B true CN108600724B (en) 2020-11-20

Family

ID=63630223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810552697.1A Active CN108600724B (en) 2018-05-31 2018-05-31 Method and equipment for adjusting gamma curve

Country Status (1)

Country Link
CN (1) CN108600724B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109410839B (en) * 2018-11-05 2020-11-06 京东方科技集团股份有限公司 Correction optimization method and device for display screen, electronic equipment and storage medium
CN111294655B (en) * 2020-02-20 2021-10-22 深圳创维-Rgb电子有限公司 HDR (high-definition multimedia System) film source playing method and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9299282B2 (en) * 2012-11-23 2016-03-29 Samsung Display Co., Ltd. Method of storing gamma data in a display device, display device and method of operating a display device
CN105741775A (en) * 2016-05-05 2016-07-06 京东方科技集团股份有限公司 Method and device for adjusting Gamma curve
CN106297727A (en) * 2015-06-01 2017-01-04 联咏科技股份有限公司 Display driver and the method adjusting color temp
CN106409212A (en) * 2016-12-12 2017-02-15 深圳Tcl数字技术有限公司 Gamma curve adjustment method and device
CN107517332A (en) * 2017-09-25 2017-12-26 四川长虹电器股份有限公司 Automatic GAMMA data correction systems based on television set

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9299282B2 (en) * 2012-11-23 2016-03-29 Samsung Display Co., Ltd. Method of storing gamma data in a display device, display device and method of operating a display device
CN106297727A (en) * 2015-06-01 2017-01-04 联咏科技股份有限公司 Display driver and the method adjusting color temp
CN105741775A (en) * 2016-05-05 2016-07-06 京东方科技集团股份有限公司 Method and device for adjusting Gamma curve
CN106409212A (en) * 2016-12-12 2017-02-15 深圳Tcl数字技术有限公司 Gamma curve adjustment method and device
CN107517332A (en) * 2017-09-25 2017-12-26 四川长虹电器股份有限公司 Automatic GAMMA data correction systems based on television set

Also Published As

Publication number Publication date
CN108600724A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN109166559B (en) Gamma value debugging method and device for display panel
CN109326264B (en) Brightness Demura method and system of liquid crystal display module
CN109256096B (en) Display brightness compensation method, device and equipment
CN109036333B (en) Display parameter correction method and device of display, terminal equipment and storage medium
CN108600724B (en) Method and equipment for adjusting gamma curve
US10089910B2 (en) Image display device, correction data generation method, and image correction device and method, as well as image correction system
CN104916259A (en) Method of controlling brightness of display screen of medical display, device and medical display
CN114203087B (en) Configuration of compensation lookup table, compensation method, device, equipment and storage medium
CN114333724B (en) Display brightness and color correction method, device, electronic equipment and storage medium
EP2492907B1 (en) Image processing apparatus, storage medium storing image processing program, and image processing method
CN108664228A (en) A kind of method for displaying image and mobile terminal
CN114005404B (en) Segmented correction method and device for processing seam repair hidden line and computer equipment
CN112304421B (en) Processing method of gray scale intensity data, storage medium and terminal equipment
JP2023519275A (en) Display effect enhancement method, device, facility
CN108447456B (en) A kind of image shows bearing calibration and device
CN112506338B (en) Full-vision-based equipment control method, device and equipment
CN110166813B (en) Independent correction method and system for multi-window image of display
CN113035148A (en) Method and system for correcting chromaticity of liquid crystal panel, liquid crystal panel and storage medium
CN111862894A (en) Backlight brightness adjusting method, device, terminal and readable storage medium
CN111223466B (en) Color correction method for display
CN115170681B (en) Gamma lookup table generation method and device, electronic equipment and storage medium
WO2020124479A1 (en) Brightness demura method and system for liquid crystal display module
CN117995093A (en) Display parameter correction method, device, equipment and medium for LED display screen
CN117711323A (en) Display screen adjusting method, device, equipment and storage medium
CN109256106B (en) Panel brightness adjusting method and device and screen driving board

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