CN105554489A - White balance adjusting method and shooting terminal - Google Patents
White balance adjusting method and shooting terminal Download PDFInfo
- Publication number
- CN105554489A CN105554489A CN201510408177.XA CN201510408177A CN105554489A CN 105554489 A CN105554489 A CN 105554489A CN 201510408177 A CN201510408177 A CN 201510408177A CN 105554489 A CN105554489 A CN 105554489A
- Authority
- CN
- China
- Prior art keywords
- temperature value
- colour
- color temperature
- preset
- colour temperature
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000005096 rolling process Methods 0.000 claims abstract description 48
- 230000000694 effects Effects 0.000 abstract description 14
- 230000002708 enhancing effect Effects 0.000 abstract 1
- 230000007613 environmental effect Effects 0.000 description 5
- WFKWXMTUELFFGS-UHFFFAOYSA-N tungsten Chemical compound [W] WFKWXMTUELFFGS-UHFFFAOYSA-N 0.000 description 4
- 229910052721 tungsten Inorganic materials 0.000 description 4
- 239000010937 tungsten Substances 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000001788 irregular Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/84—Camera processing pipelines; Components thereof for processing colour signals
- H04N23/88—Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/56—Processing of colour picture signals
- H04N1/60—Colour correction or control
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Color Television Image Signal Generators (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
The embodiment of the invention discloses a white balance adjusting method. The method comprises: a target position of a rolling point on a preset color temperature scale progress bar is obtained; according to a correspondence relation between the preset position and a color temperature value, a target color temperature value corresponding to the target position is obtained; on the basis of a correspondence relation between a preset color temperature value and a color gain value, a target color gain value corresponding to the target color temperature value is obtained; and white balance adjustment is carried out based on the target color gain value. In addition, the embodiment of the invention also discloses a shooting terminal. The shooting terminal can carry out white balance adjustment under any color temperature value, thereby improving the shooting effect. Moreover, the user can obtain a photo with the needed effect according to the demand, thereby enhancing the user experience.
Description
Technical field
The present invention relates to electronic technology, particularly relate to a kind of white balance adjustment method and camera terminal.
Background technology
Generally speaking, the light color that goes out of reflections off objects is depending on the color of light source.The brain of people can detect and correct of this sort color and change, no matter be therefore under sunlight, fine day, cloudy day, fluorescent lamp, fluorescent lamp or tungsten lamp, the eyes of people all can adapt to such color and change, and can not affect the white object that people see.But, for camera terminal, these whites produced by Different Light in color be still not quite similar.Such as: the photo taken under the environment of tungsten lighting may be partially yellow, the photo that other environment are taken may be partially blue.Therefore camera terminal is when taking pictures, for improving shooting effect, often need to carry out blank level adjustment.
But in current white balance adjustment method, normally carry out adjustment white balance by presetting Environmental adjustments pattern, as in the limited default Environmental adjustments pattern such as fluorescent lamp pattern, fluorescence mode and tungsten filament pattern, but, in existing situation, often external light source is complicated, as there is the hybrid light source of tungsten light source and fluorescent light simultaneously, and the existing default Environmental adjustments pattern provided cannot carry out correct blank level adjustment, thus user cannot be obtained be satisfied with desirable photo, make troubles to user.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, provides a kind of white balance adjustment method and camera terminal.Camera terminal can be made under any color temperature value all to carry out blank level adjustment, promote shooting effect.
In order to solve the problems of the technologies described above, embodiments provide a kind of white balance adjustment method, comprising:
Obtain the target location of point on preset colour temperature scale progress bar of rolling;
According to the corresponding relation of preset position and color temperature value, obtain the aim colour temperature value corresponding to described target location;
According to the corresponding relation of preset color temperature value and colour gain values, obtain the color of object yield value corresponding to described aim colour temperature value;
Blank level adjustment is carried out according to described color of object yield value.
Wherein, comprise before the target location of described acquisition rolling point on preset colour temperature scale progress bar:
By the normal pictures of camera collection under the light source irradiation of preset color temperature value;
Colour gain values is calculated according to described normal pictures;
Set up the corresponding relation of described preset color temperature value and described colour gain values.
Wherein, comprise before the target location of described acquisition rolling point on preset colour temperature scale progress bar:
Show described colour temperature scale progress bar, wherein, described colour temperature scale progress bar comprises colour temperature scale and the rolling point of preset pitch.
Wherein, obtain the target location of point on preset colour temperature scale progress bar of rolling to comprise:
After terminal use drags described rolling point, identify the described target location of point on described colour temperature scale progress bar of rolling.
Wherein, comprise before the target location of described acquisition rolling point on preset colour temperature scale progress bar:
The color temperature value of current outside light is measured by camera;
Described colour temperature scale progress bar is generated according to the color temperature value of described current outside light.
Correspondingly, the embodiment of the present invention additionally provides a kind of camera terminal, comprising:
First acquiring unit, for obtaining the target location of point on preset colour temperature scale progress bar of rolling;
Second acquisition unit, for the corresponding relation according to preset position and color temperature value, obtains the aim colour temperature value corresponding to described target location;
3rd acquiring unit, for the corresponding relation according to preset color temperature value and colour gain values, obtains the color of object yield value corresponding to described aim colour temperature value;
Adjustment unit, for carrying out blank level adjustment according to described color of object yield value.
Wherein, described terminal comprises:
Collecting unit, for by the normal pictures of camera collection under the light source irradiation of preset color temperature value;
Computing unit, for calculating colour gain values according to described normal pictures;
Set up unit, for setting up the corresponding relation of described preset color temperature value and described colour gain values.
Wherein, described terminal comprises:
Display unit, for showing described colour temperature scale progress bar, wherein, described colour temperature scale progress bar comprises colour temperature scale and the rolling point of preset pitch.
Wherein, described first acquiring unit specifically for:
After terminal use drags described rolling point, identify the described target location of point on described colour temperature scale progress bar of rolling.
Wherein, described terminal comprises:
Measuring unit, for measuring the color temperature value of current outside light by camera;
Generation unit, for generating described colour temperature scale progress bar according to the color temperature value of described current outside light.
Implement the embodiment of the present invention, there is following beneficial effect:
The present invention is by obtaining the target location of point on preset colour temperature scale progress bar of rolling, according to the corresponding relation of preset position and color temperature value, obtain the aim colour temperature value corresponding to described target location, according to the corresponding relation of preset color temperature value and colour gain values, obtain the color of object yield value corresponding to described aim colour temperature value, blank level adjustment is carried out according to described color of object yield value, make to make camera terminal all can carry out blank level adjustment under any color temperature value, promote shooting effect, and user can also according to self needing the photo obtaining required effect, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of a kind of white balance adjustment method of the present invention;
Fig. 2 is the colour temperature scale on a kind of colour temperature scale progress bar of providing of the embodiment of the present invention.
Fig. 3 is the colour temperature scale on the another kind of colour temperature scale progress bar that provides of the embodiment of the present invention.
Fig. 4 is the second embodiment schematic flow sheet of a kind of white balance adjustment method of the present invention;
Fig. 5 is that first of a kind of camera terminal of the present invention implements structure chart;
Fig. 6 is that second of a kind of camera terminal of the present invention implements structure chart.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The executive agent of the embodiment of the present invention can be camera terminal, and camera terminal can comprise the terminal that mobile phone, camera etc. have camera.Wherein, above-mentioned camera terminal is only citing, and non exhaustive, including but not limited to above-mentioned camera terminal.
See Fig. 1, it is the first embodiment schematic flow sheet of a kind of white balance adjustment method that the embodiment of the present invention provides.A kind of white balance adjustment method described in the embodiment of the present invention comprises step:
S100, obtains the target location of point on preset colour temperature scale progress bar of rolling.
In embodiments of the present invention, when camera terminal need be taken pictures, camera terminal can show colour temperature scale progress bar automatically, or terminal use can operate capture apparatus, and capture apparatus enters blank level adjustment interface.When capture apparatus enters blank level adjustment interface, capture apparatus can show multiple blank level adjustment pattern and select for user, comprises self-regulation mode, presets environmental pattern and manual adjustment modes etc.When user selects manual adjustment modes, capture apparatus can show colour temperature scale progress bar, to make terminal use by the color temperature value needed for the selection of operation colour temperature scale progress bar, thus carries out the white balance adjusting camera terminal.
In embodiments of the present invention, the scope of colour temperature scale progress bar can be carried out preset, and such as, the scope of colour temperature scale progress bar can be predisposed to 0 ~ 7000K, or the scope of colour temperature scale progress bar can also be predisposed to 2500K ~ 8000K etc.Optionally, the scope of colour temperature scale progress bar can also be carried out preset by user as required, does not limit at this.Further, in embodiments of the present invention, colour temperature scale progress bar also can comprise colour temperature scale and the rolling point of preset spacing.Wherein, colour temperature scale can as Fig. 2, colour temperature scale can be set as the down scale in units of preset spacing 100K, high range in units of preset spacing 1000K, down scale and high range show with different marks respectively, wherein the mark of high range can be more eye-catching, as in Fig. 2 on high range subscript color temperature value.Roll the position of point on colour temperature scale progress bar corresponding to color temperature value, terminal use can according to the colour temperature scale that colour temperature scale progress bar shows, on colour temperature scale progress bar, operation rolling point moves on the corresponding target location of required color temperature value, wherein, the action of operation rolling point can also comprise a certain position directly clicked on colour temperature scale progress bar, such as when terminal use clicks a certain position on colour temperature scale progress bar, then represent on this position that the point that rolls is dragged on colour temperature scale progress bar by terminal use.Wherein, after rolling point is moved, camera terminal can obtain the point that rolls mobile after target location, such as: when terminal use to drag after the point that rolls and stops dragging, camera terminal obtains the point that rolls by after dragging until target location when stopping.
Further, camera terminal also obtains the color temperature value of current outside light by camera, and move on target location corresponding to the color temperature value of extraneous light according to the color temperature value of the extraneous light rolling point controlled on colour temperature scale progress bar, read the color temperature value of current outside light to facilitate terminal use from colour temperature scale progress bar.
Further, when camera terminal obtains the color temperature value of current outside light by camera, camera terminal can generate colour temperature scale progress bar according to the color temperature value of current outside light and show colour temperature scale progress bar, wherein, the colour temperature meter full scale of this colour temperature scale progress bar can be centered by the color temperature value of current outside light, to be spaced apart the numerical value of preset interval for upper lower limit value, as when the color temperature value of current outside light is Ct, when preset interval is 1000K, then colour temperature meter full scale can be (Ct-1000K, Ct+1000K), as shown in Figure 3.Thus make terminal use can carry out manual white balance adjustment more accurately, obtain the photographic work needed for terminal use.Wherein, terminal use selects terminal to be that the color temperature value obtaining current outside light carries out blank level adjustment or carrying out manual input color temperature value by user carries out blank level adjustment by button or screen operator.
S101, according to the corresponding relation of preset position and color temperature value, obtains the aim colour temperature value corresponding to described target location.
In embodiments of the present invention, the corresponding relation of the position of each point that rolls that camera terminal can be corresponding by each color temperature value on colour temperature scale progress bar is stored in camera terminal.When camera terminal gets target location, according to the position of rolling point stored and the corresponding relation of color temperature value, the aim colour temperature value that target location is corresponding can be obtained.
S102, according to the corresponding relation of preset color temperature value and colour gain values, obtains the color of object yield value corresponding to described aim colour temperature value.
In embodiments of the present invention, colour gain values can comprise red gain value R_gain and blue gain value B_gain, and this colour gain values can be used for the adjustment blue component of picture or the output of red component.Wherein, camera terminal can set up the corresponding relation of color temperature value and colour gain values.Concrete, camera terminal can set up the corresponding relation of scattered irregular color temperature value and colour gain values, e.g., sets up the corresponding relation that color temperature value is the color temperature values such as 2000K, 2400K, 3900K and colour gain values.Or camera terminal also can set up the color temperature value of preset interval and the corresponding relation of colour gain values.As: if preset interval is 100K, initial color temperature value is 2000K, cut-off color temperature value is 8000K, the color temperature value then can set up and the corresponding relation of colour gain values can be: setting up color temperature value is 2000K, 2100K, 2200K ... the corresponding relation of 8000K and colour gain values, wherein, preset interval also other numerical value, do not limit at this.User can input corresponding colour gain values according to different color temperature values on camera terminal, thus sets up the corresponding relation of color temperature value and color gain.
In embodiments of the present invention, when terminal get aim colour temperature value carry out adjustment white balance time, first camera terminal can judge whether camera terminal has the corresponding relation setting up aim colour temperature value and colour gain values, namely camera terminal can set up color temperature value and colour gain values corresponding relation in inquire about the corresponding relation whether storing this aim colour temperature value and colour gain values.Or can also be that, when camera terminal is the corresponding relation setting up the color temperature value of preset interval and colour gain values, camera terminal can judge whether aim colour temperature value can be divided exactly by preset interval.When being divided exactly by preset interval, then can obtain color of object yield value corresponding to aim colour temperature value at the color temperature value set up with the corresponding relation of colour gain values.When being divided exactly by preset interval, camera terminal can judge two adjacent color temperature value C1 and C2 of aim colour temperature value, and wherein, this color temperature value sets up the corresponding relation having color temperature value and colour gain values.Thus the colour gain values that camera terminal can obtain color temperature value C1 corresponding according to two color temperature value C1 and color temperature value C2 be R_gain1 and B_gain1, and colour gain values corresponding to color temperature value C2 is R_gain2 and B_gain2.Further, camera terminal can obtain the weight of color temperature value C1 and color temperature value C2, and according to weight and colour gain values R_gain1 corresponding to color temperature value C1 and color temperature value C2, B_gain1, R_gain2 and B_gain2 calculate colour gain values corresponding to aim colour temperature value.Concrete, can such as: time between the scope that aim colour temperature value Ct drops on 2400K and 2500K, the then weights W 2=(2500-Ct)/100 of color temperature value C1 to be the weights W 1=(Ct-2400)/100 of 2400K, color temperature value C2 be 2500K, the R_gain of aim colour temperature value Ct
ct=W1*R_gain1+W2*R_gain2, the B_gain of aim colour temperature value Ct
ct=W1*B_gain1+W2*B_gain2.Thus obtain the colour gain values B_gain of aim colour temperature value Ct
ctand R_gain
ct.
S103, carries out blank level adjustment according to described color of object yield value.
The red gain value of the color of object yield value of acquisition and blue gain value can act on red output component and blue output component by camera terminal respectively, thus complete white balance adjusting.
The present invention is by obtaining the target location of point on preset colour temperature scale progress bar of rolling, according to the corresponding relation of preset position and color temperature value, obtain the aim colour temperature value corresponding to described target location, according to the corresponding relation of preset color temperature value and colour gain values, obtain the color of object yield value corresponding to described aim colour temperature value, blank level adjustment is carried out according to described color of object yield value, make to make camera terminal all can carry out blank level adjustment under any color temperature value, promote shooting effect, and user can also according to self needing the photo obtaining required effect, improve Consumer's Experience.
See Fig. 4, it is the second embodiment schematic flow sheet of a kind of white balance adjustment method that the embodiment of the present invention provides.A kind of white balance adjustment method described in the embodiment of the present invention comprises step:
S200, by the normal pictures of camera collection under the light source irradiation of preset color temperature value.
In embodiments of the present invention, camera terminal according to the scope of colour temperature scale progress bar, can arrange the light source of different color temperature values, thus by the normal pictures of camera collection under the light source irradiation of different color temperature values.As: when the threshold range of the colour temperature scale progress bar of camera terminal is 2000K ~ 7000K, terminal use can under the lamp box of adjustable color temperature, lamp box color temperature value is adjusted to default color temperature value, and by camera collection be the normal pictures under the light source irradiation of preset color temperature value in colour temperature, wherein, normal pictures can be RAW form, preset color temperature value can be 2000K, 2100K, 2200K, the color temperature value of 2300K 100K at equal intervals, or also can be the color temperature value at other intervals, can also be random color temperature value.When preset color temperature value is the color temperature value of 2000K, 2100K, 2200K, 2300K 100K at equal intervals, that is, camera terminal can gather a normal pictures under the light source irradiation of the color temperature value every 100K.Wherein, normal pictures can be the picture that the picture taken ash card or dialogue card are taken or the picture etc. taken white body of wall, does not limit at this.Camera terminal can carry out taking white card or ash card etc. by full shot, and namely FOV is 100%.That is, camera terminal is taken pictures to ash card by camera, and wherein, ash card can occupy picture in camera lens.
S201, calculates colour gain values according to described normal pictures.
In embodiments of the present invention, when camera terminal acquires normal pictures corresponding to default color temperature value, camera terminal can obtain preset reference point, that is, when camera terminal collection be the normal pictures of ash card time, camera terminal can obtain grey reference point; When camera terminal collection be the normal pictures of white card time, camera terminal can obtain white reference point, and wherein, white reference point or grey reference point are the reference point of real white or the reference point of real grey.After camera terminal obtains preset reference point, camera terminal can calculate the colour gain values of every pictures according to Pre-set reference point and the normal pictures collected.
S202, sets up the corresponding relation of described preset color temperature value and described colour gain values.
S203, obtains the target location of point on preset colour temperature scale progress bar of rolling.
S204, according to the corresponding relation of preset position and color temperature value, obtains the aim colour temperature value corresponding to described target location;
S205, according to the corresponding relation of preset color temperature value and colour gain values, obtains the color of object yield value corresponding to described aim colour temperature value.
S206, carries out blank level adjustment according to described color of object yield value.
In embodiments of the present invention, the embodiment class of step S203, step S204, step S205 and step S206 participates in step S100, step S101, step S102 and step S103 in embodiment one, no longer repeats at this.
The present invention is by obtaining the target location of point on preset colour temperature scale progress bar of rolling, according to the corresponding relation of preset position and color temperature value, obtain the aim colour temperature value corresponding to described target location, according to the corresponding relation of preset color temperature value and colour gain values, obtain the color of object yield value corresponding to described aim colour temperature value, blank level adjustment is carried out according to described color of object yield value, make to make camera terminal all can carry out blank level adjustment under any color temperature value, promote shooting effect, and user can also according to self needing the photo obtaining required effect, improve Consumer's Experience.
See Fig. 5, be the first example structure figure of a kind of camera terminal that the embodiment of the present invention provides.Camera terminal described in the embodiment of the present invention, comprising:
First acquiring unit 100, for obtaining the target location of point on preset colour temperature scale progress bar of rolling.
Second acquisition unit 200, for the corresponding relation according to preset position and color temperature value, obtains the aim colour temperature value corresponding to described target location.
3rd acquiring unit 300, for the corresponding relation according to preset color temperature value and colour gain values, obtains the color of object yield value corresponding to described aim colour temperature value.
Adjustment unit 400, for carrying out blank level adjustment according to described color of object yield value.
In embodiments of the present invention, when camera terminal need be taken pictures, camera terminal can show colour temperature scale progress bar automatically, or terminal use can operate capture apparatus, and capture apparatus enters blank level adjustment interface.When capture apparatus enters blank level adjustment interface, capture apparatus can show multiple blank level adjustment pattern and select for user, comprises self-regulation mode, presets environmental pattern and manual adjustment modes etc.When user selects manual adjustment modes, capture apparatus can show colour temperature scale progress bar, to make terminal use by the color temperature value needed for the selection of operation colour temperature scale progress bar, thus carries out the white balance adjusting camera terminal.
In embodiments of the present invention, the scope of colour temperature scale progress bar can be carried out preset, and such as, the scope of colour temperature scale progress bar can be predisposed to 0 ~ 7000K, or the scope of colour temperature scale progress bar can also be predisposed to 2500K ~ 8000K etc.Optionally, the scope of colour temperature scale progress bar can also be carried out preset by user as required, does not limit at this.Further, in embodiments of the present invention, colour temperature scale progress bar also can comprise colour temperature scale and the rolling point of preset spacing.Wherein, colour temperature scale can as Fig. 2, colour temperature scale can be set as the down scale in units of preset spacing 100K, high range in units of preset spacing 1000K, down scale and high range show with different marks respectively, wherein the mark of high range can be more eye-catching, as in Fig. 2 on high range subscript color temperature value.Roll the position of point on colour temperature scale progress bar corresponding to color temperature value, terminal use can according to the colour temperature scale that colour temperature scale progress bar shows, on colour temperature scale progress bar, operation rolling point moves on the corresponding target location of required color temperature value, wherein, the action of operation rolling point can also comprise a certain position directly clicked on colour temperature scale progress bar, such as when terminal use clicks a certain position on colour temperature scale progress bar, then represent on this position that the point that rolls is dragged on colour temperature scale progress bar by terminal use.Wherein, after rolling point is moved, first acquiring unit 100 can obtain the point that rolls mobile after target location, such as: when terminal use to drag after the point that rolls and stops dragging, the first acquiring unit 100 obtains the point that rolls by after dragging until target location when stopping.
Further, camera terminal also obtains the color temperature value of current outside light by camera, and move on target location corresponding to the color temperature value of extraneous light according to the color temperature value of the extraneous light rolling point controlled on colour temperature scale progress bar, read the color temperature value of current outside light to facilitate terminal use from colour temperature scale progress bar.
Further, when camera terminal obtains the color temperature value of current outside light by camera, camera terminal can generate colour temperature scale progress bar according to the color temperature value of current outside light and show colour temperature scale progress bar, wherein, the colour temperature meter full scale of this colour temperature scale progress bar can be centered by the color temperature value of current outside light, to be spaced apart the numerical value of preset interval for upper lower limit value, when color temperature value as current outside light is Ct, when preset interval is 1000K, then colour temperature meter full scale can be (Ct-1000K, Ct+1000K), as shown in Figure 3.Thus make terminal use can carry out manual white balance adjustment more accurately, obtain the photographic work needed for terminal use.Wherein, terminal use selects terminal to be that the color temperature value obtaining current outside light carries out blank level adjustment or carrying out manual input color temperature value by user carries out blank level adjustment by button or screen operator.
In embodiments of the present invention, the corresponding relation of the position of each point that rolls that camera terminal can be corresponding by each color temperature value on colour temperature scale progress bar is stored in camera terminal.When getting target location, second acquisition unit 200 according to the position of rolling point stored and the corresponding relation of color temperature value, can obtain the aim colour temperature value that target location is corresponding.
In embodiments of the present invention, colour gain values can comprise red gain value R_gain and blue gain value B_gain, and this colour gain values can be used for the adjustment blue component of picture or the output of red component.Wherein, camera terminal can set up the corresponding relation of color temperature value and colour gain values.Concrete, camera terminal can set up the corresponding relation of scattered irregular color temperature value and colour gain values, e.g., sets up the corresponding relation that color temperature value is the color temperature values such as 2000K, 2400K, 3900K and colour gain values.Or camera terminal also can set up the color temperature value of preset interval and the corresponding relation of colour gain values.As: if preset interval is 100K, initial color temperature value is 2000K, cut-off color temperature value is 8000K, the color temperature value then can set up and the corresponding relation of colour gain values can be: setting up color temperature value is 2000K, 2100K, 2200K ... the corresponding relation of 8000K and colour gain values, wherein, preset interval also other numerical value, do not limit at this.User can input corresponding colour gain values according to different color temperature values on camera terminal, thus sets up the corresponding relation of color temperature value and color gain.
In embodiments of the present invention, when second acquisition unit 200 get aim colour temperature value carry out adjustment white balance time, first 3rd acquiring unit 300 can judge whether camera terminal has the corresponding relation setting up aim colour temperature value and colour gain values, namely the 3rd acquiring unit 300 can set up color temperature value and colour gain values corresponding relation in inquire about the corresponding relation whether storing this aim colour temperature value and colour gain values.Or can also be that, when camera terminal is the corresponding relation setting up the color temperature value of preset interval and colour gain values, the 3rd acquiring unit 300 can judge whether aim colour temperature value can be divided exactly by preset interval.When being divided exactly by preset interval, then the 3rd acquiring unit 300 can obtain color of object yield value corresponding to aim colour temperature value at the color temperature value set up with the corresponding relation of colour gain values.When being divided exactly by preset interval, the 3rd acquiring unit 300 can judge two adjacent color temperature value C1 and C2 of aim colour temperature value, and wherein, this color temperature value sets up the corresponding relation having color temperature value and colour gain values.Thus the colour gain values that the 3rd acquiring unit 300 can obtain color temperature value C1 corresponding according to two color temperature value C1 and color temperature value C2 be R_gain1 and B_gain1, and colour gain values corresponding to color temperature value C2 is R_gain2 and B_gain2.Further, 3rd acquiring unit 300 can obtain the weight of color temperature value C1 and color temperature value C2, and according to weight and colour gain values R_gain1 corresponding to color temperature value C1 and color temperature value C2, B_gain1, R_gain2 and B_gain2 calculate colour gain values corresponding to aim colour temperature value.Concrete, can such as: time between the scope that aim colour temperature value Ct drops on 2400K and 2500K, the color temperature value C1 that then the 3rd acquiring unit 300 obtains is the weights W 1=(Ct-2400)/100 of 2400K, color temperature value C2 is the weights W 2=(2500-Ct)/100 of 2500K, the R_gain of aim colour temperature value Ct
ct=W1*R_gain1+W2*R_gain2, the B_gain of aim colour temperature value Ct
ct=W1*B_gain1+W2*B_gain2.Thus the 3rd acquiring unit 300 obtains the colour gain values B_gain of aim colour temperature value Ct
ctand R_gainCt.
The red gain value of the color of object yield value of acquisition and blue gain value can act on red output component and blue output component by adjustment unit 400 respectively, thus complete white balance adjusting.
The present invention is by obtaining the target location of point on preset colour temperature scale progress bar of rolling, according to the corresponding relation of preset position and color temperature value, obtain the aim colour temperature value corresponding to described target location, according to the corresponding relation of preset color temperature value and colour gain values, obtain the color of object yield value corresponding to described aim colour temperature value, blank level adjustment is carried out according to described color of object yield value, make to make camera terminal all can carry out blank level adjustment under any color temperature value, promote shooting effect, and user can also according to self needing the photo obtaining required effect, improve Consumer's Experience.
See Fig. 5, be the first example structure figure of a kind of camera terminal that the embodiment of the present invention provides.Camera terminal described in the embodiment of the present invention, comprising:
First acquiring unit 100, second acquisition unit 200, the 3rd acquiring unit 300 and adjustment unit 400.
Wherein, described camera terminal also comprises:
Collecting unit 500, for by the normal pictures of camera collection under the light source irradiation of preset color temperature value.
Computing unit 600, for calculating colour gain values according to described normal pictures.
Set up unit 700, for setting up the corresponding relation of described preset color temperature value and described colour gain values.
Wherein, described terminal comprises:
Display unit, for showing described colour temperature scale progress bar, wherein, described colour temperature scale progress bar comprises colour temperature scale and the rolling point of preset pitch.
Wherein, described first acquiring unit 100 specifically for:
After terminal use drags described rolling point, identify the described target location of point on described colour temperature scale progress bar of rolling.
Wherein, described terminal comprises:
Measuring unit, for measuring the color temperature value of current outside light by camera;
Generation unit, for generating described colour temperature scale progress bar according to the color temperature value of described current outside light.
In embodiments of the present invention, camera terminal according to the scope of colour temperature scale progress bar, can arrange the light source of different color temperature values, thus collecting unit 500 is by the normal pictures of camera collection under the light source irradiation of different color temperature values.As: when the threshold range of the colour temperature scale progress bar of camera terminal is 2000K ~ 7000K, terminal use can under the lamp box of adjustable color temperature, lamp box color temperature value is adjusted to default color temperature value, and collecting unit 500 is the normal pictures under the light source irradiation of preset color temperature value in colour temperature by camera collection, wherein, preset color temperature value can be 2000K, 2100K, 2200K, the color temperature value of 2300K 100K at equal intervals, or also can be the color temperature value at other intervals, can also be random color temperature value.When preset color temperature value is the color temperature value of 2000K, 2100K, 2200K, 2300K 100K at equal intervals, that is, collecting unit 500 can gather a normal pictures under the light source irradiation of the color temperature value every 100K.Wherein, normal pictures can be the picture that the picture taken ash card or dialogue card are taken or the picture etc. taken white body of wall, does not limit at this.Camera terminal can carry out taking white card or ash card etc. by full shot, and namely FOV is 100%.That is, camera terminal is taken pictures to ash card by camera, and wherein, ash card can occupy picture in camera lens.
In embodiments of the present invention, when collecting unit 500 acquires normal pictures corresponding to default color temperature value, computing unit 600 can obtain preset reference point, is namely, when collecting unit 500 gather be ash card normal pictures time, computing unit 600 can obtain grey reference point; When collecting unit 500 gather be the normal pictures of white card time, computing unit 600 can obtain white reference point, and wherein, white reference point or grey reference point are the reference point of real white or the reference point of real grey.After computing unit 600 obtains preset reference point, computing unit 600 can calculate the colour gain values of every pictures according to Pre-set reference point and the normal pictures collected.
Wherein, be understandable that, the function of each functional module of the present embodiment also according to the associated description with reference to above-described embodiment, no longer can repeat herein.
The present invention is by obtaining the target location of point on preset colour temperature scale progress bar of rolling, according to the corresponding relation of preset position and color temperature value, obtain the aim colour temperature value corresponding to described target location, according to the corresponding relation of preset color temperature value and colour gain values, obtain the color of object yield value corresponding to described aim colour temperature value, blank level adjustment is carried out according to described color of object yield value, make to make camera terminal all can carry out blank level adjustment under any color temperature value, promote shooting effect, and user can also according to self needing the photo obtaining required effect, improve Consumer's Experience.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.
Claims (10)
1. a white balance adjustment method, is characterized in that, described method comprises:
Obtain the target location of point on preset colour temperature scale progress bar of rolling;
According to the corresponding relation of preset position and color temperature value, obtain the aim colour temperature value corresponding to described target location;
According to the corresponding relation of preset color temperature value and colour gain values, obtain the color of object yield value corresponding to described aim colour temperature value;
Blank level adjustment is carried out according to described color of object yield value.
2. method as claimed in claim 1, is characterized in that, described obtain the target location of point on preset colour temperature scale progress bar of rolling before comprise:
By the normal pictures of camera collection under the light source irradiation of preset color temperature value;
Colour gain values is calculated according to described normal pictures;
Set up the corresponding relation of described preset color temperature value and described colour gain values.
3. the method for claim 1, is characterized in that, described acquisition rolling point comprises before the target location on preset colour temperature scale progress bar:
Show described colour temperature scale progress bar, wherein, described colour temperature scale progress bar comprises colour temperature scale and the rolling point of preset pitch.
4. method as claimed in claim 3, is characterized in that, obtains the target location of point on preset colour temperature scale progress bar of rolling and comprises:
After terminal use drags described rolling point, identify the described target location of point on described colour temperature scale progress bar of rolling.
5. the method for claim 1, is characterized in that, described acquisition rolling point comprises before the target location on preset colour temperature scale progress bar:
The color temperature value of current outside light is measured by camera;
Described colour temperature scale progress bar is generated according to the color temperature value of described current outside light.
6. a camera terminal, is characterized in that, described terminal comprises:
First acquiring unit, for obtaining the target location of point on preset colour temperature scale progress bar of rolling;
Second acquisition unit, for the corresponding relation according to preset position and color temperature value, obtains the aim colour temperature value corresponding to described target location;
3rd acquiring unit, for the corresponding relation according to preset color temperature value and colour gain values, obtains the color of object yield value corresponding to described aim colour temperature value;
Adjustment unit, for carrying out blank level adjustment according to described color of object yield value.
7. terminal as claimed in claim 6, it is characterized in that, described terminal comprises:
Collecting unit, for by the normal pictures of camera collection under the light source irradiation of preset color temperature value;
Computing unit, for calculating colour gain values according to described normal pictures;
Set up unit, for setting up the corresponding relation of described preset color temperature value and described colour gain values.
8. terminal as claimed in claim 6, it is characterized in that, described terminal comprises:
Display unit, for showing described colour temperature scale progress bar, wherein, described colour temperature scale progress bar comprises colour temperature scale and the rolling point of preset pitch.
9. terminal as claimed in claim 8, is characterized in that, described first acquiring unit specifically for:
After terminal use drags described rolling point, identify the described target location of point on described colour temperature scale progress bar of rolling.
10. terminal as claimed in claim 6, it is characterized in that, described terminal comprises:
Measuring unit, for measuring the color temperature value of current outside light by camera;
Generation unit, for generating described colour temperature scale progress bar according to the color temperature value of described current outside light.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510408177.XA CN105554489A (en) | 2015-07-10 | 2015-07-10 | White balance adjusting method and shooting terminal |
PCT/CN2015/085882 WO2017008351A1 (en) | 2015-07-10 | 2015-07-31 | White balance adjusting method and photographing terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510408177.XA CN105554489A (en) | 2015-07-10 | 2015-07-10 | White balance adjusting method and shooting terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105554489A true CN105554489A (en) | 2016-05-04 |
Family
ID=55833400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510408177.XA Pending CN105554489A (en) | 2015-07-10 | 2015-07-10 | White balance adjusting method and shooting terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105554489A (en) |
WO (1) | WO2017008351A1 (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107045416A (en) * | 2017-04-07 | 2017-08-15 | 广东欧珀移动通信有限公司 | Color temperature adjusting method, device and display device |
CN107360410A (en) * | 2017-07-10 | 2017-11-17 | 广东欧珀移动通信有限公司 | Method for controlling white balance, device and terminal device |
CN108280857A (en) * | 2017-12-28 | 2018-07-13 | 努比亚技术有限公司 | Camera method for parameter configuration, mobile terminal and computer readable storage medium |
CN108877733A (en) * | 2018-06-04 | 2018-11-23 | Oppo广东移动通信有限公司 | Color temperature adjusting method and relevant apparatus |
CN109068116A (en) * | 2018-08-31 | 2018-12-21 | 青岛海信移动通信技术股份有限公司 | Image processing method, device, mobile terminal and storage medium based on light filling |
CN109618146A (en) * | 2018-12-05 | 2019-04-12 | 维沃移动通信有限公司 | A kind of image processing method and terminal device |
CN110555443A (en) * | 2018-06-01 | 2019-12-10 | 杭州海康威视数字技术股份有限公司 | Color classification method, device and storage medium |
CN111492653A (en) * | 2017-09-30 | 2020-08-04 | 深圳传音通讯有限公司 | Method and device for quickly adjusting white balance of camera and computer readable storage medium |
CN114664273A (en) * | 2020-12-23 | 2022-06-24 | 深圳Tcl数字技术有限公司 | Color temperature adjusting method and device, terminal equipment and storage medium |
CN115914602A (en) * | 2022-11-28 | 2023-04-04 | 峰米(重庆)创新科技有限公司 | White balance adjustment method, white balance adjustment device, computer equipment and storage medium |
WO2023240444A1 (en) * | 2022-06-14 | 2023-12-21 | 北京小米移动软件有限公司 | Image processing method, apparatus and storage medium |
WO2024092426A1 (en) * | 2022-10-31 | 2024-05-10 | 北京小米移动软件有限公司 | White-balance gain compensation method and apparatus, and electronic device |
CN118175274A (en) * | 2024-05-15 | 2024-06-11 | 福思(杭州)智能科技有限公司 | Image processing method, device, storage medium and electronic equipment |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107610098B (en) * | 2017-08-17 | 2020-09-01 | 努比亚技术有限公司 | Evaluation method of AWB algorithm, mobile terminal and computer-readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040179113A1 (en) * | 2003-03-13 | 2004-09-16 | Nikon Corporation | White balance adjustment circuit and image-capturing apparatus |
CN1953561A (en) * | 2006-11-27 | 2007-04-25 | 北京中星微电子有限公司 | A system and method to correct white balance |
US20090102944A1 (en) * | 2007-10-22 | 2009-04-23 | Nishizawa Yuka | Color signal processing circuit, image pickup apparatus, and color signal processing method |
CN101600121A (en) * | 2008-06-03 | 2009-12-09 | 亚洲光学股份有限公司 | A kind of computational methods of white balance correct value |
CN101753847A (en) * | 2008-12-10 | 2010-06-23 | 三星数码影像株式会社 | Color temperature compensating imaging apparatus and method |
CN104168468A (en) * | 2013-11-08 | 2014-11-26 | 深圳市中兴移动通信有限公司 | White-balance adjusting method and device |
CN104427317A (en) * | 2013-08-26 | 2015-03-18 | 联想(北京)有限公司 | Image acquisition method and electronic equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1202491C (en) * | 2000-12-28 | 2005-05-18 | 金宝电子工业股份有限公司 | White balancing treatment method for digital image pick-up |
JP4028358B2 (en) * | 2002-02-05 | 2007-12-26 | 株式会社リコー | Imaging apparatus, display control method, program, and recording medium |
JP2005175975A (en) * | 2003-12-12 | 2005-06-30 | Canon Inc | Image processor |
CN100551081C (en) * | 2007-04-23 | 2009-10-14 | 北京中星微电子有限公司 | A kind of method and device of realizing white balance correction |
-
2015
- 2015-07-10 CN CN201510408177.XA patent/CN105554489A/en active Pending
- 2015-07-31 WO PCT/CN2015/085882 patent/WO2017008351A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040179113A1 (en) * | 2003-03-13 | 2004-09-16 | Nikon Corporation | White balance adjustment circuit and image-capturing apparatus |
CN1953561A (en) * | 2006-11-27 | 2007-04-25 | 北京中星微电子有限公司 | A system and method to correct white balance |
US20090102944A1 (en) * | 2007-10-22 | 2009-04-23 | Nishizawa Yuka | Color signal processing circuit, image pickup apparatus, and color signal processing method |
CN101600121A (en) * | 2008-06-03 | 2009-12-09 | 亚洲光学股份有限公司 | A kind of computational methods of white balance correct value |
CN101753847A (en) * | 2008-12-10 | 2010-06-23 | 三星数码影像株式会社 | Color temperature compensating imaging apparatus and method |
CN104427317A (en) * | 2013-08-26 | 2015-03-18 | 联想(北京)有限公司 | Image acquisition method and electronic equipment |
CN104168468A (en) * | 2013-11-08 | 2014-11-26 | 深圳市中兴移动通信有限公司 | White-balance adjusting method and device |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107045416A (en) * | 2017-04-07 | 2017-08-15 | 广东欧珀移动通信有限公司 | Color temperature adjusting method, device and display device |
CN107360410A (en) * | 2017-07-10 | 2017-11-17 | 广东欧珀移动通信有限公司 | Method for controlling white balance, device and terminal device |
CN111492653A (en) * | 2017-09-30 | 2020-08-04 | 深圳传音通讯有限公司 | Method and device for quickly adjusting white balance of camera and computer readable storage medium |
CN108280857A (en) * | 2017-12-28 | 2018-07-13 | 努比亚技术有限公司 | Camera method for parameter configuration, mobile terminal and computer readable storage medium |
CN110555443A (en) * | 2018-06-01 | 2019-12-10 | 杭州海康威视数字技术股份有限公司 | Color classification method, device and storage medium |
CN110555443B (en) * | 2018-06-01 | 2022-05-20 | 杭州海康威视数字技术股份有限公司 | Color classification method, device and storage medium |
CN108877733A (en) * | 2018-06-04 | 2018-11-23 | Oppo广东移动通信有限公司 | Color temperature adjusting method and relevant apparatus |
CN109068116A (en) * | 2018-08-31 | 2018-12-21 | 青岛海信移动通信技术股份有限公司 | Image processing method, device, mobile terminal and storage medium based on light filling |
CN109618146A (en) * | 2018-12-05 | 2019-04-12 | 维沃移动通信有限公司 | A kind of image processing method and terminal device |
CN114664273A (en) * | 2020-12-23 | 2022-06-24 | 深圳Tcl数字技术有限公司 | Color temperature adjusting method and device, terminal equipment and storage medium |
WO2023240444A1 (en) * | 2022-06-14 | 2023-12-21 | 北京小米移动软件有限公司 | Image processing method, apparatus and storage medium |
WO2024092426A1 (en) * | 2022-10-31 | 2024-05-10 | 北京小米移动软件有限公司 | White-balance gain compensation method and apparatus, and electronic device |
CN115914602A (en) * | 2022-11-28 | 2023-04-04 | 峰米(重庆)创新科技有限公司 | White balance adjustment method, white balance adjustment device, computer equipment and storage medium |
CN118175274A (en) * | 2024-05-15 | 2024-06-11 | 福思(杭州)智能科技有限公司 | Image processing method, device, storage medium and electronic equipment |
CN118175274B (en) * | 2024-05-15 | 2024-09-06 | 福思(杭州)智能科技有限公司 | Image processing method, device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2017008351A1 (en) | 2017-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105554489A (en) | White balance adjusting method and shooting terminal | |
US20200043157A1 (en) | Inspection Apparatus, Inspection Method, And Program | |
CN102930850B (en) | GAMMA curve adjustment method and GAMMA curve adjustment system | |
CN105976767B (en) | A kind of area source brightness uniformity adjusting method, apparatus and system | |
CN104243815B (en) | A kind of focusing method and electronic equipment | |
CN105865326A (en) | Object size measurement method and image database data acquisition method | |
JP5248213B2 (en) | Corrosion degree evaluation method, apparatus and program | |
WO2016206004A1 (en) | Photographing device and method for acquiring depth information | |
CN104280670A (en) | Corona detection method based on solar-blind ultraviolet imager | |
CN105304061B (en) | The adjusting method and terminal of the display picture of terminal | |
DE102009029391A1 (en) | Image processing apparatus and image processing method | |
CN105701809B (en) | A kind of method for correcting flat field based on line-scan digital camera scanning | |
JP2010119314A (en) | Cell image analyzer | |
CN106780589A (en) | A kind of method for obtaining target depth image | |
CN105654898A (en) | Image acquisition device imaging moire inhibition method and application thereof | |
CN108088381A (en) | A kind of contactless minim gap method for measuring width based on image procossing | |
CN105551453A (en) | Screen brightness adjusting method and apparatus | |
CN103176668B (en) | A kind of shooting method for correcting image for camera location touch system | |
CN104881176A (en) | Touch panel lineation detecting and judging system and method | |
CN103500560B (en) | A kind of processes and displays module brightness data method, system and display device | |
CN106791760B (en) | Colour temperature for camera detects, adjusts the method, apparatus and camera of white balance | |
CN105139345A (en) | Automatic searching method of high-quality non-standard Gamma curve | |
CN104427322A (en) | Information processing device, imaging device, information processing method, and program | |
CN103808259A (en) | Edge measurement video tool parameter-setting user interface | |
CN103747243A (en) | LCD (Liquid Crystal Display) full-grayscale data acquisition method on basis of CCD (Charge Coupled Device) camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160504 |
|
RJ01 | Rejection of invention patent application after publication |