CN106713886A - 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
CN106713886A
CN106713886A CN201611187276.0A CN201611187276A CN106713886A CN 106713886 A CN106713886 A CN 106713886A CN 201611187276 A CN201611187276 A CN 201611187276A CN 106713886 A CN106713886 A CN 106713886A
Authority
CN
China
Prior art keywords
white balance
picture
standard
data
monochromatic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611187276.0A
Other languages
Chinese (zh)
Other versions
CN106713886B (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
Shenzhen TCL Digital 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

Landscapes

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

Abstract

The invention discloses a white balance adjustment device and a white balance adjustment method. The white balance adjustment method comprises the following steps: obtaining N gray scale signal pictures and three standard monochrome signal pictures of the white balance adjustment device, and collecting white balance data and brightness data of the N gray scale signal pictures and the white balance data of the three standard monochrome signal pictures; deducing a group of monochrome brightness parameter items corresponding to each gray scale signal picture according to the brightness data and chromaticity coordinates of each gray scale signal picture, and the chromaticity coordinates of the three standard monochrome signal pictures; calculating and generating a group of monochrome target curves according to an interpolation algorithm, N groups of monochrome brightness parameter items of all gray scale signal pictures, and preset standard white balance data and a standard gamma value of the white balance adjustment device; and setting and executing new white balance data and a new gamma value according to the white balance data and the gamma values of the monochrome target curves. By adoption of the white balance adjustment device and the white balance adjustment method disclosed by the invention, white balance adjustment can be performed on large-scale color gradation signals.

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 side Method.
Background technology
Equipment to be adjusted image quality treatment in, scene, personage in order to be able 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 influenceed by its back light system, manufacture craft, material etc., Even with a batch of product, also there is colour temperature, the problem of white balance discreteness.If not carrying out blank level adjustment to it, sternly Ghost image rings the image quality performance of equipment to be adjusted, at the same the image quality of product also can Chinese pennisetum green bristlegrass it is uneven.
At present, traditional white balance debugging method, is all the rule for following Approach by inchmeal:Step one:Data acquisition equipment The white balance data of TV current state is gathered, white balance white balance adjustment device is reached;Step 2:By with blank level adjustment The normal data that device prestores carries out Data Comparison, if the white balance data of collection is undesirable, provides corresponding skew Amount, equipment core to be adjusted is reached by means of communication, treats that equipment core to be adjusted is adjusted, return to step one;If meeting the requirements, Then terminate debugging.
Debugging methodis, have the following problems:Need repeatedly circulation to carry out data acquisition, data transfer, data to compare The steps such as judgement, data point reuse, until reaching target white balance;And above step can only once be carried out for certain color range signal Adjustment, it is impossible to which, while adjusting the white balance of signal (16 to 235 rank) on a large scale, regulated efficiency is low.
The content of the invention
It is a primary object of the present invention to provide a kind of white balance adjustment device and white balance adjustment method, it is intended to solve white Balance adjusting device can only be adjusted during blank level adjustment for single color range signal, lead to not adjust big model Enclose the technical problem of 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, N grayscale signal picture and three monochromatic letters of standard for obtaining white balance adjustment device Number picture, and gather N grayscale signal picture 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 colourity;
Feature derivation module, for according to every brightness data of grayscale signal picture, chromaticity coordinates and three standard lists The chromaticity coordinates of chrominance signal picture, the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture of derivation, one of which is monochromatic Luminance parameter includes red primary luminance parameter, green primary luminance parameter and blue primary luminance parameter;
Aim curve generation module, for the N group monochromatic brightness parameter items according to interpolation algorithm, all grayscale signal pictures And the default standard white balance data of white balance adjustment device and standard gamma values, calculate and generate one group of monochromatic target bent Line, one of which monochrome aim curve includes red primary aim curve, green primary aim curve and blue primary aim curve;
Parameter setting module, for the white balance data according to monochromatic aim curve and gamma values, sets and performs and be new White balance data and gamma values.
Alternatively, the white balance data also includes red primary yield value, green primary yield value, blue primary yield value, institute Red primary yield value, the green primary yield value for stating white balance data in every GTG picture are all consistent with blue primary yield value, and The N of acquisition the red primary yield value of grayscale signal picture, green primary yield value, the numerical value of blue primary yield value are evenly distributed on 0~255 signal spacing, and it is rendered as the incremental trend of equal difference.
Alternatively, the acquisition acquisition module includes:
Acquiring unit, grayscale signal picture and standard monochrome signal picture for obtaining white balance adjustment device;
Collecting unit, white balance data and brightness data and standard monochrome signal picture for gathering grayscale signal picture White balance data;
Judging unit, for judging whether white balance adjustment device has been received by N grayscale signal picture and three standards Monochrome signal picture;
Execution unit, N grayscale signal picture and three standard lists are received for that ought detect white balance adjustment device Chrominance signal picture, stops receiving picture, and N grayscale signal picture and three marks are not received when white balance adjustment device is detected During quasi- monochrome signal picture, then picture is continued to.
Alternatively, 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, green primary luminance parameter and blue primary luminance parameter;
Equation group unit is built, for according to every brightness data of grayscale signal picture, chromaticity coordinates, monochromatic brightness parameter Item and three chromaticity coordinates of standard monochrome signal picture, build equation group;
Derivation unit, for according to the equation group, it is corresponding one group that Derivation goes out every grayscale signal picture Monochromatic brightness parameter item.
Alternatively, the aim curve generation module includes:
Array generation unit, for N groups luminance parameter, default standard white balance according to all grayscale signal pictures Data and standard gamma values, generate three groups of monochromatic arrays, wherein three groups of monochromatic 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 monochromatic arrays, calculating and generating one group of monochromatic mesh Mark song line, one of which monochrome aim curve includes red primary aim curve, green primary aim curve and blue primary aim curve.
Additionally, 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 picture and three standard monochrome signal pictures of white balance adjustment device are obtained, and gathers N ash The white balance data and brightness data of rank signal picture and three white balance datas of standard monochrome signal picture, wherein N>1 and N It is positive integer, the white balance data includes the chromaticity coordinates of colourity;
Sat according to every brightness data of grayscale signal picture, chromaticity coordinates and three colors of standard monochrome signal picture Mark, the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture of derivation, one of which monochromatic brightness parameter item includes red Luminance primary parameter item, green primary luminance parameter and blue primary luminance parameter;
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 monochromatic aim curve, one of which monochrome target is bent Line includes red primary aim curve, green primary aim curve and blue primary aim curve;
White balance data and gamma values according to monochromatic aim curve, set and perform new white balance data and gamma Value.
Alternatively, the white balance data also includes red primary yield value, green primary yield value, blue primary yield value, institute Red primary yield value, the green primary yield value for stating white balance data in every GTG picture are all consistent with blue primary yield value, and The N of acquisition the red primary yield value of grayscale signal picture, green primary yield value, the numerical value of blue primary yield value are evenly distributed on 0~255 signal spacing, and it is rendered as the incremental trend of equal difference.
Alternatively, the N for obtaining white balance adjustment device grayscale signal picture and three standard monochrome signal pictures, And gather N the white balance data and brightness data and three white balance datas of standard monochrome signal picture of grayscale signal picture The step of include:
Obtain the grayscale signal picture and standard monochrome signal picture of white balance adjustment device;
Gather 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 been received by N grayscale signal picture and three standard monochrome signal pictures;
N grayscale signal picture and three standard monochrome signal pictures are received when white balance adjustment device is detected, is stopped Picture is only received, N grayscale signal picture and three standard monochrome signal figures are not received when white balance adjustment device is detected During piece, then picture is continued to.
Alternatively, it is described according to every brightness data of grayscale signal picture, chromaticity coordinates and three standard monochrome signals The chromaticity coordinates of picture, includes the step of derive every grayscale signal picture corresponding one group of monochromatic brightness parameter item:
It is that every grayscale signal picture is correspondingly arranged one group of monochromatic brightness parameter item, one of which monochromatic brightness parameter item bag Include red primary luminance parameter, green primary luminance parameter and blue primary luminance parameter;
According to every brightness data of 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.
Alternatively, it is described according to interpolation algorithm, the N group monochromatic brightness parameter items of all grayscale signal pictures and white balance The default standard white balance data of adjusting apparatus and standard gamma values, wrap the step of calculate and generate one group of monochromatic aim curve Include:
N groups luminance parameter, default standard white balance data and standard gamma according to all grayscale signal pictures Value, generates three groups of monochromatic arrays, wherein three groups of monochromatic arrays include red primary array, green primary array and blue primary array;
According to interpolation algorithm and three groups of monochromatic arrays, one group of monochromatic 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 picture and three standard lists of white balance adjustment device by obtaining acquisition module Chrominance signal picture, and gather N the white balance data and brightness data and three standard monochrome signal pictures of grayscale signal picture White balance data;Then feature derivation module is according to every brightness data of grayscale signal picture, chromaticity coordinates and three marks The chromaticity coordinates of quasi- monochrome signal picture, the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture of derivation;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 Default standard white balance data and standard gamma values are put, one group of monochromatic aim curve is calculated and generate;Final parameter sets mould Root tuber sets and performs 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, and then realize white balance adjustment device adjustment color range signal in claimed range Cover on a large scale, improve the regulated efficiency of white balance data.
Brief 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 of acquisition acquisition module 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 that the refinement module of aim curve generation module in the embodiment of white balance adjustment device of the present invention 5th is illustrated Figure;
Fig. 5 is the schematic flow sheet of white balance adjustment method first embodiment of the present invention;
Fig. 6 is the N GTG 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 gather N grayscale signal pictures white balance data and brightness data and The refinement schematic flow sheet of the step of white balance data of three standard monochrome signal pictures;
Fig. 7 is according to every brightness number of grayscale signal picture described in white balance adjustment method fourth embodiment of the present invention According to, chromaticity coordinates and three chromaticity coordinates of standard monochrome signal picture, derive every grayscale signal picture it is corresponding one group it is monochromatic The refinement schematic flow sheet of the step of luminance parameter;
Fig. 8 is according to interpolation algorithm, all grayscale signal figures described in the embodiment of white balance adjustment method of the present invention 5th The default 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 schematic flow sheet of the step of one group of monochrome aim curve of generation;
Grayscale signal picture and standard list that Fig. 9 is collected by white balance adjustment device in balance adjustment method of the present invention The schematic diagram of the white balance data, brightness data and RGB equal difference incremental values of chrominance signal picture;
Figure 10 is that the coordinate of the monochromatic aim curve of the 5th embodiment calculating generation in balance adjustment method of the present invention is illustrated Figure;
Figure 11 is the variation tendency schematic diagram of the chromaticity coordinates of the white balance data before and after balance adjustment method adjustment of the present invention;
Figure 12 is the schematic diagram of the gamma values of the front and rear each grayscale signal picture of balance adjustment method adjustment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, and refer to the attached drawing is described further.
Specific embodiment
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 invention is realized referring now to Description of Drawings.In follow-up description In, using the suffix of such as " module ", " part " or " unit " for representing element only for being conducive to explanation of the invention, Itself do not have specific meaning.Therefore, " module " can be used mixedly with " part ".
In the present invention, white balance adjustment device can be a device in certain device to be adjusted, just for belonging to it Device to be adjusted carry out blank level adjustment, while itself can also a device to be adjusted, you can white flat to itself carrying out Weighing apparatus adjustment.
The present invention provides a kind of white balance adjustment device, with reference to Fig. 1, in white balance adjustment device first embodiment, and should White balance adjustment device includes:
Acquisition module 10 is obtained, N grayscale signal picture and three standard monochromes for obtaining white balance adjustment device Signal picture, and gather 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 colourity;
GTG refers to the bright-dark degree of brightness, and grayscale signal picture refers to the picture of the light and shade that can represent brightness, ash Rank signal picture is a kind of monochrome image with from black to white 256 grades of gray scales or grade.Monochrome signal is referred in RGB The form of expression under color standard under different base colors (red primary, green primary and blue primary).In grayscale signal picture Each pixel represented 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 change of color.And represent red primary yield value, green primary yield value and the 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 representative picture, including red primary standard drawing, green primary standard drawing and blue primary standard drawing, this three standard drawings are that white balance is adjusted The key picture of engagement positions correct white balance data, its reference data for collecting is the important references during inventive algorithm is calculated Source.The brightness data for collecting is the critical data of the technique effect that blank level adjustment of the present invention finally shows.
Feature derivation module 20, for according to every brightness data of grayscale signal picture, chromaticity coordinates and three standards The chromaticity coordinates of monochrome signal picture, the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture of derivation, one of which list Colour brightness parameter item includes red primary luminance parameter, green primary luminance parameter and blue primary luminance parameter;
The data that adjustment is finally set due to white balance adjustment device are obtained by complicated algorithm derivation operation, therefore its The data volume that computing is participated in algorithm is more, including every the brightness data of 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 every the one of grayscale signal picture group of monochromatic brightness parameter item.Wherein, monochromatic brightness ginseng The several red primaries referred under RGB color standard under different base colors (red primary, green primary and blue primary) are bright Degree parameter item, green primary luminance parameter and blue primary luminance parameter.Every grayscale signal picture all has corresponding monochrome bright Degree parameter item, for example, i-th red primary luminance parameter of grayscale signal picture, green primary luminance parameter 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, every brightness data of grayscale signal picture, chromaticity coordinates and three standard monochrome signal figures The data of the chromaticity coordinates of piece will turn into the calculating elements in the middle of inventive algorithm computing, be closed by logic association each other System, the relation is quantified out, and calculates to obtain three monochromatic brightness parameter items that every grayscale signal picture is set.
Aim curve generation module 30, for the N group monochromatic brightness parameters according to interpolation algorithm, all grayscale signal pictures Item and the default standard white balance data of white balance adjustment device and standard gamma values, calculate and generate one group of monochromatic target Curve, one of which monochrome 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 be in optimal display result under most Good reference value.N group monochromatic brightness parameter items and standard white balance data and standard gamma according to all grayscale signal pictures Value, by the calculating of the series of algorithms such as interpolation algorithm, generates one group of monochromatic aim curve.The monochromatic aim curve is mainly anti- The non-linear relation of input signal and output signal under monochrome signal is answered, the monochromatic aim curve includes that red primary target is bent Line, green primary aim curve and blue primary aim curve.Being included 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 therebetween Data, the change 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, for the white balance data according to monochromatic aim curve and gamma values, sets and performs and be new White balance data and gamma values.
New white balance data and gamma values is included 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 of the white balance adjustment device according to 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 Tu 12, Figure 11 and Figure 12 reflects the color seat of colourity in the white balance data before and after adjustment as the example schematic of the present embodiment Mark and gamma values there occurs obvious change so that the color range signal adjusting range of the equipment expands, and then complete white balance tune Engagement positions adjust the covering on a large scale of color range signal so that the color range signal that blank level adjustment is covered is applied.
The present invention obtains N grayscale signal picture and three standards of white balance adjustment device by obtaining acquisition module 10 Monochrome signal picture, and gather N the white balance data and brightness data and three standard monochrome signal figures of grayscale signal picture The white balance data of piece;Then feature derivation module 20 is according to every brightness data of grayscale signal picture, chromaticity coordinates and three Open the chromaticity coordinates of standard monochrome signal picture, the corresponding one group of monochromatic brightness parameter item of every grayscale signal picture of derivation;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 default standard white balance data of adjusting apparatus and standard gamma values, calculate and generate one group of monochromatic aim curve;Final parameter Setup module 40 according to the white balance data and gamma values of monochromatic aim curve, set and perform new white balance data and Gamma values.Through the above way, 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, and then realize that white balance adjustment device adjusts color in claimed range The covering on a large scale 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, the difference between the second embodiment and first embodiment is that the white balance data also includes red base Color yield value, green primary yield value, blue primary yield value, the red primary gain of white balance data in every GTG picture Value, green primary yield value are all consistent with blue primary yield value, and the red primary yield value of the N grayscale signal pictures for obtaining, green Primary colours yield value, the numerical value of blue primary yield value are evenly distributed on 0~255 signal spacing, and be rendered as equal difference be incremented by become Gesture.
With reference to Fig. 9, the white balance data for collecting is that, for computing of the invention, its 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 colourity, And the N for receiving a grayscale signal picture should have certain feature representative, such as the white of described grayscale signal picture is put down Weighing apparatus data are different, and its RGB color standard value is in 0~255 signal spacing, and its RGB color standard value can be with Showed in the form of equal difference is incremented by, and cover signal spacing on a large scale as far 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 Fig. 2, the difference between the 3rd embodiment and second embodiment is, the acquisition acquisition module 10 include:
Acquiring unit 11, grayscale signal picture and standard monochrome signal picture for obtaining white balance adjustment device;
Collecting unit 12, white balance data and brightness data and standard monochrome signal figure for gathering grayscale signal picture The white balance data of piece;
Judging unit 13, for judging whether white balance adjustment device has been received by N grayscale signal picture and three marks Quasi- monochrome signal picture;
Execution unit 14, N grayscale signal picture and three standards are received for that ought detect white balance adjustment device Monochrome signal picture, stops receiving picture, and N grayscale signal picture and three are not received when white balance adjustment device is detected During standard monochrome signal picture, then picture is continued to.
White balance adjustment device is sequentially output N specific grayscale signal pictures to treating by serial port control signal generator Adjusting device, while controlling colour temperature instrument to gather the white balance datas such as corresponding colourity, brightness data successively and passing white balance tune back Engagement positions.
The present embodiment is understood for convenience, will below be explained by way of example:
Acquiring unit 11 first gets N specific grayscale signal picture and three standard monochrome signal pictures, with 8bit As a example by 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, equipment display picture i to be adjusted by HDMI wire;
3) collecting unit 12 controls colour temperature instrument to gather colourity, brightness data etc. by serial ports, and the data for collecting are by 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 whether judging unit 13 judges i more than 13, if It is that execution unit 14 performs step 5);Otherwise, i adds 1, and execution unit 14 jumps to step 1);
5) 13 groups of GTG colourities, brightness data collections are finished.
With reference to Fig. 9, the RGB numerical tabulars that white balance adjustment device is finally obtained 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 for getting 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 Fig. 3, the difference between the fourth embodiment and 3rd embodiment is, the feature derivation module 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, green primary luminance parameter and blue primary luminance parameter;
Equation group unit 22 is built, for according to every brightness data of grayscale signal picture, chromaticity coordinates, monochromatic brightness ginseng Several and three chromaticity coordinates of standard monochrome signal picture, build equation group;
Derivation unit 23, for according to the equation group, Derivation to go out every grayscale signal picture corresponding Group monochromatic brightness parameter item.
Can be in advance that every grayscale signal picture sets corresponding monochromatic brightness parameter item for convenience of algorithm research, including Red primary luminance parameter, green primary luminance parameter and blue primary luminance parameter.Then obtained according to white balance adjustment device The white balance data of the grayscale signal picture and standard monochrome signal picture for collecting is taken, logic is related between setting up different pieces of information The equation of connection.
The present embodiment institute formulation has three, as described below:
Equation 1:Brightness data and one group of monochromatic brightness parameter item according to the grayscale signal picture set first party Formula, wherein the brightness data that the logical relation of the first equation is the picture is equal to red primary luminance parameter, green primary is bright The parameter sum of degree parameter item and blue primary luminance parameter;
Equation 2:According to the brightness data of the grayscale signal picture, chromaticity coordinates and one group of monochromatic brightness parameter item and Three chromaticity coordinates of standard monochrome signal picture set second party formula, and the logical relation of wherein 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 increases second value times, green primary brightness ginseng The value of several increase third values times and three numerical value sums of value of blue primary luminance parameter increase the 4th numerical value times, wherein the One numerical value is again the ratio of the grayscale signal picture chromaticity coordinates x and y, and second value is again the chromaticity coordinates x of red primary standard drawing With the ratio of y, third value is again the ratio of the chromaticity coordinates x and y of green primary standard drawing, and the 4th numerical value is again blue primary standard drawing 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 Three chromaticity coordinates of standard monochrome signal picture set third party's formula, and the logical relation of wherein third party's formula is the picture The value that brightness data increases the 5th numerical value times is equal to the value that red primary luminance parameter increases the 6th numerical value times, green primary brightness ginseng The value of several increases the 7th numerical value times and three numerical value sums of value of blue primary luminance parameter increase the 8th numerical value times, wherein the Five numerical value again for numerical value 1 and the picture chromaticity coordinates x, y subtract each other the difference of acquisition and the ratio of y, the 6th numerical value again for numerical value 1 and 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 again numerical value 1 and green primary standard The chromaticity coordinates x, y of figure subtract each other the difference of acquisition, the ratio with y, and the 8th numerical value is again numerical value 1 and the chromaticity coordinates of blue primary standard drawing X, y subtract each other the difference of acquisition, the ratio with y;
Supplemented by assistant solve the present embodiment, illustrated with a specific example below:
Assuming that all data of the grayscale signal picture 5 for collecting and three standard monochrome signal pictures are as follows:
Picture 5:The chromaticity coordinates (x5W, y5W) of grayscale signal, brightness Y5W;
Red primary standard drawing:The chromaticity coordinates (x255R, y255R) of monochrome signal, brightness Y255R;
Green primary standard drawing:The chromaticity coordinates (x255G, y255G) of monochrome signal, brightness Y255G;
Blue primary standard drawing:The chromaticity coordinates (x255B, y255B) of monochrome signal, brightness Y255B;
Three monochromatic brightness parameter items for obtaining picture 5 by the citing of parameter setting module 20 are Y5R, Y5G, Y5B.
The first equation (1) is obtained, second party formula (2), third party's formula (3) is as follows:
(1) Y5W=Y5R+Y5G+Y5B
Then by the first equation (1), second party formula (2), third party's formula (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,
Three monochromatic brightness parameter items as picture 5 one group of monochromatic brightness parameter, its solution root will be as subsequent operation The important referential data that step is used.
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 Fig. 4, the difference between the 5th embodiment and fourth embodiment is that the aim curve is generated Module 30 includes:
Array generation unit 31, puts down for the N groups luminance parameter according to all grayscale signal pictures, default standard white Weighing apparatus data and standard gamma values, generate three groups of monochromatic arrays, wherein three groups of monochromatic arrays include red primary array, green primary number Group and blue primary array;
Aim curve generation unit 32, it is monochromatic for according to interpolation algorithm and three groups of monochromatic arrays, calculating and generating one group Aim curve, one of which monochrome aim curve includes 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:
1st, the luminance parameter and default standard of all grayscale signal pictures that array generation unit 31 will get White balance data and standard gamma values carry out its main operational derivation, carry out the monochromatic array of generation three after series of computation, respectively It is 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 different and different according to the debugging points setting of white balance adjustment device), such as R arrays are (R1, R2 ..., Rn), G arrays and B arrays are analogized.
2nd, 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 for it, 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 not definite values, can be different according to default actual conditions. With reference to Figure 10, aim curve generation unit 32 eventually generates one group of monochromatic aim curve, and group monochrome aim curve 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 white balance adjustment device is reached standard white balance data and gamma values.
The present invention also provides a kind of white balance adjustment method, and the white balance adjustment method is mainly used in blank level adjustment dress Put, in white balance adjustment method first embodiment, with reference to Fig. 5, the white balance adjustment method includes:
Step S10, obtains N grayscale signal picture and three standard monochrome signal pictures of white balance adjustment device, and Collection N the white balance data and brightness data and three white balance datas of standard monochrome signal picture of grayscale signal picture, Wherein N>1 and N is positive integer, and the white balance data includes the chromaticity coordinates of colourity;
GTG refers to the bright-dark degree of brightness, and grayscale signal picture refers to the picture of the light and shade that can represent brightness, ash Rank signal picture is a kind of monochrome image with from black to white 256 grades of gray scales or grade.Monochrome signal is referred in RGB The form of expression under color standard under different base colors (red primary, green primary and blue primary).In grayscale signal picture Each pixel represented 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 change of color.And represent red primary yield value, green primary yield value and the 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 representative picture, including red primary standard drawing, green primary standard drawing and blue primary standard drawing, this three standard drawings are that white balance is adjusted The key picture of engagement positions correct white balance data, its reference data for collecting is the important references during inventive algorithm is calculated Source.The brightness data for collecting is the critical data of the technique effect that blank level adjustment of the present invention finally shows.
Step S20, according to every brightness data of 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, green primary luminance parameter and blue primary luminance parameter;
The data that adjustment is finally set due to white balance adjustment device are obtained by complicated algorithm derivation operation, therefore its The data volume that computing is participated in algorithm is more, including every the brightness data of 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 every the one of grayscale signal picture group of monochromatic brightness parameter item.Wherein, monochromatic brightness ginseng The several red primaries referred under RGB color standard under different base colors (red primary, green primary and blue primary) are bright Degree parameter item, green primary luminance parameter and blue primary luminance parameter.Every grayscale signal picture all has corresponding monochrome bright Degree parameter item, for example, i-th red primary luminance parameter of grayscale signal picture, green primary luminance parameter 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, every brightness data of grayscale signal picture, chromaticity coordinates and three standard monochrome signal figures The data of the chromaticity coordinates of piece will turn into the calculating elements in the middle of inventive algorithm computing, be closed by logic association each other System, the relation is quantified out, and calculates to obtain three monochromatic brightness parameter items that every grayscale signal picture is set.
Step S30, adjusts according to interpolation algorithm, the N group monochromatic brightness parameter items of all grayscale signal pictures and white balance The default standard white balance data of engagement positions and standard gamma values, calculate and generate one group of monochromatic 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 be in optimal display result under most Good reference value.N group monochromatic brightness parameter items and standard white balance data and standard gamma according to all grayscale signal pictures Value, by the calculating of the series of algorithms such as interpolation algorithm, generates one group of monochromatic aim curve.The monochromatic aim curve is mainly anti- The non-linear relation of input signal and output signal under monochrome signal is answered, the monochromatic aim curve includes that red primary target is bent Line, green primary aim curve and blue primary aim curve.Being included 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 therebetween Data, the change 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, white balance data and gamma values according to monochromatic aim curve, sets and performs new white balance number According to and gamma values.
New white balance data and gamma values is included 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 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, Figure 11 and Figure 12 as the present embodiment act Illustrate and be intended to, the chromaticity coordinates and gamma values for reflecting colourity in the white balance data before and after adjustment there occurs obvious change, make The color range signal adjusting range for obtaining the equipment expands, and then completes covering on a large scale for white balance adjustment device adjustment color range signal Lid so that the color range signal that blank level adjustment is covered 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 gather N the white balance data and brightness data and three white balance numbers of standard monochrome signal picture of grayscale signal picture According to;Then according to every brightness data of grayscale signal picture, chromaticity coordinates and three chromaticity coordinates of standard monochrome signal picture, The corresponding one group of monochromatic brightness parameter item of every grayscale signal picture of derivation;Then according to interpolation algorithm, all grayscale signal figures The default 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 monochromatic aim curve;White balance data and gamma values finally according to monochromatic aim curve, set and perform and be new White balance data and gamma values.Through the above way, 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 Weighing apparatus adjusting apparatus adjust the covering on a large scale of color range signal, improve 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 between the 3rd embodiment and second embodiment is, the white balance data also includes red primary yield value, green Primary colours yield value, blue primary yield value, the red primary yield value of white balance data, green primary gain in every GTG picture Value is all consistent with blue primary yield value, and N red primary yield value, green primary yield value, the indigo plant of grayscale signal picture for obtaining 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 Fig. 9, the white balance data for collecting is that, for computing of the invention, its 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 colourity, And the N for receiving a grayscale signal picture should have certain feature representative, such as the white of described grayscale signal picture is put down Weighing apparatus data are different, and its RGB color standard value is in 0~255 signal spacing, and its RGB color standard value can be with Showed in the form of equal difference is incremented by, and cover signal spacing on a large scale as far 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 Fig. 6, the difference between the 3rd embodiment and second embodiment is that the N for obtaining white balance adjustment device opens Grayscale signal picture and three standard monochrome signal pictures, and gather N the white balance data and brightness number of grayscale signal picture The step of according to white balance data with three standard monochrome signal pictures, includes:
Step S11, obtains the grayscale signal picture and standard monochrome signal picture of white balance adjustment device;
Step S12, gather 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 been received by N grayscale signal picture and three monochromatic letters of standard Number picture;
Step S14, N grayscale signal picture and three standard monochrome signals are received when white balance adjustment device is detected Picture, stops receiving picture, and N grayscale signal picture and three standard monochromes are not received when white balance adjustment device is detected During signal picture, then picture is continued to.
White balance adjustment device is sequentially output N specific grayscale signal pictures to treating by serial port control signal generator Adjusting device, while controlling colour temperature instrument to gather the white balance datas such as corresponding colourity, brightness data successively and passing white balance tune back Engagement positions.
The present embodiment is understood for convenience, will below be explained by way of example:
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 gathering 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, equipment display picture i to be adjusted by HDMI wire;
3) colour temperature instrument is controlled to gather colourity, brightness data etc. by serial ports, the data for collecting are passed back white flat by serial ports Weighing apparatus adjusting apparatus;
4) white balance adjustment device preserves the data that colour temperature instrument is passed back, while whether i is judged more than 13, if so, performing step It is rapid 5);Otherwise, i adds 1, jumps to step 1);
5) 13 groups of GTG colourities, brightness data collections are finished.
With reference to Fig. 9, the RGB numerical tabulars that white balance adjustment device is finally obtained 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 for getting 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 Fig. 7, the difference between the fourth embodiment and 3rd embodiment is, described according to every GTG The brightness data of signal picture, chromaticity coordinates and three chromaticity coordinates of standard monochrome signal picture, derive every grayscale signal figure The step of piece corresponding one group of monochromatic brightness parameter item, includes:
Step S21, is that every grayscale signal picture is correspondingly arranged one group of monochromatic brightness parameter item, one of which monochromatic brightness Parameter item includes red primary luminance parameter, green primary luminance parameter and blue primary luminance parameter;
Step S22, according to every brightness data of 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 in advance that every grayscale signal picture sets corresponding monochromatic brightness parameter item for convenience of algorithm research, including Red primary luminance parameter, green primary luminance parameter and blue primary luminance parameter.Then obtained according to white balance adjustment device The white balance data of the grayscale signal picture and standard monochrome signal picture for collecting is taken, logic is related between setting up different pieces of information The equation of connection.
The present embodiment institute formulation has three, as described below:
Equation 1:Brightness data and one group of monochromatic brightness parameter item according to the grayscale signal picture set first party Formula, wherein the brightness data that the logical relation of the first equation is the picture is equal to red primary luminance parameter, green primary is bright The parameter sum of degree parameter item and blue primary luminance parameter;
Equation 2:According to the brightness data of the grayscale signal picture, chromaticity coordinates and one group of monochromatic brightness parameter item and Three chromaticity coordinates of standard monochrome signal picture set second party formula, and the logical relation of wherein 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 increases second value times, green primary brightness ginseng The value of several increase third values times and three numerical value sums of value of blue primary luminance parameter increase the 4th numerical value times, wherein the One numerical value is again the ratio of the grayscale signal picture chromaticity coordinates x and y, and second value is again the chromaticity coordinates x of red primary standard drawing With the ratio of y, third value is again the ratio of the chromaticity coordinates x and y of green primary standard drawing, and the 4th numerical value is again blue primary standard drawing 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 Three chromaticity coordinates of standard monochrome signal picture set third party's formula, and the logical relation of wherein third party's formula is the picture The value that brightness data increases the 5th numerical value times is equal to the value that red primary luminance parameter increases the 6th numerical value times, green primary brightness ginseng The value of several increases the 7th numerical value times and three numerical value sums of value of blue primary luminance parameter increase the 8th numerical value times, wherein the Five numerical value again for numerical value 1 and the picture chromaticity coordinates x, y subtract each other the difference of acquisition and the ratio of y, the 6th numerical value again for numerical value 1 and 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 again numerical value 1 and green primary standard The chromaticity coordinates x, y of figure subtract each other the difference of acquisition, the ratio with y, and the 8th numerical value is again numerical value 1 and the chromaticity coordinates of blue primary standard drawing X, y subtract each other the difference of acquisition, the ratio with y;
Supplemented by assistant solve the present embodiment, illustrated with a specific example below:
Assuming that all data of the grayscale signal picture 5 for collecting and three standard monochrome signal pictures are as follows:
Picture 5:The chromaticity coordinates (x5W, y5W) of grayscale signal, brightness Y5W;
Red primary standard drawing:The chromaticity coordinates (x255R, y255R) of monochrome signal, brightness Y255R;
Green primary standard drawing:The chromaticity coordinates (x255G, y255G) of monochrome signal, brightness Y255G;
Blue primary standard drawing:The chromaticity coordinates (x255B, y255B) of monochrome signal, brightness Y255B;
Three monochromatic brightness parameter items for obtaining picture 5 by the citing of parameter setting module 20 are Y5R, Y5G, Y5B.
The first equation (1) is obtained, second party formula (2), third party's formula (3) is as follows:
(1) Y5W=Y5R+Y5G+Y5B
Then by the first equation (1), second party formula (2), third party's formula (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,
Three monochromatic brightness parameter items as picture 5 one group of monochromatic brightness parameter, its solution root will be as subsequent operation The important referential data that step is used.
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 Fig. 8, the difference between the 5th embodiment and fourth embodiment is, it is described according to interpolation algorithm, The default 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, include the step of calculate and generate one group of monochromatic aim curve:
Step S31, N groups luminance parameter, default standard white balance data and mark according to all grayscale signal pictures Quasi- gamma values, generate three groups of monochromatic arrays, wherein three groups of monochromatic arrays include red primary array, green primary array and blue primary Array;
Step S32, according to interpolation algorithm and three groups of monochromatic arrays, calculates and generates one group of monochromatic 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:
1st, the luminance parameter and default standard white balance data and mark of all grayscale signal pictures that will be got Quasi- gamma values carry out its main operational derivation, carry out the monochromatic arrays of generation three 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 It is different and different that debugging points according to white balance adjustment device are set), such as R arrays are (R1, R2 ..., Rn), G arrays and B arrays are analogized.
2nd, after obtaining three monochromatic arrays, these three monochromatic 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 Form, the rest may be inferred by analogy for it, such as element (R2_1, R2_2 ..., R2_m) is formed according to R1 and element R2 interpolation.Need explanation , m not definite values can be different according to default actual conditions.With reference to Figure 10, white balance adjustment device is eventually generated One group of monochromatic aim curve, group monochrome aim curve is divided into red primary aim curve, green primary aim curve and blue primary mesh Mark song line, respectively three coherent aim curves, the final effect of this three curves is white balance adjustment device is reached mark Quasi- white balance data and gamma values.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute are intrinsic Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
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 implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of white balance adjustment device, it is characterised in that the white balance adjustment device includes:
Acquisition module is obtained, N grayscale signal picture and three standard monochrome signal figures for obtaining white balance adjustment device Piece, and gather white balance data and brightness data and three white balances of standard monochrome signal picture that N opens grayscale signal picture Data, wherein N>1 and N is positive integer, and the white balance data includes the chromaticity coordinates of colourity;
Feature derivation module, for according to every brightness data of grayscale signal picture, chromaticity coordinates and three monochromatic letters of standard 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, green primary luminance parameter and blue primary luminance parameter;
Aim curve generation module, for according to interpolation algorithm, the N group monochromatic brightness parameter items of all grayscale signal pictures and The default standard white balance data of white balance adjustment device and standard gamma values, calculate and generate one group of monochromatic aim curve, its In one group of monochromatic aim curve include red primary aim curve, green primary aim curve and blue primary aim curve;
Parameter setting module, for the white balance data according to monochromatic aim curve and gamma values, sets and performs and be new white flat Weighing apparatus data and gamma values.
2. white balance adjustment device as claimed in claim 1, it is characterised in that the white balance data also increases including red primary Beneficial value, green primary yield value, blue primary yield value are the red primary yield value of white balance data in every GTG picture, green Primary colours yield value is all consistent with blue primary yield value, and the N red primary yield value of grayscale signal picture, the green primary increasing for obtaining Beneficial value, the numerical value of blue primary yield value are evenly distributed on 0~255 signal spacing, and are rendered as the incremental trend of equal difference.
3. white balance adjustment device as claimed in claim 2, it is characterised in that the acquisition acquisition module includes:
Acquiring unit, grayscale signal picture and standard monochrome signal picture for obtaining white balance adjustment device;
Collecting unit, for gather grayscale signal picture white balance data and brightness data and standard monochrome signal picture it is white Equilibrium criterion;
Judging unit, for judging whether white balance adjustment device has been received by N grayscale signal picture and three standard monochromes Signal picture;
Execution unit, for white balance adjustment device to receive N grayscale signal picture and three standard monochromes are believed when detecting Number picture, stops receiving picture, and N grayscale signal picture and three standard lists are not received when white balance adjustment device is detected During chrominance signal picture, then picture is continued to.
4. white balance adjustment device as claimed in claim 3, it is characterised 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 Degree parameter item includes red primary luminance parameter, green primary luminance parameter and blue primary luminance parameter;
Build equation group unit, for according to every brightness data of grayscale signal picture, chromaticity coordinates, monochromatic brightness parameter item with And three chromaticity coordinates of standard monochrome signal picture, build equation group;
Derivation unit, for according to the equation group, Derivation go out every grayscale signal picture it is corresponding one group it is monochromatic Luminance parameter.
5. white balance adjustment device as claimed in claim 4, it is characterised in that the aim curve generation module includes:
Array generation unit, for N groups luminance parameter, default standard white balance data according to all grayscale signal pictures And standard gamma values, three groups of monochromatic arrays are generated, wherein three groups of monochromatic arrays include red primary array, green primary array and indigo plant Primary colours array;
Aim curve generation unit, for according to interpolation algorithm and three groups of monochromatic arrays, calculating and generating one group of monochromatic target bent Line, one of which monochrome aim curve includes red primary aim curve, green primary aim curve and blue primary aim curve.
6. a kind of white balance adjustment method, it is characterised in that the white balance adjustment method includes:
N grayscale signal picture and three standard monochrome signal pictures of white balance adjustment device are obtained, and gathers N GTG letter The white balance data and brightness data and three white balance datas of standard monochrome signal picture of number picture, wherein N>1 and N is for just Integer, the white balance data includes the chromaticity coordinates of colourity;
According to every brightness data of grayscale signal picture, chromaticity coordinates and three chromaticity coordinates of standard monochrome signal picture, 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 Degree parameter item, green primary luminance parameter and blue primary luminance parameter;
It is default 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 monochromatic aim curve, one of which monochrome aim curve bag Include red primary aim curve, green primary aim curve and blue primary aim curve;
White balance data and gamma values according to monochromatic aim curve, set and perform new white balance data and gamma values.
7. white balance adjustment method as claimed in claim 6, it is characterised in that the white balance data also increases including red primary Beneficial value, green primary yield value, blue primary yield value are the red primary yield value of white balance data in every GTG picture, green Primary colours yield value is all consistent with blue primary yield value, and the N red primary yield value of grayscale signal picture, the green primary increasing for obtaining Beneficial value, the numerical value of blue primary yield value are evenly distributed on 0~255 signal spacing, and are rendered as the incremental trend of equal difference.
8. white balance adjustment method as claimed in claim 7, it is characterised in that
The N for obtaining white balance adjustment device grayscale signal picture and three standard monochrome signal pictures, and gather N ash 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;
Gather 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 been received by N grayscale signal picture and three standard monochrome signal pictures;
N grayscale signal picture and three standard monochrome signal pictures are received when white balance adjustment device is detected, stops connecing Picture is received, when detecting white balance adjustment device and not receiving N grayscale signal picture and three standard monochrome signal pictures, Then continue to picture.
9. white balance adjustment method as claimed in claim 8, it is characterised in that
It is described to be sat according to every brightness data of grayscale signal picture, chromaticity coordinates and three colors of standard monochrome signal picture Mark, includes the step of derive every grayscale signal picture corresponding one group of monochromatic brightness parameter item:
It is that every grayscale signal picture is correspondingly arranged one group of monochromatic brightness parameter item, one of which monochromatic brightness parameter item includes red Luminance primary parameter item, green primary luminance parameter and blue primary luminance parameter;
According to every brightness data of 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, it is characterised 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, include the step of calculate and generate one group of monochromatic aim curve:
N groups luminance parameter, default standard white balance data and standard gamma values according to all grayscale signal pictures, it is raw Into three groups of monochromatic arrays, wherein three groups of monochromatic arrays include red primary array, green primary array and blue primary array;
According to interpolation algorithm and three groups of monochromatic arrays, one group of monochromatic 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 true CN106713886A (en) 2017-05-24
CN106713886B 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)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107507562A (en) * 2017-08-29 2017-12-22 深圳市佳彩光电科技有限公司 OLED GTG gamma methods of adjustment based on fast search algorithm
CN109996054A (en) * 2017-12-29 2019-07-09 杭州海康威视数字技术股份有限公司 A kind of white balance adjusting method and device
CN111225469A (en) * 2019-12-06 2020-06-02 长春希达电子技术有限公司 LED lighting lamp brightness compensation method for preventing white field drift under different color temperatures
CN112672129A (en) * 2019-10-16 2021-04-16 深圳Tcl新技术有限公司 Color adjusting method and device, computer equipment and readable storage medium
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
CN114222101A (en) * 2021-12-24 2022-03-22 杭州海康威视数字技术股份有限公司 White balance adjusting method and device and electronic equipment
CN114495816A (en) * 2020-10-26 2022-05-13 深圳Tcl数字技术有限公司 Display image adjusting 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
CN115941916A (en) * 2021-08-04 2023-04-07 广州视源电子科技股份有限公司 Correction data determining method, display screen correcting method and determining device

Citations (8)

* 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
US20090046928A1 (en) * 2007-08-14 2009-02-19 Samsung Electro-Mechanics Co., Ltd. Auto white balance method
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
US20150281561A1 (en) * 2012-12-28 2015-10-01 Nubia Technology Co., Ltd Photographic apparatus and photographing method
CN105187811A (en) * 2015-09-18 2015-12-23 广东威创视讯科技股份有限公司 Automatic adjusting method and apparatus for LCD screen white balance

Patent Citations (8)

* 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
US20090046928A1 (en) * 2007-08-14 2009-02-19 Samsung Electro-Mechanics Co., Ltd. Auto white balance method
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
US20150281561A1 (en) * 2012-12-28 2015-10-01 Nubia Technology Co., Ltd Photographic apparatus and photographing method
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
金黄斌: "自动白平衡算法研究及软硬件实现", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107507562A (en) * 2017-08-29 2017-12-22 深圳市佳彩光电科技有限公司 OLED GTG gamma methods of adjustment based on fast search algorithm
CN107507562B (en) * 2017-08-29 2019-11-05 深圳市佳彩光电科技有限公司 OLED grayscale gamma method of adjustment based on fast search algorithm
CN109996054A (en) * 2017-12-29 2019-07-09 杭州海康威视数字技术股份有限公司 A kind of white balance adjusting method and device
CN112672129A (en) * 2019-10-16 2021-04-16 深圳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
CN114495816A (en) * 2020-10-26 2022-05-13 深圳Tcl数字技术有限公司 Display image adjusting 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
CN114222101A (en) * 2021-12-24 2022-03-22 杭州海康威视数字技术股份有限公司 White balance adjusting method and device and electronic equipment
CN114222101B (en) * 2021-12-24 2023-10-10 杭州海康威视数字技术股份有限公司 White balance adjusting method and device and electronic equipment

Also Published As

Publication number Publication date
CN106713886B (en) 2018-11-02

Similar Documents

Publication Publication Date Title
CN106713886A (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
CN103929631B (en) Use white balance adjustment method and the device thereof of scene detection
CN109859689A (en) Screen luminance adjustment method and Related product
CN101953148B (en) Method for processing color image, color processing device and color processing program
US20050237550A1 (en) Automatic color constancy for image sensors
CN107346653B (en) GAMMA curve adjusting method and device based on deep learning
CN104981864A (en) Image processing method and apparatus for display devices
CN101184144B (en) Image forming apparatus and image forming method capable of revising gray image
KR102662177B1 (en) Method and apparatus for color-preserving spectral reshaping
CN104157261A (en) Display mode adjusting method of display device and display mode adjusting module thereof
CN106210440B (en) Image processing apparatus and image processing method
CN114359305A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN102262868A (en) Circuit and method for compensating color deviation of color sequential method
CN100515096C (en) Method and device for digital image adaptative color adjustment of display
CN101594545B (en) Color gamut expanding system and method
JPH0723245A (en) Picture processing unit
CN117746806B (en) Driving method, device, equipment and storage medium of mini LED backlight module
CN102696069A (en) Electronic device, method for adjusting color saturation, program therefor, and recording medium
CN101616332B (en) Color domain expanding system and method
Meng et al. Proposal of minimization problem based lightness modification for protanopia and deuteranopia
CN106782347A (en) Correct the method and device of LED backlight display white point
KR20100061389A (en) Color gamut expansion method and display device
WO2022244073A1 (en) Image processing device, program, and image processing method
US20220084260A1 (en) Efficient color mapping systems and methods

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