CN109996054B - White balance adjusting method and device - Google Patents

White balance adjusting method and device Download PDF

Info

Publication number
CN109996054B
CN109996054B CN201711479695.6A CN201711479695A CN109996054B CN 109996054 B CN109996054 B CN 109996054B CN 201711479695 A CN201711479695 A CN 201711479695A CN 109996054 B CN109996054 B CN 109996054B
Authority
CN
China
Prior art keywords
value
parameter
adjusting
target
gray scale
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
CN201711479695.6A
Other languages
Chinese (zh)
Other versions
CN109996054A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201711479695.6A priority Critical patent/CN109996054B/en
Publication of CN109996054A publication Critical patent/CN109996054A/en
Application granted granted Critical
Publication of CN109996054B publication Critical patent/CN109996054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control

Abstract

The embodiment of the invention provides a white balance adjusting method and a white balance adjusting device, wherein a brightness parameter, an X component and a Y component corresponding to the highest gray scale are respectively adjusted by adjusting RGB components, target adjusting values of other gray scales are determined according to a first target adjusting value, and the brightness parameter, the X component and the Y component corresponding to the other gray scales are respectively adjusted by adjusting Gamma parameters. According to the technical scheme provided by the embodiment of the invention, the automatic adjustment of the white balance is realized by combining the two adjustment modes of adjusting the RGB components and adjusting the Gamma parameters, the adjustment efficiency and the adjustment precision of the white balance are improved, and the display effect is enhanced.

Description

White balance adjusting method and device
Technical Field
The invention relates to the technical field of displays, in particular to a white balance adjusting method and device.
Background
The mixing of the three primary colors of red, green and blue in the display screen can generate white, and white balance is an index for describing the white accuracy of the white and is an important factor for the display effect of the display screen. The adjustment of the white balance is important in the display of the display screen.
Generally, pure white can be displayed only when the ratio of the three primary colors of red, green and blue is 1:4.6: 0.16. However, for different regions and different people, different standards can be provided for white color according to different habits. For example, some regions may be used to a warm-tone white color, and some regions may be used to a cool-tone white color. And for different standards, the proportion of the three primary colors of red, green and blue can be changed. Therefore, in practical application, different white standards can be set according to habits of different regions, and the white balance is adjusted to reach the set white standard, so that the display screen reaches an ideal display state.
However, the current method of adjusting the white balance of the display screen basically adopts a manual method, i.e. a person adjusts the white balance through eyes or by some simple optical instrument, and the manual adjustment method needs the person to adjust the display screens one by one, which causes the problem that the efficiency of adjusting the white balance is low.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a method and an apparatus for adjusting white balance, so as to achieve automatic adjustment of white balance, and further improve adjustment efficiency and adjustment accuracy of white balance. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a white balance adjustment method, where the method includes:
determining a target adjusting value of a white balance adjusting parameter corresponding to the highest gray scale as a first target adjusting value, wherein the white balance adjusting parameter comprises: the luminance parameter, X component, Y component of the chroma parameter in the color coordinate;
adjusting the white balance adjustment parameter corresponding to the highest gray scale in a mode of adjusting RGB components according to the first target adjustment value, so that the brightness value, the X value and the Y value of the display screen to be subjected to white balance adjustment under the condition of the highest gray scale all meet a preset first error condition;
determining target adjustment values of white balance adjustment parameters corresponding to other gray scales except the highest gray scale according to the first target adjustment value, and taking the target adjustment values as second target adjustment values;
and respectively adjusting the white balance adjustment parameters corresponding to each gray scale in a mode of adjusting Gamma parameters according to the determined second target adjustment value, so that the brightness value, the X value and the Y value of the display screen meet the preset second error condition corresponding to each gray scale under the condition of each gray scale.
Optionally, the step of adjusting the white balance adjustment parameter corresponding to the highest gray scale by adjusting the RGB components according to the first target adjustment value includes:
acquiring a brightness value, an X value and a Y value of the display screen under the condition of the highest gray scale;
respectively calculating a first difference value, a second difference value and a third difference value according to the first brightness value, the first X value and the first Y value, wherein the first brightness value is as follows: the first target adjustment value is a target adjustment value of the brightness parameter, and the first X value is: the target adjustment value of the X component in the first target adjustment value, and the first Y value is: a target adjustment value of a Y component in the first target adjustment value, the first difference being a difference between the obtained luminance value and the first luminance value, the second difference being a difference between the obtained X value and the first X value, the third difference being a difference between the obtained Y value and the first Y value;
judging whether the first difference, the second difference and the third difference all meet respective corresponding preset first error conditions;
if not, adjusting the brightness value, the X value and the Y value of the display screen by adjusting the RGB components of the display screen, and executing the step of obtaining the brightness value, the X value and the Y value of the display screen under the condition of the highest gray scale.
Optionally, the step of adjusting the brightness value, the X value, and the Y value of the display screen by adjusting the RGB components of the display screen includes:
obtaining a white balance adjustment parameter corresponding to a fourth difference value, wherein the fourth difference value is: the difference value which does not meet the corresponding first error condition in the first difference value, the second difference value and the third difference value;
determining the RGB components corresponding to the obtained white balance adjustment parameters according to a first corresponding relation between preset RGB components and the white balance adjustment parameters, wherein the first corresponding relation comprises: the G component corresponds to a luminance parameter, the R component corresponds to an X component, and the B component corresponds to a Y component;
the determined RGB components are adjusted.
Optionally, the step of adjusting the determined RGB components includes:
acquiring the current value of the determined RGB components;
acquiring gain compensation values corresponding to the determined RGB components according to the fourth difference value;
for each determined RGB component, the acquired gain compensation value is increased on the basis of the acquired value.
Optionally, the step of determining, according to the first target adjustment value, target adjustment values of white balance adjustment parameters corresponding to respective gray scales other than the highest gray scale includes:
determining the first X value and the first Y value as target adjustment values of X components and Y components corresponding to other gray scales except the highest gray scale respectively, and taking the target adjustment values as a second X value and a second Y value respectively;
and respectively determining the target adjusting values of the brightness parameters corresponding to the other gray scales according to the following formula, and taking the target adjusting values as second brightness values:
y=a×xr
wherein y is a target adjustment value of the brightness parameter, x is a gradation value of the gray scale, a is a constant obtained according to the first brightness value, and r is a custom constant.
Optionally, the step of adjusting the white balance adjustment parameter corresponding to each gray scale by adjusting the Gamma parameter according to the determined second target adjustment value includes:
determining a gray scale for adjusting white balance adjustment parameters from the other gray scales as a target gray scale;
according to the determined second target adjustment value, adjusting the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale by adjusting the Gamma parameter corresponding to the target gray scale according to a second corresponding relationship between a preset Gamma parameter and a white balance adjustment parameter, so that the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale all meet a second preset error condition corresponding to the target gray scale, wherein the Gamma parameter comprises a first Gamma parameter, a second Gamma parameter and a third Gamma parameter, and the second corresponding relationship comprises: the first Gamma parameter corresponds to the brightness parameter, the second Gamma parameter corresponds to the X component, and the third Gamma parameter corresponds to the Y component.
Optionally, the step of adjusting, according to the determined second target adjustment value and according to a second correspondence between preset Gamma parameters and white balance adjustment parameters, the luminance value, the X value, and the Y value of the display screen under the condition of the target gray scale by adjusting the Gamma parameters corresponding to the target gray scale includes:
acquiring the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale;
obtaining a value of a Gamma parameter corresponding to the target gray scale, wherein the value of the first Gamma parameter is a first Gamma value, the value of the second Gamma parameter is a second Gamma value, and the value of the third Gamma parameter is a third Gamma value;
according to the second brightness value corresponding to the target gray scale and the acquired brightness value, determining a gain compensation value of a first Gamma parameter corresponding to a brightness parameter as a first compensation value, and increasing the first compensation value on the basis of the first Gamma value;
according to a second X value corresponding to the target gray scale and the obtained X value, determining a gain compensation value of a second Gamma parameter corresponding to the X component as a second compensation value, and increasing the second compensation value on the basis of the second Gamma value;
according to a second Y value corresponding to the target gray scale and the obtained Y value, determining a gain compensation value of a third Gamma parameter corresponding to the Y component as a third compensation value, and increasing the third compensation value on the basis of the third Gamma value;
judging whether the adjusted brightness value, X value and Y value of the display screen meet respective corresponding second error conditions or not;
if not, executing the step of obtaining the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale;
if yes, ending the adjustment of the white balance adjustment parameter of the target gray scale, and determining the gray scale for adjusting the white balance adjustment parameter from the other gray scales as the target gray scale.
In a second aspect, an embodiment of the present invention provides a white balance adjustment apparatus, including:
a first determining module, configured to determine a target adjustment value of a white balance adjustment parameter corresponding to a highest gray scale as a first target adjustment value, where the white balance adjustment parameter includes: the luminance parameter, X component, Y component of the chroma parameter in the color coordinate;
the first adjusting module is used for adjusting the white balance adjusting parameter corresponding to the highest gray scale in a mode of adjusting RGB components according to the first target adjusting value, so that the brightness value, the X value and the Y value of the display screen to be subjected to white balance adjustment under the condition of the highest gray scale all meet a preset first error condition;
a second determining module, configured to determine, according to the first target adjustment value, a target adjustment value of a white balance adjustment parameter corresponding to each of the other gray scales except for the highest gray scale as a second target adjustment value;
and the second adjusting module is used for adjusting the white balance adjusting parameters corresponding to each gray scale respectively in a mode of adjusting Gamma parameters according to the determined second target adjusting value, so that the brightness value, the X value and the Y value of the display screen meet the preset second error condition corresponding to each gray scale under the condition of each gray scale.
Optionally, the first adjusting module comprises:
the acquisition submodule is used for acquiring the brightness value, the X value and the Y value of the display screen under the condition of the highest gray scale;
a calculating submodule, configured to calculate a first difference, a second difference, and a third difference according to the first luminance value, the first X value, and the first Y value, respectively, where the first luminance value is: the first target adjustment value is a target adjustment value of the brightness parameter, and the first X value is: the target adjustment value of the X component in the first target adjustment value, and the first Y value is: a target adjustment value of a Y component in the first target adjustment value, the first difference being a difference between the obtained luminance value and the first luminance value, the second difference being a difference between the obtained X value and the first X value, the third difference being a difference between the obtained Y value and the first Y value;
the judgment submodule is used for judging whether the first difference, the second difference and the third difference all meet the corresponding preset first error conditions;
and the first adjusting submodule is used for adjusting the brightness value, the X value and the Y value of the display screen by adjusting the RGB components of the display screen if the judgment result of the judging submodule is negative, and executing the step of acquiring the brightness value, the X value and the Y value of the display screen under the condition of the highest gray scale.
Optionally, the first adjusting submodule includes:
an obtaining unit, configured to obtain a white balance adjustment parameter corresponding to a fourth difference, where the fourth difference is: the difference value which does not meet the corresponding first error condition in the first difference value, the second difference value and the third difference value;
a determining unit, configured to determine, according to a first corresponding relationship between preset RGB components and white balance adjustment parameters, RGB components corresponding to the obtained white balance adjustment parameters, where the first corresponding relationship includes: the G component corresponds to a luminance parameter, the R component corresponds to an X component, and the B component corresponds to a Y component;
an adjusting unit for adjusting the determined RGB components.
Optionally, the adjusting unit is specifically configured to:
acquiring the current value of the determined RGB components;
acquiring gain compensation values corresponding to the determined RGB components according to the fourth difference value;
for each determined RGB component, the acquired gain compensation value is increased on the basis of the acquired value.
Optionally, the second determining module includes:
the first determining submodule is used for determining the first X value and the first Y value as target adjusting values of X components and Y components corresponding to other gray scales except the highest gray scale respectively, and the target adjusting values are respectively used as a second X value and a second Y value;
the second determining submodule is used for respectively determining the target adjusting values of the brightness parameters corresponding to the other gray scales according to the following formula, and the target adjusting values are used as second brightness values:
y=a×xr
wherein y is a target adjustment value of the brightness parameter, x is a gradation value of the gray scale, a is a constant obtained according to the first brightness value, and r is a custom constant.
Optionally, the second adjusting module comprises:
a third determining submodule, configured to determine, from the other gray scales, a gray scale for adjusting the white balance adjustment parameter as a target gray scale;
a second adjusting submodule, configured to adjust, according to a second corresponding relationship between a preset Gamma parameter and a white balance adjusting parameter and according to a determined second target adjustment value, a luminance value, an X value, and a Y value of the display screen under a condition of the target gray scale by adjusting the Gamma parameter corresponding to the target gray scale, so that the luminance value, the X value, and the Y value of the display screen under the condition of the target gray scale all satisfy a second preset error condition corresponding to the target gray scale, where the Gamma parameter includes a first Gamma parameter, a second Gamma parameter, and a third Gamma parameter, and the second corresponding relationship includes: the first Gamma parameter corresponds to the brightness parameter, the second Gamma parameter corresponds to the X component, and the third Gamma parameter corresponds to the Y component.
Optionally, the second adjusting submodule is specifically configured to:
acquiring the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale;
obtaining a value of a Gamma parameter corresponding to the target gray scale, wherein the value of the first Gamma parameter is a first Gamma value, the value of the second Gamma parameter is a second Gamma value, and the value of the third Gamma parameter is a third Gamma value;
according to the second brightness value corresponding to the target gray scale and the acquired brightness value, determining a gain compensation value of a first Gamma parameter corresponding to a brightness parameter as a first compensation value, and increasing the first compensation value on the basis of the first Gamma value;
according to a second X value corresponding to the target gray scale and the obtained X value, determining a gain compensation value of a second Gamma parameter corresponding to the X component as a second compensation value, and increasing the second compensation value on the basis of the second Gamma value;
according to a second Y value corresponding to the target gray scale and the obtained Y value, determining a gain compensation value of a third Gamma parameter corresponding to the Y component as a third compensation value, and increasing the third compensation value on the basis of the third Gamma value;
judging whether the adjusted brightness value, X value and Y value of the display screen meet respective corresponding second error conditions or not;
if not, executing the step of obtaining the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale;
if yes, ending the adjustment of the white balance adjustment parameter of the target gray scale, and determining the gray scale for adjusting the white balance adjustment parameter from the other gray scales as the target gray scale.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any one of the steps of the white balance adjusting method when executing the program stored in the memory.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements any one of the steps of the white balance adjustment method described above.
In the technical scheme provided by the embodiment of the invention, firstly, the brightness parameter, the X component and the Y component corresponding to the highest gray scale are respectively adjusted by adjusting the RGB components, the target adjustment values of other gray scales are determined according to the first target adjustment value, and then the brightness parameter, the X component and the Y component corresponding to other gray scales are respectively adjusted by adjusting the Gamma parameter. According to the technical scheme provided by the embodiment of the invention, the automatic adjustment of the white balance is realized by combining the two adjustment modes of adjusting the RGB components and adjusting the Gamma parameters, and the adjustment efficiency and the adjustment precision of the white balance are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a white balance adjustment method according to an embodiment of the present invention;
fig. 2 is another flowchart of a white balance adjustment method according to an embodiment of the present invention;
fig. 3 is another flowchart of a white balance adjustment method according to an embodiment of the present invention;
FIG. 4 is a graph of the numeric input of the Gamma parameter;
fig. 5 is a schematic structural diagram of a white balance adjustment device according to an embodiment of the present invention;
fig. 6 is another schematic structural diagram of a white balance adjustment device according to an embodiment of the present invention;
fig. 7 is another schematic structural diagram of a white balance adjustment device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to realize automatic adjustment of white balance and further improve adjustment efficiency and adjustment precision of white balance, embodiments of the present invention provide a white balance adjustment method and apparatus, wherein the method includes:
determining a target adjusting value of a white balance adjusting parameter corresponding to the highest gray scale as a first target adjusting value, wherein the white balance adjusting parameter comprises: the luminance parameter, X component, Y component of the chroma parameter in the color coordinate;
adjusting the white balance adjustment parameter corresponding to the highest gray scale in a mode of adjusting RGB components according to the first target adjustment value, so that the brightness value, the X value and the Y value of the display screen to be subjected to white balance adjustment under the condition of the highest gray scale all meet a preset first error condition;
determining target adjustment values of white balance adjustment parameters corresponding to other gray scales except the highest gray scale as second target adjustment values according to the first target adjustment value;
and respectively adjusting the white balance adjustment parameters corresponding to each gray scale in a mode of adjusting Gamma parameters according to the determined second target adjustment value, so that the brightness value, the X value and the Y value of the display screen meet the preset second error condition corresponding to each gray scale under the condition of each gray scale.
According to the technical scheme provided by the embodiment of the invention, the automatic adjustment of the white balance is realized by combining the two adjustment modes of adjusting the RGB components and adjusting the Gamma parameters, and the adjustment efficiency, the adjustment precision and the display effect of the white balance are improved.
First, a white balance adjustment method according to an embodiment of the present invention is described below, as shown in fig. 1, the method includes:
s101, determining a target adjusting value of the white balance adjusting parameter corresponding to the highest gray scale as a first target adjusting value.
Wherein the white balance adjustment parameters include: the luminance parameter, the X component of the chrominance parameter in the color coordinate, the Y component.
The gray scale may refer to a luminance hierarchical relationship between the display screen from the darkest black to the brightest white, and may be divided into different gradation divisions, for example, 32-level gray scale, 256-level gray scale, and the like, for the gray scale.
Generally, the lowest gray scale is completely black, the highest gray scale is completely white, and the color gradually transits from completely black to completely white in the process from the lowest gray scale to the highest gray scale; moreover, the higher the gray scale level is, the more natural and fine black-white transition is. For example, for 256 levels of gray scale, the lowest gray scale is 0 level gray scale and is completely black, the highest gray scale is 255 level gray scale and is completely white, and in the process from 0 level gray scale to 255 level gray scale, the color gradually transits from completely black to completely white.
The white balance adjustment can be performed individually for each gradation gray level. Of course, the white balance adjustment performed for each gray scale of different levels has different effects on the white balance adjustment of the entire display screen, and generally, the higher the gray scale level is, the greater the effect is. Therefore, the white balance adjustment performed at the highest gray scale has the greatest influence on the white balance adjustment performed on the entire display screen, and therefore, in general, the white balance adjustment may be performed only at the highest gray scale or at a higher gray scale, instead of performing the white balance adjustment on the entire display screen.
The white balance can be measured by brightness and chroma, and different white balance states can be set for different brightness and chroma, so that the display screen can reach an ideal display state by setting different brightness values and chroma values according to different requirements (cold color, normal color and warm color) of individuals or regions, wherein one mode can be that the numerical value of a white balance adjusting parameter is determined by referring to a CIE1931 chromaticity diagram; further, for white balance adjustment, the purpose of white balance adjustment can be achieved by adjusting the luminance parameter and the chrominance parameter.
Where the chromaticity may reflect the hue and saturation of a color, the chromaticity may be represented in the form of coordinates in a color coordinate system, which may include a horizontal axis X-axis and a vertical axis Y-axis, and accordingly, the color coordinate may include an X component and a Y component.
In one implementation, first, the white balance adjustment may be performed on the highest gray scale separately, and before the white balance adjustment is performed on the highest gray scale, the target adjustment values of the luminance parameter, the X component, and the Y component corresponding to the highest gray scale may be set, and of course, the target adjustment values of the luminance parameter, the X component, and the Y component may all be set by the user.
S102, adjusting the white balance adjustment parameter corresponding to the highest gray scale in a mode of adjusting RGB components according to the first target adjustment value, so that the brightness value, the X value and the Y value of the display screen to be subjected to white balance adjustment under the condition of the highest gray scale all meet a preset first error condition.
Wherein, under the condition of the highest gray scale, the following conditions are adopted: the display screen is lighted up with the highest gray scale according to the number of bits of the color, that is, bit, and it can be considered that the display screen displays when the display screen is set to the highest gray scale. For example, at 14 bits, the display is performed with a (255, 225, 255) setting screen. The explanation can also be applied to other gray levels in the embodiment of the present invention, and under the condition of other gray levels, the following are meant: and lightening the display screen by using the corresponding other gray scales, namely displaying when the display screen is set to be corresponding to the other gray scales.
For example, 255 gray levels are the highest gray levels among the 256 gray levels, and the content displayed on the display screen may include the content of a plurality of gray levels at the same time, so that under the condition of 255 gray levels, the following means: the gray value of the content displayed by the display screen is 255, that is, the gray value of a pixel point in the display screen is 255.
The RGB components may include R components, G components, and B components, and according to the respective influences of the RGB components on the luminance parameters, the X components, and the Y components, the corresponding relationships between the RGB components and the luminance parameters, the X components, and the Y components may be determined.
Specifically, the G component corresponds to a luminance parameter, that is, the G component is considered to have the largest influence on the luminance parameter, and the G component is adjusted to correspond to the adjusted luminance parameter; similarly, since the R component has the largest influence on the X component, the R component corresponds to the X component; since the B component has the greatest influence on the Y component, the B component corresponds to the Y component.
The manner in which the RGB components are adjusted is described in detail below in the corresponding embodiment of fig. 2 and will not be described in detail herein.
The preset first error condition may be set by a user, and for the brightness parameter, the X component, and the Y component, the first error condition may be the same, that is, the brightness value, the X value, and the Y value of the display screen satisfy the same first error condition.
Each parameter may correspond to a first error condition, and the first error conditions corresponding to different parameters may be different. That is, the luminance parameter may correspond to a first error condition of a first kind, the X component may correspond to a first error condition of a second kind, and the Y component may correspond to a first error condition of a third kind, wherein the first error condition of the first kind, the first error condition of the second kind, and the first error condition of the third kind are different from each other.
For the brightness value, the X value and the Y value of the display screen all meet the preset first error condition, one implementation mode is that the measured error value between the brightness value of the display screen and the target adjusting value of the brightness parameter meets the preset first error condition, the measured error value between the X value of the display screen and the target adjusting value of the X component meets the preset first error condition, and the measured error value between the Y value of the display screen and the target adjusting value of the Y component meets the preset first error condition. This is described in detail in the following embodiment corresponding to fig. 2 and will not be described in detail here.
S103, according to the first target adjusting value, determining the target adjusting value of the white balance adjusting parameter corresponding to each of the other gray scales except the highest gray scale as a second target adjusting value.
In order to achieve better white balance effect, for each gray scale, the target adjustment value of the white balance adjustment parameter corresponding to each gray scale may be different from the target adjustment values of the white balance adjustment parameters corresponding to other gray scales, and of course, the target adjustment values may include the target adjustment values corresponding to the luminance parameter, the X component, and the Y component, for example, the target adjustment value of the luminance parameter is 560, the target adjustment value of the X component is 0.283, and the target adjustment value of the Y component is 0.290.
Therefore, the target adjustment value of the corresponding white balance adjustment parameter needs to be determined for all the gray scales other than the highest gray scale, so that the white balance adjustment can be performed according to the determined target adjustment value for each gray scale.
In the first embodiment, the target adjustment value of the luminance parameter in the white balance adjustment parameter corresponding to the highest gray level may be set as the first luminance value, the target adjustment value of the X component corresponding to the highest gray level may be set as the first X value, and the target adjustment value of the Y component corresponding to the highest gray level may be set as the first Y value.
In the first step, the first X value and the first Y value may be determined as target adjustment values of the X component and the Y component corresponding to the other gray levels except for the highest gray level, and the target adjustment values may be respectively used as a second X value and a second Y value.
That is, the target adjustment values of the X component and the Y component corresponding to the full gray scale are the same, the first X value is the same as the second X value, and the first Y value is the same as the second Y value. Therefore, from the perspective of full gray scale, the color temperature consistency of the display screen is ensured.
And a second step of determining target adjustment values of the brightness parameters corresponding to the other gray scales respectively according to the following formula, and taking the target adjustment values as second brightness values:
y=a×xr
wherein y is a target adjustment value of the brightness parameter, and the target adjustment value is the brightness value.
Where r is a constant that can be customized, specifically, r may be a constant from 1 to 4, for example, r may take 2.8.
Wherein x is a gradation value of a gray level, for example, x corresponding to 255 gray levels is 255.
Wherein a is a constant obtained according to the first luminance value, specifically, for the highest gray level, the target adjustment value of the luminance parameter corresponding to the highest gray level, i.e. the first luminance value y1Are known; gradation value x of the highest gray level1Are known; and r is a self-defined constant, so that the constant a obtained by combining the parameter values corresponding to the highest gray scale according to the formula is as follows:
Figure BDA0001533506180000131
for example, when the highest gray level is 255 gray levels, x1Is 255, r is 2, the first luminance value y1At 425, a may be obtained as 1/153.
Thus, the obtained a value is substituted into the above formula, and then the r value and the grade value corresponding to each gray scale are customized, so as to obtain the target adjusting value of the brightness parameter corresponding to each gray scale.
For example, a is 1/153, and r is 2, then for the 153 gray level, the gradation value is 153, and the corresponding target adjustment value of the brightness parameter is:
Figure BDA0001533506180000132
from this, the target adjustment value 153 of the luminance parameter corresponding to the gray level 153 is known.
And S104, respectively adjusting the white balance adjustment parameters corresponding to each gray scale in a mode of adjusting Gamma parameters according to the determined second target adjustment value, so that the brightness value, the X value and the Y value of the display screen under the condition of each gray scale meet the preset second error condition corresponding to the gray scale.
After the target adjustment value of the white balance adjustment parameter corresponding to each gray scale is determined, the brightness parameter, the X component, and the Y component corresponding to each gray scale may be adjusted, respectively.
The Gamma parameter is a parameter which can be used for adjusting the brightness and the chromaticity of the display screen.
When white balance adjustment is performed on each gray scale, the brightness parameter, the X component and the Y component corresponding to each gray scale are respectively adjusted in a Gamma parameter mode.
The Gamma parameters may include a first Gamma parameter, a second Gamma parameter, and a third Gamma parameter, and the correspondence between each Gamma parameter and the luminance parameter, the X component, and the Y component may be predetermined.
Specifically, the brightness parameter is adjusted corresponding to the adjustment of the first Gamma parameter, the X component is adjusted corresponding to the adjustment of the second Gamma parameter, and the Y component is adjusted corresponding to the adjustment of the third Gamma parameter. Therefore, the brightness value can meet the corresponding second error condition by adjusting the first Gamma parameter; the X component can be used to enable the X value to meet the corresponding second error condition; the Y component can be used to make the Y value satisfy the corresponding second error condition.
The manner of adjusting the Gamma parameter is described in detail in the corresponding embodiment of fig. 3 below and will not be described in detail here.
The second error condition is for other gray levels than the highest gray level, and may be set by a user. The second error condition corresponding to each gray scale may be the same as or different from the second error conditions corresponding to other gray scales, and is not limited herein.
For each gray scale, the corresponding second error condition may include a second error condition corresponding to the luminance parameter, a second error condition corresponding to the X component, and a second error condition corresponding to the Y component, and the second error condition corresponding to each parameter or component may be the same as or different from the second error condition corresponding to other parameters or components of the same gray scale, which is not limited herein.
The luminance value, the X value and the Y value of the display screen under each gray scale condition satisfy the preset second error condition corresponding to the gray scale, which is described in detail in the embodiment corresponding to fig. 3 below and will not be described in detail herein.
In the technical scheme provided by the embodiment of the invention, firstly, the brightness parameter, the X component and the Y component corresponding to the highest gray scale are respectively adjusted by adjusting the RGB components, the target adjustment values of other gray scales are determined according to the first target adjustment value, and then the brightness parameter, the X component and the Y component corresponding to other gray scales are respectively adjusted by adjusting the Gamma parameter. According to the technical scheme provided by the embodiment of the invention, the automatic adjustment of the white balance is realized by combining the two adjustment modes of adjusting the RGB components and adjusting the Gamma parameters, and the adjustment efficiency and the adjustment precision of the white balance are improved.
On the basis of the embodiments corresponding to fig. 1 and fig. 1, an embodiment of the present invention further provides a white balance adjustment method, as shown in fig. 2, the step of adjusting (S102) the luminance parameter, the X component, and the Y component corresponding to the highest gray scale by adjusting the RGB components according to the first target adjustment value may include:
s201, acquiring the brightness value, the X value and the Y value of the display screen under the condition of the highest gray scale.
The brightness value, the X value and the Y value of the display screen can be obtained by detecting the display screen through a third-party device, wherein the third-party device is a device which can be used for detecting the brightness value, the X value and the Y value of the display screen. And the acquired brightness value, X value and Y value are the brightness value, X value and Y value of the current display screen, and the real-time performance is realized. For example, the third party device may be a color analyzer.
Of course, in the present embodiment, the white balance of the highest gray scale is adjusted, and therefore, the acquired luminance value, X value, and Y value are in the highest gray scale condition.
S202, respectively calculating a first difference value, a second difference value and a third difference value according to the first brightness value, the first X value and the first Y value.
Wherein the first brightness value is: the first target adjustment value is a target adjustment value of the brightness parameter, and the first X value is: the target adjustment value of the X component in the first target adjustment value, and the first Y value is: a target adjustment value for the Y component of the first target adjustment value; the first difference is a difference between the acquired luminance value and the first luminance value, the second difference is a difference between the acquired X value and the first X value, and the third difference is a difference between the acquired Y value and the first Y value.
For example, among the determined target adjustment values: the first luminance value is 600, the first X value is 0.33, the first Y value is 0.33, the obtained luminance value is 500, the obtained X value is 0.3, and the obtained Y value is 0.31, then the corresponding first difference is 100, the second difference is 0.03, and the third difference is 0.02.
S203, judging whether the first difference, the second difference and the third difference all meet the corresponding preset first error conditions, if not, executing the step S204.
After the first difference, the second difference and the third difference are obtained through calculation, the first difference, the second difference and the third difference are respectively compared with the corresponding first error conditions, and only when the first difference, the second difference and the third difference meet the corresponding preset first error conditions, the regulation of the RGB components can be considered to be finished; if at least one of the first difference, the second difference and the third difference does not satisfy the corresponding first error condition, the following step S204 is executed.
The first error conditions corresponding to the first difference, the second difference and the third difference may be the same, or may be different, and are not limited herein.
For example, the first error condition corresponding to the first difference is in a range smaller than 10, the first error condition corresponding to the second difference is in a range smaller than 0.5, and the first error condition corresponding to the third difference is in a range smaller than 1; and when the first difference is 3, the second difference is 0.3 and the third difference is 1.2, the third difference does not meet the corresponding first error condition.
S204, adjusting the brightness value, the X value and the Y value of the display screen by adjusting the RGB components of the display screen, and returning to execute the step S201.
When the R component in the RGB components is adjusted, the influence on the X component is the largest, so that the adjustment of the R component is considered to correspond to the adjustment of the X component; when the B component of the RGB components is adjusted, the influence on the Y component is the largest, and therefore, it can be considered that adjusting the B component corresponds to adjusting the Y component.
Therefore, the purpose of adjusting the brightness parameter, the X component and the Y component is achieved by adjusting the RGB components, and after the adjustment is completed each time, the adjustment process from S201 to S204 is returned to be executed, so that closed-loop adjustment is formed, automatic adjustment is realized, and the accuracy of white balance adjustment is improved by closed-loop adjustment.
In a second embodiment, on the basis of the step S204, the step of adjusting the brightness value, the X value and the Y value of the display screen by adjusting the RGB components of the display screen (S204) may include the steps of:
obtaining a white balance adjustment parameter corresponding to a fourth difference value, wherein the fourth difference value is: the difference value which does not meet the corresponding first error condition in the first difference value, the second difference value and the third difference value;
secondly, determining the RGB components corresponding to the obtained white balance adjustment parameters according to a first corresponding relation between the preset RGB components and the white balance adjustment parameters, wherein the first corresponding relation comprises the following steps: the G component corresponds to a luminance parameter, the R component corresponds to an X component, and the B component corresponds to a Y component;
and thirdly, adjusting the determined RGB components.
The three steps are described below.
Obtaining a white balance adjustment parameter corresponding to a fourth difference value, wherein the fourth difference value is: and the difference value which does not meet the corresponding first error condition in the first difference value, the second difference value and the third difference value.
It may be considered that the fourth difference is a classification that does not satisfy the first error condition, and among the first difference, the second difference, and the third difference, differences that do not satisfy the respective corresponding first error conditions may be classified as the fourth difference.
For example, among the first difference, the second difference and the third difference, the first difference satisfies the corresponding first error condition, and the second difference and the third difference do not satisfy the respective corresponding first error conditions, in this case, the fourth difference includes the second difference and the third difference.
And each of the first difference value, the second difference value, and the third difference value represents a difference value of one kind of white balance adjustment parameter, and therefore, it can be considered that each difference value corresponds to one kind of white balance adjustment parameter. Specifically, the first difference corresponds to the luminance parameter, the second difference corresponds to the X component, and the third difference corresponds to the Y component.
The white balance adjustment parameter corresponding to the fourth difference is the white balance adjustment parameter corresponding to the difference which does not satisfy the respective corresponding first error condition and is included in the fourth difference. For example, the second difference and the third difference do not satisfy the respective corresponding first error conditions, that is, the fourth difference includes the second difference and the third difference. Then, since the white balance adjustment parameter corresponding to the second difference is the X component and the white balance adjustment parameter corresponding to the third difference is the Y component, the white balance adjustment parameter corresponding to the fourth difference is the X component and the Y component.
And secondly, determining the RGB components corresponding to the obtained white balance adjustment parameters according to the first corresponding relation between the preset RGB components and the white balance adjustment parameters.
Wherein the first corresponding relationship comprises: the G component corresponds to a luminance parameter, the R component corresponds to an X component, and the B component corresponds to a Y component.
The first corresponding relation is determined according to the influence of each component in the RGB components on the brightness parameter, the X component and the Y component. Specifically, when the G component of the RGB components is adjusted, the influence on the luminance parameter is the largest, that is, it can be considered that adjusting the G component corresponds to adjusting the luminance parameter, and of course, when the G component is adjusted, the X component and the Y component also fluctuate, but the fluctuation range is far less than the fluctuation range of the luminance parameter, that is, the influence is not large on the luminance parameter.
Therefore, after the white balance adjustment parameter corresponding to the fourth difference is obtained, RGB components corresponding to the obtained white balance adjustment parameters may be determined, and the determined RGB components are the components to be adjusted.
In one implementation, the first correspondence relationship between the RGB components and the white balance adjustment parameters may be a one-to-one correspondence relationship, where each white balance adjustment parameter corresponds to one of the RGB components. Accordingly, the RGB components to which the obtained white balance adjustment parameters each correspond can be determined from the first correspondence relationship.
For example, the white balance adjustment parameter corresponding to the obtained fourth difference value is a luminance parameter and an X component, and it is known from the first correspondence relationship that: the luminance parameter corresponds to the G component, and the X component corresponds to the R component, and then the determined RGB components are the G component and the R component.
And thirdly, adjusting the determined RGB components.
After the RGB components are determined, the determined RGB components can be adjusted.
In a third embodiment, the determined RGB components may be adjusted as follows:
1. acquiring the current value of the determined RGB components;
2. according to the fourth difference value, gain compensation values corresponding to the determined RGB components are obtained;
3. for each determined RGB component, the acquired gain compensation value is increased on the basis of the acquired value.
The steps in the third embodiment will be described below.
1. Obtaining the current value of the determined RGB components
Wherein the acquired RGB components include a value of the R component, a value of the G component, and a value of the B component.
2. According to the fourth difference value, gain compensation values corresponding to the determined RGB components are obtained
The fourth difference is a difference between the measured value of the white balance adjustment parameter and the target adjustment value, and the gain compensation value is for the RGB component, so that the gain compensation value may be a predicted value, and the gain compensation value for the RGB component is predicted based on the fourth difference.
In one implementation, a corresponding relationship between a difference range corresponding to the white balance adjustment parameter and the gain compensation value may be preset, and specifically, the difference range of the luminance parameter corresponds to the gain compensation value of the G component, the difference range of the X component corresponds to the gain compensation value of the R component, and the difference range of the Y component corresponds to the gain compensation value of the B component. Different difference ranges correspond to different gain compensation values, so that dynamic compensation can be realized.
Of course, the gain compensation value corresponding to a difference range may be a numerical value or a numerical range, and when the corresponding gain compensation value is a numerical range, any numerical value may be selected from the corresponding numerical range, thereby implementing dynamic compensation.
For example, when the difference range of the luminance parameter is (100,150), the gain compensation value of the corresponding G component is 5, that is, when the difference range of the luminance parameter is within (100,150), the gain compensation value of the G component can be determined to be (5.0, 5.2). Wherein (100,150) represents a numerical range of more than 100 and less than 150, and (5.0,5.2) represents a numerical range of more than 5.0 and less than 5.2.
Of course, the difference range of the brightness parameter and the gain compensation value corresponding to each difference range may be set by a user, and specifically, may be calculated by different algorithms. For the correspondence between the difference range of the X component and the gain compensation value of the R component, and the correspondence between the difference range of the Y component and the gain compensation value of the B component, the correspondence is similar to the correspondence between the difference range of the luminance parameter and the gain compensation value of the G component, and details thereof are not repeated.
3. For each determined RGB component, the acquired gain compensation value is increased on the basis of the acquired value.
For each determined RGB component, the gain compensation value obtained is increased on the basis of the value obtained, i.e. the adjustment of the RGB component can be considered to be completed. Of course, the gain compensation value added to the RGB component is the gain compensation value corresponding to the RGB component.
For example, if the luminance parameter does not satisfy the corresponding first error condition, it may be determined that the G component of the RGB components is adjusted, and the value of the acquired G component is 100 and the gain compensation value of the acquired G component is 20, and then the value of the G component becomes 120 as a result of the adjustment of the G component.
In the practical application process, the gain compensation value of the RGB component can correspondingly change the driving current of the driving chip of the output control display screen, so that the adjusted value can change the output of the display screen by changing the value of the driving current through the driving chip, thereby changing the display effect and displaying the changed brightness and chromaticity.
According to the technical scheme provided by the embodiment of the invention, the RGB components are adjusted in a closed-loop adjustment mode, the automatic adjustment of the white balance of the highest gray scale is realized, and the adjustment efficiency and the adjustment precision of the white balance adjustment of the highest gray scale are improved.
On the basis of the first implementation manner, an embodiment of the present invention further provides a white balance adjustment method, as shown in fig. 3, wherein the step of adjusting (S104) the white balance adjustment parameters corresponding to each gray scale by adjusting Gamma parameters according to the determined second target adjustment value may include:
s301, determining the gray scale for adjusting the white balance adjustment parameter from other gray scales as a target gray scale.
In one implementation, a gray scale adjustment sequence may be preset, and the white balance of the gray scales may be adjusted one by one according to the preset adjustment sequence.
For example, the preset gray scale adjustment sequence is performed from high to low according to the gradation values of the gray scales, for the 256 gray scales, after completing the white balance adjustment of the 255 highest gray scale, the white balance adjustment of the 254 gray scale is performed, and after completing the white balance adjustment of the 254 gray scale, the white balance adjustment of the 253 gray scale is performed, so that the gray balance adjustment of the 0 gray scale is performed sequentially according to the gradation values from high to low.
And S302, adjusting the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale by adjusting the Gamma parameter corresponding to the target gray scale according to the determined second target adjustment value and the second corresponding relation between the preset Gamma parameter and the white balance adjustment parameter, so that the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale all meet the preset second error condition corresponding to the target gray scale.
Wherein, the Gamma parameter includes a first Gamma parameter, a second Gamma parameter and a third Gamma parameter, the second corresponding relationship includes: adjusting the first Gamma parameter to adjust the brightness parameter, adjusting the second Gamma parameter to adjust the X component, and adjusting the third Gamma parameter to adjust the Y component.
In the fourth embodiment, after the target gray scale for white balance adjustment is determined, for the white balance adjustment performed on the target gray scale, first, the luminance value, the X value, and the Y value of the display screen under the condition of the target gray scale may be obtained by a third-party device; wherein, under the condition of target gray scale, the following conditions are adopted: the gray scale value of the content displayed by the display screen is the target gray scale.
And can obtain the value of Gamma parameter corresponding to the target gray scale, the Gamma parameter includes three parameters: correspondingly, the first Gamma parameter, the second Gamma parameter and the third Gamma parameter obtain three corresponding values: a first Gamma value, a second Gamma value and a third Gamma value; the first Gamma value is a value of a first Gamma parameter, the second Gamma value is a value of a second Gamma parameter, and the third Gamma value is a value of a third Gamma parameter;
the value of the Gamma parameter may be a set initial value of the Gamma parameter, that is, the first Gamma value, the second Gamma value, and the third Gamma value are all set initial values, and the initial values may be set by a user.
In one implementation of self-defining the initial value, as shown in fig. 4, the abscissa represents the gradation value of the gray scale, the ordinate represents the Gamma value, and the first Gamma value, the second Gamma value, and the third Gamma value may all be defined as y ═ a × xrThe method comprises the following steps of setting a rule, wherein a and r are constants set by self-definition, a and r are different, and the presented exponential rules are different.
Certainly, the first Gamma value, the second Gamma value and the third Gamma value may be set according to the same exponential law, that is, the first Gamma value, the second Gamma value and the third Gamma value have the same value corresponding to each gray scale; as shown in fig. 4, the G Gamma curve represents a setting rule of a first Gamma value, the R Gamma curve represents a setting rule of a second Gamma value, and the B Gamma curve represents a setting rule of a third Gamma value, so that even though the first Gamma value, the second Gamma value, and the third Gamma value corresponding to the same gray scale are different.
Secondly, respectively determining the gain compensation values corresponding to the brightness parameter, the X component and the Y component, specifically:
according to a second brightness value corresponding to the target gray scale and the acquired brightness value, determining a gain compensation value of a first Gamma parameter corresponding to the brightness parameter as a first compensation value, and adding the first compensation value on the basis of the first Gamma value;
according to a second X value corresponding to the target gray scale and the obtained X value, determining a gain compensation value of a second Gamma parameter corresponding to the X component as a second compensation value, and adding the second compensation value on the basis of the second Gamma value;
and determining a gain compensation value of a third Gamma parameter corresponding to the Y component as a third compensation value according to the second Y value corresponding to the target gray scale and the acquired Y value, and adding the third compensation value on the basis of the third Gamma value.
In this fourth embodiment, a corresponding gain compensation value may be determined for each white balance adjustment parameter such that the difference between the value of the white balance adjustment parameter and the target adjustment value for the white balance adjustment parameter is reduced. And if the difference between the value of the white balance adjustment parameter and the target adjustment value of the white balance adjustment parameter is 0, that is, the measured value is equal to the target adjustment value, at this time, the gain compensation value corresponding to the white balance adjustment parameter is 0.
In the practical application process, the gain compensation value corresponding to the Gamma parameter can change the driving current of the driving chip, and the driving chip can further drive and control the brightness value and the chromatic value of the display screen to be adjusted values, wherein the gain compensation value changes one mode of the driving current, the gain compensation value changes the time of the high level output by the driving chip, namely the on-time of the driving chip, and it can be considered that the change of the on-time of the driving chip further changes the average current of the display screen.
The manner of obtaining the gain compensation value can be referred to the second embodiment, and is not described herein again.
And thirdly, after the white balance adjustment parameters are correspondingly adjusted, judging whether the brightness value, the X value and the Y value of the adjusted display screen meet the corresponding second error conditions.
The second error condition may be set by a user, and the brightness parameter, the X component, and the Y component may correspond to the same second error condition, that is, the second error condition satisfied by the brightness value, the X value, and the Y value of the display screen is the same.
Each parameter may correspond to a second error condition, and the second error conditions corresponding to different parameters may be different. That is, the luminance parameter may correspond to a first second error condition, the X component may correspond to a second error condition, and the Y component may correspond to a third second error condition, wherein the first second error condition, the second error condition, and the third second error condition are different from each other.
And in the third step, if the brightness value, the X value and the Y value of the adjusted display screen do not meet the respective corresponding second error conditions, returning to the step of acquiring the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale. Therefore, closed-loop adjustment is formed, automatic adjustment of white balance corresponding to the target gray scale is achieved, and accuracy of white balance adjustment is improved.
If the brightness value, the X value and the Y value of the adjusted display screen meet the respective corresponding second error conditions, the white balance adjustment parameter adjustment of the target gray scale can be finished, the gray scale for performing the white balance adjustment parameter adjustment is determined from other gray scales, the gray scale is used as the target gray scale, the white balance adjustment of the other gray scales is continued, and the corresponding white balance adjustment is finished until the full gray scale is finished.
In the technical scheme provided by the embodiment of the invention, firstly, the brightness parameter, the X component and the Y component corresponding to the highest gray scale are respectively adjusted by adjusting the RGB components, the target adjustment values of other gray scales are determined according to the first target adjustment value, and then the brightness parameter, the X component and the Y component corresponding to other gray scales are respectively adjusted by adjusting the Gamma parameter. According to the technical scheme provided by the embodiment of the invention, the automatic adjustment of the white balance is realized by combining the two adjustment modes of adjusting the RGB components and adjusting the Gamma parameters, and the adjustment efficiency and the adjustment precision of the white balance are improved.
Corresponding to the method embodiments shown in fig. 1 and fig. 1, the embodiment of the present invention further provides a white balance adjustment apparatus, as shown in fig. 5, the apparatus includes:
the first determining module 510 is configured to determine a target adjustment value of a white balance adjustment parameter corresponding to a highest gray scale as a first target adjustment value, where the white balance adjustment parameter includes: the luminance parameter, X component, Y component of the chroma parameter in the color coordinate;
a first adjusting module 520, configured to adjust a white balance adjusting parameter corresponding to a highest gray scale by adjusting RGB components according to the first target adjusting value, so that a brightness value, an X value, and a Y value of a display screen to be subjected to white balance adjustment under a condition of the highest gray scale all satisfy a preset first error condition;
a second determining module 530, configured to determine, according to the first target adjustment value, a target adjustment value of a white balance adjustment parameter corresponding to each of the other gray scales except for the highest gray scale as a second target adjustment value;
and a second adjusting module 540, configured to adjust the white balance adjustment parameter corresponding to each gray scale by adjusting the Gamma parameter according to the determined second target adjustment value, so that the luminance value, the X value, and the Y value of the display screen under the condition of each gray scale all satisfy a preset second error condition corresponding to the gray scale.
Optionally, in an embodiment, the second determining module 530 may include:
the first determining submodule is used for determining the first X value and the first Y value as target adjusting values of X components and Y components corresponding to other gray scales except the highest gray scale respectively, and the target adjusting values are respectively used as a second X value and a second Y value;
the second determining submodule is used for respectively determining the target adjusting values of the brightness parameters corresponding to the other gray scales according to the following formula, and the target adjusting values are used as second brightness values:
y=a×xr
wherein y is a target adjustment value of the brightness parameter, x is a gradation value of the gray scale, a is a constant obtained according to the first brightness value, and r is a custom constant.
In the technical scheme provided by the embodiment of the invention, firstly, the brightness parameter, the X component and the Y component corresponding to the highest gray scale are respectively adjusted by adjusting the RGB components, the target adjustment values of other gray scales are determined according to the first target adjustment value, and then the brightness parameter, the X component and the Y component corresponding to other gray scales are respectively adjusted by adjusting the Gamma parameter. According to the technical scheme provided by the embodiment of the invention, the automatic adjustment of the white balance is realized by combining the two adjustment modes of adjusting the RGB components and adjusting the Gamma parameters, and the adjustment efficiency and the adjustment precision of the white balance are improved.
Corresponding to the method embodiments shown in fig. 2 and fig. 2, an embodiment of the present invention further provides a white balance adjustment device, as shown in fig. 6, based on the embodiment shown in fig. 5 and fig. 5, the first adjustment module 520 may include:
the obtaining submodule 521 is configured to obtain a brightness value, an X value, and a Y value of the display screen under the condition of the highest gray scale;
the calculating sub-module 522 is configured to calculate a first difference, a second difference, and a third difference according to the first luminance value, the first X value, and the first Y value, where the first luminance value is: the first target adjustment value is a target adjustment value of the brightness parameter, and the first X value is: the target adjustment value of the X component in the first target adjustment value, and the first Y value is: a target adjustment value of a Y component in the first target adjustment value, the first difference being a difference between the obtained luminance value and the first luminance value, the second difference being a difference between the obtained X value and the first X value, the third difference being a difference between the obtained Y value and the first Y value;
the determining submodule 523 is configured to determine whether the first difference, the second difference, and the third difference all satisfy respective corresponding preset first error conditions;
a first adjusting submodule 524, configured to adjust the luminance value, the X value, and the Y value of the display screen by adjusting the RGB components of the display screen if the determination result of the determining submodule is negative, and perform the step of obtaining the luminance value, the X value, and the Y value of the display screen under the condition of the highest gray scale.
Optionally, in an embodiment, the first adjusting submodule 524 may include:
an obtaining unit, configured to obtain a white balance adjustment parameter corresponding to a fourth difference, where the fourth difference is: the difference value which does not meet the corresponding first error condition in the first difference value, the second difference value and the third difference value;
a determining unit, configured to determine, according to a first corresponding relationship between preset RGB components and white balance adjustment parameters, RGB components corresponding to the obtained white balance adjustment parameters, where the first corresponding relationship includes: the G component corresponds to a luminance parameter, the R component corresponds to an X component, and the B component corresponds to a Y component;
an adjusting unit for adjusting the determined RGB components.
Optionally, in an embodiment, the adjusting unit may be specifically configured to:
acquiring the current value of the determined RGB components;
acquiring gain compensation values corresponding to the determined RGB components according to the fourth difference value;
for each determined RGB component, the acquired gain compensation value is increased on the basis of the acquired value.
According to the technical scheme provided by the embodiment of the invention, the RGB components are adjusted in a closed-loop adjustment mode, the automatic adjustment of the white balance of the highest gray scale is realized, and the adjustment efficiency and the adjustment precision of the white balance adjustment of the highest gray scale are improved.
Corresponding to the method embodiments shown in fig. 3 and fig. 3, an embodiment of the present invention further provides a white balance adjustment apparatus, as shown in fig. 7, and based on the embodiment shown in fig. 5 and fig. 5, the second adjustment module 540 may include:
a third determining submodule 541 configured to determine, as a target gray scale, a gray scale for adjusting the white balance adjustment parameter from the other gray scales;
a second adjusting submodule 542, configured to adjust, according to the determined second target adjustment value and according to a second corresponding relationship between a preset Gamma parameter and a white balance adjustment parameter, a luminance value, an X value, and a Y value of the display screen under the condition of the target gray scale by adjusting the Gamma parameter corresponding to the target gray scale, so that the luminance value, the X value, and the Y value of the display screen under the condition of the target gray scale all satisfy a preset second error condition corresponding to the target gray scale, where the Gamma parameter includes a first Gamma parameter, a second Gamma parameter, and a third Gamma parameter, and the second corresponding relationship includes: the first Gamma parameter corresponds to the brightness parameter, the second Gamma parameter corresponds to the X component, and the third Gamma parameter corresponds to the Y component.
Optionally, in an embodiment, the second adjusting submodule 542 may specifically be configured to:
acquiring the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale;
obtaining a value of a Gamma parameter corresponding to the target gray scale, wherein the value of the first Gamma parameter is a first Gamma value, the value of the second Gamma parameter is a second Gamma value, and the value of the third Gamma parameter is a third Gamma value;
according to the second brightness value corresponding to the target gray scale and the acquired brightness value, determining a gain compensation value of a first Gamma parameter corresponding to a brightness parameter as a first compensation value, and increasing the first compensation value on the basis of the first Gamma value;
according to a second X value corresponding to the target gray scale and the obtained X value, determining a gain compensation value of a second Gamma parameter corresponding to the X component as a second compensation value, and increasing the second compensation value on the basis of the second Gamma value;
according to a second Y value corresponding to the target gray scale and the obtained Y value, determining a gain compensation value of a third Gamma parameter corresponding to the Y component as a third compensation value, and increasing the third compensation value on the basis of the third Gamma value;
judging whether the adjusted brightness value, X value and Y value of the display screen meet respective corresponding second error conditions or not;
if not, executing the step of obtaining the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale;
if yes, ending the adjustment of the white balance adjustment parameter of the target gray scale, and determining the gray scale for adjusting the white balance adjustment parameter from the other gray scales as the target gray scale.
According to the technical scheme provided by the embodiment of the invention, the automatic adjustment of the white balance is realized by combining the two adjustment modes of adjusting the RGB components and adjusting the Gamma parameters, and the adjustment efficiency and the adjustment precision of the white balance are improved.
An embodiment of the present invention further provides an electronic device, as shown in fig. 8, including a processor 810, a communication interface 820, a memory 830 and a communication bus 840, where the processor 810, the communication interface 820 and the memory 830 complete mutual communication through the communication bus 840;
a memory 830 for storing a computer program;
the processor 810, when executing the program stored in the memory 830, implements the following steps:
determining a target adjusting value of a white balance adjusting parameter corresponding to the highest gray scale as a first target adjusting value, wherein the white balance adjusting parameter comprises: the luminance parameter, X component, Y component of the chroma parameter in the color coordinate;
adjusting the white balance adjustment parameter corresponding to the highest gray scale in a mode of adjusting RGB components according to the first target adjustment value, so that the brightness value, the X value and the Y value of the display screen to be subjected to white balance adjustment under the condition of the highest gray scale all meet a preset first error condition;
determining target adjustment values of white balance adjustment parameters corresponding to other gray scales except the highest gray scale as second target adjustment values according to the first target adjustment value;
and respectively adjusting the white balance adjustment parameters corresponding to each gray scale in a mode of adjusting Gamma parameters according to the determined second target adjustment value, so that the brightness value, the X value and the Y value of the display screen meet the preset second error condition corresponding to each gray scale under the condition of each gray scale.
According to the technical scheme provided by the embodiment of the invention, the automatic adjustment of the white balance is realized by combining the two adjustment modes of adjusting the RGB components and adjusting the Gamma parameters, and the adjustment efficiency and the adjustment precision of the white balance are improved.
Of course, an electronic device provided in the embodiment of the present invention may further perform a white balance adjustment method described in any of the above embodiments. Specifically, see fig. 1, fig. 2, and fig. 3 and the embodiments corresponding to fig. 1, fig. 2, and fig. 3, which are not described herein again.
In another embodiment of the present invention, a computer-readable storage medium is further provided, where instructions are stored, and when the instructions are executed on a computer, the computer is enabled to execute a white balance adjustment method according to any one of the embodiments corresponding to fig. 1, fig. 2, and fig. 3, and fig. 1, fig. 2, and fig. 3.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (16)

1. A white balance adjustment method, characterized in that the method comprises:
determining a target adjusting value of a white balance adjusting parameter corresponding to the highest gray scale as a first target adjusting value, wherein the white balance adjusting parameter comprises: the luminance parameter, X component, Y component of the chroma parameter in the color coordinate;
adjusting the white balance adjustment parameter corresponding to the highest gray scale in a mode of adjusting RGB components according to the first target adjustment value, so that the brightness value, the X value and the Y value of the display screen to be subjected to white balance adjustment under the condition of the highest gray scale all meet a preset first error condition;
determining target adjustment values of white balance adjustment parameters corresponding to other gray scales except the highest gray scale according to the first target adjustment value, and taking the target adjustment values as second target adjustment values;
according to the determined second target adjusting value, adjusting the white balance adjusting parameters corresponding to each gray scale in a Gamma parameter adjusting mode, so that the brightness value, the X value and the Y value of the display screen under each gray scale condition meet a preset second error condition corresponding to the gray scale; the Gamma parameter corresponding to each gray scale comprises a first Gamma parameter, a second Gamma parameter and a third Gamma parameter, wherein the first Gamma parameter, the second Gamma parameter and the third Gamma parameter respectively correspond to a group of brightness parameters, an X component and a Y component, the brightness parameters are correspondingly adjusted by adjusting the first Gamma parameter, the X component is correspondingly adjusted by adjusting the second Gamma parameter, and the Y component is correspondingly adjusted by adjusting the third Gamma parameter.
2. The method according to claim 1, wherein the step of adjusting the white balance adjustment parameter corresponding to the highest gray level by adjusting the RGB components according to the first target adjustment value comprises:
acquiring a brightness value, an X value and a Y value of the display screen under the condition of the highest gray scale;
respectively calculating a first difference value, a second difference value and a third difference value according to the first brightness value, the first X value and the first Y value, wherein the first brightness value is as follows: the first target adjustment value is a target adjustment value of the brightness parameter, and the first X value is: the target adjustment value of the X component in the first target adjustment value, and the first Y value is: a target adjustment value of a Y component in the first target adjustment value, the first difference being a difference between the obtained luminance value and the first luminance value, the second difference being a difference between the obtained X value and the first X value, the third difference being a difference between the obtained Y value and the first Y value;
judging whether the first difference, the second difference and the third difference all meet respective corresponding preset first error conditions;
if not, adjusting the brightness value, the X value and the Y value of the display screen by adjusting the RGB components of the display screen, and executing the step of obtaining the brightness value, the X value and the Y value of the display screen under the condition of the highest gray scale.
3. The method of claim 2, wherein the step of adjusting the luminance value, the X value, and the Y value of the display screen by adjusting the RGB components of the display screen comprises:
obtaining a white balance adjustment parameter corresponding to a fourth difference value, wherein the fourth difference value is: the difference value which does not meet the corresponding first error condition in the first difference value, the second difference value and the third difference value;
determining the RGB components corresponding to the obtained white balance adjustment parameters according to a first corresponding relation between preset RGB components and the white balance adjustment parameters, wherein the first corresponding relation comprises: the G component corresponds to a luminance parameter, the R component corresponds to an X component, and the B component corresponds to a Y component;
the determined RGB components are adjusted.
4. A method as claimed in claim 3, wherein the step of adjusting the determined RGB components comprises:
acquiring the current value of the determined RGB components;
acquiring gain compensation values corresponding to the determined RGB components according to the fourth difference value;
for each determined RGB component, the acquired gain compensation value is increased on the basis of the acquired value.
5. The method according to claim 2, wherein the step of determining the target adjustment value of the white balance adjustment parameter corresponding to each of the other gray scales except the highest gray scale according to the first target adjustment value comprises:
determining the first X value and the first Y value as target adjustment values of X components and Y components corresponding to other gray scales except the highest gray scale respectively, and taking the target adjustment values as a second X value and a second Y value respectively;
and respectively determining the target adjusting values of the brightness parameters corresponding to the other gray scales according to the following formula, and taking the target adjusting values as second brightness values:
y=a×xr
wherein y is a target adjustment value of the brightness parameter, x is a gradation value of the gray scale, a is a constant obtained according to the first brightness value, and r is a custom constant.
6. The method according to claim 5, wherein the step of adjusting the white balance adjustment parameter corresponding to each gray scale by adjusting the Gamma parameter according to the determined second target adjustment value comprises:
determining a gray scale for adjusting white balance adjustment parameters from the other gray scales as a target gray scale;
according to the determined second target adjustment value, adjusting the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale by adjusting the Gamma parameter corresponding to the target gray scale according to a second corresponding relationship between a preset Gamma parameter and a white balance adjustment parameter, so that the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale all meet a second preset error condition corresponding to the target gray scale, wherein the Gamma parameter comprises a first Gamma parameter, a second Gamma parameter and a third Gamma parameter, and the second corresponding relationship comprises: the first Gamma parameter corresponds to the brightness parameter, the second Gamma parameter corresponds to the X component, and the third Gamma parameter corresponds to the Y component.
7. The method according to claim 6, wherein the step of adjusting the brightness value, the X value and the Y value of the display screen under the target gray scale condition by adjusting the Gamma parameter corresponding to the target gray scale according to the second predetermined correspondence between the Gamma parameter and the white balance adjustment parameter according to the determined second target adjustment value comprises:
acquiring the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale;
obtaining a value of a Gamma parameter corresponding to the target gray scale, wherein the value of the first Gamma parameter is a first Gamma value, the value of the second Gamma parameter is a second Gamma value, and the value of the third Gamma parameter is a third Gamma value;
according to the second brightness value corresponding to the target gray scale and the acquired brightness value, determining a gain compensation value of a first Gamma parameter corresponding to a brightness parameter as a first compensation value, and increasing the first compensation value on the basis of the first Gamma value;
according to a second X value corresponding to the target gray scale and the obtained X value, determining a gain compensation value of a second Gamma parameter corresponding to the X component as a second compensation value, and increasing the second compensation value on the basis of the second Gamma value;
according to a second Y value corresponding to the target gray scale and the obtained Y value, determining a gain compensation value of a third Gamma parameter corresponding to the Y component as a third compensation value, and increasing the third compensation value on the basis of the third Gamma value;
judging whether the adjusted brightness value, X value and Y value of the display screen meet respective corresponding second error conditions or not;
if not, executing the step of obtaining the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale;
if yes, ending the adjustment of the white balance adjustment parameter of the target gray scale, and determining the gray scale for adjusting the white balance adjustment parameter from the other gray scales as the target gray scale.
8. A white balance adjustment device, characterized in that the device comprises:
a first determining module, configured to determine a target adjustment value of a white balance adjustment parameter corresponding to a highest gray scale as a first target adjustment value, where the white balance adjustment parameter includes: the luminance parameter, X component, Y component of the chroma parameter in the color coordinate;
the first adjusting module is used for adjusting the white balance adjusting parameter corresponding to the highest gray scale in a mode of adjusting RGB components according to the first target adjusting value, so that the brightness value, the X value and the Y value of the display screen to be subjected to white balance adjustment under the condition of the highest gray scale all meet a preset first error condition;
a second determining module, configured to determine, according to the first target adjustment value, a target adjustment value of a white balance adjustment parameter corresponding to each of the other gray scales except for the highest gray scale as a second target adjustment value;
the second adjusting module is used for adjusting the white balance adjusting parameters corresponding to each gray scale respectively in a mode of adjusting Gamma parameters according to the determined second target adjusting value, so that the brightness value, the X value and the Y value of the display screen meet the preset second error condition corresponding to each gray scale under the condition of each gray scale; the Gamma parameter corresponding to each gray scale comprises a first Gamma parameter, a second Gamma parameter and a third Gamma parameter, wherein the first Gamma parameter, the second Gamma parameter and the third Gamma parameter respectively correspond to a group of brightness parameters, an X component and a Y component, the brightness parameters are correspondingly adjusted by adjusting the first Gamma parameter, the X component is correspondingly adjusted by adjusting the second Gamma parameter, and the Y component is correspondingly adjusted by adjusting the third Gamma parameter.
9. The apparatus of claim 8, wherein the first adjustment module comprises:
the acquisition submodule is used for acquiring the brightness value, the X value and the Y value of the display screen under the condition of the highest gray scale;
a calculating submodule, configured to calculate a first difference, a second difference, and a third difference according to the first luminance value, the first X value, and the first Y value, respectively, where the first luminance value is: the first target adjustment value is a target adjustment value of the brightness parameter, and the first X value is: the target adjustment value of the X component in the first target adjustment value, and the first Y value is: a target adjustment value of a Y component in the first target adjustment value, the first difference being a difference between the obtained luminance value and the first luminance value, the second difference being a difference between the obtained X value and the first X value, the third difference being a difference between the obtained Y value and the first Y value;
the judgment submodule is used for judging whether the first difference, the second difference and the third difference all meet the corresponding preset first error conditions;
and the first adjusting submodule is used for adjusting the brightness value, the X value and the Y value of the display screen by adjusting the RGB components of the display screen if the judgment result of the judging submodule is negative, and executing the step of acquiring the brightness value, the X value and the Y value of the display screen under the condition of the highest gray scale.
10. The apparatus of claim 9, wherein the first adjustment submodule comprises:
an obtaining unit, configured to obtain a white balance adjustment parameter corresponding to a fourth difference, where the fourth difference is: the difference value which does not meet the corresponding first error condition in the first difference value, the second difference value and the third difference value;
a determining unit, configured to determine, according to a first corresponding relationship between preset RGB components and white balance adjustment parameters, RGB components corresponding to the obtained white balance adjustment parameters, where the first corresponding relationship includes: the G component corresponds to a luminance parameter, the R component corresponds to an X component, and the B component corresponds to a Y component;
an adjusting unit for adjusting the determined RGB components.
11. The device according to claim 10, wherein the adjustment unit is specifically configured to:
acquiring the current value of the determined RGB components;
acquiring gain compensation values corresponding to the determined RGB components according to the fourth difference value;
for each determined RGB component, the acquired gain compensation value is increased on the basis of the acquired value.
12. The apparatus of claim 9, wherein the second determining module comprises:
the first determining submodule is used for determining the first X value and the first Y value as target adjusting values of X components and Y components corresponding to other gray scales except the highest gray scale respectively, and the target adjusting values are respectively used as a second X value and a second Y value;
the second determining submodule is used for respectively determining the target adjusting values of the brightness parameters corresponding to the other gray scales according to the following formula, and the target adjusting values are used as second brightness values:
y=a×xr
wherein y is a target adjustment value of the brightness parameter, x is a gradation value of the gray scale, a is a constant obtained according to the first brightness value, and r is a custom constant.
13. The apparatus of claim 12, wherein the second adjustment module comprises:
a third determining submodule, configured to determine, from the other gray scales, a gray scale for adjusting the white balance adjustment parameter as a target gray scale;
a second adjusting submodule, configured to adjust, according to a second corresponding relationship between a preset Gamma parameter and a white balance adjusting parameter and according to a determined second target adjustment value, a luminance value, an X value, and a Y value of the display screen under a condition of the target gray scale by adjusting the Gamma parameter corresponding to the target gray scale, so that the luminance value, the X value, and the Y value of the display screen under the condition of the target gray scale all satisfy a second preset error condition corresponding to the target gray scale, where the Gamma parameter includes a first Gamma parameter, a second Gamma parameter, and a third Gamma parameter, and the second corresponding relationship includes: the first Gamma parameter corresponds to the brightness parameter, the second Gamma parameter corresponds to the X component, and the third Gamma parameter corresponds to the Y component.
14. The apparatus of claim 13, wherein the second adjustment submodule is specifically configured to:
acquiring the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale;
obtaining a value of a Gamma parameter corresponding to the target gray scale, wherein the value of the first Gamma parameter is a first Gamma value, the value of the second Gamma parameter is a second Gamma value, and the value of the third Gamma parameter is a third Gamma value;
according to the second brightness value corresponding to the target gray scale and the acquired brightness value, determining a gain compensation value of a first Gamma parameter corresponding to a brightness parameter as a first compensation value, and increasing the first compensation value on the basis of the first Gamma value;
according to a second X value corresponding to the target gray scale and the obtained X value, determining a gain compensation value of a second Gamma parameter corresponding to the X component as a second compensation value, and increasing the second compensation value on the basis of the second Gamma value;
according to a second Y value corresponding to the target gray scale and the obtained Y value, determining a gain compensation value of a third Gamma parameter corresponding to the Y component as a third compensation value, and increasing the third compensation value on the basis of the third Gamma value;
judging whether the adjusted brightness value, X value and Y value of the display screen meet respective corresponding second error conditions or not;
if not, executing the step of obtaining the brightness value, the X value and the Y value of the display screen under the condition of the target gray scale;
if yes, ending the adjustment of the white balance adjustment parameter of the target gray scale, and determining the gray scale for adjusting the white balance adjustment parameter from the other gray scales as the target gray scale.
15. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 7 when executing a program stored in the memory.
16. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
CN201711479695.6A 2017-12-29 2017-12-29 White balance adjusting method and device Active CN109996054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711479695.6A CN109996054B (en) 2017-12-29 2017-12-29 White balance adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711479695.6A CN109996054B (en) 2017-12-29 2017-12-29 White balance adjusting method and device

Publications (2)

Publication Number Publication Date
CN109996054A CN109996054A (en) 2019-07-09
CN109996054B true CN109996054B (en) 2021-04-23

Family

ID=67108984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711479695.6A Active CN109996054B (en) 2017-12-29 2017-12-29 White balance adjusting method and device

Country Status (1)

Country Link
CN (1) CN109996054B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113920960B (en) * 2020-07-10 2023-03-17 京东方科技集团股份有限公司 Method and device for adjusting display parameters
CN114615482A (en) * 2020-12-09 2022-06-10 深圳Tcl数字技术有限公司 White balance debugging method, storage medium and smart television
CN115941916A (en) * 2021-08-04 2023-04-07 广州视源电子科技股份有限公司 Correction data determining method, display screen correcting method and determining device
CN113823237B (en) * 2021-09-16 2022-09-27 惠州华星光电显示有限公司 Display device and driving method thereof
CN117203698A (en) * 2022-03-29 2023-12-08 京东方科技集团股份有限公司 Image quality calibration method, system and storage medium
CN115035851B (en) * 2022-08-10 2022-10-28 深圳精智达技术股份有限公司 Gamma white balance rapid adjustment method and related device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI507971B (en) * 2013-04-16 2015-11-11 Wistron Corp Method and system for adjusting display parameters
CN106384573B (en) * 2016-11-04 2018-09-14 武汉精测电子集团股份有限公司 The OLED module Gamma adjusting process calculated based on linear interpolation
CN106713886B (en) * 2016-12-20 2018-11-02 深圳Tcl数字技术有限公司 White balance adjustment device and white balance adjustment method

Also Published As

Publication number Publication date
CN109996054A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN109996054B (en) White balance adjusting method and device
CN111161691B (en) Compensation method and compensation device for display screen and display device
CN109166559B (en) Gamma value debugging method and device for display panel
US10008148B2 (en) Image processing apparatus, image processing method, display device, computer program and computer-readable medium
CN107346653B (en) GAMMA curve adjusting method and device based on deep learning
KR101367199B1 (en) Image display device and method for revising display character thereof
CN109036333B (en) Display parameter correction method and device of display, terminal equipment and storage medium
US20110216050A1 (en) Apparatus and method for enhancing readability of a character
CN107221272B (en) Display screen parameter setting method
CN108009997A (en) Method and device for adjusting image contrast
CN105304066A (en) Method and device for generating DICOM characteristic curve look-up table
WO2022120799A9 (en) Image processing method and apparatus, electronic device, and storage medium
CN113674711A (en) Low gray scale color temperature regulation and control method, device, equipment and storage medium
CN108921869A (en) A kind of image binaryzation method and device
US20140314317A1 (en) Method and apparatus for converting gray level of color image
CN112468793A (en) Color adjusting method and device of OLED screen and computer readable storage medium
CN114222101B (en) White balance adjusting method and device and electronic equipment
KR100723050B1 (en) Method of color correction for display and apparatus thereof
CN112929625B (en) Display material rendering method and device
CN108053802A (en) The display methods and system of display device
US11314080B2 (en) Display device and computer-implemented method of adjusting chromatic aberration of display device
CN114266745A (en) Image brightness value determination method and device, electronic equipment and storage medium
CN113724644A (en) Method for compensating brightness and chroma of display device and related equipment
CN114677983B (en) Display calibration method and related device
WO2024000473A1 (en) Color correction model generation method, correction method and apparatus, and medium and device

Legal Events

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