CN108055402A - A kind of image pickup method and mobile terminal - Google Patents

A kind of image pickup method and mobile terminal Download PDF

Info

Publication number
CN108055402A
CN108055402A CN201711392457.1A CN201711392457A CN108055402A CN 108055402 A CN108055402 A CN 108055402A CN 201711392457 A CN201711392457 A CN 201711392457A CN 108055402 A CN108055402 A CN 108055402A
Authority
CN
China
Prior art keywords
mobile terminal
illumination
light
captured
solar source
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
CN201711392457.1A
Other languages
Chinese (zh)
Other versions
CN108055402B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711392457.1A priority Critical patent/CN108055402B/en
Publication of CN108055402A publication Critical patent/CN108055402A/en
Application granted granted Critical
Publication of CN108055402B publication Critical patent/CN108055402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • Studio Devices (AREA)

Abstract

The present invention provides a kind of image pickup method and mobile terminal, this method includes:Obtain the current context information of mobile terminal;According to the current context information, the direction of illumination of target object is determined;According to the direction of illumination, the target object is shot.The present invention is shot according to the direction of illumination of target object, can improve three-dimensional sense, the stereovision of captured image, and improves the display effect of image dark portion.

Description

A kind of image pickup method and mobile terminal
Technical field
The present invention relates to the technical field of communications applications more particularly to a kind of image pickup methods and mobile terminal.
Background technology
Light is that the key factor of photography, different direction of illuminations, such as frontlighting, sidelight, backlight, top light can be presented completely Different shooting effects.How grasp is shot using direction of illumination, becomes the indispensable skill of each photography people.
However, ordinary user does not possess the skill taken pictures under different light using different parameters of taking pictures generally, Cause captured photographic quality poor.
The content of the invention
It is an object of the invention to provide a kind of image pickup method and mobile terminals, are difficult to utilize well to solve user Light is taken pictures, the problem of causing captured photographic quality poor.
In a first aspect, an embodiment of the present invention provides a kind of image pickup method, applied to the mobile terminal including camera, institute The method of stating includes:
Obtain the current context information of mobile terminal;
According to the current context information, the direction of illumination of target object is determined;
According to the direction of illumination, the target object is shot.
Second aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, and the mobile terminal includes camera, described Mobile terminal further includes:
Acquisition module, for obtaining the current context information of mobile terminal;
Determining module, for according to the current context information, determining the direction of illumination of target object;
Taking module, for according to the direction of illumination, being shot to the target object.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including:It memory, processor and is stored in On memory and the computer program that can run on a processor, realized such as when the computer program is performed by the processor The step of upper image pickup method.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, described computer-readable to deposit Computer program is stored on storage media, the computer program realizes the step of image pickup method as described above when being executed by processor Suddenly.
The embodiment of the present invention has the advantages that:
The above-mentioned technical proposal of the embodiment of the present invention is shot according to the direction of illumination of target object, can improve institute Three-dimensional sense, the stereovision of captured image, and improve the display effect of image dark portion.
Description of the drawings
Fig. 1 is one of flow chart of image pickup method of the embodiment of the present invention;
Fig. 2 is the two of the flow chart of the image pickup method of the embodiment of the present invention;
Fig. 3 is one of module diagram of mobile terminal of the embodiment of the present invention;
Fig. 4 is the two of the module diagram of the mobile terminal of the embodiment of the present invention;
Fig. 5 is the structure diagram of the mobile terminal of the embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete It is described into ground, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment belongs to the scope of protection of the invention.
As shown in Figure 1, the embodiment provides a kind of image pickup method, applied to the mobile end including camera End, this method include:
Step 101:Obtain the current context information of mobile terminal.
Here, the current context information of mobile terminal may include:The location of described mobile terminal and the movement The system time of terminal.Wherein, the location of mobile terminal includes the latitude and longitude information of mobile terminal present position, height above sea level letter At least one of in breath, the time that above system time occurrence mobile terminal screen is currently shown.
Step 102:According to the current context information, the direction of illumination of target object is determined.
The target object can be face to be captured, which can be specially light of the solar source to the target object According to direction, solar source can be obtained in above system to the direction of illumination of different position in different time according to solar source To the direction of illumination of mobile terminal present position under time, and it can further obtain light of the direction with camera of face to be captured Angle information between axis, final summary information obtain direction of illumination of the solar source to face to be captured.
Step 103:According to the direction of illumination, the target object is shot.
Specifically, according to the direction of illumination and the correspondence of acquisition parameters that pre-save, suitable acquisition parameters are chosen The target reference object is shot.
The image pickup method of the embodiment of the present invention obtains the current context information of mobile terminal;Believed according to the current environment Breath determines the direction of illumination of target object;According to the direction of illumination, the target object is shot.The present invention is implemented Example grasps complicated shooting skill without user, can automatically determine direction of illumination and be shot according to direction of illumination, improves Three-dimensional sense, the stereovision of captured image, and improve the display effect of image dark portion.
Further, the current context information of the mobile terminal includes:The location of described mobile terminal and institute The system time of mobile terminal is stated, the target object is face to be captured;As a kind of optional realization method, such as Fig. 2 institutes Show, above-mentioned steps 101 include:
Step 1011:Target illumination direction is obtained to the direction of illumination of different position in different time according to solar source First angle information between the optical axis of camera, the target illumination direction are right under the system time for solar source The direction of illumination of mobile terminal present position.
According to the solar source counted in advance in direction of illumination (irradiating angle, the irradiation of different time to different position Angle is on the basis of horizontal plane), solar source is obtained under the system time to the target illumination direction of the position, is gone forward side by side One step obtains the first angle information between the target illumination direction and camera illumination, and above-mentioned camera illumination refers to have turned on Camera optical axis.
Step 1012:Obtain the second angle information between the direction of face to be captured and the optical axis of the camera.
In a specific embodiment of the present invention, based on face recognition algorithms, the direction of face in the picture that judges to find a view, including Pitching is swept away, rotation angle, draws angle of the face to be captured compared with camera lens optical axis.
Step 1013:According to the first angle information and the second angle information, determine the solar source to institute State the direction of illumination of face to be captured.
Angle of the above-mentioned first angle information between target illumination direction and the optical axis of the camera, the second angle Angle of the information between the direction of face to be captured and the optical axis of the camera, according to above-mentioned first angle information and second Angle information is to calculate the angle between the direction of solar source and face to be captured using the optical axis of camera as reference, I.e. solar source is to the direction of illumination of face to be captured.
Further, above-mentioned steps 103 are according to the direction of illumination, the step of shooting to the target object, bag It includes:
Obtain the matched target of light intensity with the direction of illumination, the light quality of solar source and shooting interface Acquisition parameters;According to the target acquisition parameters, the face to be captured is shot.
Specifically, in the multiple photographed scenes pre-saved, obtain and the direction of illumination, the light matter of solar source Amount and the matched target photographed scene of light intensity at shooting interface;It is closed according to default photographed scene is corresponding with acquisition parameters System obtains target acquisition parameters corresponding with the target photographed scene;According to the target acquisition parameters, to described to be captured Face is shot.
Above-mentioned photographed scene includes frontlighting photographed scene, reversible-light shooting scene, sidelight photographed scene, side direct light shooting field Scape, side reversible-light shooting scene, top light photographed scene and back light photographed scene etc..Each photographed scene by comprising direction of illumination, The light quality of solar source and three scene characteristics parameters of light intensity for shooting interface, if current light direction is backlight Irradiation, the light quality of solar source and the difference of the light quality in reversible-light shooting scene are less than the first predetermined threshold value and bat The difference of the light intensity and the light intensity in reversible-light shooting scene of taking the photograph interface is less than the second predetermined threshold value, it is determined that target is clapped Scene is taken the photograph as reversible-light shooting scene, and obtains the default acquisition parameters corresponding with the reversible-light shooting scene set, and utilizes and obtains The acquisition parameters taken shoot face to be captured.
Wherein, shooting the light intensity at interface can be obtained by preset algorithm or acquisition camera photoinduction data, Such as by preposition, rear camera or other optical inductors, the brightness H of actual ambient light is captured.
Wherein, the light quality of the solar source is obtained by following steps:
Obtain weather data corresponding with the location of mobile terminal and system time;
According to the weather data, the light quality of the solar source is obtained, the light quality includes:Whether light is had Whether line direct projection and light are hard light or soft light.
According to the location of mobile terminal and time, mobile terminal obtains shooting location to backstage weather server and works as The weather data of preceding shooting time, the weather data include but is not limited to the weather conditions such as sleet hardships, cloud thickness, wind Power, air pressure etc. obtain whether the light quality F of current location current time (has light direct projection, whether hard by weather data Light or sheen) and expected light intensity G.
At this point, before above-mentioned steps 1011, this method further includes:
Judge whether the light intensity for shooting interface is more than the first predetermined threshold value and the global positioning system of mobile terminal Whether the signal strength of GPS is less than the second predetermined threshold value;
If the light intensity at the shooting interface is more than the first predetermined threshold value, and the signal strength of the GPS is less than second Predetermined threshold value then enters according to solar source in different time to the direction of illumination of different position, obtain target illumination direction with The step of first angle information between the optical axis of camera.
Light intensity at shooting interface is more than the first predetermined threshold value, and the signal strength of GPS is less than the second predetermined threshold value When, determine the location of mobile terminal for outdoor, i.e., there are solar source, at this point, into according to solar source when different Between to the direction of illumination of different position, obtain the step of the first angle information between target illumination direction and the optical axis of camera Suddenly.
Wherein, above-mentioned first predetermined threshold value is specially above-mentioned expected light intensity G.
In the embodiment of the present invention, first judge whether the location of mobile terminal is outdoor, is determining mobile terminal institute When the position at place is outdoor, then into the step of obtaining above-mentioned first angle information, otherwise, the side of the embodiment of the present invention is not performed Method, to reduce the energy consumption of mobile terminal.
It is assumed that after user starts camera, mobile phone analyze he with being in A, height above sea level be m meters, 10 points of morning, local weather is fine, The sky is without 1 grade of cloud cover, wind-force northeast, and for mobile phone towards northeast, optical inductor judges that direction of illumination is the frontlighting of photographer, in It is to obtain acquisition parameters corresponding with frontlighting photographed scene and face to be captured is shot, with the matter of photo captured by raising Amount.
Further, in above-mentioned steps 1011 according to solar source in different time to the direction of illumination of different position, obtain The step of taking the first angle information between target illumination direction and the optical axis of camera, including:
According to the target illumination direction, the third angle information between solar source and the position is determined, wherein, institute Third angle information is stated using level ground as referential.
Specifically, according to above-mentioned target illumination direction, can draw line between solar source and position with flatly Angle between face, i.e., above-mentioned third angle information.
The mobile terminal is obtained compared with the fourth angle information of level ground and the optical axis of the camera and institute The location information between mobile terminal is stated, the optical axis for obtaining the camera is believed compared with the 5th angle of the level ground Breath.
Specifically, the horizontal direction of mobile terminal relative level ground court of institute, Ran Houli are obtained according to electronic compass first With gyroscope, to obtain angle of inclination of the mobile terminal compared with level ground, and then obtain above-mentioned fourth angle information, it is necessary to Illustrate, the angle information in the embodiment of the present invention each means three-dimensional perspective information.Further, since the camera having turned on Optical axis direction is fixed compared with mobile terminal screen, therefore, according to above-mentioned fourth angle information and the optical axis of the camera With the location information between the mobile terminal, the optical axis of the camera can be obtained compared with the 5th of the level ground Angle information.
According to the third angle information and the 5th angle information, the first angle information is obtained.
According to the angle between mobile terminal present position in solar source and level ground and the optical axis of camera with Angle between level ground can draw the first angle letter between the optical axis of target illumination direction and the camera Breath.
Further, institute is determined according to the first angle information and the second angle information in above-mentioned steps 1013 Stating solar source includes the direction of illumination of the face to be captured:
Obtain first angle and described of the first angle information in three-dimensional coordinate system in each dimension Second angle of two angle informations in the three-dimensional coordinate system in each dimension;
According to the first angle and second angle on same dimension, the solar source is obtained in each dimension to described The irradiating angle of face to be captured, the irradiating angle is using the optical axis of the camera as referential.
In the embodiment of the present invention, three-dimensional coordinate system includes three x-axis, y-axis, z-axis dimensions, and solar source is to be captured The direction of illumination of face is using the optical axis of the camera of mobile terminal as referential, by the first angle on same dimension and Two angles are compared, draw solar source in x-axis, y-axis, z-axis to the irradiating angle of face to be captured, according to solar source To the irradiating angle of the face to be captured in x-axis, y-axis, z-axis, the direction of illumination is obtained.Angle such as in z-axis is Timing, and during more than the first preset angle angle value, then can determine it is top light shooting, the angle in z-axis for it is negative when, and more than second During preset angle angle value, then it can determine it is back light shooting.Similarly, can according to solar source in x-axis or y-axis to the shooting face Irradiating angle and respective angles threshold value relation, it may be determined that corresponding direction of illumination.
Preferably, the definite method of the direction of illumination of the embodiment of the present invention, further includes:
According to the direction of illumination, carry out light filling or shooting suggestion is provided.
For example, during frontlighting, it is currently frontlighting to prompt user, without specific pictures effect optimization;User is prompted during backlight Currently for backlight, light compensating lamp is automatically opened, promotes exposure compensating, with skin whitening, reaches the lofty tone aesthetic feeling of picture;During sidelight, It is currently sidelight to prompt user, provides two kinds of options, promotes contrast to enhance comparison of light and shade or highlight dark portion to weaken light and shade Comparison, with the dramatic effect for reaching enhancing or weakening illumination;During side direct light, it is currently side direct light to prompt user.There is provided two kinds Option promotes contrast to enhance comparison of light and shade or highlight dark portion to weaken comparison of light and shade, to reach enhancing or weaken illumination Dramatic effect;During the backlight of side, it is currently side backlight to prompt user, provides two kinds of options, promotes contrast to enhance light and shade pair Than or highlight dark portion to weaken comparison of light and shade, with reach enhancing or weaken illumination dramatic effect.During top light, user is prompted It is currently top light, illumination condition is not good enough.Recommended replacement shooting angle or spot for photography;During back light, it is currently back light to prompt user, Illumination condition is not good enough.Recommended replacement shooting angle or spot for photography.
The image pickup method of the embodiment of the present invention obtains the current context information of mobile terminal;Believed according to the current environment Breath determines the direction of illumination of target object;According to the direction of illumination, the target object is shot.The present invention is implemented Example grasps complicated shooting skill without user, can automatically determine direction of illumination and be shot according to direction of illumination, improves Three-dimensional sense, the stereovision of captured image, and improve the display effect of image dark portion.
As shown in figure 3, the embodiment of the present invention additionally provides a kind of mobile terminal 300, including camera, further include:
Acquisition module 301, for obtaining the current context information of mobile terminal;
Determining module 302, for according to the current context information, determining the direction of illumination of target object;
Taking module 303, for according to the direction of illumination, being shot to the target object.
The mobile terminal of the embodiment of the present invention, the current context information of the mobile terminal include:The mobile terminal institute The position at place and the system time of the mobile terminal, the target object are face to be captured;
As shown in figure 4, the determining module 302 includes:
First acquisition submodule 3021, for according to solar source in different time to the direction of illumination of different position, obtain The first angle information between target illumination direction and the optical axis of camera is taken, the target illumination direction is solar source in institute It states under system time to the direction of illumination of mobile terminal present position;
Second acquisition submodule 3022, for obtaining between the direction of face to be captured and the optical axis of the camera Two angle informations;
Determination sub-module 3023, for according to the first angle information and the second angle information, determine it is described too Sunlight source is to the direction of illumination of the face to be captured.
The mobile terminal of the embodiment of the present invention, the taking module 303 include:
3rd acquisition submodule 3031, for obtaining and the direction of illumination, the light quality of solar source and shooting The matched target acquisition parameters of light intensity at interface;
Shooting submodule 3032, for according to the target acquisition parameters, being shot to the face to be captured.
The mobile terminal of the embodiment of the present invention, the 3rd acquisition submodule 3031 include:
First acquisition unit 30311, for obtaining day destiny corresponding with the location of mobile terminal and system time According to;
Second acquisition unit 30312, for according to the weather data, obtaining the light quality of the solar source, institute Stating light quality includes:Whether have whether light direct projection and light are hard light or soft light.
The mobile terminal of the embodiment of the present invention, the determining module 302 further include:
Judging submodule 3024, for judging whether the light intensity for shooting interface is more than the first predetermined threshold value and movement Whether the signal strength of the global position system GPS of terminal is less than the second predetermined threshold value;
Control submodule 3025, if the light intensity for the shooting interface is more than the first predetermined threshold value, and the GPS Signal strength be less than the second predetermined threshold value, then the first acquisition submodule is controlled to enter according to solar source in different time to not With the direction of illumination of position, the step of obtaining the first angle information between target illumination direction and the optical axis of camera.
It should be noted that the mobile terminal is mobile terminal corresponding with above method embodiment, the above method is implemented All realization methods can also reach identical technique effect suitable for the embodiment of the mobile terminal in example.
The mobile terminal of the embodiment of the present invention is shot according to the direction of illumination of target object, can be improved captured Three-dimensional sense, the stereovision of image, and improve the display effect of image dark portion.
A kind of hardware architecture diagram of Fig. 5 mobile terminals of each embodiment to realize the present invention, the mobile terminal 500 Including but not limited to:It is radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, aobvious Show the components such as unit 506, user input unit 507, interface unit 508, memory 509, processor 510 and power supply 511. It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 5 does not form the restriction to mobile terminal, it is mobile whole End can include either combining some components or different components arrangement than illustrating more or fewer components.In the present invention In embodiment, mobile terminal includes but not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear Wear equipment and pedometer etc..
Wherein, processor 510, for obtaining the current context information of mobile terminal;According to the current context information, really Set the goal the direction of illumination of object;According to the direction of illumination, the target object is shot.
The above-mentioned technical proposal of the embodiment of the present invention obtains the current context information of mobile terminal;Work as front ring according to described Border information determines the direction of illumination of target object;According to the direction of illumination, the target object is shot.The present invention Embodiment grasps complicated shooting skill without user, can automatically determine direction of illumination and be shot according to direction of illumination, Three-dimensional sense, the stereovision of image captured by raising, and improve the display effect of image dark portion.
It should be understood that in the embodiment of the present invention, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, handled to processor 510;In addition, by uplink Data sending is to base station.In general, radio frequency unit 501 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 502 and has accessed, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be receiving by radio frequency unit 501 or network module 502 or in memory 509 The voice data of storage is converted into audio signal and exports as sound.Moreover, audio output unit 503 can also be provided and moved The relevant audio output of specific function that dynamic terminal 500 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loud speaker, buzzer and receiver etc..
Input unit 504 is used to receive audio or video signal.Input unit 504 can include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be voice data by such acoustic processing.Treated voice data can be The form output of mobile communication base station can be sent to via radio frequency unit 501 by being converted in the case of telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, details are not described herein.
Display unit 506 is used to show by information input by user or be supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be employed Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for the number for receiving input or character information and generation and the use of mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch-screen, collect user on it or neighbouring touch operation (for example user uses any suitable objects such as finger, stylus or attachment on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 5071.Except touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operation lever, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send to processor 510 with determine touch event type, be followed by subsequent processing device 510 according to touch The type for touching event provides corresponding visual output on display panel 5061.Although in Figure 5, touch panel 5071 and display Panel 5061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 508 is the interface that external device (ED) is connected with mobile terminal 500.For example, external device (ED) can include Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 500 can be used in 500 He of mobile terminal Data are transmitted between external device (ED).
Memory 509 can be used for storage software program and various data.Memory 509 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 509 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part is stored in storage by running or performing the software program being stored in memory 509 and/or module and call Data in device 509 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place Reason device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also be included to the power supply 511 (such as battery) of all parts power supply, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, so as to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, and including processor, memory is stored in memory Computer program that is upper and can running on the processor, the computer program realize above-mentioned shooting side when being executed by processor Each process of method embodiment, and identical technique effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned image pickup method embodiment when being executed by processor, and can reach Identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), Magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes as this process, method, article or device institute inherently Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much Form is belonged within the protection of the present invention.

Claims (10)

1. a kind of image pickup method, applied to the mobile terminal including camera, which is characterized in that the described method includes:
Obtain the current context information of mobile terminal;
According to the current context information, the direction of illumination of target object is determined;
According to the direction of illumination, the target object is shot.
2. according to the method described in claim 1, it is characterized in that, the current context information of the mobile terminal includes:It is described The system time of the location of mobile terminal and the mobile terminal, the target object are face to be captured;
It is described according to the current context information, the step of determining the direction of illumination of target object, including:
According to solar source in different time to the direction of illumination of different position, the optical axis of target illumination direction and camera is obtained Between first angle information, the target illumination direction for solar source under the system time to position residing for mobile terminal The direction of illumination put;
Obtain the second angle information between the direction of face to be captured and the optical axis of the camera;
According to the first angle information and the second angle information, determine the solar source to the face to be captured Direction of illumination.
3. according to the method described in claim 2, it is characterized in that, described according to the direction of illumination, to the target object The step of being shot, including:
It obtains and is shot with the matched target of light intensity of the direction of illumination, the light quality of solar source and shooting interface Parameter;
According to the target acquisition parameters, the face to be captured is shot.
4. according to the method described in claim 3, it is characterized in that, the light quality of the solar source is obtained by following steps It takes:
Obtain weather data corresponding with the location of mobile terminal and system time;
According to the weather data, the light quality of the solar source is obtained, the light quality includes:Whether there is the light straight It penetrates and whether light is hard light or soft light.
5. a kind of mobile terminal, including camera, which is characterized in that further include:
Acquisition module, for obtaining the current context information of mobile terminal;
Determining module, for according to the current context information, determining the direction of illumination of target object;
Taking module, for according to the direction of illumination, being shot to the target object.
6. mobile terminal according to claim 5, which is characterized in that the current context information of the mobile terminal includes: The system time of the location of described mobile terminal and the mobile terminal, the target object are face to be captured;
The determining module includes:
First acquisition submodule, for according to solar source in different time to the direction of illumination of different position, obtain target and shine The first angle information between direction and the optical axis of camera is penetrated, the target illumination direction is solar source in the system Between under to the direction of illumination of mobile terminal present position;
Second acquisition submodule, for obtaining the letter of the second angle between the direction of face to be captured and the optical axis of the camera Breath;
Determination sub-module, for according to the first angle information and the second angle information, determining the solar source pair The direction of illumination of the face to be captured.
7. mobile terminal according to claim 6, which is characterized in that the taking module includes:
3rd acquisition submodule, for obtaining the light with the direction of illumination, the light quality of solar source and shooting interface The matched target acquisition parameters of line strength;
Shooting submodule, for according to the target acquisition parameters, being shot to the face to be captured.
8. mobile terminal according to claim 7, which is characterized in that the 3rd acquisition submodule includes:
First acquisition unit, for obtaining weather data corresponding with the location of mobile terminal and system time;
Second acquisition unit, for according to the weather data, obtaining the light quality of the solar source, the light quality Including:Whether have whether light direct projection and light are hard light or soft light.
9. a kind of mobile terminal, which is characterized in that including:Memory, processor and storage are on a memory and can be in processor The computer program of upper operation realizes such as any one of claims 1 to 4 when the computer program is performed by the processor The step of image pickup method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt It is realized when processor performs as described in any one of claims 1 to 4 the step of image pickup method.
CN201711392457.1A 2017-12-21 2017-12-21 Shooting method and mobile terminal Active CN108055402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711392457.1A CN108055402B (en) 2017-12-21 2017-12-21 Shooting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711392457.1A CN108055402B (en) 2017-12-21 2017-12-21 Shooting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108055402A true CN108055402A (en) 2018-05-18
CN108055402B CN108055402B (en) 2021-01-08

Family

ID=62131119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711392457.1A Active CN108055402B (en) 2017-12-21 2017-12-21 Shooting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108055402B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055403A (en) * 2017-12-21 2018-05-18 努比亚技术有限公司 A kind of audio method of adjustment, terminal and computer readable storage medium
CN109361859A (en) * 2018-10-29 2019-02-19 努比亚技术有限公司 A kind of image pickup method, terminal and storage medium
CN109543666A (en) * 2018-11-05 2019-03-29 北京小米移动软件有限公司 Structure light assembly control method and device
CN111182093A (en) * 2018-11-12 2020-05-19 奇酷互联网络科技(深圳)有限公司 HDR photographing method based on three cameras, mobile terminal and storage medium
CN111263077A (en) * 2020-01-21 2020-06-09 Oppo广东移动通信有限公司 Exposure control method, terminal and storage medium
CN112449119A (en) * 2019-08-30 2021-03-05 中移物联网有限公司 Shot object recognition equipment, method and device
CN112511737A (en) * 2020-10-29 2021-03-16 维沃移动通信有限公司 Image processing method and device, electronic equipment and readable storage medium
CN112843678A (en) * 2020-12-31 2021-05-28 上海米哈游天命科技有限公司 Method and device for shooting image, electronic equipment and storage medium
CN113108904A (en) * 2021-04-20 2021-07-13 武汉华星光电技术有限公司 Ambient light monitoring method and device, storage medium and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480562A (en) * 2010-11-23 2012-05-30 英业达股份有限公司 Camera type mobile communication device and flash lamp control method thereof
CN104580886A (en) * 2014-12-15 2015-04-29 小米科技有限责任公司 Photographing control method and device
CN105554407A (en) * 2015-12-11 2016-05-04 小米科技有限责任公司 Shooting control method and shooting control device
CN107396000A (en) * 2015-01-29 2017-11-24 广东欧珀移动通信有限公司 A kind of light compensation method and device of camera shooting

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480562A (en) * 2010-11-23 2012-05-30 英业达股份有限公司 Camera type mobile communication device and flash lamp control method thereof
CN104580886A (en) * 2014-12-15 2015-04-29 小米科技有限责任公司 Photographing control method and device
CN107396000A (en) * 2015-01-29 2017-11-24 广东欧珀移动通信有限公司 A kind of light compensation method and device of camera shooting
CN105554407A (en) * 2015-12-11 2016-05-04 小米科技有限责任公司 Shooting control method and shooting control device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055403A (en) * 2017-12-21 2018-05-18 努比亚技术有限公司 A kind of audio method of adjustment, terminal and computer readable storage medium
CN109361859A (en) * 2018-10-29 2019-02-19 努比亚技术有限公司 A kind of image pickup method, terminal and storage medium
CN109543666A (en) * 2018-11-05 2019-03-29 北京小米移动软件有限公司 Structure light assembly control method and device
CN111182093A (en) * 2018-11-12 2020-05-19 奇酷互联网络科技(深圳)有限公司 HDR photographing method based on three cameras, mobile terminal and storage medium
CN112449119A (en) * 2019-08-30 2021-03-05 中移物联网有限公司 Shot object recognition equipment, method and device
CN111263077A (en) * 2020-01-21 2020-06-09 Oppo广东移动通信有限公司 Exposure control method, terminal and storage medium
CN112511737A (en) * 2020-10-29 2021-03-16 维沃移动通信有限公司 Image processing method and device, electronic equipment and readable storage medium
CN112843678A (en) * 2020-12-31 2021-05-28 上海米哈游天命科技有限公司 Method and device for shooting image, electronic equipment and storage medium
CN113108904A (en) * 2021-04-20 2021-07-13 武汉华星光电技术有限公司 Ambient light monitoring method and device, storage medium and mobile terminal

Also Published As

Publication number Publication date
CN108055402B (en) 2021-01-08

Similar Documents

Publication Publication Date Title
CN108055402A (en) A kind of image pickup method and mobile terminal
CN108540724A (en) A kind of image pickup method and mobile terminal
CN107566730B (en) A kind of panoramic picture image pickup method and mobile terminal
CN107800967A (en) A kind of image pickup method and mobile terminal
CN107844730A (en) A kind of graphic code scan method and mobile terminal
CN107580184A (en) A kind of image pickup method and mobile terminal
CN107592466A (en) A kind of photographic method and mobile terminal
CN108989672A (en) A kind of image pickup method and mobile terminal
CN108737642A (en) The display methods and device of content
CN107817939A (en) A kind of image processing method and mobile terminal
CN110365907A (en) A kind of photographic method, device and electronic equipment
CN107682639B (en) A kind of image processing method, device and mobile terminal
CN108881733A (en) A kind of panorama shooting method and mobile terminal
CN108377339A (en) A kind of photographic method and camera arrangement
CN107566749A (en) Image pickup method and mobile terminal
CN107864336B (en) A kind of image processing method, mobile terminal
CN107623818A (en) A kind of image exposure method and mobile terminal
CN107820022A (en) A kind of photographic method and mobile terminal
CN107948516A (en) A kind of image processing method, device and mobile terminal
CN107948498A (en) One kind eliminates camera Morie fringe method and mobile terminal
CN109144361A (en) A kind of image processing method and terminal device
CN108347558A (en) A kind of method, apparatus and mobile terminal of image optimization
CN108307110A (en) A kind of image weakening method and mobile terminal
CN109104578A (en) A kind of image processing method and mobile terminal
CN108174081B (en) A kind of image pickup method and mobile terminal

Legal Events

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