CN107659811B - White balance calibration methods, devices and systems - Google Patents

White balance calibration methods, devices and systems Download PDF

Info

Publication number
CN107659811B
CN107659811B CN201711107605.0A CN201711107605A CN107659811B CN 107659811 B CN107659811 B CN 107659811B CN 201711107605 A CN201711107605 A CN 201711107605A CN 107659811 B CN107659811 B CN 107659811B
Authority
CN
China
Prior art keywords
picture
white
white balance
chromaticity coordinates
green
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711107605.0A
Other languages
Chinese (zh)
Other versions
CN107659811A (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.)
Whaley Technology Co Ltd
Original Assignee
Whaley 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 Whaley Technology Co Ltd filed Critical Whaley Technology Co Ltd
Priority to CN201711107605.0A priority Critical patent/CN107659811B/en
Publication of CN107659811A publication Critical patent/CN107659811A/en
Application granted granted Critical
Publication of CN107659811B publication Critical patent/CN107659811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/02Diagnosis, testing or measuring for television systems or their details for colour television signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/88Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control

Abstract

The embodiment of the present invention provides a kind of white balance calibration methods, devices and systems, and this method includes acquisition xyz chrominance space matrix, and is the rgb chrominance space matrix under RGB coordinate system by the xyz chrominance space matrix conversion;The gain register value in preset range is traversed to choose the target white chromaticity coordinates for meeting default white balance conditions based on the rgb chrominance space matrix;It is adjusted according to ratio of the target white chromaticity coordinates to the red, green, blue three primary colours in the white picture to realize white balance calibration.The present invention has stronger universality, can satisfy the white balance calibration demand of different display equipment, and cost of implementation is low, calibration accuracy is high.

Description

White balance calibration methods, devices and systems
Technical field
The present invention relates to technical field of image processing, in particular to a kind of white balance calibration method, apparatus and are System.
Background technique
Through inventor the study found that the system maker of current display setup is substantially without to its complete machine progress white balance calibration Ability.For example, white balance calibration is mainly completed by ray machine factory, especially by Texas Instrument for projector Interface changes the rotation duty ratio of red, green, blue lamp in ray machine LED light source to realize white balance calibration, so that projection The system maker of instrument needs to rely on the white balance interface of Texas Instrument, chip factory and the firmware layout of ray machine factory, in addition, The rotation duty ratio of red, green, blue lamp is adjusted by Texas Instrument's interface and modifies storage sequential file often to will lead to ray machine soft The problems such as part is unstable, picture colour cast occurs, therefore, to those skilled in the art, urgent need study a kind of versatility it is high, White balance calibration technology at low cost, calibration accuracy is high.
Summary of the invention
In view of this, the present invention provides a kind of white balance calibration methods, devices and systems, above-mentioned technology can effectively solve the problem that Problem.
Present pre-ferred embodiments provide a kind of white balance calibration method, which comprises
Xyz chrominance space matrix is obtained, which is based on XYZ coordinate system to collected red picture Face, green picture, blue picture and white picture are analyzed to obtain;
By the rgb chrominance space matrix that the xyz chrominance space matrix conversion is under RGB coordinate system;
The gain register value in preset range is traversed to choose and meet in advance based on the rgb chrominance space matrix If the target white chromaticity coordinates of white balance conditions;
It is adjusted according to ratio of the target white chromaticity coordinates to the red, green, blue three primary colours in the white picture To realize white balance calibration.
Further, based on the rgb chrominance space matrix to the gain register value in preset range traversed with Choosing the step of satisfaction presets the target white chromaticity coordinates of white balance conditions includes:
Based on additive color principle and according to the rgb chrominance space matrixIt obtains Component Matrices of the red, green, blue three primary colours component under RGB coordinate systemWherein, [Rr Gr Br] red chromaticity coordinates of the red picture under RGB coordinate system is represented, [Rg Gg Bg] represents green picture in RGB coordinate system Under green chromaticity coordinates, [Rb Gb Bb] represents blue chromaticity coordinates of the blue picture under RGB coordinate system, [Rw Gw Bw] represent Target white chromaticity coordinates of the white picture being calculated based on collected xyz chrominance space matrix under RGB coordinate system;
Based on the rgb chrominance space matrix and the Component Matrices, by formulaAnd formulaIt substitutes into public FormulaAnd the gain register value is traversed within a preset range, wherein r, g, b generation respectively Table red, the value of green and blue three primary colours, T represent the value of gain register, and it is bright under XYZ coordinate that Lv represents white picture Degree;
The target white chromaticity coordinates (x, y) for meeting default white balance conditions is chosen from traversing result.
Further, the red picture, green picture, blue picture and white picture are that display equipment is shown 100% red picture, 100% green picture, 100% blue picture and 100% white picture.
Further, the method also includes:
The corresponding white chromaticity coordinates of white picture is obtained, and analyzes whether the white chromaticity coordinates meets default white balance item Part, wherein the white chromaticity coordinates is to be analyzed to obtain to white picture is collected based on XYZ coordinate system;
It is based on XYZ coordinate system if it is not, then executing, collected red picture, green picture, blue picture and white are drawn Analyzed the step of obtaining xyz chrominance space matrix in face.
Further, the method also includes:
It obtains display device temperature and judges whether the temperature reaches preset value, and held when the temperature reaches preset value Row obtains the step of white picture corresponding white chromaticity coordinates.
Further, before the step of obtaining xyz chrominance space matrix, the method also includes:
Driving instruction is sent to drive the measuring device to be initialized to measuring device and acquire display picture.
Present pre-ferred embodiments also provide a kind of white balance calibration device, and described device includes:
Module is obtained, for obtaining xyz chrominance space matrix, which is based on XYZ coordinate system to adopting Red picture, green picture, blue picture and the white picture collected is analyzed to obtain;
Space conversion module, for being the rgb chrominance space under RGB coordinate system by the xyz chrominance space matrix conversion Matrix;
Parameter traversals module, for based on the rgb chrominance space matrix to the gain register value in preset range into Row traversal is to choose the target white chromaticity coordinates for meeting default white balance conditions;
Ratio adjust module, for according to the target white chromaticity coordinates to three base of red, green, blue in the white picture The ratio of color is adjusted to realize white balance calibration.
Further, the parameter traversals module includes:
Computing unit, for based on additive color principle and according to the rgb chrominance space matrix Obtain Component Matrices of the red, green, blue three primary colours component under RGB coordinate systemWherein, [Rr Gr Br] represents red chromaticity coordinates of the red picture under RGB coordinate system, and [Rg Gg Bg] represents green picture and sit in RGB Green chromaticity coordinates under mark system, [Rb Gb Bb] represents blue chromaticity coordinates of the blue picture under RGB coordinate system, [Rw Gw Bw] Target white color of the white picture being calculated based on collected xyz chrominance space matrix under RGB coordinate system is represented to sit Mark;
Traversal Unit, for being based on the rgb chrominance space matrix and the Component Matrices, by formulaAnd formulaSubstitute into formulaAnd the gain register value is traversed within a preset range, wherein r, g, b are respectively represented Red, green and blue three primary colours values, T represent the value of gain register, and it is bright under XYZ coordinate that Lv represents white picture Degree;
Coordinate selection unit, for choosing the target white chromaticity coordinates for meeting default white balance conditions from traversing result (x,y)。
Present pre-ferred embodiments also provide a kind of white balance calibration system, and the white balance calibration system includes that measurement is set Standby and display equipment;
The display equipment is for being displayed in red picture, green picture, blue picture and white picture;
The measuring device is used to obtain red picture, green picture, blue picture and the white that the display equipment is shown Picture, and the red picture, green picture, blue picture and white picture are analyzed to generate xyz based on XYZ coordinate system Chrominance space matrix;
The display equipment is used to receive the xyz chrominance space matrix that the measuring device is sent, and the xyz coloration is empty Between matrix conversion be RGB coordinate system under rgb chrominance space matrix;
The display equipment be also used to based on the rgb chrominance space matrix to the gain register value in preset range into Row traversal is to choose the target white chromaticity coordinates for meeting default white balance conditions;
According to ratio of the target white chromaticity coordinates to the red, green, blue three primary colours in the white picture be adjusted with Realize white balance calibration.
Further, the display equipment is also used to send driving instruction to the measuring device to drive the measuring device It is initialized;
The measuring device is used to acquire the display picture of the display equipment after the completion of initialization and is sent to described Show equipment.
The embodiment of the present invention provides a kind of white balance calibration methods, devices and systems, wherein based on to display equipment show Show the analysis result of picture realize traversal to gain register value to obtain the target white chromaticity coordinates for meeting white balance conditions, And the ratio of the red, green, blue three primary colours in white picture is adjusted according to target white chromaticity coordinates realization and reaches white flat Weighing apparatus calibration, the problems such as can effectively ensure that the stability and uniformity of white balance calibration result, be less prone to picture colour cast.Meanwhile Present invention also avoids the system maker of display equipment when carrying out white balance calibration to it to other display device producers It relies on, so that the white balance calibration of display equipment has independence and flexibility.
In addition, for different type, the display equipment of different model, the white balance calibration method, apparatus that the present invention provides There is stronger universality with system, and realize simply, calibrate at low cost, calibration accuracy height.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the frame structure schematic diagram of white balance calibration system provided in an embodiment of the present invention.
Fig. 2 is the frame structure schematic diagram that equipment is shown shown in Fig. 1.
Fig. 3 is another frame structure schematic diagram of white balance calibration system provided in an embodiment of the present invention.
Fig. 4 is the flow diagram of white balance calibration method provided in an embodiment of the present invention.
Fig. 5 is the frame structure schematic diagram of white balance calibration device provided in an embodiment of the present invention.
Icon: 10- white balance calibration system;20- shows equipment;200- white balance calibration device;210- data acquisition mould Block;220- space conversion module;230- parameter traversals module;240- ratio adjusts module;300- memory;400- storage control Device;500- processor;30- measuring device;40-PC machine;50- keyboard.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without creative efforts belongs to the model that the present invention protects It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
As shown in Figure 1, be a kind of frame structure schematic diagram of white balance calibration system 10 provided in an embodiment of the present invention, it should White balance calibration system 10 includes the measuring device 30 for showing equipment 20 and connecting with the display equipment 20.Wherein, the display It equipment 20 and can pass through between the measuring device 30, but be not limited to USB and turn Serial Port Line connection.
Compared with prior art, the display equipment 20 can directly control the measuring device 30 and carry out the numbers such as display picture According to acquisition and transmission, without by PC (personal computer, personal computer) machine as the display equipment 20 With the mode of the intermediary of the measuring device 30, system architecture is simplified, improves the real-time in data exchange process.Example Such as, in the present embodiment, the display equipment 20 can realize the control etc. to the measuring device 30 by micro- throwing software etc..
Optionally, as shown in Fig. 2, the display equipment 20 includes white balance calibration device 200, memory 300, storage control Device 400 and processor 500 processed.Specifically, the memory 300, storage control 400, each element of processor 500 mutually it Between be directly or indirectly electrically connected, to realize the transmission or interaction of data.For example, passing through one or more between these elements Communication bus or signal wire, which are realized, to be electrically connected.The white balance calibration device 200 includes at least one can be with software or firmware Form be stored in the memory 300 or be solidificated in it is described display equipment 20 operating system in software function module. The processor 500 accesses the memory 300 under the control of the storage control 400, for executing the storage The executable module stored in device 300, such as software function module and computer included by the white balance calibration device 200 Program etc..Optionally, the display equipment 20 may be, but not limited to, television set, projector, DVD, PSP, computer etc..
Herein it should be appreciated that structure shown in FIG. 1 is only to illustrate.The display equipment 20 can have than shown in Fig. 1 more More perhaps less component or with the configuration different from shown in Fig. 1.Wherein, each component shown in FIG. 1 can by software, Hardware or a combination thereof is realized.
In addition, the measuring device 30 may be, but not limited to, illumination photometer, colour temperature instrument, colour temperature illumination photometer etc., actual implementation When, the measuring device 30 can flexibly be chosen according to the concrete type of the display equipment 20, for example, when the display is set Standby 20 when being projector, and the measuring device 30 can be illumination photometer, when the display equipment 20 is television set, the measurement Equipment 30 can be with colour temperature instrument etc., and the present embodiment is not particularly limited herein.
Optionally, in addition to it is above-mentioned provide by measuring device 30 with display equipment 20 know between directly interact realize pair Outside the white balance calibration of the display equipment 20, as shown in figure 3, in the actual implementation process, difference according to the actual situation can also Controls are waited to show that equipment 20 carries out corresponding data processing etc. by the keyboard 50 connected with the display equipment 20, the present embodiment Herein with no restrictions.
Further, as shown in figure 4, being that the process of a kind of white balance calibration method that present pre-ferred embodiments provide is shown It is intended to.The white balance calibration method is applied to display equipment 20 shown in FIG. 1.Below in conjunction with Fig. 4 to the white balance school The detailed process and step of quasi- method are described in detail.It should be noted that data interactive method of the present invention is not It is limitation with Fig. 3 and specific order as described below.It should be appreciated that data interactive method part step of the present invention Rapid sequence can be exchanged with each other according to actual needs or part steps therein also can be omitted or delete.
Step S210: it obtains display device temperature and judges whether the temperature reaches preset value, and reach in the temperature The step of obtaining white picture corresponding white chromaticity coordinates is executed when preset value.
It, can be further by carrying out white balance calibration again when showing that device temperature reaches preset value in the present embodiment Ensure white balance calibration effect.It is described aobvious herein it should be understood that carrying out the difference of the display equipment 20 of white balance calibration as needed Show that the definition of device temperature is also different, for example, the display device temperature can be when the display equipment 20 is projector The temperature of ray machine inside projector, and the temperature of the ray machine can be obtained by being set to the temperature sensor inside the projector It takes, for another example, when the display equipment 20 is television set, computer etc., the display device temperature can be display screen temperature, and It can be obtained by external temperature measurement device measurement, the present embodiment is not particularly limited herein.
In addition, the preset value can carry out flexible setting, this implementation according to model, the difference of classification of display equipment 20 Example is not particularly limited herein.
Herein it should be understood that in addition to above-mentioned display equipment 20 directly acquires the temperature of itself and when temperature reaches preset value Start except blank level adjustment.It, can also be by the PC machine that is connect with the display equipment 20 referring to Fig. 3, in actual implementation 40 equal realizations, for example, being equipped with PC tool software in PC machine 40, which can pass through serial ports and instruct acquisition display equipment 20 display device temperature, and control projector when temperature reaches preset value and start white balance calibration program.
Step S220: it sends driving instruction and drives the measuring device 30 to be initialized to measuring device 30 and acquire aobvious Show picture.
Specifically, the white balance calibration system 10 provided based on the present embodiment carries out white balance in the display equipment 20 When detection or calibration, the measuring device 30 can be directly driven by the display equipment 20 and realizes initialization, and in the survey Amount equipment 30 realizes corresponding data acquisition after initializing successfully, and measuring device 30 directly passes after collecting corresponding data It is defeated by display equipment 20 to be handled, without carrying out data relay and processing by PC machine 40, so as to effectively save display The calibration cost of the system maker of equipment 20, reduces the system complexity of white balance calibration system 10, while improving at data Reason and interactive efficiency.
In addition, white flat by showing the data interaction between equipment 20 and measuring device 30 and handling realization in the present embodiment Weighing apparatus calibration avoids the interface or display device producer firmware for needing heavy dependence such as digital light processing chip factory in the prior art The problem of layout, may be implemented different chips and different display devices technical solution it is shared save cost without variation, can be with For the use of projector complete system plant.
Step S230: xyz chrominance space matrix is obtained.
In the present embodiment, the xyz chrominance space matrix is that the measuring device 30 is based on XYZ coordinate system to collecting The red, green, blue and white picture of the display equipment 20 handled to obtain.It should be understood that the XYZ coordinate system is 1931 by CIE The coordinate system that ((Commission Internationale de L'Eclairage), International Commission on Illumination) formulates.
Specifically, it is assumed that the display equipment 20 is projector, and the measuring device 30 is illumination photometer, then in the throwing When shadow instrument needs to carry out white balance calibration, the projector is displayed in red picture, green picture, blue picture and white and draws Face, and the illumination photometer acquires the red picture, green picture, blue picture and white picture and based on XYZ coordinate system to it It is analyzed, to obtain such as formulaShown in xyz chrominance space matrix, wherein (xr, yr, Lvr) table Show that red chromaticity coordinates of the red picture under XYZ coordinate system, (xg, yg, Lvg) indicate that green picture is green under XYZ coordinate system Color chromaticity coordinates, (xb, yb, Lvb) indicate that blue chromaticity coordinates of the blue picture under XYZ coordinate system, (xw, yw, Lvw) indicate white White chromaticity coordinates of the picture under XYZ coordinate system.
Optionally, in order to further ensure that white balance calibration effect, the red picture, green picture, blue picture and White picture be preferably the display equipment 20 show 100% red picture, 100% green picture, 100% blue picture and 100% white picture.
Step S240: being the rgb chrominance space matrix under RGB coordinate system by the xyz chrominance space matrix conversion.
Wherein, the RGB coordinate system is the coordinate system that CIE in 1931 is formulated.By the xyz chrominance space matrix conversion Specifically step when for rgb chrominance space matrix can be the xyz chrominance space matrix obtained based on above-mentioned steps S230And apply formulaAnd formulaIt realizes, to obtain rgb chrominance space matrix
Step S250: based on the rgb chrominance space matrix to the gain register value in preset range traversed with Choose the target white chromaticity coordinates for meeting default white balance conditions.In detail, in the present embodiment, the step S250 include with Lower step.
Sub-step S2500: based on additive color principle and according to the rgb chrominance space matrixObtain Component Matrices of the red, green, blue three primary colours component under RGB coordinate systemWherein, [Rr Gr Br] represents red color of the red picture under RGB coordinate system and sits Mark, [Rg Gg Bg] represent green chromaticity coordinates of the green picture under RGB coordinate system, and [Rb Gb Bb] represents blue picture and exist Blue chromaticity coordinates under RGB coordinate system, [Rw Gw Bw] representative are calculated white based on collected xyz chrominance space matrix Target white chromaticity coordinates of the color picture under RGB coordinate system;
Sub-step S2510: the rgb chrominance space matrix and the Component Matrices are based on, by formulaAnd formulaSubstitute into formulaAnd the gain register value is traversed within a preset range, wherein r, g, b generation respectively Table red, the value of green and blue three primary colours, T represent the value of gain register, and it is bright under XYZ coordinate that Lv represents white picture Degree;
Sub-step S2520: the target white chromaticity coordinates (x, y) for meeting default white balance conditions is chosen from traversing result.
In above-mentioned sub-step S2500- sub-step S2520,In T be gain register value, and the increasing Beneficial register value can flexibly be set according to actual needs, for example, being based on the rgb chrominance space square in the present embodiment When battle array traverses the gain register value in preset range, the preset range of T can be 0~255.In addition, in practical meter During calculation, formulaIt can applyIt carries out It is corresponding to calculate.
It is further noted that chosen according to traversing result meet default white balance conditions target white chromaticity coordinates (x, Y) or when (x, y, Lv), the default white balance conditions may be, but not limited to, international standard or voluntarily make according to actual needs It is fixed etc..
Step S260: according to the target white chromaticity coordinates to the ratio of the red, green, blue three primary colours in the white picture It is adjusted to realize white balance calibration.
In the present embodiment, when S230 through the above steps to step S260 carries out white balance calibration, it is directly right to can be The white balance of display equipment 20 is calibrated, and is also possible to detecting that it is pre- that the white picture of the display equipment 20 display is not met If when white balance conditions, then being calibrated to it.For example, display equipment 20 obtains white first before carrying out white balance calibration The corresponding white chromaticity coordinates of color picture, and analyze whether the white chromaticity coordinates meets default white balance conditions, if it is not, then executing step Rapid S230.Wherein, the white chromaticity coordinates is that measuring device 30 analyze to white picture is collected based on XYZ coordinate system It arrives.
Optionally, white balance calibration is carried out according to the white balance calibration method provided in the present embodiment, either aobvious It is completed before showing the product exports such as equipment 20, is also possible to either be occurred in product use process according to client's self-demand white Autonomous calibration is carried out by client when dysequilibrium to realize.In addition, in actual implementation, it is almost the same for same batch or parameter Product, obtained calibration parameter, realizes the school to multiple products when can be according to white balance calibration to some product Standard etc., the present embodiment is herein with no restrictions.
Further, through the above steps the description of S210- step S260, it is apparent that being provided in the present embodiment To in the white balance calibration method of display equipment 20, all processing, control, adjustment process are by the display equipment 20 (chip being integrated in display equipment 20) is completed, such as is obtained to the control of measuring device 30, based on xyz chrominance space matrix Meet the data processing of the target white chromaticity coordinates of default white balance conditions, its inside is controlled according to the target white chromaticity coordinates Red, green, blue and white signal generator adjusts and generates the process etc. of certain proportion R-G-B signals.In addition, to three base of red, green, blue During the ratio adjustment of color, the present embodiment obtains the data for acquiring equipment acquisition without repeating, but passes through measuring device 30 In the cycle calculations such as processing chip find out the target white chromaticity coordinates for meeting default white balance conditions, therefore, compared to Prover time can be greatly shortened in the prior art, the white balance calibration method provided in the present embodiment, improve calibration efficiency, protect Demonstrate,prove calibration accuracy.
Further, based on the description to above-mentioned white balance calibration method, the embodiment of the present invention also provides a kind of readable deposit Storage media is stored with computer program on the readable storage medium storing program for executing, and the computer program is realized described above when being executed Step in white balance calibration method, the specific sequence for executing step, the present embodiment is herein with no restrictions.
Further, referring to Fig. 5, to be provided in an embodiment of the present invention applied to the white of display equipment 20 shown in FIG. 1 Balance correction device 200, the white balance calibration device 200 include data acquisition module 210, space conversion module 220, parameter time Go through module 230 and ratio adjustment module 240.
The data acquisition module 210, for obtaining xyz chrominance space matrix, which is to be based on XYZ coordinate system is analyzed to obtain to collected red picture, green picture, blue picture and white picture;The present embodiment In, the description as described in the data acquisition module 210 specifically refers to the detailed description to step S230 shown in Fig. 4, That is, the step S230 can be executed by the data acquisition module 210.
The space conversion module 220, for being the rgb color under RGB coordinate system by the xyz chrominance space matrix conversion Spend space matrix;In the present embodiment, the description as described in the space conversion module 220 is specifically referred to step shown in Fig. 4 The detailed description of rapid S240, that is, the step S240 can be executed by the space conversion module 220.
The parameter traversals module 230, for being deposited based on the rgb chrominance space matrix to the gain in preset range Device value is traversed to choose the target white chromaticity coordinates for meeting default white balance conditions;In the present embodiment, about the parameter The description of spider module 230 specifically refers to the detailed description to step S250 shown in Fig. 4, that is, the step S250 It can be executed by the parameter traversals module 230.Optionally, in the present embodiment, the parameter traversals module 230 includes calculating list Member, Traversal Unit and coordinate selection unit.
The computing unit, for based on additive color principle and according to the rgb chrominance space matrixObtain Component Matrices of the red, green, blue three primary colours component under RGB coordinate systemWherein, [Rr Gr Br] represents red color of the red picture under RGB coordinate system and sits Mark, [Rg Gg Bg] represent green chromaticity coordinates of the green picture under RGB coordinate system, and [Rb Gb Bb] represents blue picture and exist Blue chromaticity coordinates under RGB coordinate system, [Rw Gw Bw] representative are calculated white based on collected xyz chrominance space matrix Target white chromaticity coordinates of the color picture under RGB coordinate system;In the present embodiment, description can specifically be joined as described in the computing unit The detailed description of above-mentioned steps S2500 is examined, that is, the step S2500 can be executed by the computing unit.
The Traversal Unit, for being based on the rgb chrominance space matrix and the Component Matrices, by formulaAnd formulaSubstitute into formulaAnd the gain register value is traversed within a preset range, wherein r, g, b are respectively represented Red, green and blue three primary colours values, T represent the value of gain register, and it is bright under XYZ coordinate that Lv represents white picture Degree;In the present embodiment, the description as described in the Traversal Unit specifically refers to the detailed description of above-mentioned steps S2510, that is, institute Stating step S2510 can be executed by the Traversal Unit.
The coordinate selection unit, for choosing the target white color seat for meeting default white balance conditions from traversing result It marks (x, y).In the present embodiment, the description as described in the coordinate selection unit specifically refers to retouching in detail for above-mentioned steps S2520 It states, that is, the step S2520 can be executed by the coordinate selection unit.
The ratio adjusts module 240, for according to the target white chromaticity coordinates in the white picture it is red, The ratio of green, blue three primary colours is adjusted to realize white balance calibration.In the present embodiment, module 240 is adjusted about the ratio Description specifically refer to the detailed description to step S260 shown in Fig. 4, that is, the step S260 can be by the ratio Example adjustment module 240 executes.
In conclusion the embodiment of the present invention provides a kind of white balance calibration methods, devices and systems, wherein based on to aobvious Show that the analysis result of the display picture of equipment 20 realizes the traversal to gain register value to obtain the mesh for meeting white balance conditions White chromaticity coordinates is marked, and is realized according to the target white chromaticity coordinates and the ratio of the red, green, blue three primary colours in white picture is carried out Adjustment reaches white balance calibration, can effectively ensure that the stability and uniformity of white balance calibration result, is less prone to picture colour cast The problems such as.Meanwhile present invention also avoids display equipment 20 system maker when carrying out white balance calibration to it to other The dependence of display device producer, so that the white balance calibration of display equipment 20 has independence and flexibility.
In addition, for different type, the display equipment 20 of different model, white balance calibration method that the present invention provides, dress Setting has stronger universality with system, and realizes simply, calibrates at low cost, calibration accuracy height.
In several embodiments provided by the embodiment of the present invention, it should be understood that disclosed method and apparatus, it can also To realize by another way.System and method embodiment described above is only schematical, for example, in attached drawing Flow chart and block diagram show that the systems of multiple embodiments according to the present invention, method and computer program product are able to achieve Architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a program A part of section or code, a part of the module, section or code include that one or more is patrolled for realizing defined Collect the executable instruction of function.It should also be noted that in some implementations as replacement, function marked in the box It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, electronic equipment or network equipment etc.) execute all or part of step of each embodiment the method for the present invention Suddenly.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), deposits at random The various media that can store program code such as access to memory (RAM, Random Access Memory), magnetic or disk. It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of white balance calibration method, which is characterized in that the described method includes:
Obtain xyz chrominance space matrix, which is based on XYZ coordinate system to collected red picture, green Color picture, blue picture and white picture are analyzed to obtain;
By the rgb chrominance space matrix that the xyz chrominance space matrix conversion is under RGB coordinate system;
Based on the rgb chrominance space matrix to the gain register value in preset range traversed with choose meet preset it is white The target white chromaticity coordinates of equilibrium condition;
It is adjusted according to ratio of the target white chromaticity coordinates to the red, green, blue three primary colours in the white picture with reality Existing white balance calibration.
2. white balance calibration method according to claim 1, which is characterized in that be based on the rgb chrominance space matrix pair Gain register value in preset range is traversed to choose the step for the target white chromaticity coordinates for meeting default white balance conditions Suddenly include:
Based on additive color principle and according to the rgb chrominance space matrixObtain it is red, green, Component Matrices of the blue three primary colours component under RGB coordinate systemWherein, [Rr Gr Br] Red chromaticity coordinates of the red picture under RGB coordinate system is represented, it is green under RGB coordinate system that [Rg Gg Bg] represents green picture Color chromaticity coordinates, [Rb Gb Bb] represent blue chromaticity coordinates of the blue picture under RGB coordinate system, and [Rw Gw Bw], which is represented, to be based on adopting Target white chromaticity coordinates of the white picture that the xyz chrominance space matrix collected is calculated under RGB coordinate system;
Based on the rgb chrominance space matrix and the Component Matrices, by formula And formula Substitute into formulaAnd the gain register value is traversed within a preset range, wherein r, g, b Red, green and blue three primary colours values are respectively represented, T represents the value of gain register, and Lv represents white picture in XYZ coordinate Under brightness;
The target white chromaticity coordinates (x, y) for meeting default white balance conditions is chosen from traversing result.
3. white balance calibration method according to claim 1, which is characterized in that the red picture, green picture, blue Picture and white picture be show equipment show 100% red picture, 100% green picture, 100% blue picture and 100% white picture.
4. white balance calibration method according to claim 1, which is characterized in that the method also includes:
The corresponding white chromaticity coordinates of white picture is obtained, and analyzes whether the white chromaticity coordinates meets default white balance conditions, In, the white chromaticity coordinates is to be analyzed to obtain to white picture is collected based on XYZ coordinate system;
Be based on XYZ coordinate system if it is not, then executing, to collected red picture, green picture, blue picture and white picture into The step of row analysis obtains xyz chrominance space matrix.
5. white balance calibration method according to claim 4, which is characterized in that the method also includes:
It obtains display device temperature and judges whether the temperature reaches preset value, and execute and obtain when the temperature reaches preset value The step of extracting waste picture corresponding white chromaticity coordinates.
6. white balance calibration method according to claim 1, which is characterized in that in the step for obtaining xyz chrominance space matrix Before rapid, the method also includes:
Driving instruction is sent to drive the measuring device to be initialized to measuring device and acquire display picture.
7. a kind of white balance calibration device, which is characterized in that described device includes:
Module is obtained, for obtaining xyz chrominance space matrix, which is based on XYZ coordinate system to collecting Red picture, green picture, blue picture and white picture analyzed to obtain;
Space conversion module, for being the rgb chrominance space matrix under RGB coordinate system by the xyz chrominance space matrix conversion;
Parameter traversals module, for based on the rgb chrominance space matrix in preset range gain register value carry out time It goes through to choose the target white chromaticity coordinates for meeting default white balance conditions;
Ratio adjust module, for according to the target white chromaticity coordinates to the red, green, blue three primary colours in the white picture Ratio is adjusted to realize white balance calibration.
8. white balance calibration device according to claim 7, which is characterized in that the parameter traversals module includes:
Computing unit, for based on additive color principle and according to the rgb chrominance space matrixObtain Component Matrices of the red, green, blue three primary colours component under RGB coordinate systemWherein, [Rr Gr Br] represents red color of the red picture under RGB coordinate system Coordinate, [Rg Gg Bg] represent green chromaticity coordinates of the green picture under RGB coordinate system, and [Rb Gb Bb] represents blue picture and exist Blue chromaticity coordinates under RGB coordinate system, [Rw Gw Bw] representative are calculated white based on collected xyz chrominance space matrix Target white chromaticity coordinates of the color picture under RGB coordinate system;
Traversal Unit, for being based on the rgb chrominance space matrix and the Component Matrices, by formulaAnd formulaIt substitutes into public FormulaAnd the gain register value is traversed within a preset range, wherein r, g, b generation respectively Table red, the value of green and blue three primary colours, T represent the value of gain register, and it is bright under XYZ coordinate that Lv represents white picture Degree;
Coordinate selection unit, for choosing the target white chromaticity coordinates (x, y) for meeting default white balance conditions from traversing result.
9. a kind of white balance calibration system, which is characterized in that the white balance calibration system includes measuring device and display equipment;
The display equipment is for being displayed in red picture, green picture, blue picture and white picture;
The measuring device is used to obtain red picture, green picture, blue picture and the white picture that the display equipment is shown, And the red picture, green picture, blue picture and white picture are analyzed to generate xyz coloration based on XYZ coordinate system Space matrix;
The display equipment is used to receive the xyz chrominance space matrix that the measuring device is sent, and by the xyz chrominance space square Battle array is converted to the rgb chrominance space matrix under RGB coordinate system;
The display equipment is also used to based on the rgb chrominance space matrix to the gain register value progress time in preset range It goes through to choose the target white chromaticity coordinates for meeting default white balance conditions;
It is adjusted according to ratio of the target white chromaticity coordinates to the red, green, blue three primary colours in the white picture to realize White balance calibration.
10. white balance calibration system according to claim 9, which is characterized in that
The display equipment is also used to send driving instruction to the measuring device to drive the measuring device to be initialized;
The measuring device is used to acquire the display picture of the display equipment after the completion of initialization and is sent to the display Equipment.
CN201711107605.0A 2017-11-10 2017-11-10 White balance calibration methods, devices and systems Active CN107659811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711107605.0A CN107659811B (en) 2017-11-10 2017-11-10 White balance calibration methods, devices and systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711107605.0A CN107659811B (en) 2017-11-10 2017-11-10 White balance calibration methods, devices and systems

Publications (2)

Publication Number Publication Date
CN107659811A CN107659811A (en) 2018-02-02
CN107659811B true CN107659811B (en) 2019-07-12

Family

ID=61120318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711107605.0A Active CN107659811B (en) 2017-11-10 2017-11-10 White balance calibration methods, devices and systems

Country Status (1)

Country Link
CN (1) CN107659811B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108426186B (en) * 2018-03-14 2020-05-22 调调(北京)科技有限公司 Lamp color calibration method and device and electronic equipment
CN109067563B (en) * 2018-06-28 2021-06-18 瑞芯微电子股份有限公司 Self-adaptive adjustment method and system for Ethernet parameters
CN109410874B (en) * 2018-12-17 2021-04-23 惠科股份有限公司 Method and device for converting three-color data into four-color data
CN109903735B (en) * 2019-01-29 2021-01-22 广州视源电子科技股份有限公司 Display calibration method, device, system, computer equipment and storage medium
CN110491348A (en) * 2019-07-31 2019-11-22 惠州市德赛西威汽车电子股份有限公司 A kind of display screen white balance adjusting method and its system
CN114999414A (en) * 2022-04-21 2022-09-02 华兴源创(成都)科技有限公司 Display compensation method, computer device, and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193319A (en) * 2006-11-29 2008-06-04 帆宣系统科技股份有限公司 Gain decision method and device for gray-level white balance of display device
CN104599652A (en) * 2015-01-21 2015-05-06 深圳市金锐显数码科技有限公司 Terminal screen white balance correcting method and device
CN104730823A (en) * 2015-01-28 2015-06-24 南靖万利达科技有限公司 White balance adjustment device and method suitable for DLP projector
CN104751756A (en) * 2015-04-23 2015-07-01 京东方科技集团股份有限公司 Display device and method and device for optical adjustment of display panel

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006129456A (en) * 2004-10-01 2006-05-18 Canon Inc Correction data setting method and manufacturing method of image display apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193319A (en) * 2006-11-29 2008-06-04 帆宣系统科技股份有限公司 Gain decision method and device for gray-level white balance of display device
CN104599652A (en) * 2015-01-21 2015-05-06 深圳市金锐显数码科技有限公司 Terminal screen white balance correcting method and device
CN104730823A (en) * 2015-01-28 2015-06-24 南靖万利达科技有限公司 White balance adjustment device and method suitable for DLP projector
CN104751756A (en) * 2015-04-23 2015-07-01 京东方科技集团股份有限公司 Display device and method and device for optical adjustment of display panel

Also Published As

Publication number Publication date
CN107659811A (en) 2018-02-02

Similar Documents

Publication Publication Date Title
CN107659811B (en) White balance calibration methods, devices and systems
CN106373523B (en) Spliced bright and dark line compensation method
CN100596206C (en) Projector color correcting method
CN104882098B (en) Method for correcting image and imaging sensor based on LED mosaic display screens
CN102005181B (en) Standard dot matrix light source and image point correction method of LED display screen
CN106531060B (en) The bearing calibration of LED display bright chroma and device
CN102026003B (en) Method for correcting colors of multi-screen splicing wall
KR100881028B1 (en) Apparatus and method for calibration of gray data
JP5430254B2 (en) Image display apparatus and control method thereof
CN108604133A (en) The improvement that image is formed
CN106023886A (en) LED point-by-point brightness color scale correcting method and system
CN110660352B (en) Point-to-point correction method, device and system for LED display screen and storage medium
CN108074517A (en) Pointwise correction method
CN110322830B (en) LED screen brightness correction method and device
CN105578166A (en) Color temperature determination method and device
CN109459136B (en) Method and device for measuring chromaticity
CN104933706B (en) A kind of imaging system color information scaling method
JP2011145661A (en) Image display apparatus, information processing device and method of controlling the same, and program
CN112185301B (en) Display device correction method and device and processor
CN105976743A (en) Display screen self provided with display calibration function
CN104486609A (en) Color temperature and GAMMA curve tuning and measuring integrated machine-by-machine correction flow
CN111179801B (en) Color space adjustment method, device and system of display panel
CN115841794A (en) OLED display screen detection method and device, display image processing method and equipment
CN1708098A (en) Apparatus and method of detecting color gamut in color device and calculating color space inverse transform function
JP2010139324A (en) Color irregularity measuring method and color irregularity measuring device

Legal Events

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