CN115002436A - White balance adjusting method, system, device and storage medium - Google Patents

White balance adjusting method, system, device and storage medium Download PDF

Info

Publication number
CN115002436A
CN115002436A CN202110231192.7A CN202110231192A CN115002436A CN 115002436 A CN115002436 A CN 115002436A CN 202110231192 A CN202110231192 A CN 202110231192A CN 115002436 A CN115002436 A CN 115002436A
Authority
CN
China
Prior art keywords
color temperature
value
rgb
white balance
adjustment
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.)
Pending
Application number
CN202110231192.7A
Other languages
Chinese (zh)
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202110231192.7A priority Critical patent/CN115002436A/en
Publication of CN115002436A publication Critical patent/CN115002436A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

The invention provides a white balance adjusting method, a system, equipment and a storage medium, wherein the method comprises the following steps: according to the current color temperature (x) 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining RGB gain values; primarily adjusting the initial RGB value according to the RGB gain value determined by the calculation operation, and determining the adjusted current color temperature (x) according to the primarily adjusted RGB value 0 ’,y 0 ') judge the current color temperature (x) 0 ’,y 0 ') whether or not to match the target color temperature (x) 1 ,y 1 ) If not, the RGB value after initial adjustment is adjusted approximately, and the current color temperature (x) is updated according to the RGB value after approximate adjustment 0 ’,y 0 ') repeatedly judging the current color temperature (x) 0 ’,y 0 ') whether or not to match the target color temperature (x) 1 ,y 1 ) Same up to the current color temperature (x) 0 ’,y 0 ') and a target color temperature (x) 1 ,y 1 ) The same is true. The RGB value is adjusted by using the primary adjustment and the readjustment modes, and the primary adjustment can greatly reduce the RGB value during the readjustmentThe times of gradual approximation adjustment and repeated judgment shorten the time consumption of the whole adjustment process, improve the production efficiency of a production line, and ensure the accuracy of white balance adjustment through readjustment.

Description

White balance adjusting method, system, device and storage medium
Technical Field
The present invention relates to the field of display adjustment, and more particularly, to a white balance adjustment method, system, device, and storage medium.
Background
When a black body is heated to a temperature above a certain temperature, visible light of a specific color is emitted along with the temperature at that time, such objects are called thermal radiators or more specifically black body radiators, and the color of light emitted by them is called color temperature. In the display process of the display, according to the principle of three primary colors, the display effect of each color is mixed by RGB (red, green and blue), and the non-pure color field can be decomposed into the combination of a color field and a white field (gray field). Therefore, the white field color temperature lays the foundation of the screen display effect on a certain basis, influences the color expression to a great extent, and generates different visual senses for people, so that the adjustment of the color temperature is very important.
However, since each component of the display device has a certain dispersion, the display device produced in mass production on the production line also has a certain dispersion in displaying the color temperature representation, and therefore, the produced display device needs to perform AUTO WB (automatic white balance) to adjust the color temperature, so that the display device produced in mass production has the same color temperature representation.
The current production line AUTO WB (automatic white balance) adjustment generally adopts incremental/subtractive approximation calculation, and the operation method is to adjust a white balance value once according to the difference between a current color temperature value and a target color temperature value, test a color temperature once, and then repeatedly judge and adjust until the target color temperature value is met. Although the adjustment method is logically simple and feasible, the adjustment method needs to continuously and repeatedly judge and adjust, and particularly when the difference between the current color temperature value and the target color temperature value is large, the repeated judgment and adjustment times are large, the adjustment time is long, and the mass production efficiency of a production line is influenced to a certain extent. For example, in a case where a device having a bare color temperature x:0.280y:290 is to adjust to a warm color target color temperature x:313y:329, adjustment calculation is performed in steps where x and y are 0.001, and the adjustment is roughly required to be repeatedly determined and adjusted about 60 times.
Therefore, the current production line AUTO WB (automatic white balance) has more times of repeated judgment and adjustment, consumes longer time and influences the production efficiency of production line batch production equipment to a certain extent.
Disclosure of Invention
The present invention is directed to overcome at least one of the above-mentioned drawbacks of the prior art, and provides a white balance adjustment method, system, device and storage medium, which are used to solve the problems of the current production line AUTO WB (automatic white balance) that the number of times of repeated judgment and adjustment is large, the time consumption is long, and the production efficiency is low.
The technical scheme adopted by the invention comprises the following steps:
a white balance adjustment method, comprising: according to the current color temperature (x) 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining RGB gain values; primarily adjusting the initial RGB value according to the RGB gain value determined by the calculation operation, and determining the adjusted current color temperature (x) according to the primarily adjusted RGB value 0 ’,y 0 ') determining the current color temperature (x) 0 ’,y 0 ') whether or not to match the target color temperature (x) 1 ,y 1 ) If not, performing approximate adjustment on the primarily adjusted RGB value, and updating the current color temperature (x) according to the approximately adjusted RGB value 0 ’,y 0 ') repeatedly determining the current color temperature (x) 0 ’,y 0 ') whether or not to match the target color temperature (x) 1 ,y 1 ) Same until the current color temperature (x) 0 ’,y 0 ') and a target color temperature (x) 1 ,y 1 ) Until the same; the current color temperature (x) 0 ,y 0 ) The target color temperature (x) is the color temperature of the default white balance point 1 ,y 1 ) Is the color temperature of the standard white balance point.
The white balance adjusting method provided by the invention firstly calculates the RGB gain value directly through calculation operation, when the adjusting operation is executed for the first time, the initial RGB value is initially adjusted according to the RGB gain value obtained by calculation, the color temperature adjustment actually adjusts the RGB value, thereby influencing the integral color temperature expression and white balance, if the color temperature after initial adjustment does not reach the standard, the adjustment is carried out again, and the color temperature after initial adjustment is actually closer to the target color temperature (x color temperature) 1 ,y 1 ) And therefore readjusted to approximate the initial RGB values, updating the current color temperature (x) after each approximate adjustment 0 ’,y 0 ') up to its target colour temperature (x) 1 ,y 1 ) Similarly, the color temperature after initial adjustment is relatively close to the target color temperature (x) 1 ,y 1 ) Therefore, the times of gradual approximation adjustment and repeated judgment in the readjustment process are greatly reduced, the consumed time is short, the production efficiency of a production line is improved, and meanwhile, the accuracy of color temperature adjustment is ensured by utilizing the gradual approximation adjustment in the readjustment stage.
Further, according to the current color temperature (x) 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining the RGB gain value specifically as follows: according to the numerical value intervals where the initial RGB values are respectively located, the x step amount for initial adjustment and the y step amount for initial adjustment corresponding to the numerical value intervals, and the current color temperature (x) 0 ,y 0 ) With the target color temperature (x) 1 ,y 1 ) Determines the RGB gain values.
Whether the calculated RGB gain value accurately and directly influences the gradual approximation adjustment and the repeated judgment in the adjustment operation or not can be greatly reduced, so when the RGB gain value is determined, the value of the actual increase/decrease of the RGB can be determined according to the numerical range of the initial RGB value, the x step amount and the y step amount which correspond to the range and are used for initial adjustment, and the color temperature difference, and because the influence of the increase and decrease of the RGB value on the color temperature is nonlinear, the more accurate RGB gain value can be calculated through the x step amount and the y step amount which correspond to different numerical ranges, and the color temperature (x step amount and y step amount) at the initial adjustment can be further reduced 0 ’,y 0 ') can be closer to the target color temperature (x) 1 ,y 1 ) The number of times of successive approximation adjustment and repeated judgment during readjustment is reduced, and readjustment can be avoided.
Further, according to the current color temperature (x) 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining the RGB gain value specifically as follows: according to the initial RGB value and the target color temperature (x) 1 ,y 1 ) The RGB gain values are determined using matrix conversion.
The RGB gain value for initial adjustment can also be determined through matrix conversion, and the method is based on coordinate conversion of XYZ and RGB, and the RGB gain value obtained through calculation is also more accurate.
Further, still include: when the current color temperature (x) is judged 0 ’,y 0 ') and the target color temperature (x) 1 ,y 1 ) At the same time, according to the target color temperature (x) 1 ,y 1 ) And determining a current RGB value, and determining an influence factor of the calculation operation according to the current RGB value and the primarily adjusted RGB value.
If readjustment is required in the adjustment operation of the method, it turns out that the RGB gain values calculated in the calculation operation have not yet reached a very accurate level, and thus the current color temperature (x) is reached after readjustment is complete 0 ’,y 0 ') and the target color temperature (x) 1 ,y 1 ) At the same time, according to the target color temperature (x) 1 ,y 1 ) Determining the current RGB value, determining the influence factor corresponding to the increase in the calculation operation by analyzing the difference between the current RGB value and the RGB value after the initial adjustment, wherein because each device has a plurality of influence factors when adjusting the color temperature, such as the influence caused by the backlight OC of the device, the parameters of the device, the light bar change of the device, and the like, the current RGB value obtained after the adjustment has reference value, the influence factor can be increased for the calculation of the RGB gain value of the calculation operation, and the calculation in the calculation operation is corrected by feedback, so that the calculated RGB gain value is more accurate, thereby the color temperature (x) after the initial adjustment is more accurate 0 ’,y 0 ') closer to the target color temperature (x) 1 ,y 1 ) The repeated judgment and adjustment times in readjustment are reduced, and readjustment can be even avoided. Moreover, as the number of the adjusted devices increases, the influence factors increased by the calculation operation are more and accurate, that is, the adjustment data of the devices can provide experience values for adjustment of the later devices, so that the calculation accuracy of the calculation operation is improved to a greater extent.
Further, before determining the RGB gain values, the method further comprises: and respectively determining the step amount of x for initial adjustment and the step amount of y for initial adjustment corresponding to different value intervals of gains of the R value, the G value and the B value in a certain value range.
The effect of the gain of the value R, G, B on x and y at different intervals is determined separately before performing the calculation operation, thereby determining the step amount of x for initial adjustment and the step amount of y for initial adjustment, the resulting step amounts of x and y for initial adjustment being beneficial to obtain more accurate RGB gain values in the calculation operation.
A white balance adjustment system comprising: a calculation unit: for use in accordance with the current color temperature (x) 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining RGB gain values; an adjusting unit: used for adjusting the initial RGB value according to the RGB gain value and determining the adjusted current color temperature (x) according to the primarily adjusted RGB value 0 ’,y 0 ') to determine the adjusted current color temperature (x) 0 ’,y 0 ') whether or not to the target color temperature (x) 1 ,y 1 ) If not, performing approximate adjustment on the primarily adjusted RGB value, and updating the current color temperature (x) according to the approximately adjusted RGB value 0 ’,y 0 ') repeatedly judging the current color temperature (x) 0 ’,y 0 ') whether or not to match the target color temperature (x) 1 ,y 1 ) Same until the current color temperature (x) 0 ’,y 0 ') and a target color temperature (x) 1 ,y 1 ) The same is carried out until the current values are the same; the current color temperature (x) 0 ,y 0 ) The target color temperature (x) is the color temperature of the default white balance point 1 ,y 1 ) Is the color temperature of the standard white balance point.
Further, the calculation unit is configured to calculate a color temperature (x) based on the current color temperature 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining the RGB gain value specifically as follows: the calculation unit is used for respectively determining the value intervals according to the initial RGB values, the x step amount for initial adjustment and the y step amount for initial adjustment corresponding to the value intervals, and the current color temperature (x) 0 ,y 0 ) With the target color temperature (x) 1 ,y 1 ) Determines the RGB gain values.
Further, the calculation unit is configured to calculate a color temperature (x) based on the current color temperature 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining the RGB gain value specifically as follows: the computing unit is used for calculating the initial RGB value andthe target color temperature (x) 1 ,y 1 ) The RGB gain values are determined using matrix conversion.
Further, the system further comprises a feedback unit: for determining the adjusted current color temperature (x) at the adjusting unit 0 ’,y 0 ') and the target color temperature (x) 1 ,y 1 ) At the same time, according to the target color temperature (x) 1 ,y 1 ) And determining a current RGB value, and determining an influence factor of the calculation unit when determining the RGB gain value according to the current RGB value and the primarily adjusted RGB value.
Further, the system further includes a step amount calculation unit: before the calculating unit determines the RGB gain values, the step amounts of x and y for initial adjustment corresponding to the gains of the R value, the G value and the B value in a certain numerical range in different numerical intervals are respectively determined.
A computer device comprising a memory storing a computer program and a processor implementing the above white balance adjustment method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the white balance adjustment method described above.
Compared with the prior art, the invention has the beneficial effects that:
when the current color temperature (x) is required 0 ,y 0 ) Adjustment to a target color temperature (x) 1 ,y 1 ) When the white balance adjustment is carried out, the RGB gain value is calculated by using an assignment calculation method to carry out primary adjustment on the color temperature to obtain the adjusted color temperature (x) 0 ’,y 0 ') and gradually adjusting the primarily adjusted RGB values to the target color temperature (x) by readjustment 1 ,y 1 ) The same is true. The RGB value is adjusted by utilizing the primary adjustment and readjustment modes, the adjustment times can be repeatedly judged during readjustment by greatly reducing the primary adjustment, the time consumed by the whole adjustment process is shortened, the production efficiency of a production line is improved, and the readjustment ensures the accuracy of white balance adjustment.
Drawings
Fig. 1 is a schematic flow chart of steps S1 to S23 of the white balance adjustment method according to the embodiment.
Fig. 2 is a schematic diagram of the unit composition of the white balance adjustment system of the embodiment.
Detailed Description
The drawings are only for purposes of illustration and are not to be construed as limiting the invention. For a better understanding of the following embodiments, certain features of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product; it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
As shown in fig. 1, the present embodiment provides a white balance adjustment method for adjusting any suitable display device, the method comprising:
s1: according to the current color temperature (x) 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining RGB gain values;
specifically, the current color temperature (x) in step S1 0 ,y 0 ) The color temperature of the white balance point as a default of the display device, i.e., the color temperature measured by the display device after adjusting all of the RGB values to the maximum value, and the target color temperature (x) 1 ,y 1 ) If the color temperature of the standard white balance point is different from the default white balance point, the steps S1 to S3 are performed to adjust.
Specifically, there are two alternative ways to determine the RGB gain values in step S1:
(1) s1: according to the current color temperature (x) 0 ,y 0 ) Determining an initial RGB value, and according to the value intervals of the initial RGB value, the x step quantity and the y step quantity for initial adjustment corresponding to the value intervals, and the current color temperature (x) 0 ,y 0 ) With the target color temperature (x) 1 ,y 1 ) Determines the RGB gain values.
Wherein the initial RGB values include an initial R value, an initial G value, and an initial B value. The color temperature adjustment actually adjusts the RGB values, and the change of the RGB values affects the color temperature representation of the whole and the white balance.
Before step S1 is executed, it is necessary to determine the step amounts of x for initial adjustment and the step amounts of y for initial adjustment corresponding to different value intervals of the gains of the values of R, G and B within a certain value range, respectively.
Using table 1 as an example illustration: as shown in Table 1, which is an example of data that has been determined, if the value of R is increased by 1 within the range 124-128, the value of color temperature x will be increased by 20 (not converted to coordinate values), the value of color temperature y will be increased by 10 (not converted to coordinate values), and so on. That is, before step S1 is executed, the influence of the gain of the R value, the G value and the B value on x and y of the color temperature respectively needs to be determined, for example, x or y is increased or decreased when the value of R is increased, the step amounts of x and y generated in different intervals by the gain of the R value, the G value and the B value are further determined, that is, the third row in table 1, and the step amounts of x and y are determined as the step amounts of x and y for initial adjustment. Based on the current color temperature (x) 0 ,y 0 ) With the target color temperature (x) 1 ,y 1 ) The RGB gain values can be directly derived from table 1.
Specifically, the relationship between the value of R, the value of G, and the gain of the value of B in different value intervals and x and y may be calculated theoretically, the relationship between the RGB value and the x and y step amounts may be calculated theoretically, the theoretical value influence and the trend influence of the value of R, the value of G, and the value of B in different value intervals on the x and y step amounts may be estimated, and the performance and the mutual influence of the values in different value intervals may be verified through performing a relevant experiment according to theoretical calculation data, so as to finally determine the x step amount and the y step amount for initial adjustment corresponding to the value of R, the value of G, and the gain of the value of B in different value intervals. Preferably, all the finally determined data may construct a database model for the RGB gain value calculation in step S1 of (1).
TABLE 1
Figure BDA0002958248370000061
(2) S1: according to the current color temperature (x) 0 ,y 0 ) Determining an initial RGB value; according to the initial RGB value and the target color temperature (x) 1 ,y 1 ) The RGB gain values are determined using matrix conversion.
In addition to the RGB gain values determined in the manner of (1), they can also be determined in the manner of a matrix transformation, first of all depending on the current color temperature (x) 0 ,y 0 ) Determining initial RGB values, i.e. determining initial RGB coordinates (r) 0 ,g 0 ,b 0 ) According to the conversion of CIE RGB and CIE XYZ color space, the target color temperature (x) 1 ,y 1 ) Target RGB coordinates (r) corresponding to the target color temperature can be calculated 1 ,g 1 ,b 1 ) From target RGB coordinates (r) 1 ,g 1 ,b 1 ) And initial RGB coordinates (r) 0 ,g 0 ,b 0 ) RGB gain values can be determined.
Of the two calculation methods (1) and (2), (1) is preferable as the calculation method of step S1 because it is easy that the RGB gain values are saturated and cannot be calculated by matrix conversion. In addition, the influence of the RGB gain value on the color temperature value is nonlinear, and experiments prove that a larger error exists by directly utilizing matrix conversion.
S21: primarily adjusting the initial RGB value according to the RGB gain value determined in step S1, and determining the adjusted current color temperature (x) according to the primarily adjusted RGB value 0 ’,y 0 ’);
S22: judging the current color temperature (x) 0 ’,y 0 ') whether or not to match the target color temperature (x) 1 ,y 1 ) Similarly, if no, go to step S23; if yes, go to step S24;
s23: performing approximate adjustment on the RGB value after the initial adjustment, and updating the current color temperature (x) according to the RGB value after the approximate adjustment 0 ’,y 0 ') go to step S22;
s24: the whole adjusting process is finished;
step S2 includes two adjustment processes, step S21 is an initial adjustment, that is, the color temperature of the initial RGB value is adjusted by the RGB gain value determined in step S1, so as to obtain the initial adjusted current color temperature (x) 0 ’,y 0 ') to execute step S22: judging the current colorTemperature (x) 0 ’,y 0 ') whether or not to match the target color temperature (x) 1 ,y 1 ) Similarly, in an ideal situation, if the RGB gain values calculated in step S1 are accurate enough, after performing the initial adjustment in step S21 once, step S22 determines the current color temperature (x) 0 ’,y 0 ') and a target color temperature (x) 1 ,y 1 ) Similarly, execution of step S24 completes the entire adjustment, ending execution of the method.
The current color temperature (x) is determined as in step S22 0 ’,y 0 ') and a target color temperature (x) 1 ,y 1 ) If not, step S23 is executed to perform readjustment to perform approximation adjustment on the primarily adjusted RGB value, the gradual approximation adjustment may preset a smaller RGB gain value, and perform approximation adjustment on the primarily adjusted RGB value according to the preset smaller RGB gain value, taking the adjustment of the R value as an example, if the primarily adjusted R value is 113 and the preset R gain value is 1, the R value is increased/decreased by 1 in each approximation adjustment, and after the R value is increased/decreased by 1, the current color temperature is updated according to the approximated adjusted RGB value (x is x color temperature (where x is x value) 0 ’,y 0 ') repeatedly performing the step S22 until the current color temperature (x) 0 ’,y 0 ') and a target color temperature (x) 1 ,y 1 ) Similarly, execution of step S4 ends the adjustment process.
The readjustment process of step S23 is to ensure that the color temperature adjustment can eventually reach the target color temperature (x) accurately with a slight adjustment amount 1 ,y 1 ) However, in the case where step S23 establishes that there is a little error after the initial adjustment of step S21, if the initial adjustment of step S21 is performed for the first time, step S22 determines the current color temperature (x) of the color image 0 ’,y 0 ') and a target color temperature (x) 1 ,y 1 ) Similarly, the successive approximation adjustment of the RGB values in step S23 can be omitted and the determination process of step S22 can be repeatedly performed.
Preferably, step S4 further includes: according to the target color temperature (x) 1 ,y 1 ) Determining the current RGB value, and determining the influence factor influencing the step S1 according to the current RGB value and the RGB value primarily adjusted in the step S21.
If after the initial adjustment of step S21,the adjusted current color temperature (x) is determined in step S22 0 ’,y 0 ') and a target color temperature (x) 1 ,y 1 ) Not identical, it is proved that the RGB gain values calculated in step S1 have not reached a very accurate level, and thus the current color temperature (x) is obtained after the readjustment through steps S22 and S23 0 ’,y 0 ') and a target color temperature (x) 1 ,y 1 ) At the same time, according to the target color temperature (x) 1 ,y 1 ) Determining the current RGB value, analyzing the current RGB value and the difference between the RGB values after the initial adjustment in step S21, determining the influence factor that should be added in step S1, for example, the R value in the RGB value after the initial adjustment is 115, the R value in the RGB value after the readjustment is 113, taking the first calculation method for determining RGB gain value as an example, the difference of the R value indicates that the gain of the R value determined in the first calculation method needs to be adjusted in the x and y steps corresponding to different value intervals, the current RGB value obtained after the readjustment has a reference value, the influence factor can be added for the calculation of the RGB gain value in step S1, and the calculation in the feedback correction step S1 introduces the influence factor to make the initial RGB value reach the target color temperature in the adjustment of the RGB gain value when the RGB gain value is calculated next time (x is the calculation of the RGB gain value) 1 ,y 1 ) Corresponding RGB values. The influence factors mainly originate from influence factors existing when each device adjusts the color temperature, such as influence caused by backlight OC of the device, parameters of the device, light bar change of the device, and the like. The more accurate the RGB gain value calculated in step S1 is, the color temperature (x) after initial adjustment 0 ’,y 0 ') closer to the target color temperature (x) 1 ,y 1 ) The number of successive approximation adjustments and repeated judgments of readjustment can be greatly reduced, and even the execution of readjustment can be omitted. Furthermore, as the number of the adjusted devices increases, the influence factor increased in step S1 is more and more accurate, i.e. the adjustment data of the devices can provide empirical values for the adjustment of the later devices, and the calculation accuracy of step S1 is improved to a greater extent.
The white balance adjustment method provided in this embodiment calculates the RGB gain value by the assignment calculation method in step S1, and uses the RGB gain value to calculate the color temperature in step S21Performing initial adjustment to obtain adjusted current color temperature (x) 0 ’,y 0 ') it is desirable that the steps S22 and S23 are not performed for readjustment, i.e. the RGB gain values calculated by assigning values in step S1 are accurate enough, and the current color temperature can be adjusted (x) when step S21 is performed for the first time (x) 0 ,y 0 ) To a target color temperature (x) 1 ,y 1 ). But cannot adjust the current color temperature (x) as initially 0 ,y 0 ) Tuning to a target color temperature (x) 1 ,y 1 ) Then, the adjusted current color temperature (x) is adjusted by readjusting in steps S22 and S23 0 ’,y 0 ') to adjust the corresponding color temperature to the target color temperature (x) 1 ,y 1 ) The same is true. The RGB value is adjusted by utilizing the primary adjustment and the readjustment modes, the adjustment times are repeatedly judged when the primary adjustment can be greatly reduced and readjusted, the time consumed by the whole adjustment process is shortened, the production efficiency of a production line is improved, and the adjustment accuracy is guaranteed by readjustment.
Based on the same idea as the white balance adjustment method described above, the present embodiment also provides a white balance adjustment system for adjusting any suitable display device, as shown in fig. 2, including:
a computing unit 100 for computing a color temperature (x) based on the current color temperature 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining RGB gain values;
in particular, the current color temperature (x) 0 ,y 0 ) Color temperature of the default white balance point, target color temperature (x) 1 ,y 1 ) Is the color temperature of the standard white balance point.
Specifically, the computing unit 100 has two ways to determine the RGB gain values, which are:
(1) according to the current color temperature (x) 0 ,y 0 ) Determining initial RGB values, respectively locating numerical value intervals according to the initial RGB values, x step quantity for initial adjustment and y step quantity for initial adjustment corresponding to the numerical value intervals, and current color temperature (x) 0 ,y 0 ) With the target color temperature (x) 1 ,y 1 ) Determining RGB gain values;
preferably, the system further comprises: a step amount calculating unit 300, configured to determine, before the calculating unit 100 determines the RGB gain values, a step amount of x for initial adjustment and a step amount of y for initial adjustment, which correspond to different value intervals of gains of the R value, the G value, and the B value within a certain value range, respectively. Preferably, after determining the step amounts of x and y for initial adjustment corresponding to the gains of R, G and B values in different value ranges, all the data can be constructed as a database model for the calculation of RGB gain values in the (1) calculation manner of the calculation unit 100.
(2) According to the current color temperature (x) 0 ,y 0 ) Determining an initial RGB value; according to the initial RGB value and the target color temperature (x) 1 ,y 1 ) Determining RGB gain values by matrix conversion;
the method (1) is preferable in the two methods for determining RGB gain values, and the principle and effect of each calculation method are described in the white balance adjustment method, and are not described herein again.
An adjusting unit 200 for primarily adjusting the initial RGB value according to the RGB gain value determined by the calculating unit, and determining the adjusted current color temperature (x) according to the primarily adjusted RGB value 0 ’,y 0 ') judge the adjusted current color temperature (x) 0 ’,y 0 ') whether or not to match the target color temperature (x) 1 ,y 1 ) If not, performing approximate adjustment on the primarily adjusted RGB value, and updating the current color temperature (x) according to the RGB value after the approximate adjustment 0 ’,y 0 ') repeatedly judging the current color temperature (x) 0 ’,y 0 ') whether or not to match the target color temperature (x) 1 ,y 1 ) Same until the current color temperature (x) 0 ’,y 0 ') and a target color temperature (x) 1 ,y 1 ) The same is true.
Preferably, the system further comprises: a feedback unit 300 for determining the adjusted current color temperature (x) at the adjusting unit 200 0 ’,y 0 ') and a target color temperature (x) 1 ,y 1 ) At the same time, according to the target color temperature (x) 1 ,y 1 ) Determining the current RGB value, determining the determination of the computing unit 100 according to the current RGB value and the primarily adjusted RGB valueAnd determining the influence factor when the RGB gain value is determined.
The white balance adjustment system provided in this embodiment calculates the RGB gain value by assigning a value to the calculation unit 100, and the adjustment unit 200 calculates the current color temperature (x) by using the RGB gain value 0 ,y 0 ) The corresponding initial RGB value is initially adjusted to obtain the adjusted color temperature (x) 0 ’,y 0 ') ideally without readjustment, i.e. the RGB gain values calculated by the calculation unit 100 are sufficiently accurate, and the current color temperature can be adjusted (x) at the time of initial adjustment 0 ,y 0 ) To a target color temperature (x) 1 ,y 1 ). But cannot adjust the current color temperature (x) as it is 0 ,y 0 ) Adjustment to a target color temperature (x) 1 ,y 1 ) Then gradually approaching and adjusting the adjusted RGB value through readjustment and updating the current color temperature (x) 0 ’,y 0 ') make it match the target color temperature (x) 1 ,y 1 ) The same is true. The RGB value is adjusted by utilizing the primary adjustment and the readjustment modes, the times of gradual approach adjustment and repeated judgment during readjustment can be greatly reduced by the primary adjustment, the time consumed by the whole adjustment process is shortened, the production efficiency of a production line is improved, and the adjustment accuracy is ensured by the readjustment.
In the embodiment of the white balance adjustment system, the logical division of each functional module is only used as an example, and in practical applications, the functions may be allocated to different functional units according to needs, for example, due to the configuration requirements of hardware or the implementation of software, that is, the internal structure of the white balance adjustment system may be divided into functional units different from those described above, but all the functions described above can be completed. Next, for the contents of the execution process of the units of the white balance adjustment system of the above example, since the white balance adjustment method is based on the same concept as the white balance adjustment method described in this embodiment, the principle and the technical effect are the same as the white balance adjustment method described above, and specific contents can be referred to the description of the method embodiment and are not described herein again.
Based on the same idea as the white balance adjustment method, the present embodiment further provides a computer device including a memory and a processor, the memory storing a computer program, and the processor implementing the data processing method or the white balance adjustment method when executing the computer program.
Based on the same idea as the white balance adjustment method described above, the present embodiment also provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the white balance adjustment method described above.
It should be understood that the above-mentioned embodiments of the present invention are only examples for clearly illustrating the technical solutions of the present invention, and are not intended to limit the specific embodiments of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention claims should be included in the protection scope of the present invention claims.

Claims (10)

1. A white balance adjustment method, characterized by comprising:
according to the current color temperature (x) 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining RGB gain values;
primarily adjusting the initial RGB value according to the RGB gain value determined by the calculation operation, and determining the adjusted current color temperature (x) according to the primarily adjusted RGB value 0 ’,y 0 ') determining the current color temperature (x) 0 ’,y 0 ') whether or not to match the target color temperature (x) 1 ,y 1 ) If not, performing approximate adjustment on the primarily adjusted RGB value, and updating the current color temperature (x) according to the approximately adjusted RGB value 0 ’,y 0 ') repeatedly determining the current color temperature (x) 0 ’,y 0 ') whether or not to match the target color temperature (x) 1 ,y 1 ) Same until the current color temperature (x) 0 ’,y 0 ') and a target color temperature (x) 1 ,y 1 ) Until the same;
the current color temperature (x) 0 ,y 0 ) The target color temperature (x) is the color temperature of the default white balance point 1 ,y 1 ) Is the color temperature of the standard white balance point.
2. The white balance adjustment method according to claim 1, characterized in that, according to the current color temperature (x) 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining the RGB gain value specifically as follows:
according to the numerical value intervals where the initial RGB values are respectively located, the x step amount for initial adjustment and the y step amount for initial adjustment corresponding to the numerical value intervals, and the current color temperature (x) 0 ,y 0 ) With the target color temperature (x) 1 ,y 1 ) Determines the RGB gain values.
3. The white balance adjustment method according to claim 1, characterized in that, according to the current color temperature (x) 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining the RGB gain value specifically as follows:
according to the initial RGB value and the target color temperature (x) 1 ,y 1 ) The RGB gain values are determined using matrix conversion.
4. The white balance adjustment method according to any one of claims 2 or 3, characterized by further comprising: when the current color temperature (x) is judged 0 ’,y 0 ') and the target color temperature (x) 1 ,y 1 ) At the same time, according to the target color temperature (x) 1 ,y 1 ) And determining a current RGB value, and determining an influence factor of the calculation operation according to the current RGB value and the primarily adjusted RGB value.
5. The white balance adjustment method according to claim 2, further comprising, before determining the RGB gain values: and respectively determining the step amounts of x for initial adjustment and the step amounts of y for initial adjustment, wherein the gains of the R value, the G value and the B value in a certain numerical range correspond to different numerical intervals.
6. A white balance adjustment system, comprising:
a calculation unit: for use in accordance with the current color temperature (x) 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining RGB gain values;
an adjusting unit: is used for primarily adjusting the initial RGB value according to the RGB gain value determined by the computing unit and determining the adjusted current color temperature (x) according to the primarily adjusted RGB value 0 ’,y 0 ') determining the adjusted current color temperature (x) 0 ’,y 0 ') whether or not to match the target color temperature (x) 1 ,y 1 ) If not, performing approximate adjustment on the primarily adjusted RGB value, and updating the current color temperature (x) according to the approximately adjusted RGB value 0 ’,y 0 ') repeatedly judging the current color temperature (x) 0 ’,y 0 ') whether or not to match the target color temperature (x) 1 ,y 1 ) Same until the current color temperature (x) 0 ’,y 0 ') and a target color temperature (x) 1 ,y 1 ) The same is carried out until the current values are the same;
the current color temperature (x) 0 ,y 0 ) The target color temperature (x) is the color temperature of the default white balance point 1 ,y 1 ) Is the color temperature of the standard white balance point.
7. The white balance adjustment system according to claim 6, characterized in that the calculation unit is configured to calculate the white balance adjustment system based on a current color temperature (x) 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining the RGB gain value specifically as follows:
the calculation unit is used for respectively determining the value intervals according to the initial RGB values, the x step amount for initial adjustment and the y step amount for initial adjustment corresponding to the value intervals, and the current color temperature (x) 0 ,y 0 ) With the target color temperature (x) 1 ,y 1 ) Determines the RGB gain values.
8. The white balance adjustment system according to claim 6, characterized in that the calculation unit is configured to calculate the white balance adjustment system based on a current color temperature (x) 0 ,y 0 ) And a target color temperature (x) 1 ,y 1 ) Determining the RGB gain value specifically as follows:
the computing unit is used forAccording to the initial RGB value and the target color temperature (x) 1 ,y 1 ) The RGB gain values are determined using matrix conversion.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the white balance adjustment method according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the white balance adjustment method according to any one of claims 1 to 5.
CN202110231192.7A 2021-03-02 2021-03-02 White balance adjusting method, system, device and storage medium Pending CN115002436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110231192.7A CN115002436A (en) 2021-03-02 2021-03-02 White balance adjusting method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110231192.7A CN115002436A (en) 2021-03-02 2021-03-02 White balance adjusting method, system, device and storage medium

Publications (1)

Publication Number Publication Date
CN115002436A true CN115002436A (en) 2022-09-02

Family

ID=83018886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110231192.7A Pending CN115002436A (en) 2021-03-02 2021-03-02 White balance adjusting method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN115002436A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783135A (en) * 2010-03-11 2010-07-21 冠捷显示科技(武汉)有限公司 Method of 336 white balance adjustment
CN104599652A (en) * 2015-01-21 2015-05-06 深圳市金锐显数码科技有限公司 Terminal screen white balance correcting method and device
CN106454306A (en) * 2016-12-19 2017-02-22 四川长虹电器股份有限公司 Automatic white balance debugging method at smart TV side
CN107360410A (en) * 2017-07-10 2017-11-17 广东欧珀移动通信有限公司 Method for controlling white balance, device and terminal device
CN107454393A (en) * 2017-09-22 2017-12-08 上海帆声图像科技有限公司 Television set white balance parameter method to set up
CN107465904A (en) * 2017-09-22 2017-12-12 上海帆声图像科技有限公司 Television set white balance automatic adjusting method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783135A (en) * 2010-03-11 2010-07-21 冠捷显示科技(武汉)有限公司 Method of 336 white balance adjustment
CN104599652A (en) * 2015-01-21 2015-05-06 深圳市金锐显数码科技有限公司 Terminal screen white balance correcting method and device
CN106454306A (en) * 2016-12-19 2017-02-22 四川长虹电器股份有限公司 Automatic white balance debugging method at smart TV side
CN107360410A (en) * 2017-07-10 2017-11-17 广东欧珀移动通信有限公司 Method for controlling white balance, device and terminal device
CN107454393A (en) * 2017-09-22 2017-12-08 上海帆声图像科技有限公司 Television set white balance parameter method to set up
CN107465904A (en) * 2017-09-22 2017-12-12 上海帆声图像科技有限公司 Television set white balance automatic adjusting method

Similar Documents

Publication Publication Date Title
WO2021190158A1 (en) Adjusting apparatus, method for adjusting gamma voltage and white balance of display screen, and medium
CN111223437B (en) Gamma register calibration method, gamma register calibration device and display device
CN110024020A (en) Display device, calibrating installation and its calibration method
KR101523854B1 (en) Adaptive color correction for display with backlight modulation
WO2023000631A1 (en) Method and apparatus for determining correction coefficient of display screen light point, and computer device
CN107622761B (en) Screen display correction method based on negative feedback
CN110910847B (en) Gamma correction method and device for display module
CN110675818B (en) Curve matching-based module Gamma correction method and system
CN107346653B (en) GAMMA curve adjusting method and device based on deep learning
CN110459170B (en) Module Gamma correction method, terminal equipment and computer readable medium
CN104599636A (en) Brightness and chrominance correction coefficient generation device and brightness and chrominance correction method for LED (light emitting diode) display screen
US8723880B2 (en) White balance method for display image
WO2020029569A1 (en) Color led lamp grayscale correction and linear color mixing method
CN104200791A (en) Fast adaptive white balance correction method
CN105721844A (en) Method for enhancing image-quality contrast layering based on Gamma adjustment of liquid crystal display television
CN110534058B (en) Method and system for rapidly converging Gamma tuning
US10874002B2 (en) Method and apparatus for computing illumination mixed lights, computer device and storage medium
CN103426393B (en) Display device color correcting method
CN115002436A (en) White balance adjusting method, system, device and storage medium
CN109767729B (en) Screen gamma debugging method and display module
CN111524484B (en) Rapid Gamma adjustment method and one-time burning OTP system
CN100490495C (en) Image color correction system and method
CN112612992A (en) Color temperature optimization method and device, terminal equipment and storage medium
CN110047415B (en) Color gamut mapping method, electronic device and storage medium
US20210405352A1 (en) Display device and method of adjusting chromatic aberration of display device

Legal Events

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