CN105338333A - Image white balance control method and electronic equipment - Google Patents

Image white balance control method and electronic equipment Download PDF

Info

Publication number
CN105338333A
CN105338333A CN201410404258.8A CN201410404258A CN105338333A CN 105338333 A CN105338333 A CN 105338333A CN 201410404258 A CN201410404258 A CN 201410404258A CN 105338333 A CN105338333 A CN 105338333A
Authority
CN
China
Prior art keywords
image
electronic equipment
obtains
temperature value
shooting
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
CN201410404258.8A
Other languages
Chinese (zh)
Other versions
CN105338333B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410404258.8A priority Critical patent/CN105338333B/en
Publication of CN105338333A publication Critical patent/CN105338333A/en
Application granted granted Critical
Publication of CN105338333B publication Critical patent/CN105338333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Of Color Television Signals (AREA)
  • Color Television Image Signal Generators (AREA)

Abstract

The invention discloses an image white balance control method, and the method is used in electronic equipment. The method comprises the steps: obtaining a first image; obtaining the environmental parameter of the first image during photographing; carrying out the white balance adjustment of the first image based on the environmental parameter, and obtaining a second image corresponding to the first image. The method provided by the invention is used for solving technical problems in the prior art that the image white balance adjustment is lower in accuracy and is complex in process, thereby achieving the white balance adjustment of the image conveniently and accurately.

Description

A kind of control image white balance method and electronic equipment
Technical field
The present invention relates to image processing field, particularly a kind of method and electronic equipment controlling image white balance.
Background technology
Human eye is when observing jobbie; the color of observed object can be adjusted according to current light source character; and often can run into this situation with electronic equipment shot object; such as; the image taken in the room of fluorescent lamp can seem greening; the scenery taking out under indoor tungsten light will be partially yellow, and the photo photographed in daylight shaded side is then partially blue, and reason is the different of Different Light color temperature value and colour temperature under normal illumination.
In photographic process, use the Automatic white balance pattern in photographic equipment as user, or be the cloudy day at environment, but during with fine day white balance mode, the photo taking out will be caused to occur the inaccurate technical problem of white balance.
For overcoming above-mentioned technical problem, in prior art, providing various image processing software, by image processing software, can adjust the white balance of image, obtaining correct white balance to make the image after adjustment.
Generally, in image processing software in the prior art, the process of adjustment white balance is as follows:
The first step: preliminary corrections is carried out to image.The method of preliminary corrections has a lot, and such as, the color temperature value that in white balance module, input one is concrete in image processing software, directly adjusts the white balance of image by color temperature value.In addition, can by colour temperature filter adjustment white balance, user, under the concentration value condition grasping conventional filter, selects different mirror system as required, thus the white balance of adjustment image; In addition, the preliminary corrections of the accomplished in many ways white balances such as curve adjustment is also had.
Second step: image is finely tuned.Image after adjustment and original image are contrasted, repeatedly carries out first step operation, until obtain satisfied white balance effect.
In the process of present inventor's technical scheme in invention the embodiment of the present application, find that above-mentioned prior art at least exists following technical problem:
Known by description above, owing to carrying out in manual white balance adjustment process at late control sheet, require that operator possesses the professional knowledge of image processing software, and need to input concrete adjustment parameter, by constantly adjusting thus realizing white balance.There is the technical problem that accuracy is poor, process is complicated of adjustment white balance in visible prior art.
Summary of the invention
The embodiment of the present invention provides a kind of method and the electronic equipment that control image white balance, there is the technical problem that accuracy is poor, process is complicated of adjustment white balance for solving prior art, and then realize the technique effect easily and accurately image being carried out to white balance correction.
According to a first aspect of the invention, provide a kind of method controlling image white balance, be applied in electronic equipment, described method comprises: obtain the first image; Obtain the environmental parameter of the environment of described first image when being taken; At least based on described environmental parameter, blank level adjustment is carried out to described first image, obtain second image corresponding with described first image.
Optionally, described acquisition first image, specifically comprises: read from the memory described electronic equipment and obtain the first image; Or the first image is obtained from other electronic equipment be connected with described electronic equipment; Or response one photographing operation, obtain the first image obtained by the image acquisition units collection in described electronic equipment.
Optionally, the environmental parameter of the environment of described first image of described acquisition when being taken, specifically comprises: the first shooting time and the first shooting geographical position that obtain described first image; Based on described first shooting time and described first shooting geographical position, obtain at least one weather parameters of the weather for characterizing described environment.
Optionally, described at least based on described environmental parameter, blank level adjustment is carried out to described first image, obtain second image corresponding with described first image, specifically comprise: based at least one weather parameters, obtain first color temperature value of described first shooting geographical position at described first shooting time; According to described first color temperature value, blank level adjustment is carried out to described first image, obtain second image corresponding with described first image.
Optionally, described based at least one weather parameters, obtain described first shooting geographical position at the first color temperature value of described first shooting time, specifically comprise: send described first shooting time and described first shooting geographical position to cloud server; Receive described cloud server to obtain and described first color temperature value returned based on described first shooting time and described first shooting geographical position.
Optionally, describedly according to described first color temperature value, blank level adjustment is carried out to described first image, obtain second image corresponding with described first image, specifically comprise: described first color temperature value is corrected, obtain the first correcting colour temperature value; Based on described first correcting colour temperature value, blank level adjustment is carried out to described first image, obtain second image corresponding with described first image.
Optionally, described at least based on described environmental parameter, blank level adjustment is carried out to described first image, after obtaining the second image corresponding with described first image, described method also comprises: detect operating the N number of adjustment that described second image carries out white balance correction of obtaining that user carries out, N be greater than 1 integer; Respond described N number of adjustment operation, to carry out blank level adjustment to described second image, obtain three image corresponding with described second image.
According to a further aspect in the invention, also provide a kind of electronic equipment, described electronic equipment comprises: the first acquiring unit, for obtaining the first image; Second acquisition unit, for obtaining the environmental parameter of the environment of described first image when being taken; First adjustment unit, at least based on described environmental parameter, carries out blank level adjustment to described first image, obtains second image corresponding with described first image.
Optionally, described first acquiring unit is specially: first reads subelement, obtains the first image for reading from the memory in described electronic equipment; Or first obtains subelement, for obtaining the first image from other electronic equipment be connected with described electronic equipment; Or first gathers subelement, for responding a photographing operation, obtain the first image obtained by the image acquisition units collection in described electronic equipment.
Optionally, described second acquisition unit specifically comprises: second obtains subelement, for obtaining the first shooting time and the first shooting geographical position of described first image; 3rd obtains subelement, for based on described first shooting time and described first shooting geographical position, obtains at least one weather parameters of the weather for characterizing described environment.
Optionally, described first adjustment unit specifically comprises: the first acquisition module, for based at least one weather parameters, obtains first color temperature value of described first shooting geographical position at described first shooting time; First adjusting module, for carrying out blank level adjustment according to described first color temperature value to described first image, obtains second image corresponding with described first image.
Optionally, described first acquisition module specifically comprises: first sends submodule, for sending described first shooting time and described first shooting geographical position to cloud server; First receives submodule, obtains and described first color temperature value returned based on described first shooting time and described first shooting geographical position for receiving described cloud server.
Optionally, described first adjusting module specifically comprises: first corrects submodule, for correcting described first color temperature value, obtains the first correcting colour temperature value; First adjustment submodule, for carrying out blank level adjustment based on described first correcting colour temperature value to described first image, obtains second image corresponding with described first image.
Optionally, described electronic equipment also comprises: the first detecting unit, for described at least based on described environmental parameter, blank level adjustment is carried out to described first image, after obtaining the second image corresponding with described first image, detect obtain that user carries out the N number of adjustment that described second image carries out white balance correction is operated, N be greater than 1 integer; First response unit, for responding described N number of adjustment operation, to carry out blank level adjustment to described second image, obtains three image corresponding with described second image.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
Because the described electronic equipment in the technical scheme in the embodiment of the present application can by obtaining the environmental parameter of described first image when taking, and by described environmental parameter, white balance correction is carried out to the first image, obtain second image corresponding with described first image, because the white balance situation of environment when described environmental parameter can reflect shooting, so adjust white balance based on environmental parameter, after adjustment, white balance is very accurately, and adjustment process is simple, length when needing.And in prior art, no matter be input by the user of electronic equipment the adjustment that concrete white balance parameter carries out image white balance, or carry out blank level adjustment by selecting the white balance mode in professional image software, all can not adjust based on image environmental parameter when being taken, owing to not considering environmental parameter, so the white balance after adjustment would not be very accurate, and be in course of adjustment, user may need repeated multiple times.So, effectively can solve in prior art the technical problem that the accuracy that there is image blank level adjustment is poor, process is complicated, and then realize the technique effect easily and accurately image being carried out to white balance correction.
Accompanying drawing explanation
Fig. 1 is a kind of flow chart controlling the method for image white balance in the embodiment of the present application;
Fig. 2 is a kind of flow chart controlling step S102 in the method for image white balance of the embodiment of the present application;
Fig. 3 is a kind of flow chart controlling step S103 in the method for image white balance of the embodiment of the present application;
Fig. 4 is a kind of flow chart controlling step S301 in the method for image white balance of the embodiment of the present application;
Fig. 5 is a kind of flow chart controlling step S302 in the method for image white balance of the embodiment of the present application;
Fig. 6 is a kind of method flow diagram controlled in the method for image white balance after performing step S103 of the embodiment of the present application;
Fig. 7 is the structure chart of a kind of electronic equipment in the embodiment of the present application.
Embodiment
The embodiment of the present application provides a kind of method and the electronic equipment that control image white balance, there is the technical problem that accuracy is poor, process is complicated of adjustment white balance for solving prior art, and then realize the technique effect easily and accurately image being carried out to white balance correction.
Technical scheme in the embodiment of the present application is solve above-mentioned technical problem, and general thought is as follows:
Control a method for image white balance, be applied in electronic equipment, described method comprises: obtain the first image; Obtain the environmental parameter of the environment of described first image when being taken; At least based on described environmental parameter, blank level adjustment is carried out to described first image, obtain second image corresponding with described first image.
Because the described electronic equipment in the technical scheme in the embodiment of the present application can by obtaining the environmental parameter of described first image when taking, and by described environmental parameter, white balance correction is carried out to the first image, obtain second image corresponding with described first image, because the white balance situation of environment when described environmental parameter can reflect shooting, so adjust white balance based on environmental parameter, after adjustment, white balance is unusual accuracy, and adjustment process is simple, length when needing.And in prior art, no matter be input by the user of electronic equipment the adjustment that concrete white balance parameter carries out image white balance, or carry out blank level adjustment by selecting the white balance mode in professional image software, all can not adjust based on image environmental parameter when being taken, owing to not considering environmental parameter, so the white balance after adjustment would not be very accurate, and be in course of adjustment, user may need repeated multiple times.So, effectively can solve in prior art the technical problem that the accuracy that there is image blank level adjustment is poor, process is complicated, and then realize the technique effect easily and accurately image being carried out to white balance correction.In order to better understand technique scheme, below in conjunction with Figure of description and concrete execution mode, technique scheme is described in detail.
By an embodiment of the application, provide a kind of method and the electronic equipment that control image white balance, electronic equipment here can be digital camera, mobile phone, panel computer etc., also can be other electronic equipments, and at this, just differing one schematically illustrates.To take electronic equipment as mobile phone be below example, the specific implementation process of the method for the control image white balance in the embodiment of the application is described in detail.
Please refer to Fig. 1, the embodiment of the present application provides a kind of method controlling image white balance, is applied in electronic equipment, and specifically, the method for the control image white balance in the embodiment of the present application comprises:
S101: obtain the first image;
S102: the environmental parameter obtaining the environment of the first image when being taken;
S103: at least based on environmental parameter, carries out blank level adjustment to the first image, obtains second image corresponding with the first image.
Wherein, step S101: obtain the first image, specifically comprise: read from the memory electronic equipment and obtain the first image; Or the first image is obtained from other electronic equipment be connected with electronic equipment; Or response one photographing operation, obtain the first image obtained by the image acquisition units collection in electronic equipment.
The specific implementation process of step S101 is as follows: obtain the first image.The first image in the embodiment of the present application can be that landscape shines, personage is shone, and also can be any electronic image comprising other guide, shines here be described with a landscape.Cellphone subscriber needs to regulate according to white balance the landscape of " Lotus Peak " by name, and first the mobile phone of user needs to obtain this landscape photograph, and the process of specific implementation at least comprises three kinds of modes:
The first, mobile phone reads a landscape photograph in mobile phone memory card, and reading manner here comprises directly opens storage card response search operation, also can by opening in mobile phone the application programs such as photograph album, thus obtains " Lotus Peak " landscape and shine.
The second, mobile phone obtains " Lotus Peak " landscape and shines from coupled electronic equipment, here electronic equipment can be digital camera, mobile phone, panel computer etc., also can be other electronic equipments, in a particular embodiment for panel computer, such as cellphone subscriber wants that " Lotus Peak " landscape to storing in a panel computer shines into row blank level adjustment, first, mobile phone can by data transmission set as data wire, bluetooth, WIFI etc. are connected with panel computer, next carries out transfer of data, thus " Lotus Peak " landscape in acquisition panel computer shines.
The third, mobile phone is in the process of shooting landscape photograph, and the shooting operation of mobile phone response user, the image acquisition units in mobile phone such as CCD, CMOS etc. gather current landscape, by the landscape collected according to the memory cell being saved in mobile phone.Namely cellphone subscriber takes at Lotus Peak, and by responding the photographing operation of cellphone subscriber, thus the photo of " Lotus Peak " recorded by mobile phone.
In the embodiment of the present application, after obtaining the first image by step S101, further, please refer to Fig. 2, performing step S102: the environmental parameter obtaining the environment of described first image when being taken, specifically comprises:
S201: the first shooting time and the first shooting geographical position that obtain the first image;
S202: based on the first shooting time and described first shooting geographical position, obtain at least one weather parameters of the weather being used for representing ambient.
Step S201 specific implementation process is as follows: obtain photo opporunity and place, as shown in Table 1.The mode wherein obtaining the first shooting time and the first shooting geographical position can be obtain the first shooting time by mobile phone time program in the process of taking pictures, and the particular geographic location information of shooting is obtained by the locating module in mobile phone, such as the positional information of GPS gain-of-function shooting places, by the location of the base station of mobile operation network, or other locate modes such as WIFI locates are utilized to obtain the particular geographic location information of taking pictures.Also can be upon taking a picture, the input operation of mobile phone response user, inputs the first shooting time and the first shooting geographical position, namely inputs " 12:00 at noon on August 8th, 2013 ", " east longitude 118 ° of 9', north latitude 30 ° of 8' ".Concrete restriction is not done in this application.
Table one
In step below, be described for the information in the table one obtained in above-mentioned S201 process, after complete step S201, the method in the embodiment of the present application performs step S202, and specific implementation process is as follows:
Such as user noon on August 8th, 2014 12:00 take on the Lotus Peak of Mt. Huangshan Scenic Area, taking pictures simultaneously, mobile phone records the first shooting time " 12:00 at noon on August 8th, 2013 " and the first shooting geographical position " east longitude 118 ° of 9', north latitude 30 ° of 8' ".
Obtain at least one weather parameters of the weather being used for representing ambient based on the first shooting time and the first shooting geographical position, weather parameters here can be illumination, temperature, humidity etc., also can be other weather parameters, at this, does not just list one by one.Specifically, the weather parameters hypothesis namely obtained based on the first shooting time " 12:00 at noon on August 8th, 2013 " and the first shooting geographical position " east longitude 118 ° of 9', north latitude 30 ° of 8' " is " 4015Lx, 30 DEG C, 40% ".
In the embodiment of the present application, after at least one weather parameters of acquisition, further, please refer to Fig. 3, perform step S103: based at least one weather parameters, obtain described first shooting geographical position at the first color temperature value of described first shooting time, specifically comprise:
S301: based at least one weather parameters, obtains first color temperature value of described first shooting geographical position at described first shooting time;
S302: carry out blank level adjustment to described first image according to described first color temperature value, obtains second image corresponding with described first image.
Please refer to Fig. 4, the S301 in step S103, in specific implementation process, comprises the steps:
S401: send described first shooting time and described first shooting geographical position to cloud server;
S402: receive described cloud server and obtain and described first color temperature value returned based on described first shooting time and described first shooting geographical position.
Continue the example continued to use above to be below described, specifically, be: the first shooting time " 12:00 at noon on August 8th, 2013 " obtained and first are taken geographical position " east longitude 118 ° of 9' by mobile phone, north latitude 30 ° of 8' " send to cloud server by network, then, carry out above cloud server searching noon on August 8th, 2013 12:00 first take geographical position east longitude 118 ° of 9', the color temperature value of north latitude 30 ° of 8', obtain cloud server feedback and take geographical position east longitude 118 ° of 9' at the first shooting time 12:00 at noon on August 8th, 2,013 first, first color temperature value of north latitude 30 ° of 8' is 5400K.
After acquisition first color temperature value, please refer to Fig. 5, the specific implementation process of the S302 in step S103 comprises:
S501: correct described first color temperature value, obtains the first correcting colour temperature value;
S502: carry out blank level adjustment to described first image based on described first correcting colour temperature value, obtains second image corresponding with described first image.
In specific implementation process, after acquisition first color temperature value, suitably the first color temperature value is corrected according to environment concrete condition at that time, such as user supports friend's first of parasols in Lotus Peak photographs, now mobile phone obtains the first shooting time is 12:00 at noon on August 8th, 2013, first shooting geographical position east longitude, 118 ° of 9', north latitude 30 ° of 8', finding Lotus Peak first color temperature value at that time through cloud server is 5400K, correct the first color temperature value carrying out mobile phone in photo adjustment process, obtaining the first correcting colour temperature value is 5000K.In image adaptation procedures, in specific implementation process, blank level adjustment can be carried out to image " Lotus Peak " according to the correcting colour temperature value 5000K obtained, obtain " Lotus Peak " photo through blank level adjustment, certainly, in order to obtain more accurate white balance photo, in the embodiment of the present application, can also adjust again correcting colour temperature value 5000K, specifically describe below seeing.
In the present embodiment, after performing step S103, please refer to Fig. 6, comprise in specific implementation process:
S601: detect obtain that user carries out the N number of adjustment that described second image carries out white balance correction is operated, N be greater than 1 integer;
S602: respond described N number of adjustment operation, to carry out blank level adjustment to described second image, obtain three image corresponding with described second image.
In specific implementation process, user is after carrying out realizing auto kine bias function to mobile phone based on color temperature value, cellphone subscriber wants the white balance of further comparison film to adjust, first, mobile phone detects one or several adjustment operation described second image being carried out to white balance correction obtaining user and carry out, next, after adjustment operation user being detected, blank level adjustment will be carried out to the second image, after blank level adjustment, obtain the 3rd image.Specifically, cellphone subscriber wants to carry out blank level adjustment to 12:00 at noon on August 8th, 2013 at the photo of friend's first of Lotus Peak photographs, be after 5000K carries out blank level adjustment based on correcting colour temperature value, can select to continue comparison film and carry out other multiple blank level adjustments, such as can continue to finely tune color temperature value, as being adjusted to 4900K, or be adjusted to 5100K, make to see effect closer to real scene; Also scene can be adjusted to acronical scene, now, need color temperature value to be adjusted to 5600K, certain those skilled in the art can also as required, and adjustment correcting colour temperature value is 5000K.The application just differs at this and one to schematically illustrate.
Embodiment two
Based on same inventive concept, the embodiment of the present application two provides a kind of electronic equipment, please refer to Fig. 7, and described electronic equipment comprises:
First acquiring unit 70, for obtaining the first image;
Second acquisition unit 71, for obtaining the environmental parameter of the environment of described first image when being taken;
First adjustment unit 72, at least based on described environmental parameter, carries out blank level adjustment to described first image, obtains second image corresponding with described first image.
Optionally, described first acquiring unit 70 specifically comprises:
First reads subelement, obtains the first image for reading from the memory in described electronic equipment; Or first obtains subelement, for obtaining the first image from other electronic equipment be connected with described electronic equipment; Or first gathers subelement, for responding a photographing operation, obtain the first image obtained by the image acquisition units collection in described electronic equipment.
Optionally, described second acquisition unit 71 specifically comprises:
Second obtains subelement, for obtaining the first shooting time and the first shooting geographical position of described first image;
3rd obtains subelement, for based on described first shooting time and described first shooting geographical position, obtains at least one weather parameters of the weather for characterizing described environment.
Optionally, described first adjustment unit 72 specifically comprises:
First acquisition module, for based at least one weather parameters, obtains first color temperature value of described first shooting geographical position at described first shooting time;
First adjusting module, for carrying out blank level adjustment according to described first color temperature value to described first image, obtains second image corresponding with described first image.
First sends submodule, for sending described first shooting time and described first shooting geographical position to cloud server;
First receives submodule, obtains and described first color temperature value returned based on described first shooting time and described first shooting geographical position for receiving described cloud server.
First corrects submodule, for correcting described first color temperature value, obtains the first correcting colour temperature value;
First adjustment submodule, for carrying out blank level adjustment based on described first correcting colour temperature value to described first image, obtains second image corresponding with described first image.
Optionally, described electronic equipment also comprises:
First detecting unit, for described at least based on described environmental parameter, blank level adjustment is carried out to described first image, after obtaining the second image corresponding with described first image, detect obtain that user carries out the N number of adjustment that described second image carries out white balance correction is operated, N be greater than 1 integer;
First response unit, for responding described N number of adjustment operation, to carry out blank level adjustment to described second image, obtains three image corresponding with described second image.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
Because the described electronic equipment in the technical scheme in the embodiment of the present application can by obtaining the environmental parameter of described first image when taking, and by described environmental parameter, white balance correction is carried out to the first image, obtain second image corresponding with described first image, because the white balance situation of environment when described environmental parameter can reflect shooting, so adjust white balance based on environmental parameter, after adjustment, white balance is very accurately, and adjustment process is simple, length when needing.And in prior art, no matter be input by the user of electronic equipment the adjustment that concrete white balance parameter carries out image white balance, or carry out blank level adjustment by selecting the white balance mode in professional image software, all can not adjust based on image environmental parameter when being taken, owing to not considering environmental parameter, so the white balance after adjustment would not be very accurate, and be in course of adjustment, user may need repeated multiple times.So, effectively can solve in prior art the technical problem that the accuracy that there is image blank level adjustment is poor, process is complicated, and then realize the technique effect easily and accurately image being carried out to white balance correction.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Specifically, the computer program instructions that control white balance method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions corresponding with controlling white balance method in storage medium is read by an electronic equipment or be performed, comprise the steps:
Obtain the first image; Obtain the environmental parameter of the environment of described first image when being taken; At least based on described environmental parameter, blank level adjustment is carried out to described first image, obtain second image corresponding with described first image.
Optionally, that store in described storage medium and step: described acquisition first image, corresponding computer instruction, being specifically performed in process, specifically comprises the steps:
Read from the memory described electronic equipment and obtain the first image; Or the first image is obtained from other electronic equipment be connected with described electronic equipment; Or response one photographing operation, obtain the first image obtained by the image acquisition units collection in described electronic equipment.
Optionally, that store in described storage medium and step: the environmental parameter of the environment of described first image of described acquisition when being taken, corresponding computer instruction, being specifically performed in process, specifically comprises the steps:
Obtain the first shooting time and the first shooting geographical position of described first image; Based on described first shooting time and described first shooting geographical position, obtain at least one weather parameters of the weather for characterizing described environment.
Optionally, storage in described storage medium and step: described at least based on described environmental parameter, blank level adjustment is carried out to described first image, obtains second image corresponding with described first image, corresponding computer instruction, being specifically performed in process, specifically comprises the steps:
Based at least one weather parameters, obtain first color temperature value of described first shooting geographical position at described first shooting time; According to described first color temperature value, blank level adjustment is carried out to described first image, obtain second image corresponding with described first image.
Optionally, storage in described storage medium and step: described based at least one weather parameters, obtain first color temperature value of described first shooting geographical position at described first shooting time, corresponding computer instruction, being specifically performed in process, specifically comprises the steps:
Described first shooting time and described first shooting geographical position is sent to cloud server; Receive described cloud server to obtain and described first color temperature value returned based on described first shooting time and described first shooting geographical position.
Optionally, storage in described storage medium and step: describedly according to described first color temperature value, blank level adjustment is carried out to described first image, obtain second image corresponding with described first image, corresponding computer instruction, being specifically performed in process, specifically comprises the steps:
Described first color temperature value is corrected, obtains the first correcting colour temperature value; Based on described first correcting colour temperature value, blank level adjustment is carried out to described first image, obtain second image corresponding with described first image.
Optionally, storage in described storage medium and step: described at least based on described environmental parameter, blank level adjustment is carried out to described first image, after obtaining the second image corresponding with described first image, corresponding computer instruction, being specifically performed in process, specifically also comprises the steps:
Detect obtain that user carries out the N number of adjustment that described second image carries out white balance correction is operated, N be greater than 1 integer; Respond described N number of adjustment operation, to carry out blank level adjustment to described second image, obtain three image corresponding with described second image.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (14)

1. control chart is as a method for white balance, is applied in electronic equipment, and described method comprises:
Obtain the first image;
Obtain the environmental parameter of the environment of described first image when being taken;
At least based on described environmental parameter, blank level adjustment is carried out to described first image, obtain second image corresponding with described first image.
2. the method for claim 1, is characterized in that, described acquisition first image, specifically comprises:
Read from the memory described electronic equipment and obtain the first image; Or
The first image is obtained from other electronic equipment be connected with described electronic equipment; Or
Respond a photographing operation, obtain the first image obtained by the image acquisition units collection in described electronic equipment.
3. the method for claim 1, is characterized in that, the environmental parameter of the environment of described first image of described acquisition when being taken, specifically comprises:
Obtain the first shooting time and the first shooting geographical position of described first image;
Based on described first shooting time and described first shooting geographical position, obtain at least one weather parameters of the weather for characterizing described environment.
4. the method for claim 1, is characterized in that, described at least based on described environmental parameter, carries out blank level adjustment to described first image, obtains second image corresponding with described first image, specifically comprises:
Based at least one weather parameters, obtain first color temperature value of described first shooting geographical position at described first shooting time;
According to described first color temperature value, blank level adjustment is carried out to described first image, obtain second image corresponding with described first image.
5. method as claimed in claim 4, is characterized in that, described based at least one weather parameters, obtains described first shooting geographical position at the first color temperature value of described first shooting time, specifically comprises:
Described first shooting time and described first shooting geographical position is sent to cloud server;
Receive described cloud server to obtain and described first color temperature value returned based on described first shooting time and described first shooting geographical position.
6. method as claimed in claim 4, is characterized in that, describedly carries out blank level adjustment according to described first color temperature value to described first image, obtains second image corresponding with described first image, specifically comprises:
Described first color temperature value is corrected, obtains the first correcting colour temperature value;
Based on described first correcting colour temperature value, blank level adjustment is carried out to described first image, obtain second image corresponding with described first image.
7. the method as described in claim arbitrary in claim 1-6, is characterized in that, described at least based on described environmental parameter, carries out blank level adjustment to described first image, and after obtaining the second image corresponding with described first image, described method also comprises:
Detect obtain that user carries out the N number of adjustment that described second image carries out white balance correction is operated, N be greater than 1 integer;
Respond described N number of adjustment operation, to carry out blank level adjustment to described second image, obtain three image corresponding with described second image.
8. an electronic equipment, described electronic equipment comprises:
First acquiring unit, for obtaining the first image;
Second acquisition unit, for obtaining the environmental parameter of the environment of described first image when being taken;
First adjustment unit, at least based on described environmental parameter, carries out blank level adjustment to described first image, obtains second image corresponding with described first image.
9. electronic equipment as claimed in claim 8, it is characterized in that, described first acquiring unit is specially:
First reads subelement, obtains the first image for reading from the memory in described electronic equipment; Or
First obtains subelement, for obtaining the first image from other electronic equipment be connected with described electronic equipment; Or
First gathers subelement, for responding a photographing operation, obtains the first image obtained by the image acquisition units collection in described electronic equipment.
10. electronic equipment as claimed in claim 8, it is characterized in that, described second acquisition unit specifically comprises:
Second obtains subelement, for obtaining the first shooting time and the first shooting geographical position of described first image;
3rd obtains subelement, for based on described first shooting time and described first shooting geographical position, obtains at least one weather parameters of the weather for characterizing described environment.
11. electronic equipments as claimed in claim 8, it is characterized in that, described first adjustment unit specifically comprises:
First acquisition module, for based at least one weather parameters, obtains first color temperature value of described first shooting geographical position at described first shooting time;
First adjusting module, for carrying out blank level adjustment according to described first color temperature value to described first image, obtains second image corresponding with described first image.
12. electronic equipments as claimed in claim 11, it is characterized in that, described first acquisition module specifically comprises:
First sends submodule, for sending described first shooting time and described first shooting geographical position to cloud server;
First receives submodule, obtains and described first color temperature value returned based on described first shooting time and described first shooting geographical position for receiving described cloud server.
13. electronic equipments as claimed in claim 11, it is characterized in that, described first adjusting module specifically comprises:
First corrects submodule, for correcting described first color temperature value, obtains the first correcting colour temperature value;
First adjustment submodule, for carrying out blank level adjustment based on described first correcting colour temperature value to described first image, obtains second image corresponding with described first image.
14. electronic equipments as described in claim arbitrary in claim 8-13, it is characterized in that, described electronic equipment also comprises:
First detecting unit, for described at least based on described environmental parameter, blank level adjustment is carried out to described first image, after obtaining the second image corresponding with described first image, detect obtain that user carries out the N number of adjustment that described second image carries out white balance correction is operated, N be greater than 1 integer;
First response unit, for responding described N number of adjustment operation, to carry out blank level adjustment to described second image, obtains three image corresponding with described second image.
CN201410404258.8A 2014-08-15 2014-08-15 A kind of control image white balance method and electronic equipment Active CN105338333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410404258.8A CN105338333B (en) 2014-08-15 2014-08-15 A kind of control image white balance method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410404258.8A CN105338333B (en) 2014-08-15 2014-08-15 A kind of control image white balance method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105338333A true CN105338333A (en) 2016-02-17
CN105338333B CN105338333B (en) 2018-08-31

Family

ID=55288578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410404258.8A Active CN105338333B (en) 2014-08-15 2014-08-15 A kind of control image white balance method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105338333B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681679A (en) * 2016-03-10 2016-06-15 青岛海信移动通信技术股份有限公司 White balance adjusting method and mobile terminal
CN105721847A (en) * 2016-04-29 2016-06-29 乐视控股(北京)有限公司 Camera white balance adjustment method and device
CN105898261A (en) * 2016-04-29 2016-08-24 上海斐讯数据通信技术有限公司 Photographing system and method
CN105915876A (en) * 2016-06-15 2016-08-31 乐视控股(北京)有限公司 Automatic white balancing method and device
CN106027787A (en) * 2016-06-15 2016-10-12 维沃移动通信有限公司 White balance method of mobile terminal, and mobile terminal
CN107682684A (en) * 2017-10-24 2018-02-09 北京小米移动软件有限公司 White balance adjusting method and apparatus
CN109151426A (en) * 2017-06-28 2019-01-04 杭州海康威视数字技术股份有限公司 A kind of white balance adjustment method, device, camera and medium
CN109698913A (en) * 2018-12-29 2019-04-30 深圳市道通智能航空技术有限公司 A kind of image display method, device and electronic equipment
CN111294513A (en) * 2020-02-10 2020-06-16 北京梧桐车联科技有限责任公司 Photographing method and device, electronic equipment and storage medium
TWI723551B (en) * 2019-09-20 2021-04-01 宏碁股份有限公司 Method, image processing device, and system for white balance adjustment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672209A (en) * 2020-12-14 2021-04-16 北京达佳互联信息技术有限公司 Video editing method and video editing device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070024720A1 (en) * 2005-08-01 2007-02-01 Fuji Photo Film Co., Ltd. Image taking apparatus
CN103051804A (en) * 2012-12-28 2013-04-17 广东欧珀移动通信有限公司 Intelligent photo taking method and system of mobile terminal
CN103369228A (en) * 2012-03-26 2013-10-23 百度在线网络技术(北京)有限公司 Camera setting method and device, and camera
CN103841324A (en) * 2014-02-20 2014-06-04 小米科技有限责任公司 Shooting processing method and device and terminal device
CN105208364A (en) * 2014-06-27 2015-12-30 联想(北京)有限公司 Image white balance control method, device and electronic apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070024720A1 (en) * 2005-08-01 2007-02-01 Fuji Photo Film Co., Ltd. Image taking apparatus
CN103369228A (en) * 2012-03-26 2013-10-23 百度在线网络技术(北京)有限公司 Camera setting method and device, and camera
CN103051804A (en) * 2012-12-28 2013-04-17 广东欧珀移动通信有限公司 Intelligent photo taking method and system of mobile terminal
CN103841324A (en) * 2014-02-20 2014-06-04 小米科技有限责任公司 Shooting processing method and device and terminal device
CN105208364A (en) * 2014-06-27 2015-12-30 联想(北京)有限公司 Image white balance control method, device and electronic apparatus

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681679A (en) * 2016-03-10 2016-06-15 青岛海信移动通信技术股份有限公司 White balance adjusting method and mobile terminal
CN105721847A (en) * 2016-04-29 2016-06-29 乐视控股(北京)有限公司 Camera white balance adjustment method and device
CN105898261A (en) * 2016-04-29 2016-08-24 上海斐讯数据通信技术有限公司 Photographing system and method
CN105915876A (en) * 2016-06-15 2016-08-31 乐视控股(北京)有限公司 Automatic white balancing method and device
CN106027787A (en) * 2016-06-15 2016-10-12 维沃移动通信有限公司 White balance method of mobile terminal, and mobile terminal
CN106027787B (en) * 2016-06-15 2019-10-18 维沃移动通信有限公司 A kind of white balance method and mobile terminal of mobile terminal
CN109151426A (en) * 2017-06-28 2019-01-04 杭州海康威视数字技术股份有限公司 A kind of white balance adjustment method, device, camera and medium
US11323677B2 (en) 2017-06-28 2022-05-03 Hangzhou Hikvision Digital Technology Co., Ltd. White balance adjustment method and apparatus, camera and medium
CN107682684A (en) * 2017-10-24 2018-02-09 北京小米移动软件有限公司 White balance adjusting method and apparatus
CN109698913A (en) * 2018-12-29 2019-04-30 深圳市道通智能航空技术有限公司 A kind of image display method, device and electronic equipment
TWI723551B (en) * 2019-09-20 2021-04-01 宏碁股份有限公司 Method, image processing device, and system for white balance adjustment
CN111294513A (en) * 2020-02-10 2020-06-16 北京梧桐车联科技有限责任公司 Photographing method and device, electronic equipment and storage medium
CN111294513B (en) * 2020-02-10 2021-06-18 北京梧桐车联科技有限责任公司 Photographing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105338333B (en) 2018-08-31

Similar Documents

Publication Publication Date Title
CN105338333A (en) Image white balance control method and electronic equipment
CN107925720B (en) System and method for controlling capture of images
CN104301613B (en) Mobile terminal and image pickup method thereof
US8659667B2 (en) Recipe based real-time assistance for digital image capture and other consumer electronics devices
US9106879B2 (en) Apparatus and method for automatic white balance with supplementary sensors
CN102523376A (en) Shooting equipment and method
CN105208266A (en) Shooting method and mobile terminal
US20100074613A1 (en) Photographing apparatus and method, and program
US9491352B2 (en) Imaging device, signal processing method, and signal processing program
EP3366004B1 (en) Providing camera settings from at least one image/video hosting service
KR101653041B1 (en) Method and apparatus for recommending photo composition
CN104092942A (en) Shooting method and device
CN104853102A (en) Shooting processing method and device
US20170171456A1 (en) Stereo Autofocus
WO2012165088A1 (en) Image-capturing device and program
WO2016197734A1 (en) Image capturing method, terminal and server
US9529421B2 (en) Server for photographing apparatus and method of providing status notification of photographing apparatus
CN103873772A (en) Mobile terminal and shooting method thereof
CN105578062A (en) Light metering mode selection method and image acquisition device utilizing same
CN113315956B (en) Image processing apparatus, image capturing apparatus, image processing method, and machine-readable medium
US10386701B1 (en) Mobile device enabling collaboration with flashes of other devices and method thereof
CN105827907A (en) DETECTING APPARATUS and detection control method
CN104796615A (en) Large-resolution photographing method and system of OIS (optical image stabilizer) stabilizing motor and mobile terminal
JP5742301B2 (en) Image projection apparatus, digital camera and optical apparatus
JP2016085248A (en) Exposure computation device

Legal Events

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