CN109005355A - 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
CN109005355A
CN109005355A CN201811143307.1A CN201811143307A CN109005355A CN 109005355 A CN109005355 A CN 109005355A CN 201811143307 A CN201811143307 A CN 201811143307A CN 109005355 A CN109005355 A CN 109005355A
Authority
CN
China
Prior art keywords
image
mobile terminal
information
preview
frame
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
CN201811143307.1A
Other languages
Chinese (zh)
Other versions
CN109005355B (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 CN201811143307.1A priority Critical patent/CN109005355B/en
Publication of CN109005355A publication Critical patent/CN109005355A/en
Application granted granted Critical
Publication of CN109005355B publication Critical patent/CN109005355B/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/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • H04N23/6811Motion detection based on the image signal

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Studio Devices (AREA)

Abstract

The present invention provides a kind of image pickup method and mobile terminal, method includes: to call the preview image frame of 3D camera acquisition preset quantity before carrying out image taking;It calls 3D camera to shoot the first image according to shooting instruction, and determines the wobble information of the image information and mobile terminal in the first image shoot process;When the wobble information of image information and/or mobile terminal meets preset condition, target image is generated according to each preview image frame.It can be realized when the image information in the wobble information or shooting process that generation emergency situations make mobile terminal has greatly changed, image can still shoot success, and be able to ascend image quality, promote the usage experience of user.

Description

A kind of image pickup method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of image pickup method and mobile terminal.
Background technique
Now with the development of mobile terminal, the shooting level of equipment is increasingly improved, due to mobile terminal portability and The randomness in place is shot, when shooting inevitably will receive the influence of various factor, wherein shaking at image quality There is very big influence in amount.Mobile terminal stabilization generally uses optical axis correction, acceleration sensor correction and earth magnetism sensing at present Device correction etc..
However, current anti-shake correction method is still not satisfactory, and when jitter amplitude is larger, imaging is still influenced Effect influences the usage experience of user.
Summary of the invention
The embodiment of the present invention provides a kind of image pickup method and mobile terminal, bad to solve anti-shake effect in the prior art Problem.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of image pickup methods, which comprises carrying out image taking Before, call the preview image frame of the 3D camera acquisition preset quantity;The 3D camera shooting is called according to shooting instruction First image, and determine the wobble information of the image information and the mobile terminal in the first image shooting process;Work as institute When stating the wobble information of image information and/or the mobile terminal and meeting preset condition, generated according to each preview image frame Target image.
Second aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes: acquisition module, For before carrying out image taking, calling the preview image frame of the 3D camera acquisition preset quantity;Determining module, for according to It calls the 3D camera to shoot the first image according to shooting instruction, and determines the image information in the first image shooting process With the wobble information of the mobile terminal;Generation module, for the shake letter when described image information and/or the mobile terminal When breath meets preset condition, target image is generated according to each preview image frame.
The third aspect the embodiment of the invention also provides a kind of mobile terminal, including processor, memory and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor The step of realizing the image pickup method.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium The step of storing computer program on storage media, the image pickup method realized when the computer program is executed by processor.
In embodiments of the present invention, by calling 3D camera to acquire the preview of preset quantity before carrying out image taking Picture frame;It calls 3D camera to shoot the first image according to shooting instruction, and determines the image letter in the first image shoot process The wobble information of breath and mobile terminal;When the wobble information of image information and/or mobile terminal meets preset condition, according to each Preview image frame generates target image, can be realized when generation emergency situations make the wobble information of mobile terminal or shot When image information in journey has greatly changed, image can still shoot success, and be able to ascend image quality, promoted and used The usage experience at family.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of image pickup method of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of image pickup method of the embodiment of the present invention two;
Fig. 3 is a kind of step flow chart of image pickup method of the embodiment of the present invention three;
Fig. 4 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention four;
Fig. 5 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention five;
Fig. 6 is a kind of hardware structural diagram of mobile terminal of the embodiment of the present invention six.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of step flow chart of image pickup method of the embodiment of the present invention one is shown.
Image pickup method provided in an embodiment of the present invention the following steps are included:
The embodiment of the present invention uses the mobile terminal with 3D camera to carry out image taking.
Step 101: before carrying out image taking, calling the preview image frame of 3D camera acquisition preset quantity.
It is obtained in shooting interface and works as preview image, before carrying out image taking, call 3D camera to preview image It is acquired, it should be noted that.Those skilled in the art can according to the actual situation be configured preset quantity, wherein Preset quantity can be 3,5,7 etc., and the embodiment of the present invention is not specifically limited this.
Step 102: calling 3D camera to shoot the first image according to shooting instruction, and determine in the first image shoot process Image information and mobile terminal wobble information.
When user shoots image, shooting obtains the first image, and during shooting the first image, due to Emergency situations, the image information in the first image shoot process can change and the wobble information of mobile terminal.
Step 103: when the wobble information of image information and/or mobile terminal meets preset condition, according to each preview graph As frame generates target image.
Image information includes RGB image information and depth of view information, and wobble information includes moving displacement and the angle of mobile terminal Changing value is spent, when compared to previous image frame variation occurs for RGB image information and depth of view information, or when mobile terminal When displacement and angle change value change greatly, then show occur emergency case in shooting process, is generated according to each preview picture frame Target image.
In embodiments of the present invention, by calling 3D camera to acquire the preview of preset quantity before carrying out image taking Picture frame;It calls 3D camera to shoot the first image according to shooting instruction, and determines the image letter in the first image shoot process The wobble information of breath and mobile terminal;When the wobble information of image information and/or mobile terminal meets preset condition, according to each Preview image frame generates target image, can be realized when generation emergency situations make the wobble information of mobile terminal or shot When image information in journey has greatly changed, image can still shoot success, and be able to ascend image quality, promoted and used The usage experience at family.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of image pickup method of the embodiment of the present invention two is shown.
Image pickup method provided in an embodiment of the present invention the following steps are included:
Step 201: before carrying out image taking, calling the preview image frame of 3D camera acquisition preset quantity.
It is obtained in shooting interface and works as preview image, before carrying out image taking, call 3D camera to preview image It is acquired, it should be noted that.Those skilled in the art can according to the actual situation be configured preset quantity, wherein Preset quantity can be 3,5,7 etc., and the embodiment of the present invention is not specifically limited this.
Step 202: calling 3D camera to shoot the first image according to shooting instruction, and determine in the first image shoot process Image information and mobile terminal wobble information.
When user shoots image, shooting obtains the first image, and during shooting the first image, due to Emergency situations, it may occur that the displacement of mobile terminal, mobile terminal angle change, i.e. the wobble information of mobile terminal, while One image can generate image information.
Step 203: when the displacement of mobile terminal is greater than preset displacement and angle change value is greater than preset angle angle value, foundation Each preview image frame generates target image.
The wobble information of mobile terminal includes the displacement and angle change value of mobile terminal, when displacement be greater than preset displacement and When angle change value is greater than preset angle angle value, then show that acutely shake occurs for the first image of shooting, the first image of shooting is fuzzy It is unclear or do not take image to be captured, then first object image is generated according to each preview image.
It should be noted that preset displacement can be set to 5-10mm, predetermined angle changing value can be set to 10-15 Degree, the embodiment of the present invention are not specifically limited this.
Step 204: when displacement is less than or equal to preset displacement, and angle change value is less than or equal to predetermined angle, really First weighted value of fixed each preview image frame and the second weighted value of the first image.
It is less than or equal to preset displacement when being displaced, and angle change value is then to show less than or equal to predetermined angle The jitter conditions that first image occurs belong in normal range (NR), and the first image is there are some smudgy, then in order to improve into The quality of picture determines the first weighted value of each preview image and the second weighted value of the first image.
It should be noted that the first weighted value and the second weighted value and be 1, when the first image exists it is fuzzy when, ascend the throne It moves less than or equal to preset displacement and when angle change value is less than or equal to preset angle angle value, then reduces the power of the first image Weight values.
Step 205: generating each preview image frame and the first image co-registration according to the first weighted value and the second weighted value Target image.
In order to avoid effect is ineffective, then the first image and each preview image are merged according to weighted value, is promoted The imaging effect of second target image.
In embodiments of the present invention, by calling 3D camera to acquire the preview of preset quantity before carrying out image taking Picture frame;It calls 3D camera to shoot the first image according to shooting instruction, and determines the image letter in the first image shoot process The wobble information of breath and mobile terminal;When the wobble information of image information and/or mobile terminal meets preset condition, according to each Preview image frame generates target image, can be realized when generation emergency situations make the wobble information of mobile terminal or shot When image information in journey has greatly changed, image can still shoot success, and be able to ascend image quality, promoted and used The usage experience at family.In addition, when displacement is less than or equal to preset displacement and angle change value is less than or equal to predetermined angle When value, then according to the weighted value of the weighted value of each preview image and the first image, the second target image is generated, so that image is as far as possible Image before being reduced to shake, promotes the usage experience of user.
Embodiment three
Referring to Fig. 3, a kind of step flow chart of image pickup method of the embodiment of the present invention three is shown.
Image pickup method provided in an embodiment of the present invention the following steps are included:
Step 301: before carrying out image taking, calling the preview image frame of 3D camera acquisition preset quantity.
It is obtained in shooting interface and works as preview image, before carrying out image taking, call 3D camera to preview image It is acquired, it should be noted that.Those skilled in the art can according to the actual situation be configured preset quantity, wherein Preset quantity can be 3,5,7 etc., and the embodiment of the present invention is not specifically limited this.
Step 302: calling 3D camera to shoot the first image according to shooting instruction, and determine in the first image shoot process Image information and mobile terminal wobble information.
When user shoots image, 3D camera is called to shoot to obtain the first image, and determine that the first image is clapped The wobble information of image information and mobile terminal during taking the photograph.The image information of first image shoot process may include RGB Image information and depth of view information, the wobble information of mobile terminal include the displacement and angle change value of mobile terminal.
Step 303: when the RGB image information of the first image is sent out compared to the RGB image information of any one preview image frame When changing, then target image is generated according to each preview image frame.
Due in shooting process, that causes to block shooting main body to avoid other people immigrations, thus when displacement and When angle change value is zero, show not shake in shooting process, determine the RGB image information of the first image, according to the Whether the main body of the first image of RGB image information of one image is blocked, by judging that the RGB image information of the first image is compared Whether change in the plane information of any one preview image frame, thus judge whether the main body of the first image is blocked, when When first image blocks, then target image is generated according to each preview image frame.
Step 304: when the depth of view information of the first image changes compared to the depth of view information of any one preview image frame When, then target image is generated according to each preview image frame.
Determine whether the depth of view information of the first image changes compared to the depth of view information of any one preview image frame;If It is, it is determined that the first image is blocked, and when the first image blocks, then generates target image according to each preview picture frame, So that there is no block the image generated.
In embodiments of the present invention, by calling 3D camera to acquire the preview of preset quantity before carrying out image taking Picture frame;It calls 3D camera to shoot the first image according to shooting instruction, and determines the image letter in the first image shoot process The wobble information of breath and mobile terminal;When the wobble information of image information and/or mobile terminal meets preset condition, according to each Preview image frame generates target image, can be realized when generation emergency situations make the wobble information of mobile terminal or shot When image information in journey has greatly changed, image can still shoot success, and be able to ascend image quality, promoted and used The usage experience at family.In addition, the RGB image information and depth of view information when the first image judge whether something unexpected happened, work as hair Raw fortuitous event, then the first image blocks, and generates target image according to each preview image, realizes the anti-effect blocked.
Example IV
Referring to Fig. 4, a kind of structural block diagram of mobile terminal of the embodiment of the present invention four is shown.
Mobile terminal provided in an embodiment of the present invention includes: acquisition module 401, for calling before carrying out image taking The preview image frame of the 3D camera acquisition preset quantity;Determining module 402, for calling the 3D to take the photograph according to shooting instruction As head the first image of shooting, and determine the shake letter of the image information and the mobile terminal in the first image shooting process Breath;Generation module 403, for when the wobble information of described image information and/or the mobile terminal meets preset condition, according to Target image is generated according to each preview image frame.
In embodiments of the present invention, by calling 3D camera to acquire the preview of preset quantity before carrying out image taking Picture frame;It calls 3D camera to shoot the first image according to shooting instruction, and determines the image letter in the first image shoot process The wobble information of breath and mobile terminal;When the wobble information of image information and/or mobile terminal meets preset condition, according to each Preview image frame generates target image, can be realized when generation emergency situations make the wobble information of mobile terminal or shot When image information in journey has greatly changed, image can still shoot success, and be able to ascend image quality, promoted and used The usage experience at family.
Embodiment five
Referring to Fig. 5, a kind of structural block diagram of mobile terminal of the embodiment of the present invention five is shown.
Mobile terminal provided in an embodiment of the present invention includes: acquisition module 501, for calling before carrying out image taking The preview image frame of the 3D camera acquisition preset quantity;Determining module 502, for calling the 3D to take the photograph according to shooting instruction As head the first image of shooting, and determine the shake letter of the image information and the mobile terminal in the first image shooting process Breath;Generation module 503, for when the wobble information of described image information and/or the mobile terminal meets preset condition, according to Target image is generated according to each preview image frame.
Preferably, the wobble information of the mobile terminal includes the displacement and angle change value of the mobile terminal, described Generation module 503 includes: the first generation submodule 5031, is greater than preset displacement and described for the displacement when the mobile terminal When angle change value is greater than preset angle angle value, target image is generated according to each preview image frame.Preferably, the generation Module 503 comprises determining that submodule 5032, and for being less than or equal to the preset displacement when the displacement, and the angle becomes When change value is less than or equal to the predetermined angle, the first weighted value and the first image of each preview image frame are determined Second weighted value;Second generates submodule 5033, is used for according to first weighted value and second weighted value, will be each described Preview image frame and the first image fusion, generate target image.
Preferably, the generation module 503 includes: that third generates submodule 5034, for working as the RGB of the first image When image information changes compared to the RGB image information of any one preview image frame, then according to each preview graph As frame generates target image.
Preferably, the generation module 503 includes: the 4th generation submodule 5035, for working as the scape of the first image It is when deeply convinceing that manner of breathing changes compared with the depth of view information of any one preview image frame, then raw according to each preview image frame At target image.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 3 and realize Each process, to avoid repeating, which is not described herein again.
In embodiments of the present invention, by calling 3D camera to acquire the preview of preset quantity before carrying out image taking Picture frame;It calls 3D camera to shoot the first image according to shooting instruction, and determines the image letter in the first image shoot process The wobble information of breath and mobile terminal;When the wobble information of image information and/or mobile terminal meets preset condition, according to each Preview image frame generates target image, can be realized when generation emergency situations make the wobble information of mobile terminal or shot When image information in journey has greatly changed, image can still shoot success, and be able to ascend image quality, promoted and used The usage experience at family.
Embodiment six
Referring to Fig. 6, the hardware structural diagram of a kind of mobile terminal of each embodiment to realize the present invention.
The mobile terminal 600 includes but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, defeated Enter unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, processor The components such as 610 and power supply 611.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 6 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 610, for before carrying out image taking, calling the preview image of the 3D camera acquisition preset quantity Frame;It calls the 3D camera to shoot the first image according to shooting instruction, and determines the figure in the first image shooting process As the wobble information of information and the mobile terminal;When described image information and/or the wobble information of the mobile terminal meet When preset condition, target image is generated according to each preview image frame.
In embodiments of the present invention, by calling 3D camera to acquire the preview of preset quantity before carrying out image taking Picture frame;It calls 3D camera to shoot the first image according to shooting instruction, and determines the image letter in the first image shoot process The wobble information of breath and mobile terminal;When the wobble information of image information and/or mobile terminal meets preset condition, according to each Preview image frame generates target image, can be realized when generation emergency situations make the wobble information of mobile terminal or shot When image information in journey has greatly changed, image can still shoot success, and be able to ascend image quality, promoted and used The usage experience at family.
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 is 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 wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 602 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 603 can be received by 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 be provided and be moved The relevant audio output of specific function that dynamic terminal 600 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 603 includes loudspeaker, 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 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 606.Through graphics processor 6041, treated that picture frame can be deposited Storage is sent in memory 609 (or other storage mediums) or via radio frequency unit 601 or network module 602.Mike Wind 6042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 601 is converted in the case where telephone calling model.
Mobile terminal 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 mobile terminal 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, it can detect that size and the direction of gravity when static, can be used to identify 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 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, 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 can 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 generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 607 include touch panel 6071 and Other input equipments 6072.Touch panel 6071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 6071 or in touch panel 6071 Neighbouring operation).Touch panel 6071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, 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 610, receiving area It manages the order that device 610 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes 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 key etc.), trace ball, mouse, operating stick, 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 touching The type for touching event provides corresponding visual output on display panel 6061.Although in Fig. 6, touch panel 6071 and display Panel 6061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 6071 and display panel 6061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 608 is the interface that external device (ED) is connect with mobile terminal 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 mobile terminal 600 or can be used in 600 He of mobile terminal Data are transmitted between external device (ED).
Memory 609 can be used for storing software program and various data.Memory 609 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area 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, it 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 mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 609, and calls and is stored in storage Data in device 609 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 610 may include one or more processing units;Preferably, processor 610 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 610.
Mobile terminal 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, mobile terminal 600 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 610, and memory 609 is stored in On memory 609 and the computer program that can run on the processor 610, the computer program are executed by processor 610 Each process of the above-mentioned image pickup method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here no longer It repeats.
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 technical 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 or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include 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 being somebody's turn to do There is also other identical elements in the process, method of element, 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 be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a 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 to 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 protection of the invention.

Claims (11)

1. a kind of image pickup method, applied to the mobile terminal with 3D camera, which is characterized in that the described method includes:
Before carrying out image taking, the preview image frame of the 3D camera acquisition preset quantity is called;
It calls the 3D camera to shoot the first image according to shooting instruction, and determines the figure in the first image shooting process As the wobble information of information and the mobile terminal;
When the wobble information of described image information and/or the mobile terminal meets preset condition, according to each preview graph As frame generates target image.
2. the method according to claim 1, wherein the wobble information of the mobile terminal includes described mobile whole The displacement and angle change value at end, it is described when the wobble information of the mobile terminal meets preset condition, according to each described pre- Picture frame of looking at generates the step of target image, comprising:
When the displacement of the mobile terminal is greater than preset displacement and the angle change value is greater than preset angle angle value, according to each institute It states preview image frame and generates target image.
3. according to the method described in claim 2, it is characterized in that, described preset when the wobble information of the mobile terminal meets When condition, the step of generating target image according to each preview image frame, further includes:
It is displaced when described less than or equal to the preset displacement, and the angle change value is less than or equal to the predetermined angle When, determine the first weighted value of each preview image frame and the second weighted value of the first image;
According to first weighted value and second weighted value, each preview image frame and the first image are merged, Generate target image.
4. described to work as institute the method according to claim 1, wherein described image information includes RGB image information When stating image information and meeting preset condition, the step of generating target image according to each preview image frame, comprising:
When the RGB image information of the first image becomes compared to the RGB image information of any one preview image frame When change, then target image is generated according to each preview image frame.
5. described when described the method according to claim 1, wherein described image information includes depth of view information When image information meets preset condition, the step of generating target image according to each preview image frame, comprising:
When the depth of view information of the first image changes compared to the depth of view information of any one preview image frame, then Target image is generated according to each preview image frame.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Acquisition module, for before carrying out image taking, calling the preview image frame of the 3D camera acquisition preset quantity;
Determining module for calling the 3D camera to shoot the first image according to shooting instruction, and determines the first image The wobble information of image information and the mobile terminal in shooting process;
Generation module, for when the wobble information of described image information and/or the mobile terminal meets preset condition, foundation Each preview image frame generates target image.
7. mobile terminal according to claim 1, which is characterized in that the wobble information of the mobile terminal includes the shifting The displacement and angle change value of dynamic terminal, the generation module include:
First generates submodule, is greater than preset displacement for the displacement when the mobile terminal and the angle change value is greater than in advance If when angle value, generating target image according to each preview image frame.
8. mobile terminal according to claim 6, which is characterized in that the generation module includes:
Determine submodule, for being less than or equal to the preset displacement when the displacement, and the angle change value is less than or waits When the predetermined angle, the first weighted value of each preview image frame and the second weighted value of the first image are determined;
Second generates submodule, is used for according to first weighted value and second weighted value, by each preview image frame It is merged with the first image, generates target image.
9. mobile terminal according to claim 8, which is characterized in that the generation module includes:
Third generates submodule, for the RGB image information when the first image compared to any one preview image frame RGB image information when changing, then generate target image according to each preview image frame.
10. according to the method described in claim 8, it is characterized in that, the generation module includes:
4th generates submodule, the scape for the depth of view information when the first image compared to any one preview image frame When deeply convinceing that breath changes, then target image is generated according to each preview image frame.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in image pickup method the step of.
CN201811143307.1A 2018-09-28 2018-09-28 Shooting method and mobile terminal Active CN109005355B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811143307.1A CN109005355B (en) 2018-09-28 2018-09-28 Shooting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811143307.1A CN109005355B (en) 2018-09-28 2018-09-28 Shooting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109005355A true CN109005355A (en) 2018-12-14
CN109005355B CN109005355B (en) 2020-10-09

Family

ID=64589763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811143307.1A Active CN109005355B (en) 2018-09-28 2018-09-28 Shooting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109005355B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688293A (en) * 2019-01-28 2019-04-26 努比亚技术有限公司 A kind of image pickup method, terminal and computer readable storage medium
WO2021035525A1 (en) * 2019-08-27 2021-03-04 Oppo广东移动通信有限公司 Image processing method and apparatus, and electronic device and computer-readable storage medium
WO2021035524A1 (en) * 2019-08-27 2021-03-04 Oppo广东移动通信有限公司 Image processing method and apparatus, electronic device, and computer-readable storage medium
WO2022141445A1 (en) * 2020-12-31 2022-07-07 华为技术有限公司 Image processing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006197098A (en) * 2005-01-12 2006-07-27 Canon Inc Image transmission system of network camera
CN103416064A (en) * 2011-03-18 2013-11-27 索尼公司 Image-processing device, image-processing method, and program
CN104601897A (en) * 2015-02-13 2015-05-06 浙江宇视科技有限公司 Anti-shake device and method of video camera
CN104811601A (en) * 2014-01-24 2015-07-29 青岛海信移动通信技术股份有限公司 Method and device for displaying preview image
CN106254772A (en) * 2016-07-29 2016-12-21 广东欧珀移动通信有限公司 Multiple image synthetic method and device
CN107018327A (en) * 2017-03-31 2017-08-04 维沃移动通信有限公司 A kind of image capturing method and mobile terminal
CN107509034A (en) * 2017-09-22 2017-12-22 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107770451A (en) * 2017-11-13 2018-03-06 广东欧珀移动通信有限公司 Take pictures method, apparatus, terminal and the storage medium of processing

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006197098A (en) * 2005-01-12 2006-07-27 Canon Inc Image transmission system of network camera
CN103416064A (en) * 2011-03-18 2013-11-27 索尼公司 Image-processing device, image-processing method, and program
CN104811601A (en) * 2014-01-24 2015-07-29 青岛海信移动通信技术股份有限公司 Method and device for displaying preview image
CN104601897A (en) * 2015-02-13 2015-05-06 浙江宇视科技有限公司 Anti-shake device and method of video camera
CN106254772A (en) * 2016-07-29 2016-12-21 广东欧珀移动通信有限公司 Multiple image synthetic method and device
CN107018327A (en) * 2017-03-31 2017-08-04 维沃移动通信有限公司 A kind of image capturing method and mobile terminal
CN107509034A (en) * 2017-09-22 2017-12-22 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107770451A (en) * 2017-11-13 2018-03-06 广东欧珀移动通信有限公司 Take pictures method, apparatus, terminal and the storage medium of processing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688293A (en) * 2019-01-28 2019-04-26 努比亚技术有限公司 A kind of image pickup method, terminal and computer readable storage medium
WO2021035525A1 (en) * 2019-08-27 2021-03-04 Oppo广东移动通信有限公司 Image processing method and apparatus, and electronic device and computer-readable storage medium
WO2021035524A1 (en) * 2019-08-27 2021-03-04 Oppo广东移动通信有限公司 Image processing method and apparatus, electronic device, and computer-readable storage medium
WO2022141445A1 (en) * 2020-12-31 2022-07-07 华为技术有限公司 Image processing method and device

Also Published As

Publication number Publication date
CN109005355B (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN107509038B (en) A kind of image pickup method and mobile terminal
CN108337381B (en) A kind of lens control method and mobile terminal
CN108495029A (en) A kind of photographic method and mobile terminal
CN109005355A (en) A kind of image pickup method and mobile terminal
CN108919883A (en) A kind of camera head protecting method and mobile terminal
CN107682639B (en) A kind of image processing method, device and mobile terminal
CN107864336B (en) A kind of image processing method, mobile terminal
CN108989672A (en) A kind of image pickup method and mobile terminal
CN109688322A (en) A kind of method, device and mobile terminal generating high dynamic range images
CN108492246A (en) A kind of image processing method, device and mobile terminal
CN108320263A (en) A kind of method, device and mobile terminal of image procossing
CN108984082A (en) A kind of image display method and mobile terminal
CN110300267A (en) Photographic method and terminal device
CN109327668A (en) A kind of method for processing video frequency and device
CN109743503A (en) Reminding method and terminal
CN108174081B (en) A kind of image pickup method and mobile terminal
CN109033913A (en) A kind of recognition methods of identification code and mobile terminal
CN109819166A (en) A kind of image processing method and electronic equipment
CN109033912A (en) A kind of recognition methods of identification code and mobile terminal
CN108317992A (en) A kind of object distance measurement method and terminal device
CN107908983A (en) A kind of method and mobile terminal for controlling mobile terminal screen
CN107800968B (en) A kind of image pickup method and mobile terminal
CN109729336A (en) A kind of display methods and device of video image
CN109274957A (en) A kind of depth image image pickup method and mobile terminal
CN108259756A (en) A kind of image capturing 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