CN104853111A - Shooting method and terminal - Google Patents

Shooting method and terminal Download PDF

Info

Publication number
CN104853111A
CN104853111A CN201510218451.7A CN201510218451A CN104853111A CN 104853111 A CN104853111 A CN 104853111A CN 201510218451 A CN201510218451 A CN 201510218451A CN 104853111 A CN104853111 A CN 104853111A
Authority
CN
China
Prior art keywords
photoflash lamp
reflecting surface
terminal
reference object
current environment
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
CN201510218451.7A
Other languages
Chinese (zh)
Other versions
CN104853111B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510218451.7A priority Critical patent/CN104853111B/en
Publication of CN104853111A publication Critical patent/CN104853111A/en
Application granted granted Critical
Publication of CN104853111B publication Critical patent/CN104853111B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiments of the present invention disclose a shooting method and a terminal. The method comprises the steps of acquiring the current environment parameter information of the terminal upon detecting the need for starting a flash lamp; regulating the angle of the flash lamp to an angle corresponding to the current environment parameter information based on the pre-stored mapping relationship between the environment parameter information and the angle of the flash lamp; upon receiving a shooting command, controlling the flash lamp to flash on a shooting object at the regulated angle, and controlling a camera to shoot the shooting object. Through implementing the embodiments of the present invention, the shooting efficiency of the terminal is improved, and the power consumption of the terminal is reduced.

Description

A kind of image pickup method and terminal
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of image pickup method and terminal.
Background technology
Along with the continuous progress and development of electronics and mechanics of communication, filming apparatus is applied more and more extensive in people's daily life, and increasing smart machine is all configured with filming apparatus, such as: the smart machines such as mobile phone, panel computer, notebook computer are all configured with filming apparatus.In addition, current filming apparatus major part is all configured with photoflash lamp, the quality of taking pictures under can improving low light environment by photoflash lamp.In actual applications, such as when user autodynes, usually can take multiple pictures continuously to select.Now, again need detect and determine flash power and angle, making shooting efficiency lower, and add equipment power dissipation.
Summary of the invention
Embodiments provide a kind of image pickup method and terminal, terminal taking efficiency can be improved, and reduce power consumption of terminal.
The embodiment of the invention discloses a kind of image pickup method, comprising:
When detect need to open photoflash lamp time, obtain the current environment parameter information of environment residing for terminal;
According to the mapping relations of the ambient parameter information prestored and photoflash lamp angle, by the angle adjustment of described photoflash lamp to the photoflash lamp angle corresponding with described current environment parameter information;
When receiving shooting order, controlling described photoflash lamp and with the angle after adjustment, described reference object being glistened, and controlling camera described reference object is taken.
Optionally, described current environment parameter information comprises the reflecting surface information of reference object; The mapping relations of the ambient parameter information that described basis prestores and photoflash lamp angle, by the angle adjustment of described photoflash lamp to the photoflash lamp angle corresponding with described current environment parameter information, comprising:
According to the mapping relations of the reflecting surface information prestored and photoflash lamp angle, by the angle adjustment of the photoflash lamp of described terminal to the photoflash lamp angle corresponding with the reflecting surface information of described reference object.
Optionally, glisten at the described photoflash lamp of described control with the angle after adjustment to described reference object, and control before camera takes described reference object, described method also comprises:
Determine the current environment brightness value of environment residing for described terminal;
According to the mapping relations of the ambient brightness value prestored and flash power value, the performance number of described photoflash lamp is adjusted to the flash power value corresponding with described current environment brightness value.
Optionally, the ambient brightness value prestored in described basis and the mapping relations of flash power value, before the performance number of described photoflash lamp is adjusted to the flash power value corresponding with described current environment brightness value, described method also comprises:
Obtain the distance between described terminal and reference object, and described distance is defined as current object distance;
The mapping relations of the ambient brightness value that described basis prestores and flash power value, are adjusted to the flash power value corresponding with described current environment brightness value by the performance number of the photoflash lamp of described terminal, comprise:
According to the mapping relations between the ambient brightness value prestored, object distance between terminal and reference object and flash power, the power of described photoflash lamp is adjusted to the flash power corresponding with described current environment brightness value and described current object distance.
Optionally, the current environment parameter information of environment residing for described acquisition terminal, comprising:
The reflecting surface that in current environment residing for sense terminals, reference object is corresponding;
If the described reflecting surface detected is multiple, then export the prompting message comprising multiple described reflecting surface;
Receive the selection instruction that user triggers for described prompting message, reflecting surface corresponding for selection instruction described in multiple described reflecting surface is defined as target reflecting surface, and will the reflecting surface information of reflecting surface information as described reference object of described target reflecting surface be comprised.
Accordingly, the embodiment of the invention also discloses a kind of terminal, comprising:
Acquisition module, for when detect need to open photoflash lamp time, obtain the current environment parameter information of environment residing for terminal;
Adjusting module, for the mapping relations according to the ambient parameter information prestored and photoflash lamp angle, by the angle adjustment of described photoflash lamp to the photoflash lamp angle corresponding with described current environment parameter information;
Taking module, for when receiving shooting order, controlling described photoflash lamp and glistening to described reference object with the angle after adjustment, and controlling camera and take described reference object.
Optionally, described current environment parameter information comprises the reflecting surface information of reference object; Described adjusting module specifically for:
According to the mapping relations of the reflecting surface information prestored and photoflash lamp angle, by the angle adjustment of the photoflash lamp of described terminal to the photoflash lamp angle corresponding with the reflecting surface information of described reference object.
Optionally, described acquisition module, also for determining the current environment brightness value of environment residing for described terminal;
Described adjusting module, also for the mapping relations according to the ambient brightness value prestored and flash power value, is adjusted to the flash power value corresponding with described current environment brightness value by the performance number of described photoflash lamp.
Optionally, described acquisition module, also for obtaining the distance between described terminal and reference object, and is defined as current object distance by described distance;
Described adjusting module specifically for:
According to the mapping relations between the ambient brightness value prestored, object distance between terminal and reference object and flash power, the power of described photoflash lamp is adjusted to the flash power corresponding with described current environment brightness value and described current object distance.
Optionally, described acquisition module comprises:
Detecting unit, for when detect need open photoflash lamp time, the reflecting surface that in the current environment residing for sense terminals, reference object is corresponding;
Message output unit, when the described reflecting surface for detecting at described detecting unit is multiple, exports the prompting message comprising multiple described reflecting surface;
Information determination unit, for receiving the selection instruction that user triggers for described prompting message, reflecting surface corresponding for selection instruction described in multiple described reflecting surface is defined as target reflecting surface, and will the reflecting surface information of reflecting surface information as described reference object of described target reflecting surface be comprised.
Compared with prior art, the present invention has following beneficial effect:
The embodiment of the present invention is by obtaining the ambient parameter information of current environment, determine the photoflash lamp angle that ambient environment parameter information current with this is corresponding, thus automatically, intelligently by the angle adjustment of current photoflash lamp to the photoflash lamp angle of this correspondence, and without the need to again detecting again, effectively can promote the shooting efficiency of terminal, and reduce power consumption of terminal.
Accompanying drawing explanation
In order to be illustrated more clearly in the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment 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 schematic flow sheet of a kind of image pickup method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of image pickup method disclosed in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of the embodiment of the present invention another terminal disclosed.
Embodiment
Below in conjunction with the accompanying drawing in the present invention, be clearly and completely described the technical scheme in 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 embodiment of the invention discloses a kind of image pickup method and terminal, terminal taking efficiency can be improved, and reduce power consumption of terminal.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of image pickup method disclosed in the embodiment of the present invention, described method of the present invention can be applied particularly to the terminal being configured with filming apparatus, as smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC, mobile internet device (MobileInternet Devices can be included but not limited to, MID) and in the mobile terminal such as personal digital assistant (Personal Digital Assistant, PDA).Wherein, the image pickup method shown in Fig. 1 can comprise the following steps.
S101: when detect need to open photoflash lamp time, obtain the current environment parameter information of environment residing for terminal.
In specific embodiment, when using the filming apparatus of terminal, can first sense terminals current the need of unlatching photoflash lamp.Concrete, when filming apparatus starts, current environment brightness value can be obtained, thus judge whether to need to open photoflash lamp according to this brightness value.Such as, a luminance threshold can be pre-set, when this current ambient brightness value is lower than this luminance threshold, be judged as needing to open photoflash lamp; Otherwise, be judged as without the need to opening photoflash lamp.Wherein, the photoflash lamp described in the embodiment of the present invention is rotatable photoflash lamp.
S102: according to the mapping relations of the ambient parameter information prestored and photoflash lamp angle, by the angle adjustment of described photoflash lamp to the photoflash lamp angle corresponding with described current environment parameter information.
In specific embodiment, terminal storage has the photoflash lamp angle of various ambient parameter information and correspondence thereof, specifically when taking pictures at every turn, the photoflash lamp angle adjusted according to current environment parameter information and this current ambient parameter information can be carried out association store, each ambient parameter information maps a suitable photoflash lamp angle.Therefore, after acquiring current environment parameter information, from the ambient parameter information stored and the mapping relations of photoflash lamp angle, the photoflash lamp angle that environmental parameter current with this is corresponding can be determined, and the angle adjustment of terminal photoflash lamp is identical as the photoflash lamp angle of this correspondence.
Concrete, described current environment parameter information comprises the reflecting surface information of reference object; The mapping relations of the ambient parameter information that described basis prestores and photoflash lamp angle, by the angle adjustment of described photoflash lamp to the photoflash lamp angle corresponding with described current environment parameter information, can be specially: according to the mapping relations of the reflecting surface information prestored and photoflash lamp angle, by the angle adjustment of the photoflash lamp of described terminal to the photoflash lamp angle corresponding with the reflecting surface information of described reference object.Wherein, the reflecting surface information of described reference object is be included in current environment to realize the information to the reflecting surface that the light of reference object compensates based on bounce flash, and this reflecting surface can comprise wall, ground etc.
S103: when receiving shooting order, controls described photoflash lamp and glistens to described reference object with the angle after adjustment, and control camera and take described reference object.
Further, terminal is also by obtaining current environment brightness value, according to the mapping relations of the ambient brightness value prestored and flash power value, the performance number of described photoflash lamp is adjusted to the flash power value corresponding with described current environment brightness value, thus realizes the automatic adjustment of flash power.
In specific embodiment, when terminal receives shooting instruction, photoflash lamp can glisten to reference object according to the photoflash lamp angle after this adjustment, and can adjust flash power further, and the camera of control terminal configuration is taken this reference object.
Implement the embodiment of the present invention by obtaining the ambient parameter information of current environment, determine the photoflash lamp angle that ambient environment parameter information current with this is corresponding, thus automatically, intelligently by the angle adjustment of current photoflash lamp to the photoflash lamp angle of this correspondence, and without the need to again detecting again, effectively can promote the shooting efficiency of terminal, and reduce power consumption of terminal.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of another kind of image pickup method disclosed in the embodiment of the present invention, concrete, and the image pickup method shown in Fig. 2 can comprise the following steps.
S201: when detect need to open photoflash lamp time, obtain reflecting surface information and the current environment brightness value of environment residing for terminal.
In specific embodiment, when using the filming apparatus of terminal, can first sense terminals current the need of unlatching photoflash lamp.Concrete, when filming apparatus starts, current environment brightness value can be obtained, thus judge whether to need to open photoflash lamp according to this brightness value.Such as, a luminance threshold can be pre-set, when this current ambient brightness value is lower than this luminance threshold, be judged as needing to open photoflash lamp; Otherwise, be judged as without the need to opening photoflash lamp.
Wherein, the reflecting surface information of described reference object is be included in current environment to realize the information to the reflecting surface that the light of reference object compensates based on bounce flash, and this reflecting surface can comprise wall, ground etc.
Optionally, the reflecting surface information obtaining environment residing for terminal can be specially: the reflecting surface that in the current environment residing for sense terminals, reference object is corresponding; If the described reflecting surface detected is multiple, then export the prompting message comprising multiple described reflecting surface; Receive the selection instruction that user triggers for described prompting message, reflecting surface corresponding for selection instruction described in multiple described reflecting surface is defined as target reflecting surface, and will the reflecting surface information of reflecting surface information as described reference object of described target reflecting surface be comprised.Further, user can be arranged on when clicking one of them reflecting surface of the plurality of reflecting surface, the angle adjustment of current photoflash lamp (is carried out bounce flash to the photoflash lamp angle that this reflecting surface is corresponding by preview effect that this reflecting surface of corresponding display is corresponding namely automatically, realize preview), make terminal the preview effect corresponding according to each reflecting surface can determine the reflecting surface of current shooting object, thus determine a best photoflash lamp angle.
Further alternative, if in the photoflash lamp angle that the reflecting surface information prestored is corresponding with the reflecting surface information not finding this current reference object in the mapping relations of photoflash lamp angle, then can determine this photoflash lamp angle based on the reflecting surface that preview fruit in the bounce flash of each reflecting surface of current environment is best.Concrete, each reflecting surface (as wall, ground etc.) that terminal can obtain in current environment based on bounce flash reflexes to the compensating light line strength of reference object, and therefrom filter out a maximum compensating light line strength, reflecting surface corresponding for this maximum compensating light line strength is defined as the reflecting surface of this reference object, thus the reflecting surface corresponding according to this maximum compensating light line strength determines the angle of photoflash lamp, adjusts with the angle determined according to this.
S202: according to the mapping relations of the reflecting surface information prestored and photoflash lamp angle, by the angle adjustment of the photoflash lamp of described terminal to the photoflash lamp angle corresponding with the reflecting surface information of described reference object.
In specific embodiment, terminal storage has the photoflash lamp angle of various ambient parameter information and correspondence thereof, specifically when taking pictures at every turn, the photoflash lamp angle adjusted according to current environment parameter information and this current ambient parameter information can be carried out association store, each ambient parameter information maps a suitable photoflash lamp angle.Therefore, after acquiring current environment parameter information, from the ambient parameter information stored and the mapping relations of photoflash lamp angle, the photoflash lamp angle that environmental parameter current with this is corresponding can be determined, and the angle adjustment of terminal photoflash lamp is identical as the photoflash lamp angle of this correspondence.
Concrete, described current environment parameter information comprises the reflecting surface information of reference object; The mapping relations of the ambient parameter information that described basis prestores and photoflash lamp angle, by the angle adjustment of described photoflash lamp to the photoflash lamp angle corresponding with described current environment parameter information, can be specially: according to the mapping relations of the reflecting surface information prestored and photoflash lamp angle, by the angle adjustment of the photoflash lamp of described terminal to the photoflash lamp angle corresponding with the reflecting surface information of described reference object.
S203: according to the mapping relations of the ambient brightness value prestored and flash power value, the performance number of described photoflash lamp is adjusted to the flash power value corresponding with described current environment brightness value.
Further, terminal is also by obtaining current environment brightness value, according to the mapping relations of the ambient brightness value prestored and flash power value, the performance number of described photoflash lamp is adjusted to the flash power value corresponding with described current environment brightness value, thus realizes the automatic adjustment of flash power.
Further alternative, the ambient brightness value prestored in described basis and the mapping relations of flash power value, before the performance number of described photoflash lamp is adjusted to the flash power value corresponding with described current environment brightness value, terminal also can obtain the distance between described terminal and reference object, and described distance is defined as current object distance; The mapping relations of the ambient brightness value that described basis prestores and flash power value, the performance number of the photoflash lamp of described terminal is adjusted to the flash power value corresponding with described current environment brightness value, can be specially: according to the mapping relations between the ambient brightness value prestored, object distance between terminal and reference object and flash power, the power of described photoflash lamp is adjusted to the flash power corresponding with described current environment brightness value and described current object distance.Concrete, because the distance between reference object and mobile phone varies, if the brightness of photoflash lamp is the same, then can causes when shooting at close range, occur the phenomenon of overexposure, during wide-long shot, occur the phenomenon of light filling deficiency.Therefore, the embodiment of the present invention first can obtain the Distance geometry current environment brightness value between reference object and terminal, also combine according to the distance got and current object distance and current environment brightness value the watt level that the object distance, the corresponding relation between ambient brightness value and flash power that prestore select photoflash lamp, realize the automatic adjustment of flash power further.
Wherein, mapping relations between the mapping relations of the mapping relations of this reflecting surface information and photoflash lamp angle, ambient brightness value and flash power value or ambient brightness value, object distance between terminal and reference object and flash power can be configured by system, or configured by User Defined, or association store is carried out to the parameter used during each shooting, thus obtaining this mapping relations, the embodiment of the present invention does not limit.Concrete, mapping relations between the mapping relations of the mapping relations of this reflecting surface information and photoflash lamp angle, ambient brightness value and flash power value or ambient brightness value, object distance between terminal and reference object and flash power can be stored in preset configured list, and this configured list can be stored in terminal, server or other third party devices.
S204: when receiving shooting order, controls described photoflash lamp and glistens to described reference object with the angle after adjustment and performance number, and control camera and take described reference object.
In specific embodiment, when terminal receives shooting instruction, photoflash lamp can glisten to reference object according to the photoflash lamp angle after this adjustment, and can adjust flash power further, and the camera of control terminal configuration is taken this reference object.
Further, terminal also can receive the image viewing instruction that user operation target button triggers; Export for pointing out the information inputting information to be verified; Receive the information to be verified of information input; If verify, information to be verified is consistent with default authorization information, then response image checks instruction, output image.Concrete, after terminal receives the image viewing instruction that user operation target button triggers, terminal is exportable for pointing out the information inputting information to be verified; And terminal can export the information input port to be verified for inputting information to be verified.Wherein, this information to be verified can include but not limited to any one and several combinations in password to be verified, finger print information to be verified, shape of face information to be verified, iris information to be verified, retinal information to be verified and voiceprint to be verified.This default authorization information pre-set can include but not limited to default authentication password, preset checking finger print information, preset checking shape of face information, preset checking iris information, preset checking retinal information and preset any one and several combinations in checking voiceprint.
In specific embodiment, above-mentioned default authorization information can comprise fingerprint string information and input time corresponding to each fingerprint; Correspondingly, verify that whether information to be verified is consistent with default authorization information can comprise the following steps:
Whether checking fingerprint string is identical with the fingerprint string that default authorization information comprises, and whether the difference of the input time of identical fingerprints is all less than preset value, if checking fingerprint string is identical with the fingerprint string that default authorization information comprises, and the difference of the input time of identical fingerprints is all less than preset value, so can verify that information to be verified is consistent with default authorization information; Otherwise, verify information to be verified and default authorization information inconsistent.Wherein, by implementing this execution mode, can prevent disabled user from terminal, arbitrarily checking the image that terminal taking obtains, thus can effectively prevent terminal from wantonly being operated by disabled user.
In embodiments of the present invention, terminal is by obtaining the ambient brightness value of current environment and needing the reflecting surface information of the reference object taken, determine the flash power that ambient brightness value current with this is corresponding and the photoflash lamp angle corresponding with the reflecting surface information of this reference object, thus automatically, intelligently the power of current photoflash lamp is adjusted to the flash power of this correspondence, and by the angle adjustment of photoflash lamp to the photoflash lamp angle of this correspondence, and without the need to again detecting again, effectively can promote the shooting efficiency of terminal, and reduce power consumption of terminal.
Refer to Fig. 3, Fig. 3 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention.Concrete, the described terminal of the embodiment of the present invention can include but not limited to smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC, mobile internet device (Mobile Internet Devices, MID) and personal digital assistant (Personal Digital Assistant, PDA) etc. the mobile terminal of camera application is installed.As shown in Figure 3, described terminal comprises: acquisition module 11, adjusting module 12 and taking module 13.Wherein,
Described acquisition module 11, for when detect need to open photoflash lamp time, obtain the current environment parameter information of environment residing for terminal.
In specific embodiment, when using the filming apparatus of terminal, can be first current the need of unlatching photoflash lamp by acquisition module 11 sense terminals.Concrete, acquisition module 11 when filming apparatus starts, can obtain current environment brightness value, thus judges whether to need to open photoflash lamp according to this brightness value.Such as, acquisition module 11 can judge according to the luminance threshold pre-set, and when this current ambient brightness value is lower than this luminance threshold, is judged as needing to open photoflash lamp; Otherwise, be judged as without the need to opening photoflash lamp.Wherein, the photoflash lamp described in the embodiment of the present invention is rotatable photoflash lamp.
Described adjusting module 12, for the mapping relations according to the ambient parameter information prestored and photoflash lamp angle, by the angle adjustment of described photoflash lamp to the photoflash lamp angle corresponding with described current environment parameter information.
In specific embodiment, terminal storage has the photoflash lamp angle of various ambient parameter information and correspondence thereof, specifically when taking pictures at every turn, the photoflash lamp angle adjusted according to current environment parameter information and this current ambient parameter information can be carried out association store, each ambient parameter information maps a suitable photoflash lamp angle.Therefore, after acquisition module 11 acquires current environment parameter information, adjusting module 12 can from the ambient parameter information stored and the mapping relations of photoflash lamp angle, determine the photoflash lamp angle that environmental parameter current with this is corresponding, and the angle adjustment of terminal photoflash lamp is identical as the photoflash lamp angle of this correspondence.
Concrete, described current environment parameter information can comprise the reflecting surface information of reference object; Described adjusting module 12 can be specifically for:
According to the mapping relations of the reflecting surface information prestored and photoflash lamp angle, by the angle adjustment of the photoflash lamp of described terminal to the photoflash lamp angle corresponding with the reflecting surface information of described reference object.
Wherein, the reflecting surface information of described reference object is be included in current environment to realize the information to the reflecting surface that the light of reference object compensates based on bounce flash, and this reflecting surface can comprise wall, ground etc.
Described taking module 13, for when receiving shooting order, controlling described photoflash lamp and glistening to described reference object with the angle after adjustment, and controlling camera and take described reference object.
In specific embodiment, when receiving shooting instruction, the photoflash lamp that taking module 13 gets final product control terminal glistens to reference object according to the photoflash lamp angle after this adjustment, and can adjust flash power further, and the camera of control terminal configuration is taken this reference object.
Implement the embodiment of the present invention by obtaining the ambient parameter information of current environment, determine the photoflash lamp angle that ambient environment parameter information current with this is corresponding, thus automatically, intelligently by the angle adjustment of current photoflash lamp to the photoflash lamp angle of this correspondence, and without the need to again detecting again, effectively can promote the shooting efficiency of terminal, and reduce power consumption of terminal.
Further, refer to Fig. 4, Fig. 4 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.Concrete, wherein, Fig. 4 obtains at the enterprising step refining in the basis of Fig. 3, and the described terminal of the embodiment of the present invention can comprise the acquisition module 11 of above-mentioned terminal, adjusting module 12 and taking module 13, further, in embodiments of the present invention,
Described acquisition module 11, also for determining the current environment brightness value of environment residing for described terminal;
Described adjusting module 12, also for the mapping relations according to the ambient brightness value prestored and flash power value, is adjusted to the flash power value corresponding with described current environment brightness value by the performance number of described photoflash lamp.
Further, terminal also obtains current environment brightness value by acquisition module 11, adjusting module 12 can according to the mapping relations of the ambient brightness value prestored and flash power value, the performance number of described photoflash lamp is adjusted to the flash power value corresponding with described current environment brightness value, thus realizes the automatic adjustment of flash power.
Further, in embodiments of the present invention,
Described acquisition module 11, also for obtaining the distance between described terminal and reference object, and is defined as current object distance by described distance;
Described adjusting module 12 also can be specifically for:
According to the mapping relations between the ambient brightness value prestored, object distance between terminal and reference object and flash power, the power of described photoflash lamp is adjusted to the flash power corresponding with described current environment brightness value and described current object distance.
Concrete, because the distance between reference object and mobile phone varies, if the brightness of photoflash lamp is the same, then can causes when shooting at close range, occur the phenomenon of overexposure, during wide-long shot, occur the phenomenon of light filling deficiency.Therefore, the embodiment of the present invention first can obtain the Distance geometry current environment brightness value between reference object and terminal, also combine according to the distance got and current object distance and current environment brightness value the watt level that the object distance, the corresponding relation between ambient brightness value and flash power that prestore select photoflash lamp, realize the automatic adjustment of flash power further.
Wherein, mapping relations between the mapping relations of the mapping relations of this reflecting surface information and photoflash lamp angle, ambient brightness value and flash power value or ambient brightness value, object distance between terminal and reference object and flash power can be configured by system, or configured by User Defined, or association store is carried out to the parameter used during each shooting, thus obtaining this mapping relations, the embodiment of the present invention does not limit.Concrete, mapping relations between the mapping relations of the mapping relations of this reflecting surface information and photoflash lamp angle, ambient brightness value and flash power value or ambient brightness value, object distance between terminal and reference object and flash power can be stored in preset configured list, and this configured list can be stored in terminal, server or other third party devices.
Further, in embodiments of the present invention, described acquisition module 11 can comprise:
Detecting unit 111, for when detect need open photoflash lamp time, the reflecting surface that in the current environment residing for sense terminals, reference object is corresponding;
Message output unit 112, when the described reflecting surface for detecting at described detecting unit 111 is multiple, exports the prompting message comprising multiple described reflecting surface;
Information determination unit 113, for receiving the selection instruction that user triggers for described prompting message, reflecting surface corresponding for selection instruction described in multiple described reflecting surface is defined as target reflecting surface, and will the reflecting surface information of reflecting surface information as described reference object of described target reflecting surface be comprised.
In specific embodiment, when acquisition module obtains the reflecting surface information of environment residing for terminal, by the reflecting surface that reference object in the current environment residing for detecting unit 111 sense terminals is corresponding, and when multiple reflecting surface being detected, exported the prompting message comprising the plurality of reflecting surface by message output unit 112, select suitable reflecting surface with reminding user and carry out light compensation.When receiving the selection instruction that user triggers for described prompting message, information determination unit 113 can according to this selection instruction, target reflecting surface is determined from the plurality of reflecting surface, namely, reflecting surface corresponding for this selection instruction in the plurality of reflecting surface is defined as target reflecting surface, and the reflecting surface information of reflecting surface information as described reference object of described target reflecting surface will be comprised, thus according to the angle of this target reflecting surface determination photoflash lamp, realize the automatic adjustment of photoflash lamp angle.
In embodiments of the present invention, terminal is by obtaining the ambient brightness value of current environment and needing the reflecting surface information of the reference object taken, determine the flash power that ambient brightness value current with this is corresponding and the photoflash lamp angle corresponding with the reflecting surface information of this reference object, thus automatically, intelligently the power of current photoflash lamp is adjusted to the flash power of this correspondence, and by the angle adjustment of photoflash lamp to the photoflash lamp angle of this correspondence, and without the need to again detecting again, effectively can promote the shooting efficiency of terminal, and reduce power consumption of terminal.
Refer to Fig. 5, Fig. 5 is the structural representation of the embodiment of the present invention another terminal disclosed, for performing above-mentioned image pickup method.As shown in Figure 5, this terminal 500 can comprise: at least one processor 501, at least one input unit 502, at least one output device 503, assembly such as memory 505 grade.Wherein, these assemblies are communicated to connect by one or more bus 504.It will be appreciated by those skilled in the art that, the structure of the terminal shown in Fig. 5 does not form the restriction to the embodiment of the present invention, it both can be busbar network, also can be hub-and-spoke configuration, the parts more more or less than diagram can also be comprised, or combine some parts, or different parts are arranged.Wherein:
Processor 501 is the control centre of terminal, utilize the various piece of various interface and the whole terminal of connection, by running or perform the program in memory 505 of being stored in and/or module, and call the data be stored in memory 505, to perform various function and the deal with data of terminal.Processor 501 by integrated circuit (Integrated Circuit is called for short IC) composition, such as, can be made up of the IC of single encapsulation, also can be made up of the encapsulation IC connecting many identical functions or difference in functionality.For example, processor 501 only can comprise central processing unit (Central Processing Unit, be called for short CPU), also can be CPU, digital signal processor (digital signal processor, be called for short DSP), the combination of graphic process unit (Graphic ProcessingUnit, be called for short GPU) and various control chip.In embodiments of the present invention, CPU can be single arithmetic core, also can comprise multioperation core.
Input unit 502 can comprise the touch-screen, keyboard etc. of standard, also can include line interface, wave point etc.
Output device 503 can comprise display screen, loud speaker etc., also can include line interface, wave point etc.
Memory 505 can be used for storing software program and module, processor 501, input unit 502 and output device 503 are stored in software program in memory 505 and module by calling, thus perform the various functions application of terminal and realize data processing.Memory 505 mainly comprises program storage area and data storage area, and wherein, program storage area can storage operation system, application program etc. needed at least one function; Data storage area can store the data etc. created according to the use of terminal.In embodiments of the present invention, operating system can be android system, iOS system or Windows operating system etc.
Concrete, processor 501 calls the application program be stored in memory 505, for performing following operation:
When detect need to open photoflash lamp time, obtain the current environment parameter information of environment residing for terminal;
According to the mapping relations of the ambient parameter information prestored and photoflash lamp angle, by the angle adjustment of described photoflash lamp to the photoflash lamp angle corresponding with described current environment parameter information;
When receiving shooting order, controlling described photoflash lamp and with the angle after adjustment, described reference object being glistened, and controlling camera described reference object is taken.
In the embodiment of the present invention, described current environment parameter information comprises the reflecting surface information of reference object; Processor 501 calls the application program be stored in memory 505, for performing the mapping relations of ambient parameter information that described basis prestores and photoflash lamp angle, the angle adjustment of described photoflash lamp to the specific implementation of the photoflash lamp angle corresponding with described current environment parameter information can be comprised and puts step:
According to the mapping relations of the reflecting surface information prestored and photoflash lamp angle, by the angle adjustment of the photoflash lamp of described terminal to the photoflash lamp angle corresponding with the reflecting surface information of described reference object.
In the embodiment of the present invention, processor 501 calls the application program be stored in memory 505, also for performing following steps:
Determine the current environment brightness value of environment residing for described terminal;
According to the mapping relations of the ambient brightness value prestored and flash power value, the performance number of described photoflash lamp is adjusted to the flash power value corresponding with described current environment brightness value.
In the embodiment of the present invention, processor 501 calls the application program be stored in memory 505, also for performing following steps:
Obtain the distance between described terminal and reference object, and described distance is defined as current object distance;
The mapping relations of the ambient brightness value that described basis prestores and flash power value, are adjusted to the flash power value corresponding with described current environment brightness value by the performance number of the photoflash lamp of described terminal, comprise:
According to the mapping relations between the ambient brightness value prestored, object distance between terminal and reference object and flash power, the power of described photoflash lamp is adjusted to the flash power corresponding with described current environment brightness value and described current object distance.
In the embodiment of the present invention, processor 501 calls the application program be stored in memory 505, and the specific implementation for the current environment parameter information performing environment residing for described acquisition terminal can comprise and puts step:
The reflecting surface that in current environment residing for sense terminals, reference object is corresponding;
If the described reflecting surface detected is multiple, then export the prompting message comprising multiple described reflecting surface;
Receive the selection instruction that user triggers for described prompting message, reflecting surface corresponding for selection instruction described in multiple described reflecting surface is defined as target reflecting surface, and will the reflecting surface information of reflecting surface information as described reference object of described target reflecting surface be comprised.
Concrete, the part or all of flow process in the image pickup method embodiment that the terminal introduced in the embodiment of the present invention can implement composition graphs 1 of the present invention, Fig. 2 introduces.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
Above method provided by the present invention, system and equipment are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. an image pickup method, is characterized in that, comprising:
When detect need to open photoflash lamp time, obtain the current environment parameter information of environment residing for terminal;
According to the mapping relations of the ambient parameter information prestored and photoflash lamp angle, by the angle adjustment of described photoflash lamp to the photoflash lamp angle corresponding with described current environment parameter information;
When receiving shooting order, controlling described photoflash lamp and with the angle after adjustment, described reference object being glistened, and controlling camera described reference object is taken.
2. method according to claim 1, is characterized in that, described current environment parameter information comprises the reflecting surface information of reference object; The mapping relations of the ambient parameter information that described basis prestores and photoflash lamp angle, by the angle adjustment of described photoflash lamp to the photoflash lamp angle corresponding with described current environment parameter information, comprising:
According to the mapping relations of the reflecting surface information prestored and photoflash lamp angle, by the angle adjustment of the photoflash lamp of described terminal to the photoflash lamp angle corresponding with the reflecting surface information of described reference object.
3. method according to claim 1 and 2, is characterized in that, glistens with the angle after adjustment at the described photoflash lamp of described control to described reference object, and controls before camera takes described reference object, and described method also comprises:
Determine the current environment brightness value of environment residing for described terminal;
According to the mapping relations of the ambient brightness value prestored and flash power value, the performance number of described photoflash lamp is adjusted to the flash power value corresponding with described current environment brightness value.
4. method according to claim 3, it is characterized in that, the ambient brightness value prestored in described basis and the mapping relations of flash power value, before the performance number of described photoflash lamp is adjusted to the flash power value corresponding with described current environment brightness value, described method also comprises:
Obtain the distance between described terminal and reference object, and described distance is defined as current object distance;
The mapping relations of the ambient brightness value that described basis prestores and flash power value, are adjusted to the flash power value corresponding with described current environment brightness value by the performance number of the photoflash lamp of described terminal, comprise:
According to the mapping relations between the ambient brightness value prestored, object distance between terminal and reference object and flash power, the power of described photoflash lamp is adjusted to the flash power corresponding with described current environment brightness value and described current object distance.
5. method according to claim 2, is characterized in that, the current environment parameter information of environment residing for described acquisition terminal, comprising:
The reflecting surface that in current environment residing for sense terminals, reference object is corresponding;
If the described reflecting surface detected is multiple, then export the prompting message comprising multiple described reflecting surface;
Receive the selection instruction that user triggers for described prompting message, reflecting surface corresponding for selection instruction described in multiple described reflecting surface is defined as target reflecting surface, and will the reflecting surface information of reflecting surface information as described reference object of described target reflecting surface be comprised.
6. a terminal, is characterized in that, comprising:
Acquisition module, for when detect need to open photoflash lamp time, obtain the current environment parameter information of environment residing for terminal;
Adjusting module, for the mapping relations according to the ambient parameter information prestored and photoflash lamp angle, by the angle adjustment of described photoflash lamp to the photoflash lamp angle corresponding with described current environment parameter information;
Taking module, for when receiving shooting order, controlling described photoflash lamp and glistening to described reference object with the angle after adjustment, and controlling camera and take described reference object.
7. terminal according to claim 6, is characterized in that, described current environment parameter information comprises the reflecting surface information of reference object; Described adjusting module specifically for:
According to the mapping relations of the reflecting surface information prestored and photoflash lamp angle, by the angle adjustment of the photoflash lamp of described terminal to the photoflash lamp angle corresponding with the reflecting surface information of described reference object.
8. the terminal according to claim 6 or 7, is characterized in that,
Described acquisition module, also for determining the current environment brightness value of environment residing for described terminal;
Described adjusting module, also for the mapping relations according to the ambient brightness value prestored and flash power value, is adjusted to the flash power value corresponding with described current environment brightness value by the performance number of described photoflash lamp.
9. terminal according to claim 8, is characterized in that,
Described acquisition module, also for obtaining the distance between described terminal and reference object, and is defined as current object distance by described distance;
Described adjusting module specifically for:
According to the mapping relations between the ambient brightness value prestored, object distance between terminal and reference object and flash power, the power of described photoflash lamp is adjusted to the flash power corresponding with described current environment brightness value and described current object distance.
10. terminal according to claim 7, is characterized in that, described acquisition module comprises:
Detecting unit, for when detect need open photoflash lamp time, the reflecting surface that in the current environment residing for sense terminals, reference object is corresponding;
Message output unit, when the described reflecting surface for detecting at described detecting unit is multiple, exports the prompting message comprising multiple described reflecting surface;
Information determination unit, for receiving the selection instruction that user triggers for described prompting message, reflecting surface corresponding for selection instruction described in multiple described reflecting surface is defined as target reflecting surface, and will the reflecting surface information of reflecting surface information as described reference object of described target reflecting surface be comprised.
CN201510218451.7A 2015-04-30 2015-04-30 A kind of image pickup method and terminal Active CN104853111B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510218451.7A CN104853111B (en) 2015-04-30 2015-04-30 A kind of image pickup method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510218451.7A CN104853111B (en) 2015-04-30 2015-04-30 A kind of image pickup method and terminal

Publications (2)

Publication Number Publication Date
CN104853111A true CN104853111A (en) 2015-08-19
CN104853111B CN104853111B (en) 2018-09-04

Family

ID=53852442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510218451.7A Active CN104853111B (en) 2015-04-30 2015-04-30 A kind of image pickup method and terminal

Country Status (1)

Country Link
CN (1) CN104853111B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104950555A (en) * 2015-06-12 2015-09-30 联想(北京)有限公司 Control method and electronic equipment
CN105045517A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Flashlight adjusting method and user terminal
CN105764211A (en) * 2016-03-28 2016-07-13 广东欧珀移动通信有限公司 Mobile terminal and control method of illuminating device thereof
CN106713736A (en) * 2015-11-18 2017-05-24 西安中兴新软件有限责任公司 Multi-machine flashlight control method and terminal equipment
CN107770455A (en) * 2017-09-30 2018-03-06 维沃移动通信有限公司 The method of adjustment and mobile terminal of a kind of flash lamp
CN108650474A (en) * 2018-07-03 2018-10-12 佛山市影腾科技有限公司 A kind of photographic method, device and mobile terminal
CN108965733A (en) * 2018-08-27 2018-12-07 奇酷互联网络科技(深圳)有限公司 Light supplement control method, intelligent wearable device, Intelligent supplemental lighting system and device
CN110113543A (en) * 2019-04-25 2019-08-09 深圳天地宽视信息科技有限公司 The data processing method and device of the setting of light filling lamp group are carried out by ray tracing
CN111031221A (en) * 2019-12-27 2020-04-17 维沃移动通信有限公司 Shooting method and electronic equipment
CN112437234A (en) * 2019-08-22 2021-03-02 北京小米移动软件有限公司 Flash lamp and flash lamp control method and device
CN113343859A (en) * 2021-06-10 2021-09-03 浙江大华技术股份有限公司 Smoking behavior detection method and device, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8548316B2 (en) * 2010-06-28 2013-10-01 Samsung Electro-Mechanics Co., Ltd. Apparatus and method for controlling light intensity of camera
CN104246602A (en) * 2012-04-25 2014-12-24 松下知识产权经营株式会社 Strobe device and imaging device equipped with strobe device
CN104243812A (en) * 2013-06-24 2014-12-24 佳能株式会社 Camera system, imaging apparatus, lighting device, and control method
CN104541200A (en) * 2012-08-20 2015-04-22 松下知识产权经营株式会社 Strobe device and imaging device provided with strobe device
CN104580924A (en) * 2014-12-30 2015-04-29 广东欧珀移动通信有限公司 Flashlight power adjusting method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8548316B2 (en) * 2010-06-28 2013-10-01 Samsung Electro-Mechanics Co., Ltd. Apparatus and method for controlling light intensity of camera
CN104246602A (en) * 2012-04-25 2014-12-24 松下知识产权经营株式会社 Strobe device and imaging device equipped with strobe device
CN104541200A (en) * 2012-08-20 2015-04-22 松下知识产权经营株式会社 Strobe device and imaging device provided with strobe device
CN104243812A (en) * 2013-06-24 2014-12-24 佳能株式会社 Camera system, imaging apparatus, lighting device, and control method
CN104580924A (en) * 2014-12-30 2015-04-29 广东欧珀移动通信有限公司 Flashlight power adjusting method and terminal

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104950555B (en) * 2015-06-12 2018-11-09 联想(北京)有限公司 A kind of control method and electronic equipment
CN104950555A (en) * 2015-06-12 2015-09-30 联想(北京)有限公司 Control method and electronic equipment
CN105045517A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Flashlight adjusting method and user terminal
CN105045517B (en) * 2015-08-27 2018-01-23 广东欧珀移动通信有限公司 A kind of flash adjustment method and user terminal
CN106713736A (en) * 2015-11-18 2017-05-24 西安中兴新软件有限责任公司 Multi-machine flashlight control method and terminal equipment
WO2017084440A1 (en) * 2015-11-18 2017-05-26 中兴通讯股份有限公司 Multi-machine flashlight control method and terminal device
CN105764211A (en) * 2016-03-28 2016-07-13 广东欧珀移动通信有限公司 Mobile terminal and control method of illuminating device thereof
CN107770455A (en) * 2017-09-30 2018-03-06 维沃移动通信有限公司 The method of adjustment and mobile terminal of a kind of flash lamp
CN108650474A (en) * 2018-07-03 2018-10-12 佛山市影腾科技有限公司 A kind of photographic method, device and mobile terminal
CN108965733A (en) * 2018-08-27 2018-12-07 奇酷互联网络科技(深圳)有限公司 Light supplement control method, intelligent wearable device, Intelligent supplemental lighting system and device
CN110113543A (en) * 2019-04-25 2019-08-09 深圳天地宽视信息科技有限公司 The data processing method and device of the setting of light filling lamp group are carried out by ray tracing
CN112437234A (en) * 2019-08-22 2021-03-02 北京小米移动软件有限公司 Flash lamp and flash lamp control method and device
CN112437234B (en) * 2019-08-22 2023-12-26 北京小米移动软件有限公司 Flash lamp, and flash lamp control method and device
CN111031221A (en) * 2019-12-27 2020-04-17 维沃移动通信有限公司 Shooting method and electronic equipment
CN113343859A (en) * 2021-06-10 2021-09-03 浙江大华技术股份有限公司 Smoking behavior detection method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN104853111B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN104853111A (en) Shooting method and terminal
US10958850B2 (en) Electronic device and method for capturing image by using display
CN109688147B (en) Application login method, device, terminal, server, system and storage medium
CN104883509B (en) A kind of method and terminal using taking photos by using flashlights
CN110417710B (en) Attack data capturing method and device and storage medium
CN109040524B (en) Artifact eliminating method and device, storage medium and terminal
CN106020423A (en) Screen control device and method for terminal
CN108419025A (en) A kind of exposure parameter method of adjustment, device and readable medium
CN109784252A (en) Image processing method, device, storage medium and electronic equipment
WO2019024641A1 (en) Data synchronization method and apparatus, storage medium and electronic device
CN107454344B (en) A kind of acquisition parameters setting method and user terminal
CN104883496A (en) Baby photographing method and mobile terminal
CN111182236A (en) Image synthesis method and device, storage medium and terminal equipment
CN110392375B (en) WiFi network channel modification method, terminal, server and storage medium
JP7450708B2 (en) Display method and electronic equipment
CN110618852B (en) View processing method, view processing device and terminal equipment
CN111405180A (en) Photographing method, photographing device, storage medium and mobile terminal
CN112532885A (en) Anti-shake method and device and electronic equipment
CN106161793A (en) Originating method based on contact person's packet and device
CN109561255B (en) Terminal photographing method and device and storage medium
CN109040729B (en) Image white balance correction method and device, storage medium and terminal
CN110119034A (en) Photographic device, camera shooting control method, storage medium and electronic equipment
CN107491353A (en) Method for recovering internal storage, device and computer-readable recording medium
CN110473156A (en) Processing method, device, storage medium and the electronic equipment of image information
CN112312032B (en) Method and device for shooting by using off-screen camera, storage medium and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP01 Change in the name or title of a patent holder