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

A kind of photographic method and terminal device Download PDF

Info

Publication number
CN109361870A
CN109361870A CN201811433548.XA CN201811433548A CN109361870A CN 109361870 A CN109361870 A CN 109361870A CN 201811433548 A CN201811433548 A CN 201811433548A CN 109361870 A CN109361870 A CN 109361870A
Authority
CN
China
Prior art keywords
preview image
input
frame preview
user
start 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.)
Pending
Application number
CN201811433548.XA
Other languages
Chinese (zh)
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 CN201811433548.XA priority Critical patent/CN109361870A/en
Publication of CN109361870A publication Critical patent/CN109361870A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The present invention provides a kind of photographic method and terminal device, this method comprises: obtaining the multiframe preview image of camera continuous acquisition;Determine the start frame preview image and end frame preview image in the multiframe preview image;All preview images between the start frame preview image and the end frame preview image are subjected to synthesis processing, obtain target composograph;In the case where meeting default storage condition, the target composograph is stored.In this way, since target composograph is to synthesize to obtain according to the preview image of camera continuous acquisition, to improve the synthetic effect of composograph.

Description

A kind of photographic method and terminal device
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of photographic methods and terminal device.
Background technique
With the rapid development of terminal device technology, terminal device has become essential a kind of work in people's life Tool, and the various aspects for user's life are brought great convenience.Also, the requirement with user to quality of taking pictures is more next Higher, terminal device can be used a variety of composition algorithms and synthesize to the image of shooting.
But in the prior art, when being synthesized using image of the composition algorithm to shooting, be all randomly select it is a few It opens image to be synthesized, so as to cause synthesis, the effect is relatively poor.
Summary of the invention
The embodiment of the present invention provides a kind of photographic method and terminal device, is using composition algorithm pair to solve terminal device The problem of the effect is relatively poor is synthesized when the image of shooting is synthesized.
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 photographic methods, comprising:
Obtain the multiframe preview image of camera continuous acquisition;
Determine the start frame preview image and end frame preview image in the multiframe preview image;
All preview images between the start frame preview image and the end frame preview image are carried out at synthesis Reason, obtains target composograph;
In the case where meeting default storage condition, the target composograph is stored.
Second aspect, the embodiment of the present invention also provide a kind of terminal device, comprising:
Module is obtained, for obtaining the multiframe preview image of camera continuous acquisition;
Determining module, for determining start frame preview image and end frame preview image in the multiframe preview image;
Synthesis module, for by all preview graphs between the start frame preview image and the end frame preview image As carrying out synthesis processing, target composograph is obtained;
Memory module, for storing the target composograph in the case where meeting default storage condition.
The third aspect, the embodiment of the present invention also provide a kind of terminal device, including processor, memory and are stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor The step of existing above-mentioned photographic method.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, the step of computer program realizes above-mentioned photographic method when being executed by processor.
In embodiments of the present invention, the multiframe preview image of camera continuous acquisition is obtained;Determine the multiframe preview graph Start frame preview image and end frame preview image as in;By the start frame preview image and the end frame preview image Between all preview images carry out synthesis processing, obtain target composograph;In the case where meeting default storage condition, deposit Store up the target composograph.In this way, since target composograph is to be synthesized according to the preview image of camera continuous acquisition It arrives, to improve the synthetic effect of composograph.
Detailed description of the invention
Fig. 1 is the flow chart of photographic method provided in an embodiment of the present invention;
Fig. 2 is one of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 3 is the two of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 4 is the three of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 5 is the four of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 6 is the five of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 7 is the six of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 8 is the seven of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 9 is the eight of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 10 is the nine of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 11 is the ten of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 12 is the 11 of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 13 is the 12 of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 14 is the 13 of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 15 is the 14 of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 16 is the 15 of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 17 is the 16 of the display schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 18 is one of the structural schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 19 is the second structural representation of terminal device 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.
It is the flow chart of photographic method provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, as shown in Figure 1, including following step It is rapid:
Step 101, the multiframe preview image for obtaining camera continuous acquisition.
In the embodiment of the present invention, above-mentioned multiframe preview image can be the image of the front camera acquisition of terminal device, It is also possible to the image of the rear camera acquisition of terminal device, this embodiment of the present invention is not construed as limiting.
Step 102 determines start frame preview image and end frame preview image in the multiframe preview image.
In the embodiment of the present invention, above-mentioned start frame preview image and end frame preview image can be the input according to user Determining preview image, or some rules can also be preset, to automatically determine start frame preview according to these rules Image and end frame preview image etc..
Step 103, by all preview images between the start frame preview image and the end frame preview image into Row synthesis processing, obtains target composograph.
All preview graphs in the embodiment of the present invention, between the start frame preview image and the end frame preview image Picture, including the start frame preview image and the end frame preview image.Also, it can be shown in preview interface with real-time update The target composograph.
Step 104, in the case where meeting default storage condition, store the target composograph.
In the embodiment of the present invention, in the case where meeting default storage condition, storing the target composograph can have Various ways.For example, it may be after user carries out some input to terminal device, to store the target composograph. Alternatively, being also possible to (such as sometime, or meet certain duration etc.) when meeting some requirements the time, deposit Store up described target composograph etc..Certainly, in addition to this there can also be some other modes, not to this embodiment of the present invention It limits.
In the embodiment of the present invention, above-mentioned terminal device can be mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device (Wearable Device) etc..
Optionally, the start frame preview image and end frame preview image in the determination multiframe preview image, packet It includes:
The first frame preview image that the camera acquires is determined as start frame preview image.
In present embodiment, the first frame preview image that the camera acquires is determined as start frame preview image, from And terminal device can close the first frame preview image that the camera acquires to the preview image that current time obtains in real time At, and the image synthesized can also be shown in preview interface real-time update.In this way, convenient for user with same preview image On the basis of reference under, choose the relatively good composograph of effect and saved.
Optionally, the start frame preview image and end frame preview image in the determination multiframe preview image, packet It includes:
It is pre- that the next frame preview image that the camera acquires after the generation of the i-th target composograph is determined as start frame Look at image, wherein i is positive integer.
In present embodiment, by the camera after the generation of the i-th target composograph the next frame preview image that acquires It is determined as start frame preview image, then terminal device can redefine the start frame preview image of composograph, then not With the start frame preview image of composograph be all different, thus to the greatest extent can with the difference embodied between different composographs It is different.
Also, it in this way can be to avoid the poor preview image of some period shooting effect to the shadow of subsequent composograph It rings.For example, if camera acquisition first frame preview image the effect is relatively poor, if use always the preview image as synthesize The start frame preview image of image, then it is possible that influencing the synthetic effect of subsequent composograph.So, by the camera The next frame preview image acquired after the generation of the i-th target composograph is determined as start frame preview image, can avoid the occurrence of Such case, to promote the synthetic effect of composograph.
Optionally, the start frame preview image and end frame preview image in the determination multiframe preview image, packet It includes:
Receive the first input of user;
Input time frame preview image collected by the camera in first input is determined as described rise Beginning frame preview image.
In present embodiment, above-mentioned first input can be click input, long-pressing input, slidably input or some other Input etc..Above-mentioned first input can also be the first operation, and the first input is also possible to drag according to desired guiding trajectory The input of default mark.In this way, the input time frame preview image collected that the camera is inputted described first It is determined as the start frame preview image, so as to quickly determine start frame preview image according to the first input, makes user can Quickly to determine start frame preview image in their own needs.
Optionally, the start frame preview image and end frame preview image in the determination multiframe preview image, packet It includes:
Receive the second input of user;
Input time frame preview image collected by the camera in second input is determined as the knot Beam frame preview image.
In present embodiment, above-mentioned second input can be click input, long-pressing input, slidably input or some other Input etc..Above-mentioned second input can also be the second operation, and the second input is also possible to drag according to desired guiding trajectory The input of default mark.In this way, the input time frame preview image collected that the camera is inputted described second It is determined as the end frame preview image, so as to quickly determine end frame preview image according to the second input, makes user can Quickly to determine end frame preview image in their own needs.
Optionally, described in the case where meeting default storage condition, store the target composograph, comprising:
Receive the third input of user;
It is inputted in response to the third, stores the target composograph.
In present embodiment, the input of above-mentioned third can be click input, long-pressing input, slidably input or some other Input etc..Above-mentioned third input can also be that third operates, and third input is also possible to the input carried out to shooting button. In this way, can be with target composograph described in quick storage according to third input.
In order to better understand the above process, please see Fig. 2 to Fig. 4, Fig. 2 to Fig. 4 is provided in an embodiment of the present invention The display schematic diagram of terminal device.
First as shown in Fig. 2, after terminal device starting camera application program, when user grows shooting button 201 During pressing, camera is while carrying out continuous shooting using the superposition current multiple image of multiframe composition algorithm real-time display at this time The result of synthesis.If user's finger carries out always without departing from shooting button 201, multiframe composition algorithm, until user's finger from Shooting button 201 is opened, multiframe composition algorithm just stops.
Referring again to Fig. 3, terminal device shows current composograph, when needing to save composograph, user's Finger is without leaving shooting button 201, it is only necessary to move left and right, can save at this time current in shooting button 201 Composograph.Also, when user needs to save multiple composographs, finger is clapped without leaving shooting button 201 pinning It takes the photograph in the case that button 201 do not put, camera can continue to carry out the multiframe preview image currently acquired multiframe superposition synthesis, Until user shakes finger next time when, so that it may save composograph.
In this way, terminal device can only save the composograph that user feels satisfied, to other preview images without It saves.Also, user only needs to carry out a series of continuous operation to shooting button that multiple composographs, finger can be saved Without leaving shooting button, keep the operation of user more convenient.
Referring again to Fig. 4, the left side of shooting button 201 may exist a mark 202 in Fig. 4.The finger of user leaves When identifying this completion of taking pictures when shooting button 201, and identifying 202 when the user clicks, the composite diagram saved can be checked Picture, so as to quickly check the composograph saved convenient for user.
Optionally, described in the case where meeting default storage condition, store the target composograph, comprising:
Between second moment at the first moment and the end frame preview image for acquiring the start frame preview image Time interval be more than or equal to preset preview image acquisition interval in the case where, store the target composograph.
In present embodiment, at the first moment and the end frame preview image for acquiring the start frame preview image In the case that time interval between second moment is more than or equal to preset preview image acquisition interval, the target synthesis is stored Image.In this way, being manually entered and storing without user, it is only necessary to the first moment for acquiring the start frame preview image with Time interval between second moment of the end frame preview image is more than or equal to the feelings of preset preview image acquisition interval Under condition, the target composograph can be automatically stored in terminal device, save the operation of user, make user's operation more just It is prompt.
Also, before the multiframe preview image for obtaining camera continuous acquisition, the method may also include that
Receive the 7th input of user;
In response to the 7th input, set interface is shown;
It is arranged between the method for determination of the start frame preview image and the acquisition of above-mentioned preview image in the set interface Every.
Above-mentioned 7th input can be click input, long-pressing input, slidably input or some other input etc..On Stating the 7th input can also be that the 7th operation, the 7th input are also possible to the input carried out to shooting button.In order to preferably manage The above process is solved, please refers to Fig. 5 to Fig. 8, Fig. 5 to Fig. 8 is the display schematic diagram of terminal device provided in an embodiment of the present invention.
First as shown in figure 5, when user double-clicks shooting button 501.After double-clicking shooting button 501, at this time such as Fig. 6 institute Show, terminal device shows set interface 502, and user can be configured in set interface 502.It can be seen that set interface The setting that the method for determination to start frame preview image is shown in 502 also shows the setting of preview image acquisition interval.It rises The method of determination of beginning frame preview image includes " the first frame preview image of camera acquisition " and " the i-th target composograph generates The next frame preview image acquired afterwards ".And preview image acquisition interval, it can be selected between 0.1-100 seconds.
In this way, user can according to the actual needs be configured the parameter in set interface 502.For example, when setting When preview image acquisition interval is 5 seconds, then user's finger is set when long-pressing shooting button 501 carries out continuous shooting every 5 seconds terminals It is standby that primary current target composograph is automatically stored.
When the method for determination of start frame preview image is selected as " the first frame preview image of camera acquisition ", then eventually After end equipment saves current composograph, continues superposition synthesis on the basis of current frame number, stops until taking pictures, The start frame preview image of current composograph is always the first frame preview image of camera acquisition in the process.
When the method for determination of start frame preview image is selected as, " next frame that the i-th target composograph acquires after generation is pre- Look at image ", then being saved after current composograph obtains shooting photo in terminal device, from next frame preview image weight The new superposition synthesis for starting frame number.Also, after setting terminates, " completion " mark 503 can be clicked and taken pictures into automatic multiframe Mode.
Terminal device carry out the acquisition of multiframe preview image during, user can click shooting button 501 suspend it is pre- It lookes at the acquisition of image, and can also show set interface 502 when user double-clicks shooting button 501 again, in set interface It can be configured in 502.
As shown in fig. 7, terminal device is during automatic collection multiframe preview image, preview interface can also show mark Know 504, " automatic " two words can be shown in mark 504, indicates that terminal device is gone forward side by side in automatic collection multiframe preview image Row synthesis.And when user double-clicks mark 504, automatic multiframe photographing mode can be exited and return to interface of normally taking pictures.Such as Shown in Fig. 8, when identifying 505 when the user clicks, the composograph saved can also look at.
In present embodiment, set interface can be shown by directly carrying out the 7th input to shooting button, thus being arranged Some parameters that multiframe is taken pictures are configured in interface, without exiting current preview interface, make the setting up procedure of user more It is convenient to add.
Optionally, before the multiframe preview image for obtaining camera continuous acquisition, the method also includes:
The 4th input of user is received, the 4th input is according to the input of the default mark of desired guiding trajectory dragging;
In response to the 4th input, the method for determination of the start frame preview image is adjusted.
In present embodiment, above-mentioned desired guiding trajectory can be straight path, perhaps be also possible to curvilinear path or can also To be the track of some other shapes, this present embodiment is not construed as limiting.Above-mentioned default mark can be the bat of terminal device Take the photograph button.It can be that the embodiment of the present invention is provided refering to Fig. 9 to Figure 13, Fig. 9 to Figure 13 to better understand the above process Terminal device display schematic diagram.
As shown in figure 9, after terminal device starting camera application program, it, can when user slides shooting button 901 to the left To enter automatic multiframe photographing mode.Also, as shown in Figure 10, preview interface can show mark 902 to indicate currently as certainly Dynamic multiframe photographing mode.And under automatic multiframe photographing mode, start frame preview image can be defaulted as camera in the i-th mesh The next frame preview image that mark composograph acquires after generating, i.e., after saving current composograph in terminal device, from Next frame preview image re-starts frame number superposition synthesis.
As shown in Figure 11 to Figure 13, when user drags shooting button 901 to preview interface upwards, finger is then unclamped, Shooting button 901 can return to original position.Start frame preview image at this time, can be from " camera is in the i-th target composite diagram As the next frame preview image acquired after generating " it is switched to " the first frame preview image of camera acquisition ".And such as Figure 13 institute Show, " automatic " of 902 display of mark switches to " automatic S ", and wherein S indicates superposition synthesis mode, that is, shows start frame preview graph As being " the first frame preview image of camera acquisition ".Certainly, when user drags shooting button 901 to preview interface again up When then returning to original position, and start frame preview image can be switched to " camera is generated in the i-th target composograph The next frame preview image acquired afterwards ".
Input in present embodiment, directly to default mark is dragged according to desired guiding trajectory, so that it may start frame preview graph The method of determination of picture is adjusted again without recalling set interface, saves the setting time of user, and can be to phase Parameter is closed quickly to be arranged.
Optionally, the start frame preview image in the determination multiframe preview image and end frame preview image it Before, the method also includes:
Receive the 5th input of user;
In response to the 5th input, preset control is shown, the preset control is for being arranged the target composograph Preview image acquisition interval;
Receive sixth input of the user to the preset control;
In response to the 6th input, the value of the preview image acquisition interval is adjusted.
In present embodiment, above-mentioned 5th input can be click input, long-pressing input, slidably input or some other Input etc., above-mentioned 5th input can also be that the 5th operation, the 5th input can be the input directly in preview interface. Above-mentioned 6th input can be click input, long-pressing input, slidably input or some other input etc., and the above-mentioned 6th is defeated Enter can also be the 6th operation.
In order to better understand the above process, Figure 14 to Figure 16 is please referred to, Figure 14 to Figure 16 is that the embodiment of the present invention mentions The display schematic diagram of the terminal device of confession.
As shown in figure 14, when user is when preview interface horizontally slips, preset control 1401 can be shown in preview interface. 1401 left end of preset control indicates that above-mentioned preview image acquisition interval is 0.1 second, and 1401 right end of preset control indicates above-mentioned Preview image acquisition interval is 100 seconds, and user can horizontally slip in preset control 1401, between determining that preview image acquires Every, that is, save target composograph time interval.Also, when user stops sliding, preset control 1401 can disappear, i.e., Adjustment finishes.Meanwhile preset control 1401 can be recalled at any time during taking pictures, consequently facilitating adjusting above-mentioned preview image Acquisition interval.
After user setting complete above-mentioned preview image acquisition interval, shooting button can be clicked and carry out multiframe preview image Shooting, and the multiframe preview image of shooting is synthesized.And when user again taps on shooting button, it can suspend more The acquisition of frame preview image.
It, can be by shooting button 1402 to the right when user needs to exit automatic multiframe photographing mode referring again to Figure 15 Sliding returns to interface of normally taking pictures so that automatic multiframe photographing mode can be exited.Also, as shown in figure 16, click mark The composograph saved can be checked by knowing 1403.
In present embodiment, directly the 5th input of reception user, so that it may show preset control, receive user to described 6th input of preset control, the value of the adjustable preview image acquisition interval.To which user can be defeated by the 5th Enter the value for quickly adjusting above-mentioned preview image acquisition interval with the 6th input, keeps the operation of user more convenient.Also, the 5th Input can be the input carried out in preview interface, in this way in preview interface carry out operation can quickly adjust preview The value at Image Acquisition interval can also make the operation of user more convenient.
Optionally, described in the case where meeting default storage condition, after storing the target composograph, the side Method further includes at least one of following:
Show that first identifier, the first identifier are used to indicate the number of the preview image of acquisition;
Show that second identifier, the second identifier are used to indicate the number of stored target composograph.
In present embodiment, in order to better understand the above process, it can be mentioned with 7, Figure 17 refering to fig. 1 for the embodiment of the present invention The display schematic diagram of the terminal device of confession.As shown in figure 17, first identifier 1701 and second identifier are shown in preview interface 1702, " 15 " are shown in first identifier 1701, indicate that the number of the preview image of acquisition is 15.It is shown in second identifier 1702 It is shown with " having saved 5 ", indicates that the number of stored target composograph is 5.
In this way, by display first identifier and second identifier at least one of, family can be used efficiently decorrelation Parameter, checked in photograph album without oneself going, keep user's operation more convenient.
A kind of photographic method of the embodiment of the present invention obtains the multiframe preview image of camera continuous acquisition;Described in determination Start frame preview image and end frame preview image in multiframe preview image;By the start frame preview image and the end All preview images between frame preview image carry out synthesis processing, obtain target composograph;Meeting default storage condition In the case where, store the target composograph.In this way, since target composograph is the preview according to camera continuous acquisition Image synthesizes to obtain, to improve the synthetic effect of composograph.
It is the structure chart of terminal device provided in an embodiment of the present invention referring to Figure 18, Figure 18, is able to achieve in above-described embodiment The details of photographic method, and reach identical effect.As shown in figure 18, terminal device 1800 includes obtaining module 1801, determining Module 1802, synthesis module 1803 and memory module 1804, obtain module 1801 and determining module 1802 connects, determining module 1802 and synthesis module 1803 connect, synthesis module 1803 and memory module 1804 connect, in which:
Module 1801 is obtained, for obtaining the multiframe preview image of camera continuous acquisition;
Determining module 1802, for determining start frame preview image and end frame preview graph in the multiframe preview image Picture;
Synthesis module 1803, for will be all pre- between the start frame preview image and the end frame preview image Image of looking at carries out synthesis processing, obtains target composograph;
Memory module 1804, for storing the target composograph in the case where meeting default storage condition.
Optionally, the determining module, is used for: the first frame preview image that the camera acquires is determined as start frame Preview image.
Optionally, the determining module, is used for: under the camera is acquired after the generation of the i-th target composograph One frame preview image is determined as start frame preview image, wherein i is positive integer.
Optionally, the determining module, comprising:
First receiving submodule, for receiving the first input of user;
First determines submodule, for the camera is pre- in an input time frame collected for first input Image of looking at is determined as the start frame preview image.
Optionally, the determining module, comprising:
Second receiving submodule, for receiving the second input of user;
Second determines submodule, for the camera is pre- in an input time frame collected for second input Image of looking at is determined as the end frame preview image.
Optionally, the memory module, comprising:
Third receiving submodule, the third for receiving user input;
Sub-module stored stores the target composograph for inputting in response to the third.
Optionally, the memory module, is used for: at the first moment for acquiring the start frame preview image and the end In the case that time interval between second moment of frame preview image is more than or equal to preset preview image acquisition interval, storage The target composograph.
Optionally, the terminal device further include:
First receiving module, for receiving the 4th input of user, the 4th input is pre- to drag according to desired guiding trajectory It is marked with the input known;
The first adjustment module, for adjusting the method for determination of the start frame preview image in response to the 4th input.
Optionally, the terminal device further include:
Second receiving module, for receiving the 5th input of user;
First display module, for showing preset control, the preset control is for being arranged in response to the 5th input The preview image acquisition interval of the target composograph;
Third receiving module, for receiving sixth input of the user to the preset control;
Second adjustment module, for adjusting the value of the preview image acquisition interval in response to the 6th input.
Optionally, the terminal device further includes at least one of following:
Second display module, for showing that first identifier, the first identifier are used to indicate of the preview image of acquisition Number;
Third display module, for showing that second identifier, the second identifier are used to indicate stored target composite diagram The number of picture.
Terminal device 1800 is able to achieve each process that terminal device is realized in the embodiment of the method for Fig. 1 to Figure 17, to keep away Exempt to repeat, which is not described herein again.
The terminal device 1800 of the embodiment of the present invention obtains the multiframe preview image of camera continuous acquisition;Described in determination Start frame preview image and end frame preview image in multiframe preview image;By the start frame preview image and the end All preview images between frame preview image carry out synthesis processing, obtain target composograph;Meeting default storage condition In the case where, store the target composograph.In this way, since target composograph is the preview according to camera continuous acquisition Image synthesizes to obtain, to improve the synthetic effect of composograph.
Referring to Figure 19, a kind of hardware structural diagram of Figure 19 terminal device of each embodiment to realize the present invention should Terminal device 1900 includes but is not limited to: radio frequency unit 1901, network module 1902, audio output unit 1903, input unit 1904, sensor 1905, display unit 1906, user input unit 1907, interface unit 1908, memory 1909, processor The components such as 1910 and power supply 1911.It will be understood by those skilled in the art that the not structure of terminal device structure shown in Figure 19 The restriction of paired terminal equipment, terminal device may include components more more or fewer than diagram, or combine certain components, or The different component layout of person.In embodiments of the present invention, terminal device includes but is not limited to mobile phone, tablet computer, notebook electricity Brain, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 1910, for obtaining the multiframe preview image of camera continuous acquisition;Determine the multiframe preview Start frame preview image and end frame preview image in image;By the start frame preview image and the end frame preview graph All preview images as between carry out synthesis processing, obtain target composograph;In the case where meeting default storage condition, Store the target composograph.In this way, since target composograph is to be synthesized according to the preview image of camera continuous acquisition It obtains, to improve the synthetic effect of composograph.
Optionally, processor 1910 are also used to the first frame preview image that the camera acquires being determined as start frame Preview image.
Optionally, processor 1910 are also used to acquire the camera after the generation of the i-th target composograph next Frame preview image is determined as start frame preview image, wherein i is positive integer.
Optionally, processor 1910 are also used to control the first input that user input unit 1907 receives user;It will be described Camera is determined as the start frame preview image in the input time frame preview image collected of first input.
Optionally, processor 1910 are also used to control the second input that user input unit 1907 receives user;It will be described Camera is determined as the end frame preview image in the input time frame preview image collected of second input.
Optionally, processor 1910 are also used to control the third input that user input unit 1907 receives user;In response to The third input, stores the target composograph.
Optionally, processor 1910 were also used at the first moment for acquiring the start frame preview image and the end In the case that time interval between second moment of frame preview image is more than or equal to preset preview image acquisition interval, storage The target composograph.
Optionally, processor 1910, are also used to control the 4th input that user input unit 1907 receives user, and described the Four inputs is according to the inputs of the default mark of desired guiding trajectory dragging;In response to the 4th input, the start frame preview is adjusted The method of determination of image.
Optionally, processor 1910 are also used to control the 5th input that user input unit 1907 receives user;In response to 5th input, control display unit 1906 show preset control, and the preset control is for being arranged the target composite diagram The preview image acquisition interval of picture;Control the 6th input that user input unit 1907 receives user to the preset control;It rings The 6th input, adjusts the value of the preview image acquisition interval described in Ying Yu.
Optionally, processor 1910 are also used at least one of following: control display unit 1906 shows first identifier, institute State the number that first identifier is used to indicate the preview image of acquisition;The control display second identifier of display unit 1906, described second Mark is used to indicate the number of stored target composograph.
It should be understood that the embodiment of the present invention in, radio frequency unit 1901 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 1910 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 1901 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1901 can also by wireless communication system and network and other Equipment communication.
Terminal device provides wireless broadband internet by network module 1902 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 1903 can be received by radio frequency unit 1901 or network module 1902 or in memory The audio data stored in 1909 is converted into audio signal and exports to be sound.Moreover, audio output unit 1903 can be with Audio output relevant to the specific function that terminal device 1900 executes is provided (for example, call signal receives sound, message sink Sound etc.).Audio output unit 1903 includes loudspeaker, buzzer and receiver etc..
Input unit 1904 is for receiving audio or video signal.Input unit 1904 may include graphics processor (Graphics Processing Unit, GPU) 19041 and microphone 19042, graphics processor 19041 are captured in video In mode or image capture mode by image capture apparatus (such as camera) obtain static images or video image data into Row processing.Treated, and picture frame may be displayed on display unit 1906.Through treated the picture frame of graphics processor 19041 It can store in memory 1909 (or other storage mediums) or carried out via radio frequency unit 1901 or network module 1902 It sends.Microphone 19042 can receive sound, and can be audio data by such acoustic processing.Audio that treated Data can be converted to the lattice that mobile communication base station can be sent to via radio frequency unit 1901 in the case where telephone calling model Formula output.
Terminal device 1900 further includes at least one sensor 1905, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 19061, proximity sensor can when terminal device 1900 is moved in one's ear, Close display panel 19061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify terminal device appearance when static State (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) Deng;Sensor 1905 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, gas Meter, hygrometer, thermometer, infrared sensor etc. are pressed, details are not described herein.
Display unit 1906 is for showing information input by user or being supplied to the information of user.Display unit 1906 can Including display panel 19061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 19061.
User input unit 1907 can be used for receiving the number or character information of input, and generate the use with terminal device Family setting and the related key signals input of function control.Specifically, user input unit 1907 include touch panel 19071 with And other input equipments 19072.Touch panel 19071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 19071 or in touch panel Operation near 19071).Touch panel 19071 may include both touch detecting apparatus and touch controller.Wherein, it touches The touch orientation of detection device detection user is touched, and detects touch operation bring signal, transmits a signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1910, It receives the order that processor 1910 is sent and is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface The multiple types such as sound wave realize touch panel 19071.In addition to touch panel 19071, user input unit 1907 can also include Other input equipments 19072.Specifically, other input equipments 19072 can include but is not limited to physical keyboard, function key (ratio Such as volume control button, switch key), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 19071 can be covered on display panel 19061, when touch panel 19071 detects After touch operation on or near it, processor 1910 is sent to determine the type of touch event, is followed by subsequent processing device 1910 Corresponding visual output is provided on display panel 19061 according to the type of touch event.Although in Figure 19, touch panel 19071 and display panel 19061 are the functions that outputs and inputs of realizing terminal device as two independent components, but In some embodiments, touch panel 19071 can be integrated with display panel 19061 and realize outputting and inputting for terminal device Function, specifically herein without limitation.
Interface unit 1908 is the interface that external device (ED) is connect with terminal device 1900.For example, external device (ED) may include Wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless data port, storage card Port, port, the port audio input/output (I/O), video i/o port, earphone for connecting the device with identification module Port etc..Interface unit 1908 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) simultaneously And by one or more elements that the input received is transferred in terminal device 1900 or it can be used in terminal device Data are transmitted between 1900 and external device (ED).
Memory 1909 can be used for storing software program and various data.Memory 1909 can mainly include storage program Area and storage data area, wherein storing program area can application program needed for storage program area, at least one function (such as Sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (ratio according to mobile phone Such as audio data, phone directory) etc..In addition, memory 1909 may include high-speed random access memory, it can also include non- Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1910 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 1909, and calls and is stored in storage Data in device 1909 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Managing device 1910 may include one or more processing units;Preferably, processor 1910 can integrate application processor and modulation /demodulation Processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor master Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1910.
Terminal device 1900 can also include the power supply 1911 (such as battery) powered to all parts, it is preferred that power supply 1911 can be logically contiguous by power-supply management system and processor 1910, to realize that management is filled by power-supply management system The functions such as electricity, electric discharge and power managed.
In addition, terminal device 1900 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 1910, memory 1909, storage On memory 1909 and the computer program that can run on the processor 1910, the computer program is by processor 1910 Each process of above-mentioned photographic method embodiment is realized when execution, and can reach identical technical effect, to avoid repeating, here It repeats no more.
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 photographic 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 (13)

1. a kind of photographic method characterized by comprising
Obtain the multiframe preview image of camera continuous acquisition;
Determine the start frame preview image and end frame preview image in the multiframe preview image;
All preview images between the start frame preview image and the end frame preview image are subjected to synthesis processing, are obtained To target composograph;
In the case where meeting default storage condition, the target composograph is stored.
2. the method according to claim 1, wherein the start frame in the determination multiframe preview image is pre- Look at image and end frame preview image, comprising:
The first frame preview image that the camera acquires is determined as start frame preview image.
3. the method according to claim 1, wherein the start frame in the determination multiframe preview image is pre- Look at image and end frame preview image, comprising:
The next frame preview image that the camera acquires after the generation of the i-th target composograph is determined as start frame preview graph Picture, wherein i is positive integer.
4. the method according to claim 1, wherein the start frame in the determination multiframe preview image is pre- Look at image and end frame preview image, comprising:
Receive the first input of user;
Input time frame preview image collected by the camera in first input is determined as the start frame Preview image.
5. method according to claim 1 to 4, which is characterized in that the determination multiframe preview image In start frame preview image and end frame preview image, comprising:
Receive the second input of user;
Input time frame preview image collected by the camera in second input is determined as the end frame Preview image.
6. the method according to claim 1, wherein described in the case where meeting default storage condition, storage The target composograph, comprising:
Receive the third input of user;
It is inputted in response to the third, stores the target composograph.
7. the method according to claim 1, wherein described in the case where meeting default storage condition, storage The target composograph, comprising:
Between second moment at the first moment and the end frame preview image that acquire the start frame preview image when Between interval be more than or equal to preset preview image acquisition interval in the case where, store the target composograph.
8. the method according to claim 1, wherein the multiframe preview image for obtaining camera continuous acquisition Before, the method also includes:
The 4th input of user is received, the 4th input is according to the input of the default mark of desired guiding trajectory dragging;
In response to the 4th input, the method for determination of the start frame preview image is adjusted.
9. the method according to claim 1, wherein the start frame in the determination multiframe preview image is pre- It lookes at before image and end frame preview image, the method also includes:
Receive the 5th input of user;
In response to the 5th input, preset control is shown, the preset control is for being arranged the pre- of the target composograph Look at Image Acquisition interval;
Receive sixth input of the user to the preset control;
In response to the 6th input, the value of the preview image acquisition interval is adjusted.
10. the method according to claim 1, wherein described in the case where meeting default storage condition, storage After the target composograph, the method also includes at least one of following:
Show that first identifier, the first identifier are used to indicate the number of the preview image of acquisition;
Show that second identifier, the second identifier are used to indicate the number of stored target composograph.
11. a kind of terminal device characterized by comprising
Module is obtained, for obtaining the multiframe preview image of camera continuous acquisition;
Determining module, for determining start frame preview image and end frame preview image in the multiframe preview image;
Synthesis module, for by all preview images between the start frame preview image and the end frame preview image into Row synthesis processing, obtains target composograph;
Memory module, for storing the target composograph in the case where meeting default storage condition.
12. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute State the computer program run on processor, when the computer program is executed by the processor realize as claim 1 to The step of photographic method described in any one of 10.
13. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence realizes the step of the photographic method as described in any one of claims 1 to 10 when the computer program is executed by processor Suddenly.
CN201811433548.XA 2018-11-28 2018-11-28 A kind of photographic method and terminal device Pending CN109361870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811433548.XA CN109361870A (en) 2018-11-28 2018-11-28 A kind of photographic method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811433548.XA CN109361870A (en) 2018-11-28 2018-11-28 A kind of photographic method and terminal device

Publications (1)

Publication Number Publication Date
CN109361870A true CN109361870A (en) 2019-02-19

Family

ID=65343443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811433548.XA Pending CN109361870A (en) 2018-11-28 2018-11-28 A kind of photographic method and terminal device

Country Status (1)

Country Link
CN (1) CN109361870A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547309A (en) * 2008-03-25 2009-09-30 索尼株式会社 Image processing apparatus, image processing method, and program
CN101557468A (en) * 2008-04-07 2009-10-14 索尼株式会社 Image processing apparatus, image processing method, and program
US20110149111A1 (en) * 2009-12-22 2011-06-23 Prentice Wayne E Creating an image using still and preview
CN104079833A (en) * 2014-07-02 2014-10-01 深圳市中兴移动通信有限公司 Method and device for shooting star orbit videos
CN104104873A (en) * 2014-07-16 2014-10-15 深圳市中兴移动通信有限公司 Orbit shooting method, shooting method of object motion trails and mobile terminal
CN104125407A (en) * 2014-08-13 2014-10-29 深圳市中兴移动通信有限公司 Object motion track shooting method and mobile terminal
CN106803888A (en) * 2017-03-06 2017-06-06 联想(北京)有限公司 The method and electronic equipment of composograph
CN108038825A (en) * 2017-12-12 2018-05-15 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN108174109A (en) * 2018-03-15 2018-06-15 维沃移动通信有限公司 A kind of photographic method and mobile terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547309A (en) * 2008-03-25 2009-09-30 索尼株式会社 Image processing apparatus, image processing method, and program
CN101557468A (en) * 2008-04-07 2009-10-14 索尼株式会社 Image processing apparatus, image processing method, and program
US20110149111A1 (en) * 2009-12-22 2011-06-23 Prentice Wayne E Creating an image using still and preview
CN104079833A (en) * 2014-07-02 2014-10-01 深圳市中兴移动通信有限公司 Method and device for shooting star orbit videos
CN104104873A (en) * 2014-07-16 2014-10-15 深圳市中兴移动通信有限公司 Orbit shooting method, shooting method of object motion trails and mobile terminal
CN104125407A (en) * 2014-08-13 2014-10-29 深圳市中兴移动通信有限公司 Object motion track shooting method and mobile terminal
CN106803888A (en) * 2017-03-06 2017-06-06 联想(北京)有限公司 The method and electronic equipment of composograph
CN108038825A (en) * 2017-12-12 2018-05-15 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN108174109A (en) * 2018-03-15 2018-06-15 维沃移动通信有限公司 A kind of photographic method and mobile terminal

Similar Documents

Publication Publication Date Title
CN107580143B (en) A kind of display methods and mobile terminal
CN109361869A (en) A kind of image pickup method and terminal
CN109862258A (en) A kind of image display method and terminal device
CN107592459A (en) A kind of photographic method and mobile terminal
CN109151546A (en) A kind of method for processing video frequency, terminal and computer readable storage medium
CN107483836B (en) A kind of image pickup method and mobile terminal
CN108495029A (en) A kind of photographic method and mobile terminal
CN109388304A (en) A kind of screenshotss method and terminal device
CN108833709A (en) A kind of the starting method and mobile terminal of camera
CN108989672A (en) A kind of image pickup method and mobile terminal
CN109788204A (en) Shoot processing method and terminal device
CN110213440A (en) A kind of images share method and terminal
CN108924412A (en) A kind of image pickup method and terminal device
CN109491738A (en) A kind of control method and terminal device of terminal device
CN109151367A (en) A kind of video call method and terminal device
CN109062411A (en) A kind of screen luminance adjustment method and mobile terminal
CN109218626A (en) A kind of photographic method and terminal
CN109803087A (en) A kind of image generating method and terminal device
CN109976629A (en) Image display method, terminal and mobile terminal
CN108108079A (en) A kind of icon display processing method and mobile terminal
CN109683802A (en) A kind of icon moving method and terminal
CN109639569A (en) A kind of social communication method and terminal
CN109688253A (en) A kind of image pickup method and terminal
CN109407948A (en) A kind of interface display method and mobile terminal
CN108174081B (en) A kind of image pickup method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190219