CN108683856A - A kind of photographic method and terminal device - Google Patents

A kind of photographic method and terminal device Download PDF

Info

Publication number
CN108683856A
CN108683856A CN201810863085.4A CN201810863085A CN108683856A CN 108683856 A CN108683856 A CN 108683856A CN 201810863085 A CN201810863085 A CN 201810863085A CN 108683856 A CN108683856 A CN 108683856A
Authority
CN
China
Prior art keywords
image
camera module
scene
elastic element
deflection
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
CN201810863085.4A
Other languages
Chinese (zh)
Other versions
CN108683856B (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 CN201810863085.4A priority Critical patent/CN108683856B/en
Publication of CN108683856A publication Critical patent/CN108683856A/en
Application granted granted Critical
Publication of CN108683856B publication Critical patent/CN108683856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Abstract

The present invention provides a kind of photographic method and terminal device, wherein the photographic method includes:Judge whether present filming scene is default scene;In the case where the present filming scene is default scene, camera module is controlled from multiple multiple images of shooting direction photographs;Image synthesis is carried out to multiple described images, obtains target image.The present invention can conveniently realize solid picture-taking, and without using the stereoscopic imaging apparatus of profession, to save the cost of three-dimensional imaging.

Description

A kind of photographic method and terminal device
Technical field
The present invention relates to field of communication technology more particularly to a kind of photographic methods and terminal device.
Background technology
With the development of the communication technology, the amusement function that terminal device such as mobile phone, iPad etc. has is more and more, In, core one of of the camera function as amusement function becomes the importance that user considers terminal device quality.And 3D The extensive use of stereoscopic imaging technology so that stereoscopic photograph/video becomes the trend of terminal device imaging.
However, in the prior art, to realize that solid picture-taking needs complicated technology and expensive equipment to support.
Invention content
A kind of photographic method of offer of the embodiment of the present invention and terminal device, it is complicated to solve existing three-dimensional imaging, it realizes Problem of high cost.
In a first aspect, an embodiment of the present invention provides a kind of photographic methods, including:
Judge whether present filming scene is default scene;
In the case where the present filming scene is default scene, control camera module is clapped from multiple shooting direction Take the photograph multiple images;
Image synthesis is carried out to multiple described images, obtains target image.
Second aspect, an embodiment of the present invention provides a kind of terminal devices, including:
Judgment module, for judging whether present filming scene is default scene;
Control module, in the case where the present filming scene is default scene, control camera module is from more A multiple images of shooting direction photographs;
Synthesis module obtains target image for carrying out image synthesis to multiple described images.
The third aspect an embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in described On memory and the computer program that can run on the processor, wherein the computer program is held by the processor The step of above-mentioned photographic method is realized when row.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage mediums, are stored thereon with computer journey Sequence, wherein the step of computer program realizes above-mentioned photographic method when being executed by processor.
In embodiments of the present invention, by judging whether present filming scene is default scene, in the current shooting field In the case that scape is default scene, control camera module is from multiple multiple images of shooting direction photographs, to multiple described figures As carrying out image synthesis, target image is obtained, can facilitate realization solid picture-taking, and without using the stereoscopic imaging apparatus of profession, Save the cost of three-dimensional imaging.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is the flow chart of the photographic method of the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of the CCD camera assembly of the embodiment of the present invention;
Fig. 3 is one of the structural schematic diagram of terminal device of the embodiment of the present invention;
Fig. 4 is the second structural representation of the terminal device of the embodiment of the present invention;
Fig. 5 is the third structural representation of the terminal device of the embodiment of the present invention;
Fig. 6 is the four of the structural schematic diagram of the terminal device of the embodiment of the present invention.
Specific implementation mode
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these attached drawings His attached drawing.
Shown in Figure 1, an embodiment of the present invention provides a kind of photographic methods, applied to the terminal for including camera module Equipment, the method may include following steps:
Step 101:Judge whether present filming scene is default scene.
In the embodiment of the present invention, present filming scene can be the scene of shooting face, the scene for shooting object or bat Take the photograph the scene etc. of scenery.Preferably, which is chosen as face photographed scene or single photographed scene etc..
Step 102:In the case where present filming scene is default scene, camera module is controlled from multiple shooting direction Multiple images of photographs.
Wherein, after camera module shoots corresponding image respectively in multiple shooting direction, multiple images can be obtained, i.e., It can shoot to obtain an image in each shooting direction.Shooting direction involved in this step may be, for example, camera module phase For the target object in photographed scene from the right side turn left shooting direction, shooting direction from left to right, shooting from top to bottom Direction, shooting direction from the bottom up, and/or shooting direction etc. from front to back.
Step 103:Image synthesis is carried out to multiple images, obtains target image.
It is realized it is noted that preset three-dimensional composition algorithm can be used in the image synthesizing procedure involved in step 103, this Preset solid composition algorithm can be existing three-dimensional composition algorithm, and the embodiment of the present invention is limited not to this.
The photographic method of the embodiment of the present invention, by judging whether present filming scene is default scene, in current shooting In the case that scene is default scene, control camera module is from multiple multiple images of shooting direction photographs, to multiple images Image synthesis is carried out, target image is obtained, realization solid picture-taking can be facilitated, and without using the stereoscopic imaging apparatus of profession, section Save the cost of three-dimensional imaging.
In the embodiment of the present invention, when whether judge present filming scene is default scene, terminal device can be by camera shooting The preview image of head mould group acquisition judges.Optionally, when default scene is face photographed scene, step 101 may include:
Obtain the preview image of camera module acquisition;
Judge in the preview image whether to include face information.
Wherein, when the preview image includes face information, determine that present filming scene is default scene;Otherwise, It is default scene to determine present filming scene not.
In this way, by the preview image of camera module acquisition, it can be achieved that judgement to present filming scene.
Optionally, when default scene is single photographed scene, step 101 may include:
Obtain the preview image of camera module acquisition;
Judge whether the face quantity that the preview image includes is 1;
Wherein, when the face quantity that the preview image includes is 1, determine that present filming scene is default scene; Otherwise, it determines present filming scene is not default scene.
In this way, by the preview image of camera module acquisition, it can be achieved that judgement to present filming scene.
In the embodiment of the present invention, during taking pictures, multiple shooting direction of camera module can be according to preset Photographed scene and the correspondence of shooting direction determine.Optionally, step 102 may include:
According to the correspondence of preset photographed scene and shooting direction, multiple bats corresponding with default scene are determined Take the photograph direction;
According to determining the multiple shooting direction, control camera module from the multiple shooting direction photographs multiple Image.
It should be noted that the preset photographed scene and the correspondence of shooting direction can be advance according to actual demand Setting, the embodiment of the present invention are limited not to this.
Optionally, shown in Figure 2 in the embodiment of the present invention, which may include:Camera module 21, deflection Control unit 22 and for driving driving unit 23 of the deflection control unit 22 towards different directions.The wherein camera module 21 are mounted in the deflection control unit 22, which can receive the control that control module is sent in the terminal device 1 Order to drive deflection of the deflection control unit 22 towards different directions, and drives this to take the photograph by the deflection control unit 22 As head mould group 21 is towards different directions so that the camera module 21 can be in different shooting direction photographs photos.
Based on this, the process of the control camera module 21 of terminal device 1 from multiple images of multiple shooting direction photographs can For:
Terminal device 1 controls deflection deflection of the control unit 22 towards different directions by driving unit 23, with by inclined Turn control unit 22 and drive deflection of the camera module 21 towards different directions so that camera module 21 is from multiple shooting direction Multiple images of photographs.
In this way, it can be achieved that corresponding camera module shoots corresponding image respectively in multiple shooting direction.
Further alternative, which may include multiple elastic elements.Wherein the elastic element is for example For spring etc..The process that control unit 22 towards the deflection of different directions should be deflected by the control of driving unit 23 accordingly can For:
Terminal device 1 selectively controls at least one of multiple elastic element elasticity by driving unit 23 successively Element stretches, shrinks or keep original state, to drive deflection of the camera module 21 towards different directions so that camera module 21 from multiple multiple images of shooting direction photographs.
It is further alternative, as shown in Fig. 2, the deflection control unit 22 may include footstock 221, the 222, first elasticity of pedestal Element 223 and the second elastic element 224, first elastic element 223 and second elastic element 224 are respectively positioned on 221 He of footstock Between pedestal 222, which is located on the footstock 221.Wherein, which is, for example, spring etc., Second elastic element 224 is, for example, spring etc..
Based on this, in the case where present filming scene is default scene, terminal device 1 can be in the first elastic element 223 In the case of contraction, control camera module 21 shoots the first image;In the case where the second elastic element 224 is shunk, control Camera module 21 shoots the second image;And keep the feelings of original state in the first elastic element 223 and the second elastic element 224 Under condition, control camera module 21 shoots third image;And to the first image, the second image and the third image that shooting obtains Image synthesis is carried out, target image is obtained.
Alternatively, terminal device 1 can control the shooting of camera module 21 the in the case where the first elastic element 223 stretches Four images;In the case where the second elastic element 224 stretches, control camera module 21 shoots the 5th image;And first In the case that elastic element 223 and the second elastic element 224 keep original state, control camera module 21 shoots the 6th image; And the 4th image, the 5th image and the 6th image obtained to shooting carries out image synthesis, obtains target image.
It should be understood that only defining resilient member contracts, stretching in the above situation or keeping original state, there is no limit The degree of resilient member contracts, or the degree stretched can also be to the journey of resilient member contracts however according to actual demand Degree, or the degree stretched are defined, as long as achieving the purpose that camera module is driven to deflect towards different directions.
In this way, by selectively control successively at least one of multiple elastic elements elastic element stretch, shrink or Person keeps original state, can drive deflection of the corresponding camera module towards different directions so that camera module is in multiple shooting sides Corresponding image is shot respectively upwards.
In the following, by taking single photographed scene as an example, the process of taking pictures of the embodiment of the present invention is illustrated in conjunction with Fig. 2.
In the embodiment of the present invention, it is assumed that preset single photographed scene and correspond to three shooting direction, this three shootings Direction is respectively camera module relative to the shooting direction (right side) of single face turned left from the right side, shooting from left to right Direction (left side) and shooting direction (front) from front to back;Camera module 21, which corresponds to, to be mounted on two springs, this two A spring is respectively right spring 223 and left spring 224, as shown in Figure 2.The process of taking pictures of the embodiment of the present invention can be:
First, after the camera function of user's startup terminal device 1, terminal device 1 can utilize camera module 21 to acquire Preview image determines present filming scene, for example determines that present filming scene is single photographed scene;Secondly, terminal device 1 can According to preset correspondence, above three shooting direction is determined;Then, terminal device 1 is according to three shooting sides To, it can first control right spring 223 and shrink, the holding original state of left spring 224, to drive camera module 21 inclined towards lower right Turn so that camera module 21 shoots the left side facial images of single face, then controls all springs and keep original state, images head mould The direction of group 21 is constant so that camera module 21 shoots the front facial images of single face, then controls the receipts of left spring 224 Contracting, right spring 223 keep original state, to drive camera module 21 to be deflected towards lower left so that camera module 21 is shot The right side facial images of single face;Finally, terminal device 1 is to left side facial images, front facial images and right side face figure As carrying out image synthesis, obtain that the three-dimensional target image of face (i.e. stereo composite image) can be embodied.
In this way, under the premise of without using the stereoscopic imaging apparatus of profession, realization solid picture-taking can be facilitated, saved three-dimensional The cost of imaging.
The photographic method of the present invention is illustrated in above-described embodiment, below in conjunction with embodiment and attached drawing to the present invention Terminal device illustrate.
Shown in Figure 3, the embodiment of the present invention additionally provides a kind of terminal device 3, which may include judging mould Block 31, control module 32 and synthesis module 33, details are as follows.
Wherein, the judgment module 31, for judging whether present filming scene is default scene.
The control module 32, in the case where the present filming scene is default scene, control to image head mould Group is from multiple multiple images of shooting direction photographs.
The synthesis module 33 obtains target image for carrying out image synthesis to multiple described images.
The terminal device of the embodiment of the present invention, by judging whether present filming scene is default scene, described current In the case that photographed scene is default scene, control camera module is from multiple multiple images of shooting direction photographs, to described Multiple images carry out image synthesis, obtain target image, can facilitate realization solid picture-taking, and without using the three-dimensional imaging of profession Equipment saves the cost of three-dimensional imaging.
In the embodiment of the present invention, optionally, the default scene is face photographed scene, shown in Figure 4, the judgement Module 31 may include:
First acquisition unit 311, the preview image for obtaining the camera module acquisition;
First judging unit 312, for judging in the preview image whether to include face information;
Wherein, when the preview image includes face information, determine that the present filming scene is default scene;It is no Then, it is default scene to determine the present filming scene not.
Optionally, the default scene is single photographed scene, and shown in Figure 4, the judgment module 31 may include:
Second acquisition unit 313, the preview image for obtaining the camera module acquisition;
Second judgment unit 314, for judging whether the face quantity that the preview image includes is 1;
Wherein, when the face quantity that the preview image includes is 1, determine that the present filming scene is default field Scape;Otherwise, it determines the present filming scene is not default scene.
Optionally, shown in Figure 4, the control module 32 may include:
Determination unit 321, for according to the correspondence of preset photographed scene and shooting direction, determine with it is described The corresponding multiple shooting direction of default scene;
Control unit 322, for according to determining the multiple shooting direction, controlling the camera module from described more A multiple images of shooting direction photographs.
Optionally, shown in Figure 5, the terminal device 3 may also include:Camera module 30, deflection control unit 34 With for driving the deflection driving unit 35 of the control unit 34 towards different directions, the camera module 30 is mounted on institute It states in deflection control unit 34;
The control module 32 is specifically used for:
In the case where the present filming scene is default scene, the deflection is controlled by the driving unit 35 and is controlled Unit 34 processed towards different directions deflection, to drive the camera module 30 towards not by the deflection control unit 34 Equidirectional deflection so that the camera module 30 is in the multiple multiple images of shooting direction photographs.
Further alternative, the deflection control unit 34 includes multiple elastic elements;
The control module 32 is specifically used for:
In the case where the present filming scene is default scene, selectively controlled successively by the driving unit 35 It makes at least one of the multiple elastic element elastic element to stretch, shrink or keep original state, to drive the camera Deflection of the module 30 towards different directions so that the camera module 30 is in the multiple multiple figures of shooting direction photographs Picture.
Optionally, the deflection control unit 34 includes footstock, pedestal, the first elastic element and the second elastic element, institute It states the first elastic element and second elastic element is respectively positioned between the footstock and the pedestal, the camera module 30 On the footstock;
The control module is specifically used for:In the case of first resilient member contracts, the camera shooting head mould is controlled Group the first image of shooting;In the case of second resilient member contracts, controls the camera module and shoot the second image; In the case where first elastic element and second elastic element keep original state, the camera module shooting is controlled Third image;
The synthesis module is specifically used for:Image synthesis is carried out to described first image, the second image and third image, is obtained To the target image;
Alternatively,
The control module is specifically used for:In the case where first elastic element stretches, the camera shooting head mould is controlled Group the 4th image of shooting;In the case where second elastic element stretches, controls the camera module and shoot the 5th image; In the case where first elastic element and second elastic element keep original state, the camera module shooting is controlled 6th image;
The synthesis module is specifically used for:Image synthesis is carried out to the 4th image, the 5th image and the 6th image, is obtained To the target image.
The embodiment of the present invention also provides a kind of terminal device, including processor, and memory is stored on the memory simultaneously The computer program that can be run on the processor, wherein on being realized when the computer program is executed by the processor Each process of photographic method embodiment is stated, and identical technique effect can be reached, to avoid repeating, which is not described herein again.
Specifically, a kind of hardware architecture diagram of Fig. 6 terminal devices of each embodiment to realize the present invention, terminal are set Standby 600 include but not limited to:Radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, processor 610, power supply 611, and The components such as camera module 612.It will be understood by those skilled in the art that terminal structure shown in Fig. 6 not structure paired terminal Restriction, terminal device may include either combining certain components or different components than illustrating more or fewer components Arrangement.In embodiments of the present invention, terminal device include but not limited to mobile phone, tablet computer, laptop, palm PC, Car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 610, for judging whether present filming scene is default scene, in the present filming scene In the case of default scene, control camera module 612 is from multiple multiple images of shooting direction photographs, to multiple described figures As carrying out image synthesis, target image is obtained.
The terminal device 600 of the embodiment of the present invention is worked as by judging whether present filming scene is default scene described In the case that preceding photographed scene is default scene, control camera module 612 is right from multiple multiple images of shooting direction photographs Multiple described images carry out image synthesis, obtain target image, can facilitate realization solid picture-taking, and without using the solid of profession Imaging device saves the cost of three-dimensional imaging.
It should be understood that the embodiment of the present invention in, radio frequency unit 601 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, to processor 610 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 601 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 601 can also by radio communication system and network and other set Standby communication.
Terminal device has provided wireless broadband internet to the user by network module 602 and has accessed, and such as user is helped to receive Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 603 can receive radio frequency unit 601 or network module 602 or in memory 609 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 603 can also provide and end The relevant audio output of specific function that end equipment 600 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 603 includes loud speaker, buzzer and receiver etc..
Input unit 604 is for receiving audio or video signal.Input unit 604 may include graphics processor (Graphics Processing Unit, GPU) 6041 and microphone 6042, graphics processor 6041 can be to capturing mould in video The image data of the static images or video that are obtained by camera module 612 in formula or image capture mode is handled.Processing Picture frame afterwards may be displayed on display unit 606.Through graphics processor 6041, treated that picture frame can be stored in It is sent in reservoir 609 (or other storage mediums) or via radio frequency unit 601 or network module 602.Microphone 6042 Sound can be received, and can be audio data by such acoustic processing.Treated, and audio data can be logical in phone The format output of mobile communication base station can be sent to via radio frequency unit 601 by being converted in the case of words pattern.
Terminal device 600 further includes at least one sensor 605, 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 6061, and proximity sensor can close when terminal device 600 is moved in one's ear Display panel 6061 and/or backlight.As a 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, it is (such as horizontal to can be used to identify terminal posture Vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, humidity Meter, thermometer, infrared sensor etc., details are not described herein.
Display unit 606 is for showing information input by user or being supplied to the information of user.Display unit 606 can wrap Display panel 6061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 6061.
User input unit 607 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 607 include touch panel 6071 and other Input equipment 6072.Touch panel 6071, also referred to as touch screen, collect user on it or neighbouring touch operation (such as User is using any suitable objects or attachment such as finger, stylus on touch panel 6071 or near touch panel 6071 Operation).Touch panel 6071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 610, receives processor 610 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch panel 6071.In addition to touch panel 6071, user input unit 607 can also include other input equipments 6072. Specifically, other input equipments 6072 can include but is not limited to physical keyboard, function key (such as volume control button, switch Button etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 6071 can be covered on display panel 6061, when touch panel 6071 is detected at it On or near touch operation after, send processor 610 to determine the type of touch event, be followed by subsequent processing device 610 according to touch The type for touching event provides corresponding visual output on display panel 6061.Although in figure 6, touch panel 6071 and display Panel 6061 is to realize the function that outputs and inputs of terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of terminal is realized so that touch panel 6071 and display panel 6061 is integrated, is not limited herein specifically It is fixed.
Interface unit 608 is the interface that external device (ED) is connect with terminal device 600.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 608 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in terminal device 600 or can be used in 600 He of terminal device Transmission data between external device (ED).
Memory 609 can be used for storing software program and various data.Memory 609 can include mainly 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 Audio data, phone directory etc.) etc..In addition, memory 609 may 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 610 is the control centre of terminal device, utilizes each portion of various interfaces and the entire terminal of connection Point, by running or execute the software program and/or module that are stored in memory 609, and calls and be stored in memory 609 Interior data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 610 may include One or more processing units;Preferably, processor 610 can integrate application processor and modem processor, wherein application The main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.It can With understanding, above-mentioned modem processor can not also be integrated into processor 610.
Terminal device 600 can also include the power supply 611 (such as battery) powered to all parts, it is preferred that power supply 611 Can be logically contiguous by power-supply management system and processor 610, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, terminal device 600 may also include some unshowned function modules, details are not described herein.
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, can realize each process of above-mentioned photographic method embodiment when which is executed by processor, and can reach To identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, it is for example, read-only Memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" 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 include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also 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 this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (16)

1. a kind of photographic method, applied to the terminal device for including camera module, which is characterized in that the method includes:
Judge whether present filming scene is default scene;
In the case where the present filming scene is default scene, control camera module is more from multiple shooting direction photographs Open image;
Image synthesis is carried out to multiple described images, obtains target image.
2. photographic method according to claim 1, which is characterized in that the default scene is face photographed scene;
It is described to judge whether present filming scene is default scene, including:
Obtain the preview image of the camera module acquisition;
Judge in the preview image whether to include face information;
Wherein, when the preview image includes face information, determine that the present filming scene is default scene;Otherwise, It is default scene to determine the present filming scene not.
3. photographic method according to claim 1, which is characterized in that the default scene is single photographed scene;
It is described to judge whether present filming scene is default scene, including:
Obtain the preview image of the camera module acquisition;
Judge whether the face quantity that the preview image includes is 1;
Wherein, when the face quantity that the preview image includes is 1, determine that the present filming scene is default scene; Otherwise, it determines the present filming scene is not default scene.
4. photographic method according to claim 1, which is characterized in that described in the present filming scene is default scene In the case of, camera module is controlled from multiple multiple images of shooting direction photographs, including:
According to the correspondence of preset photographed scene and shooting direction, multiple bats corresponding with the default scene are determined Take the photograph direction;
According to determining the multiple shooting direction, control the camera module from the multiple shooting direction photographs multiple Image.
5. photographic method according to claim 1, which is characterized in that the terminal device further includes:Deflect control unit With for driving the deflection driving unit of the control unit towards different directions, the camera module is mounted on the deflection In control unit;
The control camera module from multiple multiple images of shooting direction photographs, including:
The deflection deflection of the control unit towards different directions is controlled by the driving unit, to be controlled by the deflection Unit drives deflection of the camera module towards different directions so that the camera module is from the multiple shooting direction Multiple images of photographs.
6. photographic method according to claim 5, which is characterized in that the deflection control unit includes multiple elasticity members Part;
It is described that the deflection deflection of the control unit towards different directions is controlled by the driving unit, including:
Selectively controlled successively by the driving unit at least one of the multiple elastic element elastic element stretch, Shrink or keep original state.
7. photographic method according to claim 5, which is characterized in that the deflection control unit includes footstock, pedestal, One elastic element and the second elastic element, first elastic element and second elastic element are respectively positioned on the footstock and institute Between stating pedestal, the camera module is located on the footstock;
The control camera module carries out image conjunction from multiple multiple images of shooting direction photographs, to multiple described images At, target image is obtained, including:
In the case of first resilient member contracts, controls the camera module and shoot the first image;Described second In the case of resilient member contracts, controls the camera module and shoot the second image;In first elastic element and described In the case that second elastic element keeps original state, the camera module shooting third image is controlled;To described first image, Second image and third image carry out image synthesis, obtain the target image;
Alternatively,
In the case where first elastic element stretches, controls the camera module and shoot the 4th image;Described second In the case that elastic element stretches, controls the camera module and shoot the 5th image;In first elastic element and described In the case that second elastic element keeps original state, controls the camera module and shoot the 6th image;To the 4th image, 5th image and the 6th image carry out image synthesis, obtain the target image.
8. a kind of terminal device, including camera module, which is characterized in that the terminal device further includes:
Judgment module, for judging whether present filming scene is default scene;
Control module, in the case where the present filming scene is default scene, controlling the camera module from more A multiple images of shooting direction photographs;
Synthesis module obtains target image for carrying out image synthesis to multiple described images.
9. terminal device according to claim 8, which is characterized in that the default scene is face photographed scene;It is described Judgment module includes:
First acquisition unit, the preview image for obtaining the camera module acquisition;
First judging unit, for judging in the preview image whether to include face information;
Wherein, when the preview image includes face information, determine that the present filming scene is default scene;Otherwise, It is default scene to determine the present filming scene not.
10. terminal device according to claim 8, which is characterized in that the default scene is single photographed scene;It is described Judgment module includes:
Second acquisition unit, the preview image for obtaining the camera module acquisition;
Second judgment unit, for judging whether the face quantity that the preview image includes is 1;
Wherein, when the face quantity that the preview image includes is 1, determine that the present filming scene is default scene; Otherwise, it determines the present filming scene is not default scene.
11. terminal device according to claim 8, which is characterized in that the control module includes:
Determination unit determines and the default field for the correspondence according to preset photographed scene and shooting direction The corresponding multiple shooting direction of scape;
Control unit, for according to determining the multiple shooting direction, controlling the camera module from the multiple shooting Multiple images of direction photographs.
12. terminal device according to claim 8, which is characterized in that the terminal device further includes:Deflect control unit With for driving the deflection driving unit of the control unit towards different directions, the camera module is mounted on the deflection In control unit;
The control module is specifically used for:
In the case where the present filming scene is default scene, the deflection control unit is controlled by the driving unit Towards the deflection of different directions, to drive the camera module towards the inclined of different directions by the deflection control unit Turn so that the camera module is in the multiple multiple images of shooting direction photographs.
13. terminal device according to claim 12, which is characterized in that the deflection control unit includes multiple elasticity members Part;
The control module is specifically used for:
In the case where the present filming scene is default scene, by the driving unit successively selectively described in control At least one of multiple elastic elements elastic element stretches, shrinks or keep original state, to drive the camera module court Deflection to different directions so that the camera module is in the multiple multiple images of shooting direction photographs.
14. terminal device according to claim 12, which is characterized in that the deflection control unit include footstock, pedestal, First elastic element and the second elastic element, first elastic element and second elastic element be respectively positioned on the footstock and Between the pedestal, the camera module is located on the footstock;
The control module is specifically used for:In the case of first resilient member contracts, controls the camera module and clap Take the photograph the first image;In the case of second resilient member contracts, controls the camera module and shoot the second image;Institute It states the first elastic element and in the case that second elastic element keeps original state, controls the camera module shooting third Image;
The synthesis module is specifically used for:Image synthesis is carried out to described first image, the second image and third image, obtains institute State target image;
Alternatively,
The control module is specifically used for:In the case where first elastic element stretches, controls the camera module and clap Take the photograph the 4th image;In the case where second elastic element stretches, controls the camera module and shoot the 5th image;Institute It states the first elastic element and in the case that second elastic element keeps original state, controls the camera module shooting the 6th Image;
The synthesis module is specifically used for:Image synthesis is carried out to the 4th image, the 5th image and the 6th image, obtains institute State target image.
15. a kind of terminal device, including memory, processor are stored on the memory and can transport on the processor Capable computer program, which is characterized in that such as claim 1 to 7 is realized when the computer program is executed by the processor Any one of described in photographic method the step of.
16. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of photographic method as described in any one of claim 1 to 7 is realized when being executed by processor.
CN201810863085.4A 2018-08-01 2018-08-01 Photographing method and terminal equipment Active CN108683856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810863085.4A CN108683856B (en) 2018-08-01 2018-08-01 Photographing method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810863085.4A CN108683856B (en) 2018-08-01 2018-08-01 Photographing method and terminal equipment

Publications (2)

Publication Number Publication Date
CN108683856A true CN108683856A (en) 2018-10-19
CN108683856B CN108683856B (en) 2021-04-27

Family

ID=63816001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810863085.4A Active CN108683856B (en) 2018-08-01 2018-08-01 Photographing method and terminal equipment

Country Status (1)

Country Link
CN (1) CN108683856B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618102A (en) * 2019-01-28 2019-04-12 Oppo广东移动通信有限公司 Focusing process method, apparatus, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10336704A (en) * 1997-06-02 1998-12-18 Canon Inc Compound eye camera system
CN201440708U (en) * 2009-09-01 2010-04-21 深圳超多维光电子有限公司 Three-dimensional display device
CN102279515A (en) * 2010-06-09 2011-12-14 鸿富锦精密工业(深圳)有限公司 Panoramic shooting apparatus and method thereof
US20120087585A1 (en) * 2010-10-07 2012-04-12 Canon Kabushiki Kaisha Image synthesis processing apparatus and image synthesis processing method
CN102917236A (en) * 2012-09-27 2013-02-06 深圳天珑无线科技有限公司 Single-camera based stereoscopic photographing method and digital photographing device
CN103813089A (en) * 2012-11-13 2014-05-21 联想(北京)有限公司 Image obtaining method, electronic device and auxiliary rotary device
CN104243805A (en) * 2013-06-20 2014-12-24 Lg电子株式会社 Mobile terminal and method of controlling the mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10336704A (en) * 1997-06-02 1998-12-18 Canon Inc Compound eye camera system
CN201440708U (en) * 2009-09-01 2010-04-21 深圳超多维光电子有限公司 Three-dimensional display device
CN102279515A (en) * 2010-06-09 2011-12-14 鸿富锦精密工业(深圳)有限公司 Panoramic shooting apparatus and method thereof
US20120087585A1 (en) * 2010-10-07 2012-04-12 Canon Kabushiki Kaisha Image synthesis processing apparatus and image synthesis processing method
CN102917236A (en) * 2012-09-27 2013-02-06 深圳天珑无线科技有限公司 Single-camera based stereoscopic photographing method and digital photographing device
CN103813089A (en) * 2012-11-13 2014-05-21 联想(北京)有限公司 Image obtaining method, electronic device and auxiliary rotary device
CN104243805A (en) * 2013-06-20 2014-12-24 Lg电子株式会社 Mobile terminal and method of controlling the mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618102A (en) * 2019-01-28 2019-04-12 Oppo广东移动通信有限公司 Focusing process method, apparatus, electronic equipment and storage medium
CN109618102B (en) * 2019-01-28 2021-08-31 Oppo广东移动通信有限公司 Focusing processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108683856B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN107509038B (en) A kind of image pickup method and mobile terminal
CN107566730B (en) A kind of panoramic picture image pickup method and mobile terminal
CN107786817B (en) A kind of photographic method and mobile terminal
CN108540724A (en) A kind of image pickup method and mobile terminal
CN108337381B (en) A kind of lens control method and mobile terminal
CN108881733A (en) A kind of panorama shooting method and mobile terminal
CN107483836B (en) A kind of image pickup method and mobile terminal
CN109194875A (en) A kind of image pickup method and electronic equipment
CN108307109A (en) A kind of high dynamic range images method for previewing and terminal device
CN107888728A (en) A kind of mobile terminal and the image pickup method based on the mobile terminal
CN108989672A (en) A kind of image pickup method and mobile terminal
CN108449541A (en) A kind of panoramic picture image pickup method and mobile terminal
CN109660723A (en) A kind of panorama shooting method and device
CN108924412A (en) A kind of image pickup method and terminal device
CN107948505A (en) A kind of panorama shooting method and mobile terminal
CN108763998A (en) Barcode recognition method and terminal device
CN108076294B (en) A kind of image pickup method and mobile terminal
CN109327668A (en) A kind of method for processing video frequency and device
CN108881719A (en) A kind of method and terminal device switching style of shooting
CN108174081B (en) A kind of image pickup method and mobile terminal
CN108924422A (en) A kind of panorama photographic method and mobile terminal
CN108174110A (en) A kind of photographic method and flexible screen terminal
CN107959755A (en) A kind of photographic method and mobile terminal
CN110225250A (en) A kind of photographic method and terminal device
CN108156386B (en) Panoramic photographing 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