Gamma tuning method and apparatus thereof, and display apparatus
The present disclosure includes a gamma tuning method, a gamma tuning apparatus, and a display apparatus. The gamma tuning method includes defining a first interval, where a target gamma curve at least includes the first interval; and in the first interval, grayscale values and target brightness values have a linear functional relationship; obtaining the linear functional relationship; generating the target gamma curve; and programing the target gamma curve.
1 . A gamma tuning method, comprising:
defining a first interval, wherein a target gamma curve at least includes the first interval; and in the first interval, grayscale values and target brightness values have a linear functional relationship;
obtaining the linear functional relationship;
generating the target gamma curve;
programing the target gamma curve;
reading an actual gamma curve to obtain grayscale values and corresponding actual brightness values;
obtaining a reference brightness interval, wherein the reference brightness interval is formed by a region between a first reference gamma curve and a second reference gamma curve;
obtaining a first preset interval, wherein in the first preset interval, an actual brightness value exceeds the reference brightness interval; and
obtaining the first interval based on the first preset interval, wherein the first interval has two endpoints which are on the actual gamma curve, actual brightness values corresponding to the two endpoints are in the reference brightness interval, and the linear functional relationship is obtained using grayscale values and the actual brightness values of the two endpoints.
2 . The gamma tuning method according to claim 1 , wherein:
a maximum grayscale difference in the first interval is greater than a maximum grayscale difference in the first preset interval.
3 . The gamma tuning method according to claim 1 , further including:
defining a second interval, wherein the target gamma curve further includes the second interval; and in the second interval, target brightness values are in the reference brightness interval, and grayscale values and the target brightness values have a nonlinear functional relationship.
4 . The gamma tuning method according to claim 3 , wherein:
the nonlinear functional relationship is consistent with a standard gamma curve, wherein for brightness under same grayscales, the standard gamma curve is between the first reference gamma curve and the second reference gamma curve.
5 . The gamma tuning method according to claim 3 , wherein:
the target gamma curve includes a plurality of first intervals and a plurality of second intervals; at least one first interval is adjacent to at least one second interval; and a first interval of the plurality of first intervals and a second interval of the plurality of second intervals have a same endpoint.
6 . The gamma tuning method according to claim 1 , wherein:
in the first interval, at least a part of target brightness values obtained using linear functional relationship is in the reference brightness interval.
7 . The gamma tuning method according to claim 1 , wherein:
in the first interval, the two endpoints are intersecting points of the actual gamma curve and a standard gamma curve, wherein the standard gamma curve is between the first reference gamma curve and the second reference gamma curve.
8 . The gamma tuning method according to claim 7 , wherein:
an endpoint in the first interval is a nearest intersecting point corresponding to the first preset interval.
9 . The gamma tuning method according to claim 1 , wherein:
in the first interval, one of the two endpoints is an intersecting point of the actual gamma curve and a standard gamma curve, and an actual brightness value of another one the two endpoints is in the reference brightness interval, wherein the standard gamma curve is between the first reference gamma curve and the second reference gamma curve.
10 . The gamma tuning method according to claim 1 , wherein:
in the first interval, one of the two endpoints is an intersecting point of the actual gamma curve and a standard gamma curve, and an absolute value of a difference percentage between an actual brightness value and a standard brightness value corresponding to another one of the two endpoints is less than a first threshold, wherein the standard gamma curve is between the first reference gamma curve and the second reference gamma curve, and a standard brightness value corresponding to an endpoint refers to a brightness value corresponding to a grayscale value of the endpoint based on the standard gamma curve.
11 . The gamma tuning method according to claim 1 , wherein:
in the first interval, an absolute value of a difference percentage between an actual brightness value and a standard brightness value corresponding to each of the two endpoints is less than a first threshold, wherein a standard brightness value corresponding to an endpoint refers to a brightness value corresponding to a grayscale value of the endpoint based on the standard gamma curve; and the standard gamma curve is between the first reference gamma curve and the second reference gamma curve.
12 . The gamma tuning method according to claim 10 , wherein:
the first threshold is negatively correlated with the grayscale value corresponding to another one of the two endpoints.
13 . The gamma tuning method according to claim 11 , wherein:
the first threshold is negatively correlated with the grayscale value corresponding to another one of the two endpoints.
14 . The gamma tuning method according to claim 1 , wherein:
the two endpoints of the first interval includes an ending point, and an actual brightness value corresponding to the ending point is LV1; and
an actual brightness value of a next grayscale value corresponding to a grayscale value of the ending point is LV2, wherein LV2>LV1.
15 . The gamma tuning method according to claim 1 , wherein:
a corresponding relationship between each grayscale value in the first reference gamma curve and a corresponding brightness value satisfies a formula of L(gray)/L255=(gray/255) 2.3 ; and a corresponding relationship between each grayscale value in the second reference gamma curve and a corresponding brightness value satisfies the formula of L(gray)/L255=(gray/255) 2.1 , wherein gray denotes a grayscale value in the first reference gamma curve or the second reference gamma curve, L(gray) denotes a brightness value corresponding the grayscale value, and L255 refers to a brightness value corresponding to a grayscale 255.
16 . A gamma tuning apparatus, comprising:
a plug-in module, wherein the plug-in module is electrically connected to a driving chip and includes a calculation unit and an output unit, wherein:
the calculation unit is configured to define a first interval of a target gamma curve, wherein in the first interval, grayscale values and target brightness values have a linear functional relationship;
the output unit is configured to obtain the linear functional relationship, generate the target gamma curve and transmit the target gamma curve to the driving chip;
the driving chip is configured to program the target gamma curve;
the plug-in module further includes an input unit and a storage unit;
the input unit is configured to read an actual gamma curve to obtain grayscale values and corresponding actual brightness values;
the storage unit is configured to store a first reference gamma curve and a second reference gamma curve;
the calculation unit is further configured to obtain a reference brightness interval, wherein the reference brightness interval is formed by a region between the first reference gamma curve and the second reference gamma curve;
the calculation unit is further configured to obtain a first preset interval, wherein in the first preset interval, an actual brightness value exceeds the reference brightness interval; and
the calculation unit is further configured to obtain the first interval based on the first preset interval, wherein the first interval has two endpoints which are on the actual gamma curve, actual brightness values corresponding to the two endpoints are in the reference brightness interval, and the linear functional relationship is obtained using grayscale values and the actual brightness values of the two endpoints.
17 . A display apparatus, comprising:
a gamma tuning apparatus, comprising:
a plug-in module, wherein the plug-in module is electrically connected to a driving chip and includes a calculation unit and an output unit, wherein:
the calculation unit is configured to define a first interval of a target gamma curve, wherein in the first interval, grayscale values and target brightness values have a linear functional relationship;
the output unit is configured to obtain the linear functional relationship, generate the target gamma curve and transmit the target gamma curve to the driving chip;
the driving chip is configured to program the target gamma curve;
the plug-in module further includes an input unit and a storage unit;
the input unit is configured to read an actual gamma curve to obtain grayscale values and corresponding actual brightness values;
the storage unit is configured to store a first reference gamma curve and a second reference gamma curve;
the calculation unit is further configured to obtain a reference brightness interval, wherein the reference brightness interval is formed by a region between the first reference gamma curve and the second reference gamma curve;
the calculation unit is further configured to obtain a first preset interval, wherein in the first preset interval, an actual brightness value exceeds the reference brightness interval; and
the calculation unit is further configured to obtain the first interval based on the first preset interval, wherein the first interval has two endpoints which are on the actual gamma curve, actual brightness values corresponding to the two endpoints are in the reference brightness interval, and the linear functional relationship is obtained using grayscale values and the actual brightness values of the two endpoints.