CN107707825B - A kind of panorama shooting method, mobile terminal and computer readable storage medium - Google Patents

A kind of panorama shooting method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN107707825B
CN107707825B CN201711206520.8A CN201711206520A CN107707825B CN 107707825 B CN107707825 B CN 107707825B CN 201711206520 A CN201711206520 A CN 201711206520A CN 107707825 B CN107707825 B CN 107707825B
Authority
CN
China
Prior art keywords
image
panoramic picture
frame
video
region
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.)
Active
Application number
CN201711206520.8A
Other languages
Chinese (zh)
Other versions
CN107707825A (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 CN201711206520.8A priority Critical patent/CN107707825B/en
Publication of CN107707825A publication Critical patent/CN107707825A/en
Application granted granted Critical
Publication of CN107707825B publication Critical patent/CN107707825B/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/682Vibration or motion blur correction
    • 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/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Abstract

The present invention provides a kind of panorama shooting method, mobile terminal and computer readable storage medium, wherein, the panorama shooting method includes: the initial panoramic picture for obtaining the shooting of the first camera, and obtains the video image of the second camera shooting in the shooting of initial panoramic picture;According to the frame image in video image, the correspondence image region in initial panoramic picture is handled, generates target panoramic picture.The present invention is handled initial panoramic picture using video image, can reduce the influence of artificial governing factor, reduces the appearance of faultage image or " deformity " image, obtains high-quality good panoramic picture, improves shooting experience.

Description

A kind of panorama shooting method, mobile terminal and computer readable storage medium
Technical field
The present invention relates to field of communication technology more particularly to a kind of panorama shooting methods, mobile terminal and computer-readable Storage medium.
Background technique
As the popularity rate of mobile terminal is higher and higher, mobile terminal has incorporated substantially in the daily life of user.Nowadays, Camera has become the basic configuration on mobile terminal, and class of taking pictures application continues to develop, and pan-shot function has become standard configuration. Existing, user is during pan-shot, and when moving to mobile terminal, hand inevitably will appear shake or mobile width Degree control is improper, to influence to shoot picture quality level.
In conclusion in the prior art, when pan-shot, is easy because artificially governing factor causes to clap for shake, mobile range etc. Quality reduction is taken the photograph, such as image slices or " deformity " occurs, influences the picture quality level of panoramic picture.
Summary of the invention
The present invention provides a kind of panorama shooting method, mobile terminal and computer readable storage medium, to solve existing skill It is easy to cause shooting quality to reduce because of the artificial governing factor such as shake, mobile range when pan-shot in art, influences panoramic picture Picture quality level the problem of.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the present invention provides a kind of panorama shooting method, it is applied to include the first camera and second The mobile terminal of camera, this method comprises:
The initial panoramic picture of the first camera shooting is obtained, and obtains the second camera shooting in the shooting of initial panoramic picture The video image of head shooting;
According to the frame image in video image, the correspondence image region in initial panoramic picture is handled, generates mesh Mark panoramic picture.
Second aspect, the embodiment of the present invention provide a kind of mobile terminal, which includes the first camera and second Camera, the mobile terminal include:
Module is obtained, for obtaining the initial panoramic picture of the first camera shooting, and acquisition in initial panoramic picture The video image that second camera is shot when shooting;
Processing module, for according to the frame image in video image, to the correspondence image region in initial panoramic picture into Row processing, generates target panoramic picture.
The third aspect, the embodiment of the present invention provide a kind of mobile terminal, including processor, and memory is stored in memory Computer program that is upper and can running on a processor, the computer program realize above-mentioned pan-shot side when being executed by processor The step of method.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, on computer readable storage medium It is stored with computer program, the step of which realizes above-mentioned panorama shooting method when being executed by processor.
In the embodiment of the present invention, by obtaining the initial panoramic picture of the first camera shooting, and acquisition initial complete The video image that second camera is shot when scape image taking;According to the frame image in video image, in initial panoramic picture Correspondence image region handled, generate target panoramic picture, in this way, using video image to initial panoramic picture at Reason can reduce the influence of artificial governing factor, reduce the appearance of faultage image or " deformity " image, obtain high-quality good complete Scape image improves shooting experience.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 shows the flow diagrams of panorama shooting method provided in an embodiment of the present invention;
Fig. 2 indicates the display example figure of the first preview interface that example of the present invention provides and the second preview interface;
Fig. 3 indicates the structural schematic diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 4 indicates the hardware structural diagram of mobile terminal provided in an embodiment of the present invention.
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.
Referring to Figure 1, the flow diagram of panorama shooting method provided in an embodiment of the present invention is shown.
The embodiment of the present invention provides a kind of panorama shooting method, applied to the shifting including the first camera and second camera Dynamic terminal.
In the embodiment of the present invention, this method be may comprise steps of:
Step 101, the initial panoramic picture of the first camera shooting is obtained, and is obtained in the shooting of initial panoramic picture The video image of second camera shooting.
In the embodiment of the present invention, when mobile terminal starts the first camera to reference object progress pan-shot, simultaneously Starting second camera synchronizes video capture to reference object, wherein the first camera and second camera synchronization Acquire the image of same target area.In the embodiment of the present invention, the setting form of first camera and second camera can be with Such as double rear cameras, binocular camera.
Step 102, according to the frame image in video image, at the correspondence image region in initial panoramic picture Reason generates target panoramic picture.
In this step, using the frame image in the video image of second camera sync pulse jamming, the first camera is shot Initial panoramic picture handled, specifically, in the embodiment of the present invention, can be and used based on the frame image in video image The correcting modes such as supplement synthesis, matching weighting or replacement, handle the correspondence image region in initial panoramic picture.This Sample can reduce the influence of artificial governing factor, reduce the appearance of faultage image or " deformity " image, obtain high-quality good mesh Panoramic picture is marked, shooting experience is promoted.
In the embodiment of the present invention, the first camera and second camera is used in combination, it is initial complete in the shooting of the first camera While scape image, second camera sync pulse jamming video image is then sharp by obtaining initial panoramic picture and video image Initial panoramic picture is handled with the frame image in video image, so as to reduce the influence of artificial governing factor, is subtracted The appearance of few faultage image or " deformity " image, obtains high-quality good target panoramic picture, promotes shooting experience.
Wherein, it is contemplated that due to the setting position difference of the first camera and second camera, in shooting process, first Minor deviations will be present in camera and second camera in shooting visual angle, therefore, in one embodiment of the invention, to make first to take the photograph It, can be based on the first camera shooting as head and second camera can accurately collect the image of same target area in synchronization The factors such as setting position deviation or angle coverage deviation between head and second camera, make second to take the photograph by image correction process As head obtains the scene in the first camera calibration angular field of view.Certainly, in an alternative embodiment of the invention, for shake, shifting The artificial governing factor such as dynamic amplitude is considered on what the shooting of the first camera and second camera influenced, to clap second camera The video image taken the photograph can preferably be modified the initial panoramic picture of the first camera shooting, that is, enable video image Enough tomography or " deformity " parts preferably corrected in initial panoramic picture, can retain the first camera and second camera it Between shooting visual angle deviation.
Wherein, it in a preferred embodiment of the invention, can need to repair in the initial panoramic picture based on user's selection Then positive image-region is handled using video frame corresponding with the image-region in video image, to generate target Panoramic picture.
Specifically, step 102, according to the frame image in video image, to the correspondence image region in initial panoramic picture The step of being handled, generating target panoramic picture, may comprise steps of: show in the first preview interface of mobile terminal Show initial panoramic picture;If receiving the first touch control operation acted on initial panoramic picture, determine on initial panoramic picture The first image-region corresponding to the first touch control operation;It is right according to video frame corresponding with the first image-region in video image First image-region is modified, and generates target panoramic picture.
In the embodiment of the present invention, by showing the initial panoramic picture of the first camera shooting in the first preview interface, Modified first image-region is needed on initial panoramic picture in order to which user checks and can choose by the first touch control operation, Wherein, the first touch control operation may include: clicking operation or pressing operation etc..In the embodiment of the present invention, the first figure is being determined As behind region, obtaining video frame corresponding with the first image-region in video image, and based on the video frame to the first image district Domain is modified, to generate target panoramic picture.In this way, chosen by corresponding video frame in video image to user the One image-region is modified, and can satisfy the amendment demand of user, preferably corrects initial panoramic picture, is obtained high-quality good Target panoramic picture, promoted shooting experience.
Wherein, in the embodiment of the present invention, according to video frame corresponding with the first image-region in video image, to the first figure The step of being modified as region may include: to determine the corresponding shooting time point of the first image-region;According to shooting time Point obtains at least frame video frame in video image;According to an at least frame video frame, the first image-region is modified.
In the embodiment of the present invention, the first camera and second camera are sync pulse jammings, i.e. the first camera and second Camera synchronization acquires the image of same target area, therefore, can be based on shooting time point, obtain video image in The corresponding at least frame video frame of first image-region, is then modified the first image-region, high-quality so as to obtain Good target panoramic picture.Wherein, at least frame video frame in video image may include: same shooting in video image Time point corresponding first video frame, first video frame is before and adjacent to the continuous of the first predetermined quantity of the first video frame The successive video frames of the second predetermined quantity after video frame and first video frame and adjacent to the first video frame.It is preferred that , first predetermined quantity and the second predetermined quantity can be taken as 3.
It in an embodiment of the invention, can be by at least frame video frame that will acquire according to the weighting coefficient of setting Matching weighting is carried out to the first image-region, to realize the amendment to the first image-region;It can also be by the way that an at least frame be regarded The image of a wherein frame video frame and the first image-region in frequency frame carries out supplement synthesis or replacement, to realize to the first figure As the amendment in region.
In addition, being further satisfaction user's operation demand, promoting man-machine interaction experience, Ke Yi in the embodiment of the present invention Video frame corresponding with the first image-region in video image is shown on mobile terminal and is chosen by user for modified video Frame.Specifically, may comprise steps of: In the step of being modified to the first image-region according to an at least frame video frame An at least frame video frame is shown in second preview interface of mobile terminal;If receiving to the first video in an at least frame video frame Second touch control operation of frame is modified the first image-region according to the first video frame.
In the embodiment of the present invention, by showing that an at least frame corresponding with the first image-region regards in the second preview interface Frequency frame, in order to which user checks and can be selected by the second touch control operation for modified first video frame, wherein the second touching Control operation may include: clicking operation, pressing operation or drag operation etc..In the embodiment of the present invention, the first video is being determined After frame, the first image-region is modified based on the first video frame, specifically, can by supplement synthesis, matching weighting or The correcting modes such as replacement are modified, to generate target panoramic picture.In such manner, it is possible to the first video frame chosen according to user The first image-region determined to user is modified, and is met user and is corrected demand, preferably correct initial panoramic picture, obtains High-quality good target panoramic picture promotes man-machine interaction experience and shooting experience.
Wherein, in one example, first preview interface and the second preview interface are as shown in Figure 2.
In addition, for considering for user's operation is simplified, may not need user behaviour in a preferred embodiment of the invention Make, the correspondence image region in initial panoramic picture is handled based on the frame image in video image on backstage, thus raw At target image.
Specifically, in one implementation, step 102, according to the frame image in video image, to initial panoramic picture In correspondence image region handled, generate target panoramic picture the step of, may comprise steps of: obtain video image The successive video frames of middle predetermined quantity;According to preset first weighting coefficient, processing is weighted to successive video frames, is obtained extremely A few composograph;By the second figure corresponding with the shooting time of successive video frames point in composograph and initial panoramic picture As region carries out images match;If matching degree value is less than preset value, the image of the second image-region is replaced with into composite diagram Picture generates target panoramic picture.
In the embodiment of the present invention, since the first frame video frame in video image, the continuous of predetermined quantity is successively obtained Video frame, and successively carry out matching weighting and synthesis processing frame by frame according to the first weighting coefficient, obtain an at least composograph; Then corresponding second image-region in initial panoramic picture is determined according to the shooting time of successive video frames point, and by composite diagram As carrying out images match with the image of corresponding second image-region;If the matching degree value of the two is greater than or equal to preset value When, retain the image of the second image-region, if the matching degree value of the two is less than preset value, by the image of the second image-region Composograph is replaced with, to generate high-quality good target panoramic picture.Wherein, which can obtain according to experimental data , it can also be obtained according to historical experience, in one example, the value range of the preset value can be 20%~25%;This is pre- Fixed number amount can be with value for 5.It wherein,, can be by continuous videos to be handled convenient for the synthesis of composograph in the embodiment of the present invention The image section of predetermined ratio is reserved in each frame video frame in frame, video frame when handling in order to the synthesis of composograph Alignment operation promotes combined coefficient.Specifically, in one example, can will be reserved in each frame video frame in continuous videos The image section of right end 25%.
In another implementation, step 102, according to the frame image in video image, in initial panoramic picture The step of correspondence image region is handled, and target panoramic picture is generated, may comprise steps of: obtain pre- in video image The successive video frames of fixed number amount;According to preset first weighting coefficient, processing is weighted to successive video frames, obtains at least one Open composograph;Composograph and initial panoramic picture are subjected to images match and carry out synthesis processing.
In another implementation, step 102, according to the frame image in video image, to pair in initial panoramic picture The step of answering image-region to be handled, generating target panoramic picture, may comprise steps of: obtain the company in video image Continuous video frame;According to preset second weighting coefficient, successive video frames and initial panoramic picture are successively weighted processing, it is raw At target panoramic picture.
In the embodiment of the present invention, successive video frames are obtained since the first frame video frame in video image, and according to the Two weighting coefficients successively carry out matching weighting with initial panoramic picture by successive video frames frame by frame and synthesis is handled, to generate excellent The good target panoramic picture of matter.
It wherein, in embodiments of the present invention, is the diversified demand for meeting user, in order to which user can be according to itself need Asking selection is to be modified by way of user's selection operation to the correspondence image region in initial panoramic picture, or lead to Later frame image of the stylobate in video image is modified the correspondence image region in initial panoramic picture, and the present invention is implemented It is provided with a control switch in example, to open or close " backstage debugging functions ", if opening, video figure is based on by backstage Frame image as in is modified the correspondence image region in initial panoramic picture;If closing, pass through user's selection operation Mode the correspondence image region in initial panoramic picture is modified.
In addition, in the embodiment of the present invention, do not plan a successor in the initial panoramic picture to reduce shooting or " deformity " image, In The initial panoramic picture of the first camera shooting is obtained, and obtains the second camera shooting in the shooting of initial panoramic picture Before video image, this method may also comprise the following steps:: in the first camera shooting process, whether detection mobile terminal In predetermined moving condition, if it is not, display reminding information;Wherein, the predetermined moving condition include in following state at least A kind of: the motion track of mobile terminal belongs to desired trajectory range, and the movement speed of mobile terminal is in predetermined speed range.This Sample, by the display reminding information when mobile terminal is not at predetermined state, to remind user to the moving condition of mobile terminal It is adjusted, to avoid not planning a successor in initial panoramic picture or " deformity " image.
Panorama shooting method provided in an embodiment of the present invention, by obtaining the initial panoramic picture of the first camera shooting, And obtain the video image of the second camera shooting in the shooting of initial panoramic picture;According to the frame image in video image, Correspondence image region in initial panoramic picture is handled, target panoramic picture is generated, in this way, using video image to first Beginning panoramic picture handle, and can reduce the influence of artificial governing factor, reduce faultage image or " deformity " image out It is existing, high-quality good panoramic picture is obtained, shooting experience is improved.
Based on the above method, the embodiment of the present invention provides a kind of mobile terminal to implement the above method.
Fig. 3 is referred to, shows the structural schematic diagram of mobile terminal provided in an embodiment of the present invention.The present invention is implemented Example provides a kind of mobile terminal 300, and mobile terminal 300 includes the first camera and second camera, which can be with It include: to obtain module 310 and processing module 320.
Module 310 is obtained, for obtaining the initial panoramic picture of the first camera shooting, and acquisition in initial panorama sketch The video image of second camera shooting when as shooting;
Processing module 320, for according to the frame image in video image, to the correspondence image region in initial panoramic picture It is handled, generates target panoramic picture.
In embodiments of the present invention, processing module 320 may include: display sub-module, determine submodule and the first processing Submodule.
Display sub-module, for showing initial panoramic picture in the first preview interface of mobile terminal;
It determines submodule, is used for, if receiving the first touch control operation acted on initial panoramic picture, determine initial complete Correspond to the first image-region of the first touch control operation on scape image;
First processing submodule, is used for according to video frame corresponding with the first image-region in video image, to the first figure As region is modified, target panoramic picture is generated.
In embodiments of the present invention, the first processing submodule may include: determination unit, acquiring unit and amending unit.
Determination unit, for determining the corresponding shooting time point of the first image-region;
Acquiring unit, for obtaining at least frame video frame in video image according to shooting time point;
Amending unit, for being modified to the first image-region according to an at least frame video frame.
In embodiments of the present invention, amending unit may include: display subelement and revise subelemen.
Subelement is shown, for showing an at least frame video frame in the second preview interface of mobile terminal;
Revise subelemen, if for receiving the second touch control operation to the first video frame in an at least frame video frame, root According to the first video frame, the first image-region is modified.
In embodiments of the present invention, processing module 320 may include: the first acquisition submodule, second processing submodule and Third handles submodule.
First acquisition submodule, for obtaining the successive video frames of predetermined quantity in video image;
Second processing submodule, for being weighted processing to successive video frames, obtaining according to preset first weighting coefficient Obtain an at least composograph;
Matched sub-block, for composograph is corresponding with the shooting time point of successive video frames with initial panoramic picture The second image-region carry out images match;
Third handles submodule, if be less than preset value for matching degree value, the image of the second image-region is replaced For composograph, target panoramic picture is generated.
In embodiments of the present invention, processing module 320 may include: the second acquisition submodule and fourth process submodule.
Second acquisition submodule, for obtaining the successive video frames in video image;
Fourth process submodule is used for according to preset second weighting coefficient, successively by successive video frames and initial panorama Image is weighted processing, generates target panoramic picture.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 realize it is each Process, to avoid repeating, which is not described herein again.
Mobile terminal provided in an embodiment of the present invention, the initial panoramic picture shot by obtaining the first camera, and Obtain the video image of the second camera shooting in the shooting of initial panoramic picture;According to the frame image in video image, to first Correspondence image region in beginning panoramic picture is handled, and target panoramic picture is generated, in this way, using video image to initial complete Scape image is handled, and the influence of artificial governing factor can be reduced, and reduces the appearance of faultage image or " deformity " image, is obtained High-quality good panoramic picture improves shooting experience.
A kind of hardware structural diagram of Fig. 4 mobile terminal of each embodiment to realize the present invention.
The mobile terminal 400 includes but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, defeated Enter unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor The components such as 410 and power supply 411.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 4 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..
Wherein, processor 410, for obtaining the initial panoramic picture of the first camera shooting, and acquisition initial complete The video image that second camera is shot when scape image taking;According to the frame image in video image, in initial panoramic picture Correspondence image region handled, generate target panoramic picture.
In the embodiment of the present invention, initial panoramic picture is handled using video image, can reduce artificial control because The influence of element reduces the appearance of faultage image or " deformity " image, obtains high-quality good panoramic picture, improves shooting body It tests.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 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 410 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 402 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 403 can be received by radio frequency unit 401 or network module 402 or in memory 409 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor (Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 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 406.Through graphics processor 4041, treated that picture frame can be deposited Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike Wind 4042 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 401 is converted in the case where telephone calling model.
Mobile terminal 400 further includes at least one sensor 405, 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 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear Display panel 4061 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 405 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 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap Display panel 4061 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 4061.
User input unit 407 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 407 include touch panel 4071 and Other input equipments 4072.Touch panel 4071, 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 4071 or in touch panel 4071 Neighbouring operation).Touch panel 4071 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 410, receiving area It manages the order that device 410 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 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments 4072.Specifically, other input equipments 4072 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 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touching The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 4, touch panel 4071 and display Panel 4061 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 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.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 408 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 400 or can be used in 400 He of mobile terminal Data are transmitted between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 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 409 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 410 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 409, and calls and is stored in storage Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 410 may include one or more processing units;Preferably, processor 410 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 410.
Mobile terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411 Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 400 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 410, and memory 409 is stored in It is real when which is executed by processor 410 on memory 409 and the computer program that can run on the processor 410 Each process of existing above-mentioned panorama shooting method embodiment, 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 panorama shooting method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (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 (12)

1. a kind of panorama shooting method, applied to the mobile terminal including the first camera and second camera, which is characterized in that The described method includes:
The initial panoramic picture of first camera shooting is obtained, and described in obtaining in initial panoramic picture shooting The video image of second camera shooting;Wherein, the first camera and second camera synchronization acquire same target area Image;
It is synthesized according at least frame frame image in the video image using supplement, the correcting mode of matching weighting or replacement, Correspondence image region in the initial panoramic picture is handled, target panoramic picture is generated;
An at least frame frame image according in the video image is weighted using supplement synthesis, matching or the amendment side of replacement The step of formula handles the correspondence image region in the initial panoramic picture, generates target panoramic picture, comprising:
Obtain the successive video frames of predetermined quantity in the video image;
According to preset first weighting coefficient, processing is weighted to the successive video frames, obtains an at least composograph;
It will be corresponding with the shooting time of successive video frames point second in the composograph and the initial panoramic picture Image-region carries out images match;
If matching degree value is less than preset value, the image of second image-region is replaced with into the composograph, is generated The target panoramic picture.
2. the method according to claim 1, wherein at least frame frame figure according in the video image As using supplement synthesis, matching weighting or replacement correcting mode, to the correspondence image region in the initial panoramic picture into The step of row processing, generation target panoramic picture, comprising:
The initial panoramic picture is shown in the first preview interface of the mobile terminal;
If receiving the first touch control operation acted on the initial panoramic picture, determine corresponding on the initial panoramic picture In the first image-region of first touch control operation;
According to video frame corresponding with the first image region in the video image, the first image region is repaired Just, target panoramic picture is generated.
3. according to the method described in claim 2, it is characterized in that, it is described according in the video image with the first image The corresponding video frame in region, the step of being modified to the first image region, comprising:
Determine the corresponding shooting time point in the first image region;
According to the shooting time point, video frame described in at least frame in the video image is obtained;
According to video frame described in an at least frame, the first image region is modified.
4. according to the method described in claim 3, it is characterized in that, the video frame according to an at least frame, to described The step of one image-region is modified, comprising:
Video frame described in an at least frame is shown in the second preview interface of the mobile terminal;
If receiving the second touch control operation of the first video frame in the video frame described in an at least frame, according to first video Frame is modified the first image region.
5. the method according to claim 1, wherein at least frame frame figure according in the video image As using supplement synthesis, matching weighting or replacement correcting mode, to the correspondence image region in the initial panoramic picture into The step of row processing, generation target panoramic picture, comprising:
Obtain the successive video frames in the video image;
According to preset second weighting coefficient, the successive video frames and the initial panoramic picture are successively weighted place Reason, generates the target panoramic picture.
6. a kind of mobile terminal, the mobile terminal includes the first camera and second camera, which is characterized in that the movement Terminal includes:
Module is obtained, the initial panoramic picture shot for obtaining first camera, and obtain in the initial panorama The video image of second camera shooting when image taking;Wherein, the first camera is adopted with second camera synchronization Collect the image of same target area;
Processing module, for weighting or replacing using supplement synthesis, matching according at least frame frame image in the video image The correcting mode changed handles the correspondence image region in the initial panoramic picture, generates target panoramic picture;
The processing module includes:
First acquisition submodule, for obtaining the successive video frames of predetermined quantity in the video image;
Second processing submodule, for being weighted processing to the successive video frames, obtaining according to preset first weighting coefficient Obtain an at least composograph;
Matched sub-block, when for by shooting in the composograph and the initial panoramic picture with the successive video frames Between put corresponding second image-region and carry out images match;
Third handles submodule, if be less than preset value for matching degree value, the image of second image-region is replaced For the composograph, the target panoramic picture is generated.
7. mobile terminal according to claim 6, which is characterized in that the processing module includes:
Display sub-module, for showing the initial panoramic picture in the first preview interface of the mobile terminal;
It determines submodule, is used for, if receiving the first touch control operation acted on the initial panoramic picture, determine described first Correspond to the first image-region of first touch control operation on beginning panoramic picture;
First processing submodule, is used for according to video frame corresponding with the first image region in the video image, to institute It states the first image-region to be modified, generates target panoramic picture.
8. mobile terminal according to claim 7, which is characterized in that described first, which handles submodule, includes:
Determination unit, for determining the corresponding shooting time point in the first image region;
Acquiring unit, for obtaining video frame described in at least frame in the video image according to the shooting time point;
Amending unit is used for the video frame according to an at least frame, is modified to the first image region.
9. mobile terminal according to claim 8, which is characterized in that the amending unit includes:
Subelement is shown, for showing video frame described in an at least frame in the second preview interface of the mobile terminal;
Revise subelemen, if the second touch control operation for receiving the first video frame in the video frame described in an at least frame, root According to first video frame, the first image region is modified.
10. mobile terminal according to claim 6, which is characterized in that the processing module includes:
Second acquisition submodule, for obtaining the successive video frames in the video image;
Fourth process submodule, for according to preset second weighting coefficient, successively by successive video frames and described initial Panoramic picture is weighted processing, generates the target panoramic picture.
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 panorama shooting method the step of.
12. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the panorama shooting method as described in any one of claims 1 to 5 is realized when the computer program is executed by processor Step.
CN201711206520.8A 2017-11-27 2017-11-27 A kind of panorama shooting method, mobile terminal and computer readable storage medium Active CN107707825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711206520.8A CN107707825B (en) 2017-11-27 2017-11-27 A kind of panorama shooting method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711206520.8A CN107707825B (en) 2017-11-27 2017-11-27 A kind of panorama shooting method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107707825A CN107707825A (en) 2018-02-16
CN107707825B true CN107707825B (en) 2019-12-03

Family

ID=61181093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711206520.8A Active CN107707825B (en) 2017-11-27 2017-11-27 A kind of panorama shooting method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107707825B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712604B (en) * 2018-05-07 2022-02-01 维沃移动通信有限公司 Panoramic shooting method and mobile terminal
CN109005334B (en) * 2018-06-15 2020-07-03 清华-伯克利深圳学院筹备办公室 Imaging method, device, terminal and storage medium
CN110086998B (en) 2019-05-27 2021-04-06 维沃移动通信有限公司 Shooting method and terminal
CN110557566B (en) * 2019-08-30 2021-12-17 维沃移动通信有限公司 Video shooting method and electronic equipment
CN111698553B (en) * 2020-05-29 2022-09-27 维沃移动通信有限公司 Video processing method and device, electronic equipment and readable storage medium
CN111917985B (en) * 2020-08-14 2021-11-16 广东申义实业投资有限公司 Vehicle, method and device for three-dimensional panoramic visual display and storage medium
CN115278064B (en) * 2022-07-11 2023-07-25 北京五八信息技术有限公司 Panoramic image generation method and device, terminal equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6977676B1 (en) * 1998-07-08 2005-12-20 Canon Kabushiki Kaisha Camera control system
JP2012227679A (en) * 2011-04-19 2012-11-15 Mathematec Corp Twin-lens camera
CN103379256A (en) * 2012-04-25 2013-10-30 华为终端有限公司 Method and device for processing image
CN104010135A (en) * 2013-02-26 2014-08-27 三星电子株式会社 Apparatus and method for photographing image
CN105635675A (en) * 2015-12-29 2016-06-01 北京奇艺世纪科技有限公司 Panorama playing method and device
CN206524898U (en) * 2017-01-21 2017-09-26 深圳市为创视讯智能有限责任公司 Panorama image shooting apparatus and image processing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6977676B1 (en) * 1998-07-08 2005-12-20 Canon Kabushiki Kaisha Camera control system
JP2012227679A (en) * 2011-04-19 2012-11-15 Mathematec Corp Twin-lens camera
CN103379256A (en) * 2012-04-25 2013-10-30 华为终端有限公司 Method and device for processing image
CN104010135A (en) * 2013-02-26 2014-08-27 三星电子株式会社 Apparatus and method for photographing image
CN105635675A (en) * 2015-12-29 2016-06-01 北京奇艺世纪科技有限公司 Panorama playing method and device
CN206524898U (en) * 2017-01-21 2017-09-26 深圳市为创视讯智能有限责任公司 Panorama image shooting apparatus and image processing system

Also Published As

Publication number Publication date
CN107707825A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CN107707825B (en) A kind of panorama shooting method, mobile terminal and computer readable storage medium
CN107566730B (en) A kind of panoramic picture image pickup method and mobile terminal
CN107770438B (en) A kind of photographic method and mobile terminal
CN108540724A (en) A kind of image pickup method and mobile terminal
CN107592468B (en) A kind of shooting parameter adjustment method and mobile terminal
CN109660719A (en) A kind of information cuing method and mobile terminal
CN108762640A (en) A kind of display methods and terminal of barrage information
CN107483836B (en) A kind of image pickup method and mobile terminal
CN110365907A (en) A kind of photographic method, device and electronic equipment
CN109743498A (en) A kind of shooting parameter adjustment method and terminal device
CN109788204A (en) Shoot processing method and terminal device
CN108989672A (en) A kind of image pickup method and mobile terminal
CN107566749A (en) Image pickup method and mobile terminal
CN107592467A (en) A kind of image pickup method and mobile terminal
CN108038825A (en) A kind of image processing method and mobile terminal
CN108833709A (en) A kind of the starting method and mobile terminal of camera
CN108924412A (en) A kind of image pickup method and terminal device
CN109474786A (en) A kind of preview image generation method and terminal
CN108449541A (en) A kind of panoramic picture image pickup method and mobile terminal
CN108683850A (en) A kind of shooting reminding method and mobile terminal
CN109803087A (en) A kind of image generating method and terminal device
CN109544486A (en) A kind of image processing method and terminal device
CN108848309A (en) A kind of camera programm starting method and mobile terminal
CN109819171A (en) A kind of video capture method and terminal device
CN109451178A (en) Video broadcasting method and 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