CN106713886B - White balance adjustment device and white balance adjustment method - Google Patents

White balance adjustment device and white balance adjustment method Download PDF

Info

Publication number
CN106713886B
CN106713886B CN201611187276.0A CN201611187276A CN106713886B CN 106713886 B CN106713886 B CN 106713886B CN 201611187276 A CN201611187276 A CN 201611187276A CN 106713886 B CN106713886 B CN 106713886B
Authority
CN
China
Prior art keywords
white balance
monochrome
picture
standard
data
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
CN201611187276.0A
Other languages
Chinese (zh)
Other versions
CN106713886A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201611187276.0A priority Critical patent/CN106713886B/en
Publication of CN106713886A publication Critical patent/CN106713886A/en
Application granted granted Critical
Publication of CN106713886B publication Critical patent/CN106713886B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths

Abstract

The invention discloses a kind of white balance adjustment device and white balance adjustment method, white balance adjustment device includes:N grayscale signal pictures and three standard monochrome signal pictures of white balance adjustment device are obtained, and acquires N and opens the white balance data of grayscale signal picture and the white balance data of brightness data and three standard monochrome signal pictures;According to the brightness data of every grayscale signal picture, the chromaticity coordinates of chromaticity coordinates and three standard monochrome signal pictures, the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture is derived;According to interpolation algorithm, the N group monochromatic brightness parameter items of all grayscale signal pictures and the preset standard white balance data of white balance adjustment device and standard gamma values, calculates and generate one group of monochrome aim curve;According to the white balance data of monochromatic aim curve and gamma values, it is arranged and executes new white balance data and gamma values.The present invention can be directed to a wide range of color range signal and carry out blank level adjustment.

Description

White balance adjustment device and white balance adjustment method
Technical field
The present invention relates to blank level adjustment technical field more particularly to a kind of white balance adjustment device and blank level adjustment sides Method.
Background technology
Equipment to be adjusted image quality processing in, scene, personage in order to precise restoration picture, reach color it is true to nature, High image quality quality, crucial basis is the suitable standard white of selection, while ensureing the colour temperature and white balance of white balance adjustment device Control is in the reasonable scope.And the colour temperature and white balance of equipment to be adjusted are influenced by its back light system, manufacture craft, material etc., Even with a batch of product, also there is the problem of colour temperature, white balance discreteness.If not carrying out blank level adjustment to it, sternly Ghost image ring equipment to be adjusted image quality performance, while the image quality of product also can Chinese pennisetum green bristlegrass it is uneven.
Currently, traditional white balance debugging method, is all the rule for following Approach by inchmeal:Step 1:Data acquisition equipment The white balance data for acquiring TV current state, reaches white balance white balance adjustment device;Step 2:By with blank level adjustment The normal data that device prestores carries out data comparison, if the white balance data of acquisition is undesirable, provides corresponding offset Amount, reaches equipment core to be adjusted by means of communication, waits for that equipment core to be adjusted adjusts, return to step one;If meeting the requirements, Then terminate to debug.
Debugging methodis has the following problems:The acquisition of cycle progress data, data transmission, data are needed repeatedly to compare Judge, data point reuse, until reaching target white balance;And above step can only once be directed to some color range signal and carry out Adjustment, can not adjust the white balance of a wide range of signal (16 to 235 rank), regulated efficiency is low simultaneously.
Invention content
The main purpose of the present invention is to provide a kind of white balance adjustment device and white balance adjustment methods, it is intended to solve white Balance adjusting device can only be adjusted for single color range signal during blank level adjustment, lead to not adjust big model The technical issues of enclosing the white balance of color range signal.
To achieve the above object, the embodiment of the present invention provides a kind of white balance adjustment device, the white balance adjustment device Including:
Acquisition module is obtained, the N grayscale signal pictures for obtaining white balance adjustment device and three standard monochrome letters Number picture, and acquire N grayscale signal pictures white balance data and brightness data and three standard monochrome signal pictures it is white Equilibrium criterion, wherein N>1 and N is positive integer, and the white balance data includes the chromaticity coordinates of coloration;
Feature derivation module, for according to the brightness data of every grayscale signal picture, chromaticity coordinates and three standard lists The chromaticity coordinates of chrominance signal picture, derives the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture, and one of which is monochromatic Luminance parameter item includes red primary luminance parameter item, green primary luminance parameter item and blue primary luminance parameter item;
Aim curve generation module, for the N group monochromatic brightness parameter items according to interpolation algorithm, all grayscale signal pictures And the preset standard white balance data of white balance adjustment device and standard gamma values, it calculates and to generate one group of monochrome target bent Line, one of which monochrome aim curve include red primary aim curve, green primary aim curve and blue primary aim curve;
Parameter setting module is arranged and executes new for the white balance data and gamma values according to monochromatic aim curve White balance data and gamma values.
Optionally, the white balance data further includes red primary yield value, green primary yield value, blue primary yield value, institute It is all consistent to state the red primary yield value of white balance data, green primary yield value and blue primary yield value in every grayscale picture, and The red primary yield values of the N of acquisition grayscale signal pictures, green primary yield value, blue primary yield value numerical value be evenly distributed on 0~255 signal spacing, and it is rendered as the incremental trend of equal difference.
Optionally, the acquisition acquisition module includes:
Acquiring unit, the grayscale signal picture for obtaining white balance adjustment device and standard monochrome signal picture;
Collecting unit, the white balance data and brightness data for acquiring grayscale signal picture and standard monochrome signal picture White balance data;
Judging unit, for judging whether white balance adjustment device has received N grayscale signal pictures and three standards Monochrome signal picture;
Execution unit detects that white balance adjustment device receives N grayscale signal pictures and three standard lists for working as Chrominance signal picture stops receiving picture, when detecting that white balance adjustment device do not receive N grayscale signal pictures and three marks When quasi- monochrome signal picture, then picture is continued to.
Optionally, the feature derivation module includes:
Setting unit, for being correspondingly arranged one group of monochromatic brightness parameter item, one of which list for every grayscale signal picture Colour brightness parameter item includes red primary luminance parameter item, green primary luminance parameter item and blue primary luminance parameter item;
Equation group unit is built, for according to the brightness data of every grayscale signal picture, chromaticity coordinates, monochromatic brightness parameter The chromaticity coordinates of item and three standard monochrome signal pictures builds equation group;
Derivation unit, for according to the equation group, it is one group corresponding that Derivation goes out every grayscale signal picture Monochromatic brightness parameter item.
Optionally, the aim curve generation module includes:
Array generation unit, for according to the N group luminance parameters item of all grayscale signal pictures, preset standard white balance Data and standard gamma values generate three groups of monochrome arrays, wherein three groups of monochrome arrays include red primary array, green primary array With blue primary array;
Aim curve generation unit, for according to interpolation algorithm and three groups of monochrome arrays, calculating and generating one group of monochrome mesh Mark song line, one of which monochrome aim curve include red primary aim curve, green primary aim curve and blue primary aim curve.
In addition, to achieve the above object, the present invention also provides a kind of white balance adjustment method, the white balance adjustment method Including:
N grayscale signal pictures and three standard monochrome signal pictures of white balance adjustment device are obtained, and acquire N ashes The white balance data of the white balance data and brightness data and three standard monochrome signal pictures of rank signal picture, wherein N>1 and N For positive integer, the white balance data includes the chromaticity coordinates of coloration;
It is sat according to the color of the brightness data of every grayscale signal picture, chromaticity coordinates and three standard monochrome signal pictures Mark derives the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture, and one of which monochromatic brightness parameter item includes red Luminance primary parameter item, green primary luminance parameter item and blue primary luminance parameter item;
It is pre- according to interpolation algorithm, the N group monochromatic brightness parameter items of all grayscale signal pictures and white balance adjustment device If standard white balance data and standard gamma values, calculate and generate one group of monochrome aim curve, one of which monochrome target is bent Line includes red primary aim curve, green primary aim curve and blue primary aim curve;
According to the white balance data of monochromatic aim curve and gamma values, it is arranged and executes new white balance data and gamma Value.
Optionally, the white balance data further includes red primary yield value, green primary yield value, blue primary yield value, institute It is all consistent to state the red primary yield value of white balance data, green primary yield value and blue primary yield value in every grayscale picture, and The red primary yield values of the N of acquisition grayscale signal pictures, green primary yield value, blue primary yield value numerical value be evenly distributed on 0~255 signal spacing, and it is rendered as the incremental trend of equal difference.
Optionally, the N for obtaining white balance adjustment device grayscale signal picture and three standard monochrome signal pictures, And it acquires N and opens the white balance data of grayscale signal picture and the white balance data of brightness data and three standard monochrome signal pictures The step of include:
Obtain the grayscale signal picture and standard monochrome signal picture of white balance adjustment device;
Acquire the white balance data of grayscale signal picture and the white balance data of brightness data and standard monochrome signal picture;
Judge whether white balance adjustment device has received N grayscale signal pictures and three standard monochrome signal pictures;
When detecting that white balance adjustment device receives N grayscale signal picture and three standard monochrome signal pictures, stop Picture is only received, when detecting that white balance adjustment device do not receive N grayscale signal picture and three standard monochrome signal figures When piece, then picture is continued to.
Optionally, described according to the brightness data of every grayscale signal picture, chromaticity coordinates and three standard monochrome signals The chromaticity coordinates of picture, the step of deriving every grayscale signal picture corresponding one group of monochromatic brightness parameter item include:
It is correspondingly arranged one group of monochromatic brightness parameter item, one of which monochromatic brightness parameter item packet for every grayscale signal picture Include red primary luminance parameter item, green primary luminance parameter item and blue primary luminance parameter item;
According to the brightness data of every grayscale signal picture, chromaticity coordinates, monochromatic brightness parameter item and three standard monochromes The chromaticity coordinates of signal picture builds equation group;
According to the equation group, Derivation goes out the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture.
Optionally, described according to interpolation algorithm, the N group monochromatic brightness parameter items of all grayscale signal pictures and white balance The preset standard white balance data of adjusting apparatus and standard gamma values are calculated and are wrapped the step of generating one group of monochrome aim curve It includes:
According to N group luminance parameters item, preset standard white balance data and the standard gamma of all grayscale signal pictures Value generates three groups of monochrome arrays, wherein three groups of monochrome arrays include red primary array, green primary array and blue primary array;
According to interpolation algorithm and three groups of monochrome arrays, one group of monochrome aim curve, one of which monochrome mesh are calculated and generated Mark song line includes red primary aim curve, green primary aim curve and blue primary aim curve.
The present invention obtains N grayscale signal pictures and three standard lists of white balance adjustment device by obtaining acquisition module Chrominance signal picture, and acquire the white balance data and brightness data and three standard monochrome signal pictures of N grayscale signal pictures White balance data;Then feature derivation module is according to the brightness data of every grayscale signal picture, chromaticity coordinates and three marks The chromaticity coordinates of quasi- monochrome signal picture derives the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture;Then target Curve generation module is filled according to interpolation algorithm, the N group monochromatic brightness parameter items of all grayscale signal pictures and blank level adjustment Preset standard white balance data and standard gamma values are set, calculate and generates one group of monochrome aim curve;Mould is arranged in final parameter Root tuber is arranged and executes new white balance data and gamma values according to the white balance data and gamma values of monochromatic aim curve.It is logical Aforesaid way is crossed, white balance adjustment device can fast and effectively adjust white balance data, and ensure each grayscale signal Gamma expands color range signal adjusting range in claimed range, and then realizes white balance adjustment device adjustment color range signal A wide range of covering, improves the regulated efficiency of white balance data.
Description of the drawings
Fig. 1 is the module diagram of white balance adjustment device first embodiment of the present invention;
Fig. 2 is the refinement module schematic diagram that acquisition module is obtained in white balance adjustment device 3rd embodiment of the present invention;
Fig. 3 is the refinement module schematic diagram of feature derivation module in white balance adjustment device fourth embodiment of the present invention;
Fig. 4 is the refinement module signal of aim curve generation module in the 5th embodiment of white balance adjustment device of the present invention Figure;
Fig. 5 is the flow diagram of white balance adjustment method first embodiment of the present invention;
Fig. 6 is the N grayscale that white balance adjustment device is obtained described in white balance adjustment method 3rd embodiment of the present invention Signal picture and three standard monochrome signal pictures, and acquire N grayscale signal pictures white balance data and brightness data and The refinement flow diagram of the step of white balance data of three standard monochrome signal pictures;
Fig. 7 is the brightness number according to every grayscale signal picture described in white balance adjustment method fourth embodiment of the present invention According to, the chromaticity coordinates of chromaticity coordinates and three standard monochrome signal pictures, derive every grayscale signal picture it is corresponding one group it is monochromatic The refinement flow diagram of the step of luminance parameter item;
Fig. 8 is described in the 5th embodiment of white balance adjustment method of the present invention according to interpolation algorithm, all grayscale signal figures The preset standard white balance data of N group monochromatic brightness parameter items and white balance adjustment device and standard gamma values of piece calculate And the refinement flow diagram for the step of generating one group of monochrome aim curve;
Fig. 9 is the collected grayscale signal picture of white balance adjustment device in balance adjustment method of the present invention and standard list The white balance data of chrominance signal picture, the schematic diagram of brightness data and RGB equal difference incremental values;
Figure 10 is the coordinate signal that 5th embodiment calculates the monochromatic aim curve generated in balance adjustment method of the present invention Figure;
Figure 11 is the variation tendency schematic diagram of the chromaticity coordinates of the front and back white balance data of balance adjustment method of the present invention adjustment;
Figure 12 is the schematic diagram of the gamma values of the front and back each grayscale signal picture of balance adjustment method of the present invention adjustment.
The realization, the function and the advantages of the object of the present invention will in conjunction with the embodiments, and refer to the attached drawing is described further.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The white balance adjustment device of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description In, using the suffix of such as " module ", " component " or " unit " for indicating element only for being conducive to the explanation of the present invention, There is no specific meanings for itself.Therefore, " module " can be used mixedly with " component ".
In the present invention, white balance adjustment device can be a device in some device to be adjusted, belonging to it Device to be adjusted carry out blank level adjustment, while itself can also a device to be adjusted, you can is put down in vain to itself Weighing apparatus adjustment.
The present invention provides a kind of white balance adjustment device,, should in white balance adjustment device first embodiment with reference to figure 1 White balance adjustment device includes:
Acquisition module 10 is obtained, N grayscale signal pictures and three standard monochromes for obtaining white balance adjustment device Signal picture, and acquire the white balance data and brightness data and three standard monochrome signal pictures of N grayscale signal pictures White balance data, wherein N>1 and N is positive integer, and the white balance data includes the chromaticity coordinates of coloration;
Grayscale refers to that the bright-dark degree of brightness, grayscale signal picture refer to represent the picture of the light and shade of brightness, ash Rank signal picture is a kind of with 256 grades of gray scales or the monochrome image of grade from black to white.Monochrome signal is referred in RGB The form of expression under color standard under different base colors field (red primary field, green primary field and blue primary field).In grayscale signal picture Each pixel indicated with 8 data, therefore one kind in 256 kinds of gray scales of the pixel point value between black and white.The picture only has Tonal gradation, without the variation of color.And represent the red primary yield value, green primary yield value and indigo plant of the picture color standard Primary colours yield value (R, G, B value) is all unified numerical value.Three standard monochrome signal pictures refer to three originals of RGB color standard Color represents picture, including red primary standard drawing, green primary standard drawing and blue primary standard drawing, this three standard drawings are white balance tune The key picture of engagement positions correct white balance data, collected reference data are the important references during inventive algorithm calculates Source.Collected brightness data is the critical data for the technique effect that blank level adjustment of the present invention is finally shown.
Feature derivation module 20, for according to the brightness data of every grayscale signal picture, chromaticity coordinates and three standards The chromaticity coordinates of monochrome signal picture derives the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture, one of which list Colour brightness parameter item includes red primary luminance parameter item, green primary luminance parameter item and blue primary luminance parameter item;
Since the data that adjustment is finally arranged in white balance adjustment device are obtained by complicated algorithm derivation operation, therefore its The data volume that operation is participated in algorithm is more, including the brightness data of every grayscale signal picture, chromaticity coordinates and three standards Monochrome signal picture chromaticity coordinates, in this, as the operational data in the embodiment of the present invention, derivation can by equation, Matrix scheduling algorithm mode finally gets one group of monochromatic brightness parameter item of every grayscale signal picture.Wherein, monochromatic brightness is joined It is several to refer to that the red primary under RGB color standard under different base colors field (red primary field, green primary field and blue primary field) is bright Spend parameter item, green primary luminance parameter item and blue primary luminance parameter item.Every grayscale signal picture all has corresponding monochrome bright Parameter item is spent, for example, the red primary luminance parameter item of i-th grayscale signal picture, green primary luminance parameter item and blue primary are bright Degree parameter item is respectively YiR, YiG, YiB, and three monochromatic brightness parameter items of i+1 grayscale signal picture are Y (i+1) R, Y (i+1) G, Y (i+1) B.
In the present embodiment, the brightness data of every grayscale signal picture, chromaticity coordinates and three standard monochrome signal figures The data of the chromaticity coordinates of piece are closed as the calculating elements in inventive algorithm operation by mutual logic association System, which is quantified out, and is calculated to obtain three monochromatic brightness parameter items of every grayscale signal picture setting.
Aim curve generation module 30, for the N group monochromatic brightness parameters according to interpolation algorithm, all grayscale signal pictures Item and the preset standard white balance data of white balance adjustment device and standard gamma values, calculate and generate one group of monochrome target Curve, one of which monochrome aim curve include red primary aim curve, green primary aim curve and blue primary aim curve;
The manufacturer of white balance adjustment device or professional person pre-set standard white balance data and standard gamma Value.The standard white balance data and standard gamma values represent white balance adjustment device and are under optimal display result most Good reference value.According to the N group monochromatic brightness parameter items and standard white balance data and standard gamma of all grayscale signal pictures Value generates one group of monochrome aim curve by the calculating of the series of algorithms such as interpolation algorithm.The monochrome aim curve is mainly anti- The non-linear relation of input signal and output signal under monochrome signal is answered, which includes that red primary target is bent Line, green primary aim curve and blue primary aim curve.Including in monochromatic aim curve simultaneously can harmonized stndard white balance number According to the white balance data and gamma values that can be adjusted with standard gamma values and white balance adjustment device balance between the two Data, the variation reflection of final white balance data is bent to red primary aim curve, green primary aim curve and blue primary target The Coordinate Adjusting of line.
Parameter setting module 40 is arranged and executes new for the white balance data and gamma values according to monochromatic aim curve White balance data and gamma values.
Include new white balance data and gamma values in the monochromatic aim curve of acquisition, as adjustment blank level adjustment The reference data of device white balance data and gamma values, white balance adjustment device is according to the white balance of the monochromatic aim curve Data and gamma values are adjusted correspondingly so that new white balance data and gamma values comes into force execution.With reference to figure 11 and figure Example schematics of 12, Figure 11 and Figure 12 as the present embodiment, the color for reflecting coloration in the front and back white balance data of adjustment are sat Apparent change has occurred in mark and gamma values so that the color range signal adjusting range of the equipment expands, and then completes white balance tune Engagement positions adjust a wide range of covering of color range signal so that the color range signal that blank level adjustment covers is applied.
The present invention obtains N grayscale signal pictures and three standards of white balance adjustment device by obtaining acquisition module 10 Monochrome signal picture, and acquire the white balance data and brightness data and three standard monochrome signal figures of N grayscale signal pictures The white balance data of piece;Then feature derivation module 20 is according to the brightness data of every grayscale signal picture, chromaticity coordinates and three The chromaticity coordinates of standard monochrome signal picture is opened, the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture is derived;Then Aim curve generation module 30 is according to interpolation algorithm, the N group monochromatic brightness parameter items of all grayscale signal pictures and white balance The preset standard white balance data of adjusting apparatus and standard gamma values calculate and generate one group of monochrome aim curve;Final parameter Setup module 40 according to the white balance data and gamma values of monochromatic aim curve, be arranged and execute new white balance data and Gamma values.By the above-mentioned means, white balance adjustment device can fast and effectively adjust white balance data, and ensure each ash The gamma of rank signal expands color range signal adjusting range in claimed range, and then realizes that white balance adjustment device adjusts color The a wide range of covering of rank signal, improves the regulated efficiency of white balance data.
Further, on the basis of white balance adjustment device first embodiment of the present invention, white balance adjustment device is proposed Second embodiment, difference lies in the white balance data further includes red base between the second embodiment and first embodiment Color yield value, green primary yield value, blue primary yield value, the red primary gain of white balance data in every grayscale picture Value, green primary yield value and blue primary yield value are all consistent, and the red primary yield value of the N grayscale signal pictures obtained, green Primary colours yield value, blue primary yield value numerical value be evenly distributed on 0~255 signal spacing, and be rendered as that equal difference is incremental to become Gesture.
With reference to figure 9, collected white balance data is the operation for the present invention, and associated white balance data includes The chromaticity coordinates (x, y) of the substandard red primary yield value R of RGB color, green primary yield value G, blue primary yield value B and coloration, And the N received grayscale signal pictures should have certain feature representative, such as the white of the grayscale signal picture is put down The data that weigh are different, and RGB color standard value is in 0~255 signal spacing, and its RGB color standard value can be with It is showed in the form of equal difference is incremental, and covers a wide range of signal spacing as possible.
Further, on the basis of white balance adjustment device second embodiment of the present invention, white balance adjustment device is proposed 3rd embodiment, with reference to figure 2, difference lies in the acquisition acquisition modules between the 3rd embodiment and second embodiment 10 include:
Acquiring unit 11, the grayscale signal picture for obtaining white balance adjustment device and standard monochrome signal picture;
Collecting unit 12, the white balance data and brightness data for acquiring grayscale signal picture and standard monochrome signal figure The white balance data of piece;
Judging unit 13, for judging whether white balance adjustment device has received N grayscale signal pictures and three marks Quasi- monochrome signal picture;
Execution unit 14 detects that white balance adjustment device receives N grayscale signal pictures and three standards for working as Monochrome signal picture stops receiving picture, when detecting that white balance adjustment device do not receive N grayscale signal pictures and three When standard monochrome signal picture, then picture is continued to.
White balance adjustment device is sequentially output N specific grayscale signal pictures to waiting for by serial port control signal generator Adjusting device, while controlling colour temperature instrument and acquiring the white balance datas such as corresponding coloration, brightness data successively and pass white balance tune back Engagement positions.
For convenience of the present embodiment is understood, will be explained by way of example below:
Acquiring unit 11 first gets N specific grayscale signal pictures and three standard monochrome signal pictures, with 8bit For color depth, the detailed process that collecting unit 12 is acquired is as follows:
1) collecting unit 12 exports particular picture i by serial port control signal generator (initial value of i is 1);
2) output signal is given to equipment to be adjusted by HDMI wire, and equipment to be adjusted shows picture i;
3) collecting unit 12 controls colour temperature instrument by serial ports and acquires coloration, brightness data etc., and collected data pass through string White balance adjustment device is returned in oral instructions;
4) white balance adjustment device preserves the data that colour temperature instrument is passed back, while judging unit 13 judges whether i is more than 13, if It is that execution unit 14 executes step 5);Otherwise, i adds 1, and execution unit 14 jumps to step 1);
5) 13 groups of grayscale colorations, brightness data acquisition finish.
With reference to figure 9, the RGB numerical tabulars that white balance adjustment device finally obtains are as shown in the figure.
It should be noted that data above is only for example, data of the invention are not unique, according to the difference of actual conditions And the data got may be different.
Further, on the basis of white balance adjustment device 3rd embodiment of the present invention, white balance adjustment device is proposed Fourth embodiment, with reference to figure 3, difference lies in the feature derivation modules between the fourth embodiment and 3rd embodiment 20 include:
Setting unit 21, for being correspondingly arranged one group of monochromatic brightness parameter item, one of which for every grayscale signal picture Monochromatic brightness parameter item includes red primary luminance parameter item, green primary luminance parameter item and blue primary luminance parameter item;
Equation group unit 22 is built, for joining according to the brightness data, chromaticity coordinates, monochromatic brightness of every grayscale signal picture Several and three standard monochrome signal pictures chromaticity coordinates builds equation group;
Derivation unit 23, for according to the equation group, Derivation to go out every grayscale signal picture corresponding one Group monochromatic brightness parameter item.
Can be the corresponding monochromatic brightness parameter item of every grayscale signal picture setting in advance for convenience of algorithm research, including Red primary luminance parameter item, green primary luminance parameter item and blue primary luminance parameter item.Then it is obtained according to white balance adjustment device The white balance data for taking collected grayscale signal picture and standard monochrome signal picture, logic is related between establishing different data The equation of connection.
There are three the present embodiment institute formulations, as described below:
Equation 1:According to the brightness data of the grayscale signal picture and one group of monochromatic brightness parameter item, first party is set Formula, wherein the brightness data that the logical relation of the first equation is the picture is equal to red primary luminance parameter item, green primary is bright Spend the sum of the parameter of parameter item and blue primary luminance parameter item;
Equation 2:According to the brightness data of the grayscale signal picture, chromaticity coordinates and one group of monochromatic brightness parameter item and Second party formula is arranged in the chromaticity coordinates of three standard monochrome signal pictures, and the wherein logical relation of second party formula is the picture The value that brightness data increases the first numerical value times is equal to the value that red primary luminance parameter item increases second value times, green primary brightness ginseng The several values for increasing third value times and blue primary luminance parameter item increase the sum of three numerical value of value of the 4th numerical value times, wherein the One numerical value is the ratio of grayscale signal picture the chromaticity coordinates x and y again, and second value is the chromaticity coordinates x of red primary standard drawing again With the ratio of y, third value is the ratio of the chromaticity coordinates x and y of green primary standard drawing again, and the 4th numerical value is blue primary standard drawing again Chromaticity coordinates x and y ratio;
Equation 3:According to the brightness data of the grayscale signal picture, chromaticity coordinates and one group of monochromatic brightness parameter item and Third equation is arranged in the chromaticity coordinates of three standard monochrome signal pictures, and the wherein logical relation of third equation is the picture The value that brightness data increases the 5th numerical value times is equal to the value that red primary luminance parameter item increases the 6th numerical value times, green primary brightness ginseng The several values for increasing the 7th numerical value times and blue primary luminance parameter item increase the sum of three numerical value of value of the 8th numerical value times, wherein the Five numerical value are numerical value 1 and the picture chromaticity coordinates x again, and y subtracts each other the difference of acquisition and the ratio of y, the 6th numerical value be numerical value 1 again with The chromaticity coordinates x, y of red primary standard drawing subtract each other the difference of acquisition, the ratio with y, and the 7th numerical value is numerical value 1 and green primary standard again The chromaticity coordinates x, y of figure subtract each other the difference of acquisition, the ratio with y, and the 8th numerical value is the chromaticity coordinates of numerical value 1 and blue primary standard drawing again X, y subtract each other the difference of acquisition, the ratio with y;
Supplemented by assistant solve the present embodiment, illustrated below with a specific example:
Assuming that all data of collected grayscale signal picture 5 and three standard monochrome signal pictures are as follows:
Picture 5:Chromaticity coordinates (x5W, y5W), the brightness Y5W of grayscale signal;
Red primary standard drawing:Chromaticity coordinates (x255R, y255R), the brightness Y255R of monochrome signal;
Green primary standard drawing:Chromaticity coordinates (x255G, y255G), the brightness Y255G of monochrome signal;
Blue primary standard drawing:Chromaticity coordinates (x255B, y255B), the brightness Y255B of monochrome signal;
Three monochromatic brightness parameter items that picture 5 is obtained by the citing of parameter setting module 20 are Y5R, Y5G, Y5B.
The first equation (1) is obtained, second party formula (2), third equation (3) is as follows:
(1) Y5W=Y5R+Y5G+Y5B
Then by the first equation (1), second party formula (2), third equation (3) simultaneous forms equation group, and solves Grayscale signal picture 5 corresponding one group of monochromatic brightness parameter item Y5R, Y5G and Y5B is obtained, it is as follows,
One group monochromatic brightness parameter of the three monochromatic brightness parameter items as picture 5, solution root will become subsequent operation The important referential data that step uses.
Further, on the basis of white balance adjustment device fourth embodiment of the present invention, white balance adjustment device is proposed 5th embodiment, with reference to figure 4, difference lies in the aim curve generates between the 5th embodiment and fourth embodiment Module 30 includes:
Array generation unit 31, for flat according to N group luminance parameters item, the preset standard white of all grayscale signal pictures The data that weigh and standard gamma values generate three groups of monochrome arrays, wherein three groups of monochrome arrays include red primary array, green primary number Group and blue primary array;
Aim curve generation unit 32, for according to interpolation algorithm and three groups of monochrome arrays, calculating and generating one group of monochrome Aim curve, one of which monochrome aim curve include that red primary aim curve, green primary aim curve and blue primary target are bent Line.
The generation of monochromatic aim curve is needed by complicated calculating, is below illustration:
1, array generation unit 31 is by the luminance parameter item of all grayscale signal pictures got and preset standard White balance data and standard gamma values carry out main operational derivation, generate three monochromatic arrays after carrying out series of computation, respectively For red primary array, green primary array and blue primary array (hereinafter referred to as R arrays, G arrays and B arrays).Assuming that each array There is n element value (n is arranged different and different according to the debugging points of white balance adjustment device), such as R arrays are (R1, R2 ..., Rn), G arrays and B arrays are analogized.
2, after array generation unit 31 obtains three monochromatic arrays, aim curve generation unit 32 is by these three monochromatic arrays By the data comparison of the factors such as integrated data continuity, color characteristics, light characteristic, interpolation calculation is carried out, interpolation is substantially Process is as follows:By taking R arrays as an example, it is assumed that R arrays have 10 elements (R1, R2, R3 ... R10), then will be obtained after interpolation 256 elements (R1_1, R1_2 ..., R1_26, R2_1, R2_2 ..., R10_26), wherein element (R1_1, R1_ 2 ..., R1_26) it is to be formed according to 0 and element R1 interpolation, the rest may be inferred by analogy, such as element (R2_1, R2_2 ..., R2_m) It is to be formed according to R1 and element R2 interpolation.It should be noted that m is not definite value, it can be different according to preset actual conditions. With reference to figure 10, aim curve generation unit 32 eventually generates one group of monochrome aim curve, which is divided into red Primary colours aim curve, green primary aim curve and blue primary aim curve, respectively three coherent aim curves, this three songs The final effect of line is that white balance adjustment device is made to reach standard white balance data and gamma values.
The present invention also provides a kind of white balance adjustment method, which is mainly used in blank level adjustment dress It sets, in white balance adjustment method first embodiment, with reference to figure 5, the white balance adjustment method includes:
Step S10 obtains N grayscale signal pictures and three standard monochrome signal pictures of white balance adjustment device, and It acquires N and opens the white balance data of grayscale signal picture and the white balance data of brightness data and three standard monochrome signal pictures, Wherein N>1 and N is positive integer, and the white balance data includes the chromaticity coordinates of coloration;
Grayscale refers to that the bright-dark degree of brightness, grayscale signal picture refer to represent the picture of the light and shade of brightness, ash Rank signal picture is a kind of with 256 grades of gray scales or the monochrome image of grade from black to white.Monochrome signal is referred in RGB The form of expression under color standard under different base colors field (red primary field, green primary field and blue primary field).In grayscale signal picture Each pixel indicated with 8 data, therefore one kind in 256 kinds of gray scales of the pixel point value between black and white.The picture only has Tonal gradation, without the variation of color.And represent the red primary yield value, green primary yield value and indigo plant of the picture color standard Primary colours yield value (R, G, B value) is all unified numerical value.Three standard monochrome signal pictures refer to three originals of RGB color standard Color represents picture, including red primary standard drawing, green primary standard drawing and blue primary standard drawing, this three standard drawings are white balance tune The key picture of engagement positions correct white balance data, collected reference data are the important references during inventive algorithm calculates Source.Collected brightness data is the critical data for the technique effect that blank level adjustment of the present invention is finally shown.
Step S20, according to the brightness data of every grayscale signal picture, chromaticity coordinates and three standard monochrome signal pictures Chromaticity coordinates, derive the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture, one of which monochromatic brightness parameter item Including red primary luminance parameter item, green primary luminance parameter item and blue primary luminance parameter item;
Since the data that adjustment is finally arranged in white balance adjustment device are obtained by complicated algorithm derivation operation, therefore its The data volume that operation is participated in algorithm is more, including the brightness data of every grayscale signal picture, chromaticity coordinates and three standards Monochrome signal picture chromaticity coordinates, in this, as the operational data in the embodiment of the present invention, derivation can by equation, Matrix scheduling algorithm mode finally gets one group of monochromatic brightness parameter item of every grayscale signal picture.Wherein, monochromatic brightness is joined It is several to refer to that the red primary under RGB color standard under different base colors field (red primary field, green primary field and blue primary field) is bright Spend parameter item, green primary luminance parameter item and blue primary luminance parameter item.Every grayscale signal picture all has corresponding monochrome bright Parameter item is spent, for example, the red primary luminance parameter item of i-th grayscale signal picture, green primary luminance parameter item and blue primary are bright Degree parameter item is respectively YiR, YiG, YiB, and three monochromatic brightness parameter items of i+1 grayscale signal picture are Y (i+1) R, Y (i+1) G, Y (i+1) B.
In the present embodiment, the brightness data of every grayscale signal picture, chromaticity coordinates and three standard monochrome signal figures The data of the chromaticity coordinates of piece are closed as the calculating elements in inventive algorithm operation by mutual logic association System, which is quantified out, and is calculated to obtain three monochromatic brightness parameter items of every grayscale signal picture setting.
Step S30, according to interpolation algorithm, the N group monochromatic brightness parameter items of all grayscale signal pictures and white balance tune The preset standard white balance data of engagement positions and standard gamma values calculate and generate one group of monochrome aim curve, one of which list Color aim curve includes red primary aim curve, green primary aim curve and blue primary aim curve;
The manufacturer of white balance adjustment device or professional person pre-set standard white balance data and standard gamma Value.The standard white balance data and standard gamma values represent white balance adjustment device and are under optimal display result most Good reference value.According to the N group monochromatic brightness parameter items and standard white balance data and standard gamma of all grayscale signal pictures Value generates one group of monochrome aim curve by the calculating of the series of algorithms such as interpolation algorithm.The monochrome aim curve is mainly anti- The non-linear relation of input signal and output signal under monochrome signal is answered, which includes that red primary target is bent Line, green primary aim curve and blue primary aim curve.Including in monochromatic aim curve simultaneously can harmonized stndard white balance number According to the white balance data and gamma values that can be adjusted with standard gamma values and white balance adjustment device balance between the two Data, the variation reflection of final white balance data is bent to red primary aim curve, green primary aim curve and blue primary target The Coordinate Adjusting of line.
Step S40 is arranged according to the white balance data of monochromatic aim curve and gamma values and executes new white balance number According to and gamma values.
Include new white balance data and gamma values in the monochromatic aim curve of acquisition, as adjustment blank level adjustment The reference data of device white balance data and gamma values, white balance adjustment device are adjusted accordingly according to the reference data It is whole so that new white balance data and gamma values comes into force.With reference to figure 11 and Figure 12, the act of Figure 11 and Figure 12 as the present embodiment It illustrates and is intended to, reflect the chromaticity coordinates of coloration and gamma values in the front and back white balance data of adjustment and apparent change has occurred, make The color range signal adjusting range for obtaining the equipment expands, and then completes a wide range of the covering of white balance adjustment device adjustment color range signal Lid so that the color range signal that blank level adjustment covers is applied.
The present invention opens grayscale signal picture and three standard monochrome signal pictures by obtaining the N of white balance adjustment device, And it acquires N and opens the white balance data of grayscale signal picture and the white balance number of brightness data and three standard monochrome signal pictures According to;Then according to the brightness data of every grayscale signal picture, the chromaticity coordinates of chromaticity coordinates and three standard monochrome signal pictures, Derive the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture;Then according to interpolation algorithm, all grayscale signal figures The preset standard white balance data of N group monochromatic brightness parameter items and white balance adjustment device and standard gamma values of piece calculate And generate one group of monochrome aim curve;Finally according to the white balance data of monochromatic aim curve and gamma values, it is arranged and executes new White balance data and gamma values.By the above-mentioned means, white balance adjustment device can fast and effectively adjust white balance number According to, and the gamma of each grayscale signal is ensured in claimed range, expand color range signal adjusting range, and then realize white flat The a wide range of covering of the adjusting apparatus that weighs adjustment color range signal, improves the regulated efficiency of white balance data.
Further, on the basis of white balance adjustment method first embodiment of the present invention, method second embodiment is proposed, Difference lies in, the white balance data further include red primary yield value between the 3rd embodiment and second embodiment, green Primary colours yield value, blue primary yield value, the red primary yield value of white balance data, green primary gain in every grayscale picture Value is all consistent with blue primary yield value, and the red primary yield value of the N obtained grayscale signal picture, green primary yield value, indigo plant The numerical value of primary colours yield value is evenly distributed on 0~255 signal spacing, and is rendered as the incremental trend of equal difference.
With reference to figure 9, collected white balance data is the operation for the present invention, and associated white balance data includes The chromaticity coordinates (x, y) of the substandard red primary yield value R of RGB color, green primary yield value G, blue primary yield value B and coloration, And the N received grayscale signal pictures should have certain feature representative, such as the white of the grayscale signal picture is put down The data that weigh are different, and RGB color standard value is in 0~255 signal spacing, and its RGB color standard value can be with It is showed in the form of equal difference is incremental, and covers a wide range of signal spacing as possible.
Further, on the basis of white balance adjustment method second embodiment of the present invention, method 3rd embodiment is proposed, With reference to figure 6, difference lies in described the N for obtaining white balance adjustment device between the 3rd embodiment and second embodiment Grayscale signal picture and three standard monochrome signal pictures, and acquire the white balance data and brightness number of N grayscale signal pictures Include according to the step of white balance data with three standard monochrome signal pictures:
Step S11 obtains the grayscale signal picture and standard monochrome signal picture of white balance adjustment device;
Step S12, acquire grayscale signal picture white balance data and brightness data and standard monochrome signal picture it is white Equilibrium criterion;
Step S13, judges whether white balance adjustment device has received N grayscale signal pictures and three standard monochrome letters Number picture;
Step S14, when detecting that white balance adjustment device receives N grayscale signal picture and three standard monochrome signals Picture stops receiving picture, when detecting that white balance adjustment device do not receive N grayscale signal picture and three standard monochromes When signal picture, then picture is continued to.
White balance adjustment device is sequentially output N specific grayscale signal pictures to waiting for by serial port control signal generator Adjusting device, while controlling colour temperature instrument and acquiring the white balance datas such as corresponding coloration, brightness data successively and pass white balance tune back Engagement positions.
For convenience of the present embodiment is understood, will be explained by way of example below:
White balance adjustment device first gets 13 specific grayscale signal pictures and three standard monochrome signal pictures, By taking 8bit color depths as an example, the detailed process for acquiring white balance data is as follows:
1) particular picture i (initial value of i is 1) is exported by serial port control signal generator;
2) output signal is given to equipment to be adjusted by HDMI wire, and equipment to be adjusted shows picture i;
3) colour temperature instrument is controlled by serial ports and acquires coloration, brightness data etc., collected data are passed back white flat by serial ports Weigh adjusting apparatus;
4) white balance adjustment device preserves the data that colour temperature instrument is passed back, while judging whether i is more than 13, if so, executing step It is rapid 5);Otherwise, i adds 1, jumps to step 1);
5) 13 groups of grayscale colorations, brightness data acquisition finish.
With reference to figure 9, the RGB numerical tabulars that white balance adjustment device finally obtains are as shown in the figure.
It should be noted that data above is only for example, data of the invention are not unique, according to the difference of actual conditions And the data got may be different.
Further, on the basis of white balance adjustment method 3rd embodiment of the present invention, white balance adjustment method is proposed Fourth embodiment, with reference to figure 7, difference lies in described according to every grayscale between the fourth embodiment and 3rd embodiment The brightness data of signal picture, the chromaticity coordinates of chromaticity coordinates and three standard monochrome signal pictures derive every grayscale signal figure The step of piece corresponding one group of monochromatic brightness parameter item includes:
Step S21 is correspondingly arranged one group of monochromatic brightness parameter item, one of which monochromatic brightness for every grayscale signal picture Parameter item includes red primary luminance parameter item, green primary luminance parameter item and blue primary luminance parameter item;
Step S22, according to the brightness data of every grayscale signal picture, chromaticity coordinates, monochromatic brightness parameter item and three The chromaticity coordinates of standard monochrome signal picture builds equation group;
Step S23, according to the equation group, Derivation goes out the corresponding one group of monochromatic brightness ginseng of every grayscale signal picture It is several.
Can be the corresponding monochromatic brightness parameter item of every grayscale signal picture setting in advance for convenience of algorithm research, including Red primary luminance parameter item, green primary luminance parameter item and blue primary luminance parameter item.Then it is obtained according to white balance adjustment device The white balance data for taking collected grayscale signal picture and standard monochrome signal picture, logic is related between establishing different data The equation of connection.
There are three the present embodiment institute formulations, as described below:
Equation 1:According to the brightness data of the grayscale signal picture and one group of monochromatic brightness parameter item, first party is set Formula, wherein the brightness data that the logical relation of the first equation is the picture is equal to red primary luminance parameter item, green primary is bright Spend the sum of the parameter of parameter item and blue primary luminance parameter item;
Equation 2:According to the brightness data of the grayscale signal picture, chromaticity coordinates and one group of monochromatic brightness parameter item and Second party formula is arranged in the chromaticity coordinates of three standard monochrome signal pictures, and the wherein logical relation of second party formula is the picture The value that brightness data increases the first numerical value times is equal to the value that red primary luminance parameter item increases second value times, green primary brightness ginseng The several values for increasing third value times and blue primary luminance parameter item increase the sum of three numerical value of value of the 4th numerical value times, wherein the One numerical value is the ratio of grayscale signal picture the chromaticity coordinates x and y again, and second value is the chromaticity coordinates x of red primary standard drawing again With the ratio of y, third value is the ratio of the chromaticity coordinates x and y of green primary standard drawing again, and the 4th numerical value is blue primary standard drawing again Chromaticity coordinates x and y ratio;
Equation 3:According to the brightness data of the grayscale signal picture, chromaticity coordinates and one group of monochromatic brightness parameter item and Third equation is arranged in the chromaticity coordinates of three standard monochrome signal pictures, and the wherein logical relation of third equation is the picture The value that brightness data increases the 5th numerical value times is equal to the value that red primary luminance parameter item increases the 6th numerical value times, green primary brightness ginseng The several values for increasing the 7th numerical value times and blue primary luminance parameter item increase the sum of three numerical value of value of the 8th numerical value times, wherein the Five numerical value are numerical value 1 and the picture chromaticity coordinates x again, and y subtracts each other the difference of acquisition and the ratio of y, the 6th numerical value be numerical value 1 again with The chromaticity coordinates x, y of red primary standard drawing subtract each other the difference of acquisition, the ratio with y, and the 7th numerical value is numerical value 1 and green primary standard again The chromaticity coordinates x, y of figure subtract each other the difference of acquisition, the ratio with y, and the 8th numerical value is the chromaticity coordinates of numerical value 1 and blue primary standard drawing again X, y subtract each other the difference of acquisition, the ratio with y;
Supplemented by assistant solve the present embodiment, illustrated below with a specific example:
Assuming that all data of collected grayscale signal picture 5 and three standard monochrome signal pictures are as follows:
Picture 5:Chromaticity coordinates (x5W, y5W), the brightness Y5W of grayscale signal;
Red primary standard drawing:Chromaticity coordinates (x255R, y255R), the brightness Y255R of monochrome signal;
Green primary standard drawing:Chromaticity coordinates (x255G, y255G), the brightness Y255G of monochrome signal;
Blue primary standard drawing:Chromaticity coordinates (x255B, y255B), the brightness Y255B of monochrome signal;
Three monochromatic brightness parameter items that picture 5 is obtained by the citing of parameter setting module 20 are Y5R, Y5G, Y5B.
The first equation (1) is obtained, second party formula (2), third equation (3) is as follows:
(1) Y5W=Y5R+Y5G+Y5B
Then by the first equation (1), second party formula (2), third equation (3) simultaneous forms equation group, and solves Grayscale signal picture 5 corresponding one group of monochromatic brightness parameter item Y5R, Y5G and Y5B is obtained, it is as follows,
One group monochromatic brightness parameter of the three monochromatic brightness parameter items as picture 5, solution root will become subsequent operation The important referential data that step uses.
Further, on the basis of white balance adjustment method fourth embodiment of the present invention, white balance adjustment method is proposed 5th embodiment, with reference to figure 8, between the 5th embodiment and fourth embodiment difference lies in, it is described according to interpolation algorithm, The preset standard white balance data of N group monochromatic brightness parameter items and white balance adjustment device and mark of all grayscale signal pictures Quasi- gamma values calculate and include the step of generating one group of monochrome aim curve:
Step S31, according to N group luminance parameters item, preset standard white balance data and the mark of all grayscale signal pictures Quasi- gamma values generate three groups of monochrome arrays, wherein three groups of monochrome arrays include red primary array, green primary array and blue primary Array;
Step S32 is calculated according to interpolation algorithm and three groups of monochrome arrays and is generated one group of monochrome aim curve, wherein one The monochromatic aim curve of group includes red primary aim curve, green primary aim curve and blue primary aim curve.
The generation of monochromatic aim curve is needed by complicated calculating, is below illustration:
1, by the luminance parameter item of all grayscale signal pictures got and preset standard white balance data and mark Quasi- gamma values carry out main operational derivation, carry out generating three monochromatic arrays after series of computation, respectively red primary array, Green primary array and blue primary array (hereinafter referred to as R arrays, G arrays and B arrays).Assuming that each array has n element value (n According to the different and different of the debugging points setting of white balance adjustment device), such as R arrays are (R1, R2 ..., Rn), G arrays and B arrays are analogized.
2, after obtaining three monochromatic arrays, these three monochrome arrays are passed through into integrated data continuity, color characteristics, brightness The data comparison of the factors such as characteristic, carries out interpolation calculation, and the substantially process of interpolation is as follows:By taking R arrays as an example, it is assumed that R arrays have 10 elements (R1, R2, R3 ... R10), then will be obtained after interpolation 256 elements (R1_1, R1_2 ..., R1_26, R2_1, R2_2 ..., R10_26), wherein element (R1_1, R1_2 ..., R1_26) is according to 0 and element R1 interpolation It forms, the rest may be inferred by analogy, if element (R2_1, R2_2 ..., R2_m) is formed according to R1 and element R2 interpolation.It needs to illustrate , m is not definite value, can be different according to preset actual conditions.With reference to figure 10, white balance adjustment device eventually generates One group of monochrome aim curve, the group monochrome aim curve are divided into red primary aim curve, green primary aim curve and blue primary mesh The final effect of mark song line, respectively three coherent aim curves, this three curves is that white balance adjustment device is made to reach mark Quasi- white balance data and gamma values.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of white balance adjustment device, which is characterized in that the white balance adjustment device includes:
Acquisition module is obtained, N grayscale signal pictures and three standard monochrome signal figures for obtaining white balance adjustment device Piece, and acquire N and open the white balance data of grayscale signal picture and the white balance of brightness data and three standard monochrome signal pictures Data, wherein N>1 and N is positive integer, and the white balance data includes the chromaticity coordinates of coloration;
Feature derivation module, for according to the brightness data of every grayscale signal picture, chromaticity coordinates and three standard monochrome letters The chromaticity coordinates of number picture derives the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture, one of which monochromatic brightness Parameter item includes red primary luminance parameter item, green primary luminance parameter item and blue primary luminance parameter item;
Aim curve generation module, for according to interpolation algorithm, all grayscale signal pictures N group monochromatic brightness parameter items and The preset standard white balance data of white balance adjustment device and standard gamma values calculate and generate one group of monochrome aim curve, In one group of monochrome aim curve include red primary aim curve, green primary aim curve and blue primary aim curve;
Parameter setting module, for according to the white balance data and gamma values of monochromatic aim curve, being arranged and executing new white put down The data that weigh and gamma values.
2. white balance adjustment device as described in claim 1, which is characterized in that the white balance data further includes that red primary increases Beneficial value, green primary yield value, blue primary yield value, the red primary gain of white balance data in every grayscale signal picture Value, green primary yield value and blue primary yield value are all consistent, and the red primary yield value of the N grayscale signal pictures obtained, green Primary colours yield value, blue primary yield value numerical value be evenly distributed on 0~255 signal spacing, and be rendered as that equal difference is incremental to become Gesture.
3. white balance adjustment device as claimed in claim 2, which is characterized in that the acquisition acquisition module includes:
Acquiring unit, the grayscale signal picture for obtaining white balance adjustment device and standard monochrome signal picture;
Collecting unit, white balance data and brightness data and standard monochrome signal picture for acquiring grayscale signal picture it is white Equilibrium criterion;
Judging unit, for judging whether white balance adjustment device has received N grayscale signal pictures and three standard monochromes Signal picture;
Execution unit detects that white balance adjustment device receives N grayscale signal pictures and three standard monochromes letters for working as Number picture stops receiving picture, when detecting that white balance adjustment device do not receive N grayscale signal pictures and three standard lists When chrominance signal picture, then picture is continued to.
4. white balance adjustment device as claimed in claim 3, which is characterized in that the feature derivation module includes:
Setting unit, for being correspondingly arranged one group of monochromatic brightness parameter item for every grayscale signal picture, one of which monochrome is bright It includes red primary luminance parameter item, green primary luminance parameter item and blue primary luminance parameter item to spend parameter item;
Build equation group unit, for according to the brightness data of every grayscale signal picture, chromaticity coordinates, monochromatic brightness parameter item with And the chromaticity coordinates of three standard monochrome signal pictures, build equation group;
Derivation unit, for according to the equation group, Derivation to go out the corresponding one group of monochrome of every grayscale signal picture Luminance parameter item.
5. white balance adjustment device as claimed in claim 4, which is characterized in that the aim curve generation module includes:
Array generation unit, for N group luminance parameters item, the preset standard white balance data according to all grayscale signal pictures And standard gamma values, three groups of monochrome arrays are generated, wherein three groups of monochrome arrays include red primary array, green primary array and indigo plant Primary colours array;
Aim curve generation unit, it is bent for according to interpolation algorithm and three groups of monochrome arrays, calculating and generating one group of monochrome target Line, one of which monochrome aim curve include red primary aim curve, green primary aim curve and blue primary aim curve.
6. a kind of white balance adjustment method, which is characterized in that the white balance adjustment method includes:
N grayscale signal pictures and three standard monochrome signal pictures of white balance adjustment device are obtained, and acquire N grayscale letters Number white balance data of picture and the white balance data of brightness data and three standard monochrome signal pictures, wherein N>1 and N is just Integer, the white balance data include the chromaticity coordinates of coloration;
According to the brightness data of every grayscale signal picture, the chromaticity coordinates of chromaticity coordinates and three standard monochrome signal pictures, push away The corresponding one group of monochromatic brightness parameter item of every grayscale signal picture is led, one of which monochromatic brightness parameter item includes that red primary is bright Spend parameter item, green primary luminance parameter item and blue primary luminance parameter item;
It is preset according to interpolation algorithm, the N group monochromatic brightness parameter items of all grayscale signal pictures and white balance adjustment device Standard white balance data and standard gamma values calculate and generate one group of monochrome aim curve, one of which monochrome aim curve packet Include red primary aim curve, green primary aim curve and blue primary aim curve;
According to the white balance data of monochromatic aim curve and gamma values, it is arranged and executes new white balance data and gamma values.
7. white balance adjustment method as claimed in claim 6, which is characterized in that the white balance data further includes that red primary increases Beneficial value, green primary yield value, blue primary yield value, the red primary gain of white balance data in every grayscale signal picture Value, green primary yield value and blue primary yield value are all consistent, and the red primary yield value of the N grayscale signal pictures obtained, green Primary colours yield value, blue primary yield value numerical value be evenly distributed on 0~255 signal spacing, and be rendered as that equal difference is incremental to become Gesture.
8. white balance adjustment method as claimed in claim 7, which is characterized in that
The N for obtaining white balance adjustment device grayscale signal picture and three standard monochrome signal pictures, and acquire N ashes The step of white balance data of the white balance data and brightness data of rank signal picture and three standard monochrome signal pictures includes:
Obtain the grayscale signal picture and standard monochrome signal picture of white balance adjustment device;
Acquire the white balance data of grayscale signal picture and the white balance data of brightness data and standard monochrome signal picture;
Judge whether white balance adjustment device has received N grayscale signal pictures and three standard monochrome signal pictures;
When detecting that white balance adjustment device receives N grayscale signal picture and three standard monochrome signal pictures, stop connecing Picture is received, when detecting that white balance adjustment device does not receive N grayscale signal pictures and three standard monochrome signal pictures, Then continue to picture.
9. white balance adjustment method as claimed in claim 8, which is characterized in that
The color according to the brightness data of every grayscale signal picture, chromaticity coordinates and three standard monochrome signal pictures is sat Mark, the step of deriving every grayscale signal picture corresponding one group of monochromatic brightness parameter item include:
It is correspondingly arranged one group of monochromatic brightness parameter item for every grayscale signal picture, one of which monochromatic brightness parameter item includes red Luminance primary parameter item, green primary luminance parameter item and blue primary luminance parameter item;
According to the brightness data of every grayscale signal picture, chromaticity coordinates, monochromatic brightness parameter item and three standard monochrome signals The chromaticity coordinates of picture builds equation group;
According to the equation group, Derivation goes out the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture.
10. white balance adjustment method as claimed in claim 9, which is characterized in that
It is described pre- according to interpolation algorithm, the N group monochromatic brightness parameter items of all grayscale signal pictures and white balance adjustment device If standard white balance data and standard gamma values, calculate and include the step of generating one group of monochrome aim curve:
It is raw according to N group luminance parameters item, preset standard white balance data and the standard gamma values of all grayscale signal pictures At three groups of monochrome arrays, wherein three groups of monochrome arrays include red primary array, green primary array and blue primary array;
According to interpolation algorithm and three groups of monochrome arrays, one group of monochrome aim curve is calculated and generates, one of which monochrome target is bent Line includes red primary aim curve, green primary aim curve and blue primary aim curve.
CN201611187276.0A 2016-12-20 2016-12-20 White balance adjustment device and white balance adjustment method Active CN106713886B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611187276.0A CN106713886B (en) 2016-12-20 2016-12-20 White balance adjustment device and white balance adjustment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611187276.0A CN106713886B (en) 2016-12-20 2016-12-20 White balance adjustment device and white balance adjustment method

Publications (2)

Publication Number Publication Date
CN106713886A CN106713886A (en) 2017-05-24
CN106713886B true CN106713886B (en) 2018-11-02

Family

ID=58938234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611187276.0A Active CN106713886B (en) 2016-12-20 2016-12-20 White balance adjustment device and white balance adjustment method

Country Status (1)

Country Link
CN (1) CN106713886B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107507562B (en) * 2017-08-29 2019-11-05 深圳市佳彩光电科技有限公司 OLED grayscale gamma method of adjustment based on fast search algorithm
CN109996054B (en) * 2017-12-29 2021-04-23 杭州海康威视数字技术股份有限公司 White balance adjusting method and device
CN112672129B (en) * 2019-10-16 2022-11-15 深圳Tcl新技术有限公司 Color adjusting method and device, computer equipment and readable storage medium
CN111225469A (en) * 2019-12-06 2020-06-02 长春希达电子技术有限公司 LED lighting lamp brightness compensation method for preventing white field drift under different color temperatures
CN114495816B (en) * 2020-10-26 2023-06-27 深圳Tcl数字技术有限公司 Display image adjustment method, terminal device and computer readable storage medium
CN114615482A (en) * 2020-12-09 2022-06-10 深圳Tcl数字技术有限公司 White balance debugging method, storage medium and smart television
CN112788324A (en) * 2021-02-26 2021-05-11 广东以诺通讯有限公司 White balance method, system and terminal for pure color scene
CN113156047A (en) * 2021-03-25 2021-07-23 云南中烟工业有限责任公司 Image method based cigarette combustion ash column gray testing method
CN115941916A (en) * 2021-08-04 2023-04-07 广州视源电子科技股份有限公司 Correction data determining method, display screen correcting method and determining device
CN114222101B (en) * 2021-12-24 2023-10-10 杭州海康威视数字技术股份有限公司 White balance adjusting method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100724253B1 (en) * 2005-12-23 2007-05-31 매그나칩 반도체 유한회사 Apparatus and method for processing an image to control auto white balance of image sensor
CN101860764A (en) * 2009-04-08 2010-10-13 鸿富锦精密工业(深圳)有限公司 White balance adjustment method
CN101923837A (en) * 2009-12-10 2010-12-22 浙江贝力生科技有限公司 Method and system for automatically adjusting white balance of gray scale of liquid crystal display dark field
TW201337903A (en) * 2012-03-01 2013-09-16 Marketech Int Corp Method of introducing white brightness parameter of display panel into white optical feature based on display panel for calculating gray-level white balance gain value to increase its gray-level white balance adjustment precision
CN103366655A (en) * 2012-03-28 2013-10-23 帆宣系统科技股份有限公司 Method for improving monochromatic white balance adjustment and calibration precision on basis of three primary color brightness parameters
CN105187811A (en) * 2015-09-18 2015-12-23 广东威创视讯科技股份有限公司 Automatic adjusting method and apparatus for LCD screen white balance

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100916484B1 (en) * 2007-08-14 2009-09-08 삼성전기주식회사 Method for auto white balance
KR101691764B1 (en) * 2012-12-28 2016-12-30 누비아 테크놀로지 컴퍼니 리미티드 Pick-up device and pick-up method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100724253B1 (en) * 2005-12-23 2007-05-31 매그나칩 반도체 유한회사 Apparatus and method for processing an image to control auto white balance of image sensor
CN101860764A (en) * 2009-04-08 2010-10-13 鸿富锦精密工业(深圳)有限公司 White balance adjustment method
CN101923837A (en) * 2009-12-10 2010-12-22 浙江贝力生科技有限公司 Method and system for automatically adjusting white balance of gray scale of liquid crystal display dark field
TW201337903A (en) * 2012-03-01 2013-09-16 Marketech Int Corp Method of introducing white brightness parameter of display panel into white optical feature based on display panel for calculating gray-level white balance gain value to increase its gray-level white balance adjustment precision
CN103366655A (en) * 2012-03-28 2013-10-23 帆宣系统科技股份有限公司 Method for improving monochromatic white balance adjustment and calibration precision on basis of three primary color brightness parameters
CN105187811A (en) * 2015-09-18 2015-12-23 广东威创视讯科技股份有限公司 Automatic adjusting method and apparatus for LCD screen white balance

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
自动白平衡算法研究及软硬件实现;金黄斌;《中国优秀硕士学位论文全文数据库(信息科技辑)》;20110915(第9期);I138-1070 *

Also Published As

Publication number Publication date
CN106713886A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN106713886B (en) White balance adjustment device and white balance adjustment method
CN110197642A (en) The bearing calibration of the acquisition methods, display of three primary colours gamma correction relationship and means for correcting
CN101866621B (en) A kind of LED display corrective system and method
CN1977542B (en) Dominant color extraction using perceptual rules to produce ambient light derived from video content
CN104751756B (en) Conditioning optics, method and the display device of display panel
CN103080999B (en) For having the self-adaptation color correction of the indicating meter of backlight modulation
CN102611897B (en) Method and system for carrying out vision perception high-fidelity transformation on color digital image
CN104157261B (en) Display mode adjusting method of display device and display mode adjusting module thereof
US9607575B2 (en) Display mode adjusting method of display device and display mode adjusting module thereof
CN102262868B (en) Circuit and method for compensating color deviation of color sequential method
CN105282531B (en) Control the method and device of low gray level white balance
US8274718B2 (en) Method for creating color conversion definition for image output devices and image processing apparatus implementing the method
CN101110965B (en) Chromatic value adjustment mechanism and method thereof
CN109246405A (en) The method of adjustment and its system of the uniformity of image tone
CN100559850C (en) Be used for the method that mass-tone is extracted
CN102696069A (en) Electronic device, method for adjusting color saturation, program therefor, and recording medium
CN101616332B (en) Color domain expanding system and method
CN102802018A (en) Making method of color testing graphic card
CN106782347A (en) Correct the method and device of LED backlight display white point
CN110324476B (en) Method for representing color generation performance of mobile phone screen
CN101399898B (en) Image processing method and apparatus
CN104144332A (en) Image color adjusting method and electronic device using the same
CN106412543A (en) Method and device for calibrating color cast of flashlight
CN106885217A (en) The full-automatic white balance adjusting methods of RGB of LED
US9626892B2 (en) Optimization method and system of real-time LCD white balance selection

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