CN109996054A - A kind of white balance adjusting method and device - Google Patents

A kind of white balance adjusting method and device Download PDF

Info

Publication number
CN109996054A
CN109996054A CN201711479695.6A CN201711479695A CN109996054A CN 109996054 A CN109996054 A CN 109996054A CN 201711479695 A CN201711479695 A CN 201711479695A CN 109996054 A CN109996054 A CN 109996054A
Authority
CN
China
Prior art keywords
value
parameter
component
grayscale
difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711479695.6A
Other languages
Chinese (zh)
Other versions
CN109996054B (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

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 kind of white balance adjusting method and devices, by way of adjusting RGB component, luminance parameter corresponding to highest grayscale, X-component, Y-component are adjusted respectively, and the target adjustment value of other grayscale is determined according to first object regulated value, then the corresponding luminance parameter of other grayscale, X-component, Y-component are adjusted respectively by way of adjusting Gamma parameter.The technical solution provided through the embodiment of the present invention is combined by that will adjust RGB component and adjust two kinds of regulative modes of Gamma parameter, realizes the automatic adjustment to white balance, improve the adjusting efficiency and degree of regulation of white balance, enhance display effect.

Description

A kind of white balance adjusting method and device
Technical field
The present invention relates to display technology fields, more particularly to a kind of white balance adjusting method and device.
Background technique
White can be generated in Red Green Blue mixing in display screen, and white balance is the white accuracy of description white A Xiang Zhibiao and display screen display effect quality a key factor.Therefore the adjusting of white balance is in the aobvious of display screen It is critically important in showing.
In general, when the ratio of red green blue tricolor is 1:4.6:0.16, pure white can be just shown.But for not It is different according to itself habit with area, different people, different standards is had to white.For example, some areas can be accustomed to partially The white of warm colour, some areas can get used to the white of colder tone.And for different standards, it can be red green by changing The ratio of primary colors obtains.Therefore, in practical applications, the mark of different white can be set according to the habit of different regions Standard is adjusted white balance to reach the standard of set white, so that display screen reaches ideal display state.
However, the mode that the white balance of display screen is adjusted at present is substantially by the way of artificial, i.e., people passes through Eyes are adjusted white balance by some simple optical instruments, and the mode of this manual adjustment needs people to display Screen being adjusted one by one results in the lower problem of efficiency for carrying out white balance adjusting.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of white balance adjusting method and device, to realize the automatic of white balance It adjusts, and then improves the adjusting efficiency and degree of regulation of white balance.Specific technical solution is as follows:
In a first aspect, the embodiment of the invention provides a kind of white balance adjusting methods, which comprises
The target adjustment value for determining white balance adjusting parameter corresponding to highest grayscale, as first object regulated value, wherein White balance adjusting parameter includes: X-component in chromaticity coordinates of luminance parameter, colorimetric parameter, Y-component;
According to the first object regulated value, by way of adjusting RGB component, to white balance corresponding to highest grayscale Adjustment parameter is adjusted, so that the brightness value of the display screen of pending white balance adjusting, X value under conditions of highest grayscale Preset first error condition is all satisfied with Y value;
According to the first object regulated value, the corresponding white balance adjusting of other grayscale except highest grayscale is determined The target adjustment value of parameter, as the second target adjustment value;
It is corresponding to each grayscale white by way of adjusting Gamma parameter according to identified second target adjustment value Balance adjustment parameter is adjusted respectively, so that the brightness value of the display screen, X value and Y value under conditions of each grayscale It is all satisfied corresponding preset second error condition of the grayscale.
Optionally, described according to the first object regulated value, by way of adjusting RGB component, to highest grayscale institute The step of corresponding white balance adjusting parameter is adjusted, comprising:
Brightness value, X value and the Y value of the display screen are obtained under conditions of highest grayscale;
According to the first brightness value, the first X value and the first Y value, the first difference, the second difference and third difference are calculated separately, Wherein, the first brightness value are as follows: the target adjustment value of luminance parameter, the first X value in the first object regulated value are as follows: described first The target adjustment value of X-component in target adjustment value, the first Y value are as follows: the target of Y-component is adjusted in the first object regulated value Value, difference of first difference between acquired brightness value and first brightness value, second difference is is obtained The difference between X value and the first X value taken, difference of the third difference between acquired Y value and first Y value Value;
It is corresponding preset to judge whether first difference, second difference and the third difference are all satisfied First error condition;
If not, be adjusted by the RGB component to the display screen, adjust the brightness value of the display screen, X value and Y value, and execute described the step of brightness value, X value and the Y value of the display screen are obtained under conditions of highest grayscale.
Optionally, the RGB component by the display screen is adjusted, and adjusts brightness value, the X of the display screen The step of value and Y value, comprising:
Obtain white balance adjusting parameter corresponding to the 4th difference, wherein the 4th difference are as follows: first difference, The difference of corresponding first error condition is unsatisfactory in second difference and third difference;
According to the first corresponding relationship of preset RGB component and white balance adjusting parameter, white balance tune obtained is determined Save the corresponding RGB component of parameter, wherein first corresponding relationship includes: that G component is corresponding with luminance parameter, R component , B component corresponding with X-component and Y-component are corresponding;
Identified RGB component is adjusted.
Optionally, described the step of identified RGB component is adjusted, comprising:
The current numerical value of RGB component determined by obtaining;
According to the 4th difference, the corresponding gain compensation value of identified RGB component is obtained;
For each identified RGB component, increase acquired gain compensation value on the basis of acquired numerical value.
Optionally, described according to the first object regulated value, determine that other grayscale except highest grayscale respectively correspond to White balance adjusting parameter target adjustment value the step of, comprising:
The corresponding X of other grayscale points first X value and first Y value are determined as except highest grayscale The target adjustment value of amount, Y-component, respectively as the 2nd X value and the second Y value;
According to following formula, the target adjustment value of the corresponding luminance parameter of other described grayscale is determined respectively, and As the second brightness value:
Y=a × xr
Wherein, y is the target adjustment value of luminance parameter, and x is the grade point of grayscale, and a is according to the first brightness value institute Obtained constant, r are customized constant.
Optionally, second target adjustment value according to determined by, by way of adjusting Gamma parameter, to each The step of corresponding white balance adjusting parameter of grayscale is adjusted respectively, comprising:
The grayscale for carrying out white balance adjusting parameter regulation is determined from other described grayscale, as target gray scale;
According to identified second target adjustment value, according to preset Gamma parameter and the second of white balance adjusting parameter Corresponding relationship is adjusted under conditions of the target gray scale by the way that the corresponding Gamma parameter of the target gray scale is adjusted Brightness value, X value and the Y value of the display screen, so that the brightness value of the display screen, X under conditions of the target gray scale Value and Y value are all satisfied corresponding preset second error condition of the target gray scale, wherein the Gamma parameter includes first Gamma parameter, the 2nd Gamma parameter and the 3rd Gamma parameter, second corresponding relationship include: the first Gamma parameter with it is bright Degree parameter is corresponding, the 2nd Gamma parameter is corresponding with X-component, the 3rd Gamma parameter and Y-component are corresponding.
Optionally, second target adjustment value according to determined by, according to preset Gamma parameter and white balance adjusting Second corresponding relationship of parameter is adjusted by the way that the corresponding Gamma parameter of the target gray scale is adjusted in the target ash Under conditions of rank the step of the brightness value of the display screen, X value and Y value, comprising:
Obtain the brightness value of the display screen, X value and Y value under conditions of the target gray scale;
Obtain the numerical value of the corresponding Gamma parameter of the target gray scale, wherein the numerical value of the first Gamma parameter is first Gamma value, the numerical value of the 2nd Gamma parameter are the 2nd Gamma value, and the numerical value of the 3rd Gamma parameter is the 3rd Gamma value;
According to corresponding second brightness value of the target gray scale and acquired brightness value, luminance parameter corresponding is determined The gain compensation value of one Gamma parameter as the first offset, and increases described on the basis of the first Gamma value One offset;
According to the corresponding 2nd X value of the target gray scale and acquired X value, the corresponding 2nd Gamma ginseng of X-component is determined Several gain compensation values as the second offset, and increases by second offset on the basis of the 2nd Gamma value;
According to corresponding second Y value of the target gray scale and acquired Y value, the corresponding 3rd Gamma ginseng of Y-component is determined Several gain compensation values as third offset, and increases the third offset on the basis of the 3rd Gamma value;
Judge whether brightness value, X value and the Y value of the display screen after adjusting are all satisfied corresponding second error bars Part;
If not, execute obtain under conditions of the target gray scale brightness value of the display screen, X value and Y value step Suddenly;
If so, terminating the white balance adjusting parameter regulation that the target gray scale is carried out, and execute from other described ashes The grayscale for carrying out white balance adjusting parameter regulation is determined in rank, the step of as target gray scale.
Second aspect, the embodiment of the invention provides a kind of white balance adjustment device, described device includes:
First determining module, for determining the target adjustment value of white balance adjusting parameter corresponding to highest grayscale, as One target adjustment value, wherein white balance adjusting parameter includes: that X-component, the Y of luminance parameter, colorimetric parameter in chromaticity coordinates divide Amount;
First adjustment module is used for according to the first object regulated value, by way of adjusting RGB component, to highest White balance adjusting parameter corresponding to grayscale is adjusted, so that pending white balance adjusting under conditions of highest grayscale Brightness value, X value and the Y value of display screen are all satisfied preset first error condition;
Second determining module, for determining that other grayscale except highest grayscale are each according to the first object regulated value The target adjustment value of self-corresponding white balance adjusting parameter, as the second target adjustment value;
Second adjustment module is used for according to identified second target adjustment value, by way of adjusting Gamma parameter, The corresponding white balance adjusting parameter of each grayscale is adjusted respectively, so that display screen under conditions of each grayscale Brightness value, X value and Y value be all satisfied corresponding preset second error condition of the grayscale.
Optionally, first adjustment module includes:
Acquisition submodule, for obtaining brightness value, X value and the Y value of the display screen under conditions of highest grayscale;
Computational submodule, for calculating separately the first difference, second according to the first brightness value, the first X value and the first Y value Difference and third difference, wherein the first brightness value are as follows: the target adjustment value of luminance parameter in the first object regulated value, the One X value are as follows: the target adjustment value of X-component, the first Y value in the first object regulated value are as follows: Y in the first object regulated value The target adjustment value of component, difference of first difference between acquired brightness value and first brightness value are described Difference of second difference between acquired X value and the first X value, the third difference be acquired Y value with it is described Difference between first Y value;
Judging submodule, for judging whether first difference, second difference and the third difference are all satisfied Corresponding preset first error condition;
First adjusts submodule, if the judging result for the judging submodule is no, by the display The RGB component of screen is adjusted, and adjusts brightness value, X value and the Y value of the display screen, and executes the item in highest grayscale The step of brightness value, X value and the Y value of the display screen are obtained under part.
Optionally, the first adjusting submodule includes:
Obtaining unit, for obtaining white balance adjusting parameter corresponding to the 4th difference, wherein the 4th difference are as follows: The difference of corresponding first error condition is unsatisfactory in first difference, the second difference and third difference;
Determination unit, for the first corresponding relationship according to preset RGB component and white balance adjusting parameter, determination is obtained The corresponding RGB component of white balance adjusting parameter obtained, wherein first corresponding relationship includes: G component and luminance parameter Corresponding, R component is corresponding with X-component, B component and Y-component are corresponding;
Unit is adjusted, for identified RGB component to be adjusted.
Optionally, the adjusting unit is specifically used for:
The current numerical value of RGB component determined by obtaining;
According to the 4th difference, the corresponding gain compensation value of identified RGB component is obtained;
For each identified RGB component, increase acquired gain compensation value on the basis of acquired numerical value.
Optionally, second determining module includes:
First determines submodule, for the first X value and first Y value to be determined as to other except highest grayscale The target adjustment value of the corresponding X-component of grayscale, Y-component, respectively as the 2nd X value and the second Y value;
Second determines submodule, for according to following formula, determining the corresponding brightness of other described grayscale respectively The target adjustment value of parameter, and as the second brightness value:
Y=a × xr
Wherein, y is the target adjustment value of luminance parameter, and x is the grade point of grayscale, and a is according to the first brightness value institute Obtained constant, r are customized constant.
Optionally, second adjustment module includes:
Third determines submodule, for determining the grayscale for carrying out white balance adjusting parameter regulation from other described grayscale, As target gray scale;
Second adjusts submodule, for according to identified second target adjustment value, according to preset Gamma parameter with it is white Second corresponding relationship of balance adjustment parameter is adjusted by the way that the corresponding Gamma parameter of the target gray scale is adjusted in institute Brightness value, X value and the Y value for stating the display screen under conditions of target gray scale, so that in target gray scale under conditions of institute Brightness value, X value and the Y value for stating display screen are all satisfied corresponding preset second error condition of the target gray scale, wherein described Gamma parameter includes the first Gamma parameter, the 2nd Gamma parameter and the 3rd Gamma parameter, and second corresponding relationship includes: First Gamma parameter is corresponding with luminance parameter, the 2nd Gamma parameter and X-component are corresponding, the 3rd Gamma parameter and Y-component It is corresponding.
Optionally, the second adjusting submodule is specifically used for:
Obtain the brightness value of the display screen, X value and Y value under conditions of the target gray scale;
Obtain the numerical value of the corresponding Gamma parameter of the target gray scale, wherein the numerical value of the first Gamma parameter is first Gamma value, the numerical value of the 2nd Gamma parameter are the 2nd Gamma value, and the numerical value of the 3rd Gamma parameter is the 3rd Gamma value;
According to corresponding second brightness value of the target gray scale and acquired brightness value, luminance parameter corresponding is determined The gain compensation value of one Gamma parameter as the first offset, and increases described on the basis of the first Gamma value One offset;
According to the corresponding 2nd X value of the target gray scale and acquired X value, the corresponding 2nd Gamma ginseng of X-component is determined Several gain compensation values as the second offset, and increases by second offset on the basis of the 2nd Gamma value;
According to corresponding second Y value of the target gray scale and acquired Y value, the corresponding 3rd Gamma ginseng of Y-component is determined Several gain compensation values as third offset, and increases the third offset on the basis of the 3rd Gamma value;
Judge whether brightness value, X value and the Y value of the display screen after adjusting are all satisfied corresponding second error bars Part;
If not, execute obtain under conditions of the target gray scale brightness value of the display screen, X value and Y value step Suddenly;
If so, terminating the white balance adjusting parameter regulation that the target gray scale is carried out, and execute from other described ashes The grayscale for carrying out white balance adjusting parameter regulation is determined in rank, the step of as target gray scale.
The third aspect, the embodiment of the invention provides a kind of electronic equipment, including processor, communication interface, memory and Communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes a kind of any of the above-described white balance tune Save method and step.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Dielectric memory contains computer program, and the computer program realizes that any of the above-described described one kind is white flat when being executed by processor Weigh adjusting method step.
In technical solution provided in an embodiment of the present invention, first by way of adjusting RGB component, to highest grayscale, institute is right The luminance parameter answered, X-component, Y-component are adjusted respectively, and determine the target tune of other grayscale according to first object regulated value Section value, then the corresponding luminance parameter of other grayscale, X-component, Y-component are adjusted respectively by way of adjusting Gamma parameter Section.The technical solution provided through the embodiment of the present invention, by that will adjust RGB component and adjust two kinds of adjusting sides of Gamma parameter Formula combines, and realizes the automatic adjustment to white balance, improves the adjusting efficiency and degree of regulation of white balance.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of a kind of flow chart of white balance adjusting method provided in an embodiment of the present invention;
Fig. 2 is a kind of another flow chart of white balance adjusting method provided in an embodiment of the present invention;
Fig. 3 is a kind of another flow chart of white balance adjusting method provided in an embodiment of the present invention;
Fig. 4 is that the numerical value of Gamma parameter inputs figure;
Fig. 5 is a kind of a kind of structural schematic diagram of white balance adjustment device provided in an embodiment of the present invention;
Fig. 6 is a kind of another structural schematic diagram of white balance adjustment device provided in an embodiment of the present invention;
Fig. 7 is a kind of another structural schematic diagram of white balance adjustment device provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to realize the automatic adjustment of white balance, and then the adjusting efficiency and degree of regulation of white balance, this hair can be improved Bright embodiment provides a kind of white balance adjusting method and device, wherein this method comprises:
The target adjustment value for determining white balance adjusting parameter corresponding to highest grayscale, as first object regulated value, wherein White balance adjusting parameter includes: X-component in chromaticity coordinates of luminance parameter, colorimetric parameter, Y-component;
According to first object regulated value, by way of adjusting RGB component, white balance adjusting corresponding to highest grayscale is joined Number is adjusted, so that the brightness value of the display screen of pending white balance adjusting, X value and Y value under conditions of highest grayscale It is all satisfied preset first error condition;
According to first object regulated value, the corresponding white balance adjusting parameter of other grayscale except highest grayscale is determined Target adjustment value, as the second target adjustment value;
It is corresponding to each grayscale white by way of adjusting Gamma parameter according to identified second target adjustment value Balance adjustment parameter is adjusted respectively, so that the brightness value of the display screen, X value and Y value under conditions of each grayscale It is all satisfied corresponding preset second error condition of the grayscale.
The technical solution provided through the embodiment of the present invention, by that will adjust RGB component and adjust two kinds of Gamma parameter tune Section mode combines, and realizes automatic adjustment to white balance, improves the adjusting efficiency and degree of regulation and display of white balance Effect.
A kind of white balance adjusting method provided in an embodiment of the present invention is introduced first below, as shown in Figure 1, the party Method includes:
S101 determines the target adjustment value of white balance adjusting parameter corresponding to highest grayscale, adjusts as first object Value.
Wherein, white balance adjusting parameter includes: X-component in chromaticity coordinates of luminance parameter, colorimetric parameter, Y-component.
Grayscale can refer to display screen from it is most dark it is black to it is most bright it is white brightness hierarchical relationship, also, for ash Rank can be divided into different grade classifications, for example, 32 grades of grayscale, 256 grades of grayscale etc..
In general, minimum gray scale is completely black, and highest grayscale is Quan Bai, color during from minimum gray scale to highest grayscale Coloured silk is from completely black to complete white gradually transition;Also, the higher grade of grayscale, the more natural exquisiteness of black-to-white transition.For example, for 256 Grade grayscale, minimum gray scale is 0 grade of grayscale, and to be completely black, it is Quan Bai, from 0 grade of grayscale to 255 grades of ashes that highest grayscale, which is 255 grades of grayscale, During rank, color is from completely black to complete white gradually transition.
For the grayscale of each grade, white balance adjusting can be individually carried out.Certainly, different grades of grayscale is each The white balance adjusting carried out of influence from to(for) the white balance adjusting of entire display screen is different, in general, grayscale etc. Grade is higher, influences bigger.It follows that the white balance that the white balance adjusting that highest grayscale is carried out carries out entire display screen The influence of adjusting is maximum, therefore, under normal circumstances, can be by only carrying out white balance tune to highest grayscale or higher gray scale Section carries out white balance adjusting to entire display screen to replace.
White balance can be measured by brightness and coloration, set different brightness and coloration can have it is different white Equilibrium state therefore can be different bright by setting according to demand (cool colour, normal, warm colour) personal or from different places Angle value and chromatic value and make display screen reach ideal display state, wherein a kind of mode can be with reference to CIE1931 coloration Scheme the numerical value of determining white balance adjusting parameter;It further, can be by adjusting luminance parameter and coloration for white balance adjusting Parameter achievees the purpose that white balance adjusting.
Wherein, what coloration can reflect is the tone and saturation degree of color, and coloration can pass through the coordinate in coordinate Form represents, and coordinate may include horizontal axis X-axis and longitudinal axis Y-axis, and correspondingly, chromaticity coordinates may include X-component and Y points Amount.
A kind of implementation, it is possible, firstly, to individually white balance adjusting be carried out to highest grayscale, white to the progress of highest grayscale Before balance adjustment, the respective target adjustment value of luminance parameter corresponding to highest grayscale, X-component, Y-component can be set, when So, the respective target adjustment value of luminance parameter, X-component, Y-component may each be customized setting.
S102, according to first object regulated value, by way of adjusting RGB component, to white flat corresponding to highest grayscale Weighing apparatus adjustment parameter be adjusted so that under conditions of highest grayscale the display screen of pending white balance adjusting brightness value, X Value and Y value are all satisfied preset first error condition.
Wherein, refer under conditions of highest grayscale: according to the digit of color, i.e. bit, display being lighted with highest grayscale Screen, it is believed that display screen is set as being shown when highest grayscale.For example, being set at 14bit with (255,225,255) Determine screen to be shown.The explanation can also be used for other grayscale in the embodiment of the present invention, refer under conditions of other grayscale: Display screen is lighted with other corresponding grayscale, i.e. display screen is set as being shown when corresponding to other grayscale.
For example, 255 grayscale are highest grayscale in 256 grades of grayscale, content shown by display screen can include more simultaneously The content of a gray value, then, refer under conditions of 255 grayscale: the gray value of display screen displayed content is 255, namely The pixel that gray value is 255 in display screen.
RGB component may include R component, G component and B component, and according to RGB component respectively to luminance parameter, X-component, Y The influence size of component can determine RGB component and luminance parameter, X-component, the corresponding relationship between Y-component three.
Specifically, G component corresponding brightness parameter, it can think, influence of the G component to luminance parameter is maximum, adjusts G points Amount is corresponding to adjust luminance parameter;Similarly, because influence of the R component to X-component is maximum, R component corresponds to X-component;Because B points The influence measured to Y-component is maximum, so B component corresponds to Y-component.
It adjusts and describes in detail in the corresponding embodiment of mode Fig. 2 below of RGB component, this will not be detailed here.
Preset first error condition can be customized setting, also, for luminance parameter, X-component and Y-component, It can be corresponding same first error condition, i.e., the first error condition that the brightness value of display screen, X value and Y value are met is one Sample.
It can also be that each parameter respectively corresponds to a kind of first error condition, and the first mistake corresponding to different parameters Poor condition can be different.That is, luminance parameter can correspond to the first first error condition, X-component can be right Second of first error condition is answered, Y-component can correspond to the third first error condition, wherein the first first error condition, Second of first error condition and the third first error condition are different.
Preset first error condition is all satisfied for the brightness value of display screen, X value and Y value, a kind of implementation is surveyed The error amount between the brightness value of display screen and the target adjustment value of luminance parameter obtained meets preset first error condition, institute Error amount between the X value of the display screen measured and the target adjustment value of X-component meets preset first error condition, measured The Y value of display screen and the target adjustment value of Y-component between error amount meet preset first error condition.In following figure It describes in detail in 2 corresponding embodiments, this will not be detailed here.
S103 determines the corresponding white balance tune of other grayscale except highest grayscale according to first object regulated value The target adjustment value for saving parameter, as the second target adjustment value.
In order to reach better white balance effect, for each grayscale, white balance adjusting parameter corresponding to each grayscale Target adjustment value can be not identical as the target adjustment value of white balance adjusting parameter corresponding to other grayscale, certainly, target tune Section value may include luminance parameter, X-component and Y-component respectively corresponding target adjustment value, for example, the target tune of luminance parameter Section value is 560, and the target adjustment value of X-component is 0.283, and the target adjustment value of Y-component is 0.290.
Therefore, other grayscale other than highest grayscale are required to determine that the target of corresponding white balance adjusting parameter is adjusted Value, in this way, for each grayscale white balance adjusting can be carried out according to identified target adjustment value.
The first embodiment, wherein luminance parameter in white balance adjusting parameter corresponding to highest grayscale can be set Target adjustment value is the first brightness value, and the target adjustment value of the corresponding X-component of highest grayscale is the first X value, and highest grayscale is corresponding Y-component target adjustment value be the first Y value.
First step, other grayscale that the first X value and the first Y value can be determined as except highest grayscale are respectively corresponding The target adjustment value of X-component and Y-component, and respectively as the 2nd X value and the second Y value.
That is, X-component corresponding to full grayscale and the target adjustment value of Y-component are all the same, the first X value and the 2nd X value Equal, the first Y value and the second Y value are equal.In this way, ensure that the colour temperature consistency of display screen for the angle of full grayscale.
Second step determines that the target of the corresponding luminance parameter of other grayscale is adjusted according to following formula respectively Value, and as the second brightness value:
Y=a × xr
Wherein, y is the target adjustment value of luminance parameter, which is brightness value.
Wherein, r be can be with customized constant, specifically, r can be the constant between from 1 to 4, for example, r can take 2.8。
Wherein, x is the grade point of grayscale, for example, the corresponding x of 255 grayscale is 255.
Wherein, a be according to the obtained constant of the first brightness value, specifically, for highest grayscale, highest grayscale institute The target adjustment value of corresponding luminance parameter, i.e. the first brightness value y1It is known;The grade point x of highest grayscale1It is known; And r is customized constant, therefore, according to above-mentioned formula, and combines the corresponding each parameter value of highest grayscale, available constant a Are as follows:
For example, when highest grayscale is 255 grayscale, x1For 255, r 2, the first brightness value y1It is 425, then available a is 1/153。
In this way, a value acquired is substituted into above-mentioned formula, then customized r value and the corresponding grade point of each grayscale, it can To obtain the target adjustment value of the corresponding luminance parameter of each grayscale.
For example, a is 1/153, taking r value is 2, then, for 153 grayscale, grade point 153, corresponding brightness The target adjustment value of parameter are as follows:
The target adjustment value 153 of the corresponding luminance parameter of 153 grayscale known to as a result,.
S104, according to identified second target adjustment value, by way of adjusting Gamma parameter, to each grayscale pair The white balance adjusting parameter answered is adjusted respectively, so that the brightness value of display screen, X value and Y under conditions of each grayscale Value is all satisfied corresponding preset second error condition of the grayscale.
It, can be respectively to each ash after determining the target adjustment value of white balance adjusting parameter corresponding to each grayscale The corresponding luminance parameter of rank, X-component, Y-component are adjusted.
Wherein, Gamma parameter is the brightness that can be used for adjusting display screen, the parameter of coloration.
To each grayscale carry out white balance adjusting when, be by way of Gamma parameter, it is corresponding to each grayscale bright Degree parameter, X-component, Y-component are adjusted respectively.
Wherein, Gamma parameter may include the first Gamma parameter, the 2nd Gamma parameter and the 3rd Gamma parameter, can be with Predefine corresponding relationship of each Gamma parameter respectively between luminance parameter, X-component, Y-component three.
Specifically, the corresponding adjusting luminance parameter of the first Gamma parameter is adjusted, the 2nd Gamma parameter of adjusting is corresponding to adjust X points Amount adjusts the corresponding adjusting Y-component of the 3rd Gamma parameter.In this way, can be by adjusting the first Gamma parameter, so that brightness Value meets corresponding second error condition;It can be by X-component, so that X value meets corresponding second error condition;It can be with By Y-component, so that Y value meets corresponding second error condition.
It adjusts and describes in detail in the corresponding embodiment of mode Fig. 3 below of Gamma parameter, this will not be detailed here.
In addition, the second error condition is other grayscale being directed to other than highest grayscale, customized setting can be.Often Second error condition corresponding to a grayscale can the setting of corresponding with other grayscale the second error condition it is identical, can also set That sets is not identical, it is not limited here.
For each grayscale, the second corresponding error condition may include corresponding second error bars of luminance parameter Corresponding second error condition of part, X-component and corresponding second error condition of Y-component, also, each parameter or component institute are right The second error condition answered can the setting of the second error condition corresponding to the other parameters or component with same grayscale phase Together, what can also be arranged is not identical, it is not limited here.
The brightness value of display screen, X value and Y value are all satisfied the grayscale corresponding preset second under conditions of each grayscale Error condition describes in detail in the corresponding embodiment of Fig. 3 below, and this will not be detailed here.
In technical solution provided in an embodiment of the present invention, first by way of adjusting RGB component, to highest grayscale, institute is right The luminance parameter answered, X-component, Y-component are adjusted respectively, and determine the target tune of other grayscale according to first object regulated value Section value, then the corresponding luminance parameter of other grayscale, X-component, Y-component are adjusted respectively by way of adjusting Gamma parameter Section.The technical solution provided through the embodiment of the present invention, by that will adjust RGB component and adjust two kinds of adjusting sides of Gamma parameter Formula combines, and realizes the automatic adjustment to white balance, improves the adjusting efficiency and degree of regulation of white balance.
On the basis of above-mentioned Fig. 1 and Fig. 1 corresponding embodiment, the embodiment of the present invention also provides a kind of white balance adjusting side Method, as shown in Fig. 2, it is described according to first object regulated value, by way of adjusting RGB component, to corresponding to highest grayscale The step of (S102) is adjusted in luminance parameter, X-component, Y-component respectively, may include:
S201 obtains brightness value, X value and the Y value of display screen under conditions of highest grayscale.
Brightness value, X value and the Y value of display screen, which can detect display screen by third party device, to be obtained, wherein Third party device is the equipment of the brightness value that can be used for detecting display screen, X value and Y value.Also, acquired brightness value, X value It is brightness value, X value and the Y value of current display screen with Y value, there is real-time.For example, third party device can be color analysis Instrument.
Certainly, be that the white balance of highest grayscale is adjusted in the present embodiment, therefore, acquired brightness value, X value and Y value is under the conditions of highest grayscale.
S202 calculates separately the first difference, the second difference and third according to the first brightness value, the first X value and the first Y value Difference.
Wherein, the first brightness value are as follows: the target adjustment value of luminance parameter, the first X value in the first object regulated value are as follows: The target adjustment value of X-component, the first Y value in the first object regulated value are as follows: the mesh of Y-component in the first object regulated value Mark regulated value;Difference of first difference between acquired brightness value and the first brightness value, the second difference are acquired X value With the difference between the first X value, difference of the third difference between acquired Y value and the first Y value.
For example, in identified target adjustment value: the first brightness value is 600, and the first X value is 0.33, and the first Y value is 0.33, acquired brightness value is 500, and acquired X value is 0.3, and acquired Y value is 0.31, then, corresponding first is poor Value is 100, and the second difference is 0.03, and third difference is 0.02.
S203, judges whether the first difference, the second difference and third difference are all satisfied corresponding preset first and miss Poor condition, if not, executing step S204.
After the first difference, the second difference and third difference is calculated, respectively by the first difference, the second difference and Three differences are compared with corresponding first error condition, only in the first difference, the second difference and third difference three When being all satisfied corresponding preset first error condition, just it is considered that completing the adjusting of RGB component;As long as if the At least one difference is unsatisfactory for corresponding first error condition in one difference, the second difference and third difference three, then executes Following step S204.
Wherein, it for the first difference, the second difference and the corresponding first error condition of third difference, can be set Difference that is identical, can also being arranged, it is not limited here.
For example, the corresponding first error condition of the first difference is second difference corresponding first in the range of less than 10 Error condition is in the range of less than 0.5, and the corresponding first error condition of third difference is in the range of less than 1;When One difference is 3, and the second difference is 0.3, and third difference is 1.2, then third difference is unsatisfactory for corresponding first error condition.
S204 is adjusted by the RGB component to the display screen, adjusts brightness value, X value and the Y of the display screen Value, and return to step S201.
When adjusting the R component in RGB component, maximum is influenced on X-component, R component is corresponding to be adjusted it is understood that adjusting Save X-component;When adjusting the B component in RGB component, maximum is influenced on Y-component, B component is corresponding to be adjusted it is understood that adjusting Save Y-component.
In this way, by the way that RGB component is adjusted, and then reaches and luminance parameter, X-component and Y-component are adjusted Purpose, and it is returned to the adjustment process for executing above-mentioned S201 to S204 after adjusting completion every time, it forms closed loop and adjusts, no Automatic adjustment is only realized, and closed loop adjusts the accuracy for improving white balance adjusting.
Second of embodiment, on the basis of above-mentioned steps S204, the RGB component by the display screen into The step of row is adjusted, and adjusts brightness value, X value and Y value (S204) of the display screen, may include steps of:
One, white balance adjusting parameter corresponding to the 4th difference is obtained, wherein the 4th difference are as follows: in the first difference, second The difference of corresponding first error condition is unsatisfactory in difference and third difference;
Two, according to the first corresponding relationship of preset RGB component and white balance adjusting parameter, white balance obtained is determined The corresponding RGB component of adjustment parameter, wherein the first corresponding relationship include: G component is corresponding with luminance parameter, R component with X-component is corresponding, B component is corresponding with Y-component;
Three, identified RGB component is adjusted.
Above three step is introduced respectively below.
One, white balance adjusting parameter corresponding to the 4th difference is obtained, wherein the 4th difference are as follows: in the first difference, second The difference of corresponding first error condition is unsatisfactory in difference and third difference.
It is believed that the 4th difference is to be unsatisfactory for the classification of first error condition, in the first difference, the second difference and third In difference, the difference for being unsatisfactory for corresponding first error condition can be classified as to the classification of the 4th difference.
For example, the first difference is to meet corresponding first error item in the first difference, the second difference and third difference Part, the second difference and third difference are to be unsatisfactory for respectively corresponding first error condition, at this point, the 4th difference includes the Two differences and third difference.
And in the first difference, the second difference and third difference, each difference indicates a kind of white balance adjusting parameter Difference, accordingly, it is believed that each difference is corresponding with a kind of white balance adjusting parameter.Specifically, the first difference corresponds to Luminance parameter, the second difference correspond to X-component, and third difference corresponds to Y-component.
White balance adjusting parameter corresponding to 4th difference is unsatisfactory for corresponding included by as the 4th difference White balance adjusting parameter corresponding to the difference of one error condition.For example, the second difference and third difference are to be unsatisfactory for respective institute Corresponding first error condition, that is to say, that the 4th difference includes the second difference and third difference.So, because second is poor The corresponding white balance adjusting parameter of value is X-component, and white balance adjusting parameter corresponding to third difference is Y-component, therefore, the White balance adjusting parameter corresponding to four differences is X-component and Y-component.
Two, according to the first corresponding relationship of preset RGB component and white balance adjusting parameter, white balance obtained is determined The corresponding RGB component of adjustment parameter.
Wherein, the first corresponding relationship includes: that G component is corresponding with luminance parameter, R component and X-component are corresponding, B component It is corresponding with Y-component.
Influence size of first corresponding relationship according to component each in RGB component to luminance parameter, X-component and Y-component is true Fixed.Specifically, when adjusting the G component in RGB component, the influence to luminance parameter is maximum, it can thinks, adjusts G points Amount is corresponding to adjust luminance parameter, and certainly, when adjusting G component, X-component and Y-component can also change, and the amplitude only changed is far not Amplitude of variation such as luminance parameter is big, that is to say, that influences not big to the influence of luminance parameter.
The white balance adjusting parameter that white balance adjusting parameter corresponding to 4th difference as needs to be adjusted, therefore, After obtaining white balance adjusting parameter corresponding to the 4th difference, white balance adjusting parameter obtained can be determined respectively Corresponding RGB component, the RGB component determined are the component being adjusted.
A kind of implementation, can be corresponding first according to the first corresponding relationship of RGB component and white balance adjusting parameter In relationship, RGB component and white balance adjusting parameter are one-to-one relationships, each white balance adjusting parameter is corresponding a kind of RGB component.Therefore, the corresponding RGB component of white balance adjusting parameter obtained can be determined from the first corresponding relationship.
For example, white balance adjusting parameter corresponding to the 4th difference obtained be luminance parameter and X-component, also, from Known in first corresponding relationship: luminance parameter corresponds to G component, X-component corresponds to R component, then, the RGB component determined is G Component and R component.
Three, identified RGB component is adjusted.
After determining RGB component, the RGB component determined can be adjusted.
The third embodiment can in accordance with the following steps be adjusted identified RGB component:
1, the current numerical value of RGB component determined by obtaining;
2, according to the 4th difference, the corresponding gain compensation value of identified RGB component is obtained;
3, for each identified RGB component, increase acquired gain compensation on the basis of acquired numerical value Value.
Each step in the third embodiment is introduced respectively below.
1, the current numerical value of RGB component determined by obtaining
Wherein, acquired RGB component includes the numerical value of the numerical value of R component, the numerical value of G component and B component.
2, according to the 4th difference, the corresponding gain compensation value of identified RGB component is obtained
4th difference is the difference between the numerical value and target adjustment value of measured white balance adjusting parameter, and gain is mended It repays value and is directed to RGB component, therefore, gain compensation value can estimate RGB component according to the 4th difference for discreet value Gain compensation value.
A kind of implementation can preset difference range corresponding to white balance adjusting parameter and gain compensation value Corresponding relationship, specifically, the difference range of luminance parameter are corresponding with the gain compensation value of G component, the difference range of X-component with The gain compensation value of R component is corresponding, and the difference range of Y-component and the gain compensation value of B component are corresponding.Different difference models Corresponding different gain compensation value is enclosed, in this manner it is achieved that dynamic compensates.
Certainly, numerical value can be for gain compensation value corresponding to a difference range, can also be numberical range, when When corresponding gain compensation value is numberical range, any value can be chosen out of corresponding numberical range, be achieved Dynamic compensates.
It is illustrated by taking the difference range of luminance parameter and the corresponding relationship of the gain compensation value of G component as an example below, example Such as, when the difference range of luminance parameter is (100,150), the gain compensation value of corresponding G component is 5, that is to say, that works as brightness When the difference of parameter is in (100,150) range, then it can determine that the gain compensation value of G component is (5.0,5.2).Wherein, (100,150) it indicates to be greater than 100 and the numberical range less than 150, (5.0,5.2) indicate to be greater than 5.0 and the numerical value model less than 5.2 It encloses.
Certainly, the difference range of luminance parameter and the corresponding gain compensation value of each difference range can be customized set Fixed, specifically, it can be calculated by different algorithms.The gain compensation of difference range and R component for X-component The corresponding relationship of the gain compensation value of the difference range and B component of value and Y-component, the difference range with above-mentioned luminance parameter Similar to the corresponding relationship of the gain compensation value of G component, details are not described herein.
3, for each identified RGB component, increase acquired gain compensation on the basis of acquired numerical value Value.
For each identified RGB component, increases acquired gain on the basis of acquired numerical value and mend Repay value, it can think to complete the adjusting of RGB component.Certainly, the increased gain compensation value of RGB component institute is the RGB component institute Corresponding gain compensation value.
For example, luminance parameter is unsatisfactory for corresponding first error condition, then can determine to the G component in RGB component into Row is adjusted, also, the numerical value of acquired G component is 100, and the gain compensation value of acquired G component is 20, then, to G points Measure be adjusted the result is that the numerical value of G component becomes 120.
In actual application, the gain compensation value of RGB component can correspond to change output control display screen driving core The driving current of piece, in this way, the value after adjusting can be changed display screen by changing the value of driving current by driving chip Output, change display effect, show change after brightness and coloration.
The technical solution provided through the embodiment of the present invention is adjusted RGB component in such a way that closed loop is adjusted, real Now to the automatic adjustment of the white balance of highest grayscale, the adjusting efficiency and degree of regulation of the adjusting of highest gray level white balance are improved.
On the basis of the first above-mentioned embodiment, the embodiment of the present invention also provides a kind of white balance adjusting method, such as Shown in Fig. 3, second target adjustment value according to determined by is corresponding to each grayscale by way of adjusting Gamma parameter White balance adjusting parameter the step of (S104) is adjusted respectively, may include:
S301 determines the grayscale for carrying out white balance adjusting parameter regulation, as target gray scale from other grayscale.
A kind of implementation can adjust order with preset gray scale and carry out one by one according to the preset adjusting order to grayscale The adjusting of white balance.
For example, preset grayscale adjusts order to carry out according to the order of the grade point of grayscale from high to low, for 256 grades Grayscale is completed in the white balance adjusting for completing 255 grayscale of highest grayscale and then the white balance adjusting for carrying out 254 grayscale The white balance adjusting of 253 grayscale is carried out after the white balance adjusting of 254 grayscale again, in this way, time according to grade point from high to low Sequence successively carries out, until completing the white balance adjusting of 0 grayscale.
S302, according to identified second target adjustment value, according to preset Gamma parameter and white balance adjusting parameter Second corresponding relationship is adjusted under conditions of the target gray scale by the way that the corresponding Gamma parameter of target gray scale is adjusted Brightness value, X value and the Y value of the display screen, so that the brightness value of display screen, X value and Y value are equal under conditions of target gray scale Meet corresponding preset second error condition of target gray scale.
Wherein, Gamma parameter includes the first Gamma parameter, the 2nd Gamma parameter and the 3rd Gamma parameter, and second is corresponding Relationship, which includes: that the first Gamma parameter of adjusting is corresponding, to be adjusted luminance parameter, adjusts the corresponding adjusting X-component of the 2nd Gamma parameter, adjusts Save the corresponding adjusting Y-component of the 3rd Gamma parameter.
4th kind of embodiment is directed to the target gray scale after the target gray scale for determining to carry out white balance adjusting The white balance adjusting carried out, it is possible, firstly, to obtain the brightness of display screen under conditions of target gray scale by third party device Value, X value and Y value;Wherein, refer under conditions of target gray scale: the gray value of content shown by display screen is target gray scale.
And the numerical value of the corresponding Gamma parameter of available target gray scale, Gamma parameter include three parameters: first Gamma parameter, the 2nd Gamma parameter and the 3rd Gamma parameter correspondingly obtain corresponding three values: the first Gamma value, the Two Gamma values and the 3rd Gamma value;Wherein, the first Gamma value is the numerical value of the first Gamma parameter, and the 2nd Gamma value is the The numerical value of two Gamma parameters, the 3rd Gamma value are the numerical value of the 3rd Gamma parameter;
Wherein, the numerical value of Gamma parameter can be the initial value of set Gamma parameter, that is to say, that first Gamma value, the 2nd Gamma value and the 3rd Gamma value are set initial value, also, the initial value can be it is customized Setting.
A kind of implementation of customized initial value, as shown in figure 4, abscissa indicates that the grade point of grayscale, ordinate are Gamma value, can be according to y=a × x for the first Gamma value, the 2nd Gamma value and the 3rd Gamma valuerRule carry out Setting, wherein a and r is the constant of customized setting, and a and r is different, and the exponential law presented is not identical.
It certainly, can be according to identical finger for the setting of the first Gamma value, the 2nd Gamma value and the 3rd Gamma value Number rule is set, i.e., the first Gamma value, the 2nd Gamma value and the 3rd Gamma value numerical value corresponding to each grayscale are homogeneous Together;It can also be set according to different exponential laws, as shown in figure 4, G gamma curve indicates setting for the first Gamma value Set pattern rule, R gamma curve indicate that the setting rule of the 2nd Gamma value, B gamma curve indicate the setting of the 3rd Gamma value Rule, in this way, different the first Gamma value, the 2nd Gamma value corresponding to the same grayscale and the 3rd Gamma value.
Second step determines luminance parameter, X-component and the corresponding gain compensation value of Y-component respectively, specifically:
According to corresponding second brightness value of target gray scale and acquired brightness value, luminance parameter corresponding first is determined The gain compensation value of Gamma parameter increases by the first offset as the first offset, and on the basis of the first Gamma value;
According to the corresponding 2nd X value of target gray scale and acquired X value, the corresponding 2nd Gamma parameter of X-component is determined Gain compensation value increases by the second offset as the second offset, and on the basis of the 2nd Gamma value;
According to corresponding second Y value of target gray scale and acquired Y value, the corresponding 3rd Gamma parameter of Y-component is determined Gain compensation value as third offset, and increases third offset on the basis of the 3rd Gamma value.
In the 4th kind of embodiment, corresponding gain compensation value can be determined for each white balance adjusting parameter, with So that the difference between the numerical value of white balance adjusting parameter and the target adjustment value of the white balance adjusting parameter reduces.And Ruo Baiping When difference between the numerical value for the adjustment parameter that weighs and the target adjustment value of the white balance adjusting parameter is 0, i.e., measured numerical value When equal with target adjustment value, at this point, the corresponding gain compensation value of white balance adjusting parameter is 0.
In actual application, the corresponding gain compensation value of Gamma parameter can change the driving current of driving chip, Driving chip can be the numerical value after adjusting with the brightness value of drive control display screen, chromatic value in turn, wherein gain compensation value Change a kind of mode of driving current, what gain compensation value changed is the time for the high level that driving chip is exported, that is, is driven The turn-on time of chip, it is believed that the change of the turn-on time of driving chip and then the average current for changing display screen.
The mode for obtaining gain compensation value may refer to above-mentioned second of embodiment, and details are not described herein.
Third step, after adjust accordingly to each white balance adjusting parameter, it can be determined that display screen after adjusting Whether brightness value, X value and Y value are all satisfied corresponding second error condition.
Wherein, the second error condition can be customized setting, also, for luminance parameter, X-component and Y-component, can To be corresponding same second error condition, i.e., as the second error condition that the brightness value of display screen, X value and Y value are met is 's.
It can also be a kind of each parameter respectively corresponding second error condition, and the second mistake corresponding to different parameters Poor condition can be different.That is, luminance parameter can correspond to the first second error condition, X-component can be right Second of second error conditions are answered, Y-component can correspond to the third the second error condition, wherein the first second error condition, Second of second error conditions and the third second error condition are different.
If it is judged that brightness value, X value and the Y value of display screen are not all satisfied respectively after adjusting in above-mentioned third step Corresponding second error condition, then return to execute and obtain the under conditions of target gray scale brightness value of display screen, X value and Y value Step.Result in formation of closed loop adjustings, not only realize the automatic adjustment of white balance corresponding to target gray scale, but also improve The accuracy of white balance adjusting.
If it is judged that brightness value, X value and the Y value of display screen are all satisfied corresponding second error condition after adjusting, The white balance adjusting parameter regulation that can be then carried out with target end grayscale, and execute and determine progress white balance from other grayscale The grayscale that adjustment parameter is adjusted the step of as target gray scale, continues to carry out white balance adjusting to other grayscale, until full grayscale Complete corresponding volume white balance adjusting.
In technical solution provided in an embodiment of the present invention, first by way of adjusting RGB component, to highest grayscale, institute is right The luminance parameter answered, X-component, Y-component are adjusted respectively, and determine the target tune of other grayscale according to first object regulated value Section value, then the corresponding luminance parameter of other grayscale, X-component, Y-component are adjusted respectively by way of adjusting Gamma parameter Section.The technical solution provided through the embodiment of the present invention, by that will adjust RGB component and adjust two kinds of adjusting sides of Gamma parameter Formula combines, and realizes the automatic adjustment to white balance, improves the adjusting efficiency and degree of regulation of white balance.
Corresponding to the corresponding embodiment of the method for above-mentioned Fig. 1 and Fig. 1, the embodiment of the present invention also provides a kind of white balance adjusting dress It sets, as shown in figure 5, the device includes:
First determining module 510, for determining the target adjustment value of white balance adjusting parameter corresponding to highest grayscale, as First object regulated value, wherein white balance adjusting parameter includes: that X-component, the Y of luminance parameter, colorimetric parameter in chromaticity coordinates divide Amount;
First adjustment module 520 is used for according to the first object regulated value, by way of adjusting RGB component, to most White balance adjusting parameter corresponding to high gray is adjusted, so that pending white balance adjusting under conditions of highest grayscale Brightness value, X value and the Y value of display screen be all satisfied preset first error condition;
Second determining module 530, for determining other grayscale except highest grayscale according to the first object regulated value The target adjustment value of corresponding white balance adjusting parameter, as the second target adjustment value;
Second adjustment module 540, for passing through the side of adjusting Gamma parameter according to identified second target adjustment value The corresponding white balance adjusting parameter of each grayscale is adjusted in formula respectively, so that described aobvious under conditions of each grayscale Brightness value, X value and the Y value of display screen are all satisfied corresponding preset second error condition of the grayscale.
Optionally, a kind of embodiment, the second determining module 530 may include:
First determines submodule, for the first X value and first Y value to be determined as to other except highest grayscale The target adjustment value of the corresponding X-component of grayscale, Y-component, respectively as the 2nd X value and the second Y value;
Second determines submodule, for according to following formula, determining the corresponding brightness of other described grayscale respectively The target adjustment value of parameter, and as the second brightness value:
Y=a × xr
Wherein, y is the target adjustment value of luminance parameter, and x is the grade point of grayscale, and a is according to the first brightness value institute Obtained constant, r are customized constant.
In technical solution provided in an embodiment of the present invention, first by way of adjusting RGB component, to highest grayscale, institute is right The luminance parameter answered, X-component, Y-component are adjusted respectively, and determine the target tune of other grayscale according to first object regulated value Section value, then the corresponding luminance parameter of other grayscale, X-component, Y-component are adjusted respectively by way of adjusting Gamma parameter Section.The technical solution provided through the embodiment of the present invention, by that will adjust RGB component and adjust two kinds of adjusting sides of Gamma parameter Formula combines, and realizes the automatic adjustment to white balance, improves the adjusting efficiency and degree of regulation of white balance.
Corresponding to the corresponding embodiment of the method for above-mentioned Fig. 2 and Fig. 2, the embodiment of the present invention also provides a kind of white balance adjusting dress It sets, as shown in fig. 6, on the basis of above-mentioned Fig. 5 and Fig. 5 corresponding embodiment, the first adjustment module 520 may include:
Acquisition submodule 521, for obtaining brightness value, X value and the Y value of the display screen under conditions of highest grayscale;
Computational submodule 522, for according to the first brightness value, the first X value and the first Y value, calculating separately the first difference, the Two differences and third difference, wherein the first brightness value are as follows: the target adjustment value of luminance parameter in the first object regulated value, First X value are as follows: the target adjustment value of X-component, the first Y value in the first object regulated value are as follows: the first object regulated value The target adjustment value of middle Y-component, difference of first difference between acquired brightness value and first brightness value, institute Difference of second difference between acquired X value and the first X value is stated, the third difference is acquired Y value and institute State the difference between the first Y value;
Judging submodule 523, for judging whether first difference, second difference and the third difference are full The corresponding preset first error condition of foot;
First adjusts submodule 524, if the judging result for the judging submodule is no, by described aobvious The RGB component of display screen is adjusted, and adjusts brightness value, X value and the Y value of the display screen, and executes described in highest grayscale Under the conditions of the step of obtaining brightness value, X value and the Y value of the display screen.
Optionally, a kind of embodiment, the first adjusting submodule 524 may include:
Obtaining unit, for obtaining white balance adjusting parameter corresponding to the 4th difference, wherein the 4th difference are as follows: The difference of corresponding first error condition is unsatisfactory in first difference, the second difference and third difference;
Determination unit, for the first corresponding relationship according to preset RGB component and white balance adjusting parameter, determination is obtained The corresponding RGB component of white balance adjusting parameter obtained, wherein first corresponding relationship includes: G component and luminance parameter Corresponding, R component is corresponding with X-component, B component and Y-component are corresponding;
Unit is adjusted, for identified RGB component to be adjusted.
Optionally, a kind of embodiment, adjusting unit specifically can be used for:
The current numerical value of RGB component determined by obtaining;
According to the 4th difference, the corresponding gain compensation value of identified RGB component is obtained;
For each identified RGB component, increase acquired gain compensation value on the basis of acquired numerical value.
The technical solution provided through the embodiment of the present invention is adjusted RGB component in such a way that closed loop is adjusted, real Now to the automatic adjustment of the white balance of highest grayscale, the adjusting efficiency and degree of regulation of the adjusting of highest gray level white balance are improved.
Corresponding to the corresponding embodiment of the method for above-mentioned Fig. 3 and Fig. 3, the embodiment of the present invention also provides a kind of white balance adjusting dress It sets, as shown in fig. 7, on the basis of above-mentioned Fig. 5 and Fig. 5 corresponding embodiment, the second adjustment module 540 may include:
Third determines submodule 541, for determining the ash for carrying out white balance adjusting parameter regulation from other described grayscale Rank, as target gray scale;
Second adjusts submodule 542, is used for according to identified second target adjustment value, according to preset Gamma parameter It is adjusted with the second corresponding relationship of white balance adjusting parameter by the way that the corresponding Gamma parameter of the target gray scale is adjusted The brightness value of the display screen, X value and Y value under conditions of the target gray scale, so that in the condition of the target gray scale Under brightness value, X value and the Y value of the display screen be all satisfied corresponding preset second error condition of the target gray scale, wherein The Gamma parameter includes the first Gamma parameter, the 2nd Gamma parameter and the 3rd Gamma parameter, second corresponding relationship Include: the first Gamma parameter corresponding with luminance parameter, the 2nd Gamma parameter and X-component is corresponding, the 3rd Gamma parameter with Y-component is corresponding.
Optionally, a kind of embodiment, the second adjusting submodule 542 specifically can be used for:
Obtain the brightness value of the display screen, X value and Y value under conditions of the target gray scale;
Obtain the numerical value of the corresponding Gamma parameter of the target gray scale, wherein the numerical value of the first Gamma parameter is first Gamma value, the numerical value of the 2nd Gamma parameter are the 2nd Gamma value, and the numerical value of the 3rd Gamma parameter is the 3rd Gamma value;
According to corresponding second brightness value of the target gray scale and acquired brightness value, luminance parameter corresponding is determined The gain compensation value of one Gamma parameter as the first offset, and increases described on the basis of the first Gamma value One offset;
According to the corresponding 2nd X value of the target gray scale and acquired X value, the corresponding 2nd Gamma ginseng of X-component is determined Several gain compensation values as the second offset, and increases by second offset on the basis of the 2nd Gamma value;
According to corresponding second Y value of the target gray scale and acquired Y value, the corresponding 3rd Gamma ginseng of Y-component is determined Several gain compensation values as third offset, and increases the third offset on the basis of the 3rd Gamma value;
Judge whether brightness value, X value and the Y value of the display screen after adjusting are all satisfied corresponding second error bars Part;
If not, execute obtain under conditions of the target gray scale brightness value of the display screen, X value and Y value step Suddenly;
If so, terminating the white balance adjusting parameter regulation that the target gray scale is carried out, and execute from other described ashes The grayscale for carrying out white balance adjusting parameter regulation is determined in rank, the step of as target gray scale.
The technical solution provided through the embodiment of the present invention, by that will adjust RGB component and adjust two kinds of Gamma parameter tune Section mode combines, and realizes the automatic adjustment to white balance, improves the adjusting efficiency and degree of regulation of white balance.
The embodiment of the invention also provides a kind of electronic equipment, as shown in figure 8, include processor 810, communication interface 820, Memory 830 and communication bus 840, wherein processor 810, communication interface 820, memory 830 are complete by communication bus 840 At mutual communication;
Memory 830, for storing computer program;
Processor 810 when for executing the program stored on memory 830, realizes following steps:
The target adjustment value for determining white balance adjusting parameter corresponding to highest grayscale, as first object regulated value, wherein White balance adjusting parameter includes: X-component in chromaticity coordinates of luminance parameter, colorimetric parameter, Y-component;
According to first object regulated value, by way of adjusting RGB component, to white balance adjusting corresponding to highest grayscale Parameter is adjusted, so that the brightness value of the display screen of pending white balance adjusting, X value and Y under conditions of highest grayscale Value is all satisfied preset first error condition;
According to first object regulated value, the corresponding white balance adjusting parameter of other grayscale except highest grayscale is determined Target adjustment value, as the second target adjustment value;
It is corresponding to each grayscale white by way of adjusting Gamma parameter according to identified second target adjustment value Balance adjustment parameter is adjusted respectively, so that the brightness value of the display screen, X value and Y value under conditions of each grayscale It is all satisfied corresponding preset second error condition of the grayscale.
The technical solution provided through the embodiment of the present invention, by that will adjust RGB component and adjust two kinds of Gamma parameter tune Section mode combines, and realizes the automatic adjustment to white balance, improves the adjusting efficiency and degree of regulation of white balance.
Certainly, a kind of electronic equipment provided in an embodiment of the present invention can also be performed any described one in above-described embodiment Kind white balance adjusting method.It is specifically shown in Fig. 1, Fig. 2, Fig. 3 and Fig. 1, Fig. 2, Fig. 3 respectively corresponding embodiment, here no longer It repeats.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can Read to be stored with instruction in storage medium, when run on a computer so that computer execution above-mentioned Fig. 1, Fig. 2, Fig. 3 and The respective any a kind of white balance adjusting method in corresponding embodiment of Fig. 1, Fig. 2, Fig. 3.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (16)

1. a kind of white balance adjusting method, which is characterized in that the described method includes:
The target adjustment value for determining white balance adjusting parameter corresponding to highest grayscale, as first object regulated value, wherein Bai Ping Weighing apparatus adjustment parameter includes: X-component in chromaticity coordinates of luminance parameter, colorimetric parameter, Y-component;
According to the first object regulated value, by way of adjusting RGB component, to white balance adjusting corresponding to highest grayscale Parameter is adjusted, so that the brightness value of the display screen of pending white balance adjusting, X value and Y under conditions of highest grayscale Value is all satisfied preset first error condition;
According to the first object regulated value, the corresponding white balance adjusting parameter of other grayscale except highest grayscale is determined Target adjustment value, as the second target adjustment value;
According to identified second target adjustment value, by way of adjusting Gamma parameter, white balance corresponding to each grayscale Adjustment parameter is adjusted respectively, so that the brightness value of the display screen, X value and Y value are full under conditions of each grayscale Corresponding preset second error condition of the foot grayscale.
2. passing through adjusting the method according to claim 1, wherein described according to the first object regulated value The mode of RGB component, the step of white balance adjusting parameter corresponding to highest grayscale is adjusted, comprising:
Brightness value, X value and the Y value of the display screen are obtained under conditions of highest grayscale;
According to the first brightness value, the first X value and the first Y value, the first difference, the second difference and third difference are calculated separately, wherein First brightness value are as follows: the target adjustment value of luminance parameter, the first X value in the first object regulated value are as follows: the first object The target adjustment value of X-component in regulated value, the first Y value are as follows: the target adjustment value of Y-component, institute in the first object regulated value Difference of first difference between acquired brightness value and first brightness value is stated, second difference is acquired X Difference between value and the first X value, difference of the third difference between acquired Y value and first Y value;
Judge whether first difference, second difference and the third difference are all satisfied corresponding preset first Error condition;
If not, being adjusted by the RGB component to the display screen, brightness value, X value and the Y value of the display screen are adjusted, And execute described the step of brightness value, X value and the Y value of the display screen are obtained under conditions of highest grayscale.
3. according to the method described in claim 2, it is characterized in that, the RGB component by the display screen is adjusted The step of saving, adjusting brightness value, X value and the Y value of the display screen, comprising:
Obtain white balance adjusting parameter corresponding to the 4th difference, wherein the 4th difference are as follows: first difference, second The difference of corresponding first error condition is unsatisfactory in difference and third difference;
According to the first corresponding relationship of preset RGB component and white balance adjusting parameter, white balance adjusting ginseng obtained is determined The corresponding RGB component of number, wherein first corresponding relationship includes: G component corresponding with luminance parameter, R component and X Component is corresponding, B component is corresponding with Y-component;
Identified RGB component is adjusted.
4. according to the method described in claim 3, it is characterized in that, described the step of identified RGB component is adjusted, Include:
The current numerical value of RGB component determined by obtaining;
According to the 4th difference, the corresponding gain compensation value of identified RGB component is obtained;
For each identified RGB component, increase acquired gain compensation value on the basis of acquired numerical value.
5. according to the method described in claim 2, determining highest it is characterized in that, described according to the first object regulated value The step of target adjustment value of the corresponding white balance adjusting parameter of other grayscale except grayscale, comprising:
The first X value and first Y value are determined as to the corresponding X-component of other grayscale except highest grayscale, Y points The target adjustment value of amount, respectively as the 2nd X value and the second Y value;
According to following formula, the target adjustment value of the corresponding luminance parameter of other described grayscale, and conduct are determined respectively Second brightness value:
Y=a × xr
Wherein, y is the target adjustment value of luminance parameter, and x is the grade point of grayscale, and a is according to obtained by first brightness value Constant, r be customized constant.
6. according to the method described in claim 5, it is characterized in that, second target adjustment value according to determined by, passes through The mode for adjusting Gamma parameter, the step of the corresponding white balance adjusting parameter of each grayscale is adjusted respectively, comprising:
The grayscale for carrying out white balance adjusting parameter regulation is determined from other described grayscale, as target gray scale;
It is corresponding according to the second of preset Gamma parameter and white balance adjusting parameter according to identified second target adjustment value Relationship is adjusted described under conditions of the target gray scale by the way that the corresponding Gamma parameter of the target gray scale is adjusted Brightness value, X value and the Y value of display screen, so that the brightness value of the display screen, X value and Y under conditions of the target gray scale Value is all satisfied corresponding preset second error condition of the target gray scale, wherein the Gamma parameter includes the first Gamma Parameter, the 2nd Gamma parameter and the 3rd Gamma parameter, second corresponding relationship include: that the first Gamma parameter and brightness are joined Number is corresponding, the 2nd Gamma parameter is corresponding with X-component, the 3rd Gamma parameter and Y-component are corresponding.
7. according to the method described in claim 6, it is characterized in that, second target adjustment value according to determined by, according to Second corresponding relationship of preset Gamma parameter and white balance adjusting parameter, by joining to the corresponding Gamma of the target gray scale Number is adjusted, and adjusts under conditions of the target gray scale the step of brightness value of the display screen, X value and Y value, comprising:
Obtain the brightness value of the display screen, X value and Y value under conditions of the target gray scale;
Obtain the numerical value of the corresponding Gamma parameter of the target gray scale, wherein the numerical value of the first Gamma parameter is the first Gamma Value, the numerical value of the 2nd Gamma parameter are the 2nd Gamma value, and the numerical value of the 3rd Gamma parameter is the 3rd Gamma value;
According to corresponding second brightness value of the target gray scale and acquired brightness value, luminance parameter corresponding first is determined The gain compensation value of Gamma parameter increases described first as the first offset, and on the basis of the first Gamma value Offset;
According to the corresponding 2nd X value of the target gray scale and acquired X value, the corresponding 2nd Gamma parameter of X-component is determined Gain compensation value as the second offset, and increases by second offset on the basis of the 2nd Gamma value;
According to corresponding second Y value of the target gray scale and acquired Y value, the corresponding 3rd Gamma parameter of Y-component is determined Gain compensation value as third offset, and increases the third offset on the basis of the 3rd Gamma value;
Judge whether brightness value, X value and the Y value of the display screen after adjusting are all satisfied corresponding second error condition;
It is obtained under conditions of the target gray scale the step of brightness value of the display screen, X value and Y value if not, executing;
If so, terminating the white balance adjusting parameter regulation that the target gray scale is carried out, and execute from other described grayscale The grayscale for carrying out white balance adjusting parameter regulation is determined, the step of as target gray scale.
8. a kind of white balance adjustment device, which is characterized in that described device includes:
First determining module, for determining the target adjustment value of white balance adjusting parameter corresponding to highest grayscale, as the first mesh Mark regulated value, wherein white balance adjusting parameter includes: X-component in chromaticity coordinates of luminance parameter, colorimetric parameter, Y-component;
First adjustment module is used for according to the first object regulated value, by way of adjusting RGB component, to highest grayscale Corresponding white balance adjusting parameter is adjusted so that under conditions of highest grayscale pending white balance adjusting display Brightness value, X value and the Y value of screen are all satisfied preset first error condition;
Second determining module, for determining that other grayscale except highest grayscale are respectively right according to the first object regulated value The target adjustment value for the white balance adjusting parameter answered, as the second target adjustment value;
Second adjustment module is used for according to identified second target adjustment value, by way of adjusting Gamma parameter, to every The corresponding white balance adjusting parameter of one grayscale is adjusted respectively so that under conditions of each grayscale the display screen it is bright Angle value, X value and Y value are all satisfied corresponding preset second error condition of the grayscale.
9. device according to claim 8, which is characterized in that first adjustment module includes:
Acquisition submodule, for obtaining brightness value, X value and the Y value of the display screen under conditions of highest grayscale;
Computational submodule, for calculating separately the first difference, the second difference according to the first brightness value, the first X value and the first Y value With third difference, wherein the first brightness value are as follows: the target adjustment value of luminance parameter, the first X value in the first object regulated value Are as follows: the target adjustment value of X-component, the first Y value in the first object regulated value are as follows: Y-component in the first object regulated value Target adjustment value, difference of first difference between acquired brightness value and first brightness value, described second Difference of the difference between acquired X value and the first X value, the third difference are acquired Y value and the first Y Difference between value;
Judging submodule, for judging whether first difference, second difference and the third difference are all satisfied respectively Corresponding preset first error condition;
First adjusts submodule, if the judging result for the judging submodule is no, by the display screen RGB component is adjusted, and adjusts brightness value, X value and the Y value of the display screen, and executes described under conditions of highest grayscale The step of obtaining brightness value, X value and the Y value of the display screen.
10. device according to claim 9, which is characterized in that described first, which adjusts submodule, includes:
Obtaining unit, for obtaining white balance adjusting parameter corresponding to the 4th difference, wherein the 4th difference are as follows: described The difference of corresponding first error condition is unsatisfactory in first difference, the second difference and third difference;
Determination unit determines obtained for the first corresponding relationship according to preset RGB component and white balance adjusting parameter The corresponding RGB component of white balance adjusting parameter, wherein first corresponding relationship includes: that G component is opposite with luminance parameter It answers, R component is corresponding with X-component, B component and Y-component are corresponding;
Unit is adjusted, for identified RGB component to be adjusted.
11. device according to claim 10, which is characterized in that the adjusting unit is specifically used for:
The current numerical value of RGB component determined by obtaining;
According to the 4th difference, the corresponding gain compensation value of identified RGB component is obtained;
For each identified RGB component, increase acquired gain compensation value on the basis of acquired numerical value.
12. device according to claim 9, which is characterized in that second determining module includes:
First determines submodule, other grayscale for being determined as the first X value and first Y value except highest grayscale The target adjustment value of corresponding X-component, Y-component, respectively as the 2nd X value and the second Y value;
Second determines submodule, for according to following formula, determining the corresponding luminance parameter of other described grayscale respectively Target adjustment value, and as the second brightness value:
Y=a × xr
Wherein, y is the target adjustment value of luminance parameter, and x is the grade point of grayscale, and a is according to obtained by first brightness value Constant, r be customized constant.
13. device according to claim 12, which is characterized in that second adjustment module includes:
Third determines submodule, for determining the grayscale for carrying out white balance adjusting parameter regulation from other described grayscale, as Target gray scale;
Second adjusts submodule, is used for according to identified second target adjustment value, according to preset Gamma parameter and white balance Second corresponding relationship of adjustment parameter is adjusted by the way that the corresponding Gamma parameter of the target gray scale is adjusted in the mesh Brightness value, X value and the Y value of the display screen under conditions of mark grayscale, so that described aobvious under conditions of the target gray scale Brightness value, X value and the Y value of display screen are all satisfied corresponding preset second error condition of the target gray scale, wherein described Gamma parameter includes the first Gamma parameter, the 2nd Gamma parameter and the 3rd Gamma parameter, and second corresponding relationship includes: First Gamma parameter is corresponding with luminance parameter, the 2nd Gamma parameter and X-component are corresponding, the 3rd Gamma parameter and Y-component It is corresponding.
14. device according to claim 13, which is characterized in that the second adjusting submodule is specifically used for:
Obtain the brightness value of the display screen, X value and Y value under conditions of the target gray scale;
Obtain the numerical value of the corresponding Gamma parameter of the target gray scale, wherein the numerical value of the first Gamma parameter is the first Gamma Value, the numerical value of the 2nd Gamma parameter are the 2nd Gamma value, and the numerical value of the 3rd Gamma parameter is the 3rd Gamma value;
According to corresponding second brightness value of the target gray scale and acquired brightness value, luminance parameter corresponding first is determined The gain compensation value of Gamma parameter increases described first as the first offset, and on the basis of the first Gamma value Offset;
According to the corresponding 2nd X value of the target gray scale and acquired X value, the corresponding 2nd Gamma parameter of X-component is determined Gain compensation value as the second offset, and increases by second offset on the basis of the 2nd Gamma value;
According to corresponding second Y value of the target gray scale and acquired Y value, the corresponding 3rd Gamma parameter of Y-component is determined Gain compensation value as third offset, and increases the third offset on the basis of the 3rd Gamma value;
Judge whether brightness value, X value and the Y value of the display screen after adjusting are all satisfied corresponding second error condition;
It is obtained under conditions of the target gray scale the step of brightness value of the display screen, X value and Y value if not, executing;
If so, terminating the white balance adjusting parameter regulation that the target gray scale is carried out, and execute from other described grayscale The grayscale for carrying out white balance adjusting parameter regulation is determined, the step of as target gray scale.
15. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes method and step as claimed in claim 1 to 7.
16. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program, the computer program realize method and step as claimed in claim 1 to 7 when being executed by processor.
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 true CN109996054A (en) 2019-07-09
CN109996054B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113823237A (en) * 2021-09-16 2021-12-21 惠州华星光电显示有限公司 Display device and driving method thereof
CN113920960A (en) * 2020-07-10 2022-01-11 京东方科技集团股份有限公司 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
CN115035851A (en) * 2022-08-10 2022-09-09 深圳精智达技术股份有限公司 Gamma white balance rapid adjustment method and related device
CN115941916A (en) * 2021-08-04 2023-04-07 广州视源电子科技股份有限公司 Correction data determining method, display screen correcting method and determining device
WO2023184176A1 (en) * 2022-03-29 2023-10-05 京东方科技集团股份有限公司 Image quality calibration method, system, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140307105A1 (en) * 2013-04-16 2014-10-16 Wistron Corporation Method and system for adjusting display parameters
CN106384573A (en) * 2016-11-04 2017-02-08 武汉精测电子技术股份有限公司 OLED module Gamma adjustment and calibration method based on linear interpolation calculation
CN106713886A (en) * 2016-12-20 2017-05-24 深圳Tcl数字技术有限公司 White balance adjustment device and white balance adjustment method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140307105A1 (en) * 2013-04-16 2014-10-16 Wistron Corporation Method and system for adjusting display parameters
CN106384573A (en) * 2016-11-04 2017-02-08 武汉精测电子技术股份有限公司 OLED module Gamma adjustment and calibration method based on linear interpolation calculation
CN106713886A (en) * 2016-12-20 2017-05-24 深圳Tcl数字技术有限公司 White balance adjustment device and white balance adjustment method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113920960A (en) * 2020-07-10 2022-01-11 京东方科技集团股份有限公司 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
CN113823237A (en) * 2021-09-16 2021-12-21 惠州华星光电显示有限公司 Display device and driving method thereof
WO2023184176A1 (en) * 2022-03-29 2023-10-05 京东方科技集团股份有限公司 Image quality calibration method, system, and storage medium
CN115035851A (en) * 2022-08-10 2022-09-09 深圳精智达技术股份有限公司 Gamma white balance rapid adjustment method and related device
CN115035851B (en) * 2022-08-10 2022-10-28 深圳精智达技术股份有限公司 Gamma white balance rapid adjustment method and related device

Also Published As

Publication number Publication date
CN109996054B (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN109996054A (en) A kind of white balance adjusting method and device
CN105427788B (en) The automatic method and system for tuning up display device brightness and colourity
CN104809974B (en) The gamma and correct automatically white balance method and device of a kind of display device
CN109166559B (en) Gamma value debugging method and device for display panel
US20080180375A1 (en) Method for establishing gamma correction table for liquid crystal display
CN103985333B (en) A kind of method of the gamma value measurement of display device
US8947468B2 (en) Apparatus and method for enhancing readability of a character
US7742057B2 (en) Method and device of obtaining a color temperature point
CN111833793A (en) Gamma debugging method and gamma debugging device
TWI413101B (en) Control method for improving the luminous uniformity and related luminosity calibrating controller and display device
WO2022088954A1 (en) Brightness compensation method and device and driving method and device for display device
CN107024337B (en) Measurement method and its measuring system
CN107221272B (en) Display screen parameter setting method
US20110025587A1 (en) Calibration Method for Improving Uniformity of Luminosity of Display Device and Related Device
CN107644607A (en) The color temperature adjusting method and display device of display panel
KR101341026B1 (en) Method and apparatus for tuning in color temparature of digital display device
CN113240112A (en) Screen display adjusting method and device, electronic equipment and storage medium
CN112599088B (en) Screen light leakage and ambient light detection method, chip, terminal and storage medium
CN108281109A (en) It is a kind of to carry out the method and device that GAMMA mixing is adjusted to OLED modules
CN107068075B (en) A kind of adjusting method of display device
CN109920381A (en) A kind of method and apparatus adjusting backlight value
CN103426393B (en) Display device color correcting method
KR100859937B1 (en) Method and device of rapidly generating a gray-level versus brightness curve of a display
CN114222101B (en) White balance adjusting method and device and electronic equipment
JP2011085911A (en) Liquid crystal display and driving method thereof

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