CN109922256A - Image pickup method and terminal device - Google Patents

Image pickup method and terminal device Download PDF

Info

Publication number
CN109922256A
CN109922256A CN201910082212.1A CN201910082212A CN109922256A CN 109922256 A CN109922256 A CN 109922256A CN 201910082212 A CN201910082212 A CN 201910082212A CN 109922256 A CN109922256 A CN 109922256A
Authority
CN
China
Prior art keywords
image
terminal device
reference object
preview
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910082212.1A
Other languages
Chinese (zh)
Other versions
CN109922256B (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 CN201910082212.1A priority Critical patent/CN109922256B/en
Publication of CN109922256A publication Critical patent/CN109922256A/en
Application granted granted Critical
Publication of CN109922256B publication Critical patent/CN109922256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The embodiment of the present invention provides a kind of image pickup method and terminal device, is related to field of terminal technology, and when for solving target object between multiple objects, user obtains the time-consuming and laborious problem of mode of the only photo comprising target object.This method comprises: receiving the first operation of user's input;In response to the first operation, the first image collection is shown in a targeted way, first image collection includes the N images that reference object in the preview image to the acquisition of the first moment is split generation, each image in N images includes at least one reference object in preview image, and N is the integer more than or equal to 2;Receive the second operation of user's input;In response to the second operation, at least image in the first image collection is saved.

Description

Image pickup method and terminal device
Technical field
The present invention relates to field of terminal technology more particularly to a kind of image pickup methods and terminal device.
Background technique
It is taken pictures by terminal device very universal universal in daily life, the performance of taking pictures of terminal device, which has become, to be commented One important indicator of valence terminal device.
Although user is in daily shooting currently, user can shoot photo high-definition by terminal device Usually there is the demand for shooting one or more of multiple objects put together, such as: user wants shooting and is placed in exhibition Target object on platform, but it is not desired to other objects for occurring on exhibition booth in the photo of shooting.In this case, if user wants to clap One is taken the photograph only including the photo of target object, then needs to remove on other objects around target object, and in special angle pair Target object is shot, or first shoots the photo including other objects around target object and target object, Then the photo of shooting is cut out again, to obtain photo only including target object.That is, if target reference object is located at Between multiple objects, then user's acquisition only includes that the mode of the photo of target reference object is time-consuming and laborious, disadvantageous inhabitant shooting body It tests.
Summary of the invention
The embodiment of the present invention provides a kind of image pickup method and terminal device, obtains for solving user and only shoots comprising target The time-consuming and laborious problem of the mode of the photo of object.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of image pickup methods, comprising:
Receive the first operation of user's input;
In response to first operation, the first image collection is shown in a targeted way, and the first image set includes pair Reference object in the preview image of first moment acquisition is split N images of generation, and the N opens each in images Image includes at least one reference object in the preview image, and N is the integer more than or equal to 2;
Receive the second operation of user's input;
In response to second operation, at least image in the first image set is saved.
Second aspect, the embodiment of the present invention provide a kind of terminal device, comprising:
Receiving unit, for receiving the first operation of user's input;
Display unit, for showing the first image collection, first figure in a targeted way in response to first operation It includes N images that reference object in preview image to the acquisition of the first moment is split generation, the N figures that image set, which closes, The each image as in includes at least one reference object in the preview image, and N is the integer more than or equal to 2;
The receiving unit is also used to receive the second operation of user's input;
Storage unit, for saving at least image in the first image set in response to second operation.
The third aspect the embodiment of the invention provides a kind of terminal device, including processor, memory and is 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 Now the step of image pickup method as described in relation to the first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Computer program is stored in matter, and image pickup method as described in relation to the first aspect is realized when the computer program is executed by processor Step.
Image pickup method provided in an embodiment of the present invention, when receiving the first operation of user's input, in response to the first behaviour Show that the reference object in the preview image to the acquisition of the first moment is split N images of generation in a targeted way, so It receives the second operation of user's input again afterwards, and in response to second operation, saves the preview image acquired to the first moment In reference object be split at least image in the N images of generation;Due to based on the N in the first image collection Image is generation to be split to the reference object in preview image, and each image in N images includes described pre- At least one reference object look in image, therefore even if user wants the reference object of shooting positioned at multiple objects between, it is logical It crosses image pickup method provided in an embodiment of the present invention and can also be generated based on the preview image acquired in real time and only want to clap comprising user The image for the reference object taken the photograph, and then saving this by centainly operation only includes the image that user wants the reference object of shooting, Therefore when the embodiment of the present invention can solve target object between multiple objects, it only includes target reference object that user, which obtains, Photo the time-consuming and laborious problem of mode.
Detailed description of the invention
Fig. 1 is the architecture diagram of Android operation system provided by the embodiments of the present application;
Fig. 2 is the step flow chart of image pickup method provided in an embodiment of the present invention;
Fig. 3 is the signal for the image that the reference object provided in an embodiment of the present invention in preview image is split generation Figure;
Fig. 4 is one of the surface chart of application scenarios of image pickup method provided in an embodiment of the present invention;
Fig. 5 is the two of the surface chart of the application scenarios of image pickup method provided in an embodiment of the present invention;
Fig. 6 is the three of the surface chart of the application scenarios of image pickup method provided in an embodiment of the present invention;
Fig. 7 is the four of the surface chart of the application scenarios of image pickup method provided in an embodiment of the present invention;
Fig. 8 is the five of the surface chart of the application scenarios of image pickup method provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 10 is the hardware structural diagram 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.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein Middle character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or";In formula, character "/" indicates forward-backward correlation Object is the relationship of a kind of " being divided by ".If explanation is not added, " multiple " herein refer to two or more.
For the ease of clearly describing the technical solution of the embodiment of the present invention, in an embodiment of the present invention, use " the One ", the printed words such as " second " distinguish function or the essentially identical identical entry of effect or similar item, and those skilled in the art can To understand that the printed words such as " first ", " second " are not defined quantity and execution order.
In the embodiment of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This hair Be described as in bright embodiment " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as than it Its embodiment or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words be intended to Related notion is presented in specific ways.In embodiments of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or It is more than two.
In the prior art, when target object is between multiple objects, if the then desired shooting one of user only includes The photo of target object then needs to remove on other objects around target object, and carries out in special angle to target object Shooting, or the photo including other objects around target object and target object is first shot, then again to shooting Photo be cut out, thus obtain only include target object photo, user obtain only comprising target object photo side Formula is time-consuming and laborious, disadvantageous inhabitant shooting experience.
Based on the above issues, the embodiment of the invention provides a kind of image pickup method and terminal device, which is being connect When receiving the first operation of user's input, the preview image to the acquisition of the first moment is shown in a targeted way in response to the first operation In reference object be split the N images of generation, then receive the second operation of user's input again, and in response to described the Two operations save the reference object in the preview image acquired to the first moment and are split in N images of generation at least One image;Due to being to be split generation to the reference object in preview image based on the N in the first image collection images , and each image in N images includes at least one reference object in the preview image, therefore even if user thinks For the reference object to be shot between multiple objects, the image pickup method provided through the embodiment of the present invention also can be based on real-time The preview image of acquisition generates the image that the reference object of shooting is only wanted comprising user, and then saves this only by centainly operation The image of the reference object of shooting is wanted comprising user, therefore the embodiment of the present invention can solve target object and be located at multiple objects Between when, user obtains the time-consuming and laborious problem of mode of the only photo comprising target reference object.
Below by taking Android operation system as an example, software applied by image pickup method provided by the embodiments of the present application is introduced Environment.
As shown in FIG. 1, FIG. 1 is a kind of possible Android operation systems applied by image pickup method provided by the embodiments of the present application The configuration diagram of system.In Fig. 1, the framework of Android operation system includes 4 layers, is respectively as follows: application layer, application program frame Rack-layer, system Runtime Library layer and inner nuclear layer (being specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation for the frame for abiding by application program In the case where principle, some application programs are developed based on application framework layer.
System Runtime Library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour As system it is provided needed for all kinds of resources.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present application, developer can be based on above-mentioned Android as shown in Figure 1 The system architecture of operating system, the software program of image pickup method provided by the embodiments of the present application is realized in exploitation, so that the bat The method of taking the photograph can be run based on Android operation system as shown in Figure 1.That is, processor or terminal device can be by Androids The software program is run in operating system realizes image pickup method provided by the embodiments of the present application.
Terminal device provided by the embodiments of the present application can be mobile phone, tablet computer, laptop, super mobile personal Computer (ultra-mobile personal computer, UMPC), net book, personal digital assistant (personal Digital assistant, PDA), smartwatch, the terminal devices such as Intelligent bracelet or the terminal device can also be other The terminal device of type, the embodiment of the present application are not construed as limiting.
The embodiment of the present invention provides a kind of image pickup method, specifically, the image pickup method includes as follows referring to shown in Fig. 2 Step S11 to S14.
S11, the first operation for receiving user's input.
Specifically, first operation can be for being shown on terminal device screen for triggering the virtual key taken pictures Clicking operation, for the physical button on terminal device pressing operation or user input voice refer to The certain gestures of order or user's input.
In some embodiments of the invention, the certain gestures can be click gesture, slip gesture, Pressure identification hand Gesture, long-pressing gesture, area change gesture, any one double by gesture, double-click gesture.
S12, it is operated in response to described first, shows the first image collection in a targeted way.
Wherein, the first image set includes that the reference object in the preview image to the acquisition of the first moment is split The N of generation images, it includes at least one reference object in the preview image, N that the N, which opens each image in images, For the integer more than or equal to 2.
It should be noted that since the first image collection includes the reference object in the preview image acquired to the first moment N images of generation are split, therefore before showing the first image collection in a targeted way, it is necessary first to the first moment Reference object in the preview image of acquisition is split N images of generation;The first moment was adopted in embodiments of the present invention The N images that reference object in the preview image of collection is split generation may include the following two kinds specific implementation:
Implementation a, after receiving the first operation, to the first moment acquisition preview image in reference object into The N images that row segmentation generates.
That is, terminal device divides the reference object in the preview image of the first moment acquisition in response to the first operation Cut N images of generation.
Implementation b, N images of generation are split to reference object in shooting preview picture in real time.
N images are generated since terminal device is in real time split reference object in shooting preview picture, it is above-mentioned Step shows the first image collection in response to first operation in a targeted way, it is only necessary to, will be to the in response to the first operation The N images that reference object in the preview image of one moment acquisition is split generation are shown, without carrying out figure again As dividing processing, therefore the response speed of terminal device can be improved in above-mentioned implementation b.
Further, the first moment can be by determining at the time of the first operation of terminal device screening-mode and input.Such as: Terminal device is shot immediately after receiving the first input under current shooting mode, then the first moment was the first operation of input At the time of.Again for example: terminal device receives under current shooting mode to postpone 3 second beats after the first input and takes the photograph, then the first moment 3 seconds after at the time of operation for input first.
Further, it can use image recognition technology in the embodiment of the present invention to each reference object in preview image It is split, combines to generate N images, and be split N images of generation to the reference object in preview image May include: the preview image, segmentation preview image in a reference object formed image, segmentation preview image in At least one of the image that two or more reference objects are formed.
Illustratively, referring to shown in Fig. 3, the preview image 31 that the t1 moment acquires includes the image 311 of reference object A, claps The image 312 and background image 313 of object B are taken the photograph, then the reference object in the preview image that can be acquired to the t1 moment carries out Divide 4 images generated (4 images are respectively image 32, image 33, image 34 and image 35), wherein image 31 is Preview image (the image B and background image of image, reference object including reference object A), image 32 include reference object A Image, the image of image 33 including reference object B, image 34 includes the combination image (phase of reference object A and reference object B Than in preview image, image 34 does not include background image).
Further, the reference object in the embodiment of the present invention can be one of object, personage, landscape, animal etc. Or it is a variety of, the embodiment of the present invention is not construed as limiting this.
It should also be noted that, above-mentioned image pickup method can be the side executed under one of terminal device screening-mode Method starts to execute above-mentioned image pickup method when user starts camera and the mode is selected to take pictures.Also, terminal device may be used also To include other photographing modes, such as: professional photographing mode, panoramic photographing mode, U.S. face photographing mode etc., the embodiment of the present invention In this is not construed as limiting, terminal device of being subject to is able to carry out above-mentioned image pickup method.
In addition, the maximum value of N can also be arranged in those skilled in the art according to actual needs, and such as: the maximum value of N is set It is set to 9.That is, being split 9 images at most generated to the reference object in preview image.
Below to showing that the mode (targeted manner) of the first image collection is described in detail in the embodiment of the present invention.
Mode one,
The first image collection is shown in above-mentioned steps S12 in a targeted way, comprising:
Each image in the first image set is shown one by one.
It illustratively, by mobile phone, the first image collection of terminal device include Fig. 3 institute diagram in Fig. 4 referring to shown in Fig. 4 As 31, image 32, image 33 and image 34 to exemplify, as shown in figure 4, the first image set is only shown in display interface simultaneously An image in conjunction.In addition, as shown in figure 4, user can be empty by the first virtual key 41 or second to display interface The operation of quasi- key 42 switches display interface between display image 31, image 32, image 33 and image 34, and When showing any image in the first image collection, it can also be used to save the first empty of the image by Overlapping display on the image Quasi- key 44 and the second virtual key 43 for deleting the image.
Implementation two,
The first image collection is shown in above-mentioned steps S12 in a targeted way, comprising:
Displaying target interface includes each image in the first image set in the target interface.
It illustratively, referring to Figure 5, include Fig. 3 institute diagram by mobile phone, the first image collection of terminal device in Fig. 5 As 31, image 32, image 33 and image 34 to exemplify, as shown in figure 5, the first image collection is shown in display interface simultaneously In all images (image 31, image 32, image 33 and image 34).In addition, as shown in figure 5, in display displaying target circle When face, Overlapping display it can also be used to indicate on each image and choose the corresponding image or the unselected corresponding image Virtual key 51, and user can also make each image in selected state or unselected shape by the operation to virtual key 51 Switch between state, and display user's triggering is to the second virtual key 52 for choosing image to be saved.
S13, the second operation for receiving user's input.
Specifically, the second operation can be different and different according to the mode (targeted manner) of the first image collection of display.Example Such as: when showing the first image collection using display mode shown in Fig. 4, the second operation can be the point to the second virtual key 42 Operation is hit, when showing the first image collection using display mode shown in fig. 5, the second operation can be the point to virtual key 52 Hit operation.
In addition, above-mentioned second operation can also be for the pressing operation to the physical button on terminal device, either The phonetic order of user's input or the certain gestures of user's input.
In some embodiments of the invention, the certain gestures can be click gesture, slip gesture, Pressure identification hand Gesture, long-pressing gesture, area change gesture, any one double by gesture, double-click gesture.
S14, it is operated in response to described second, saves at least image in the first image set.
Specifically, when showing the first image collection using display mode shown in Fig. 4, and the second operation is virtual to second The clicking operation of key 42 then saves the image currently shown, when use display mode shown in fig. 5 shows the first image set It closes, and the second operation is the clicking operation to the second virtual key 52, then saves the image that all ought be chosen.
Image pickup method provided in an embodiment of the present invention, when receiving the first operation of user's input, in response to the first behaviour Show that the reference object in the preview image to the acquisition of the first moment is split N images of generation in a targeted way, so It receives the second operation of user's input again afterwards, and in response to second operation, saves the preview image acquired to the first moment In reference object be split at least image in the N images of generation;Due to based on the N in the first image collection Image is generation to be split to the reference object in preview image, and each image in N images includes described pre- At least one reference object look in image, therefore even if user wants the reference object of shooting positioned at multiple objects between, it is logical It crosses image pickup method provided in an embodiment of the present invention and can also be generated based on the preview image acquired in real time and only want to clap comprising user The image for the reference object taken the photograph, and then saving this by centainly operation only includes the image that user wants the reference object of shooting, Therefore when the embodiment of the present invention can solve target object between multiple objects, it only includes target reference object that user, which obtains, Photo the time-consuming and laborious problem of mode.
Optionally, before above-mentioned steps S12 (the first operation for receiving user's input), bat provided in an embodiment of the present invention Take the photograph method further include:
It shows shooting preview interface, includes preview image in the shooting preview interface.
That is, the shooting preview interface of the display content of shooting preview interface and traditional style of shooting in the embodiment of the present invention It shows that content is similar, is the preview image acquired in real time.
Further, image pickup method provided in an embodiment of the present invention applies also for multi-screen terminal device, when above-mentioned reality When applying the image pickup method of example offer applied to multi-screen terminal device, to display shooting preview interface and first in above-described embodiment The display methods of image collection is specifically as follows:
Show shooting preview interface, comprising: show shooting preview interface on the first screen of terminal device;
It is described to show the first image collection in a targeted way, comprising: with target on the second screen of the terminal device Mode shows the first image set.
With show that the first image collection is similar in a targeted way on the first screen of terminal device, it is above-mentioned in the terminal The first image set is shown in a targeted way on second screen of equipment, comprising:
Show each image in the first image set one by one on the second screen of the terminal device;
Alternatively,
The displaying target interface on the second screen of the terminal device includes the first image in the target interface Each image in set.
Illustratively, referring to shown in Fig. 6, the terminal device includes the first screen 61 and the second screen 62, the terminal Shooting preview interface is shown on first screen 61 of equipment, shows described first one by one on the second screen 62 of the terminal device Each image in image collection.
Illustratively, referring to shown in Fig. 7, the terminal device includes the first screen 71 and the second screen 72, the terminal Shooting preview interface, displaying target interface on the second screen 72 of the terminal device, institute are shown on first screen 71 of equipment It states in target interface including each image in the first image set.
Optionally, before above-mentioned steps S12 (the first operation for receiving user's input), bat provided in an embodiment of the present invention Take the photograph method further include:
It shows shooting preview interface, includes being split to the reference object in preview image in the shooting preview interface The N of generation images.
That is, the display mode of shooting preview interface can be with shooting preview circle of traditional style of shooting in the embodiment of the present invention The display mode in face is different, in the embodiment of the present invention display content of shooting preview interface to the reference object in preview image into The N images that row segmentation generates, and the display content of the shooting preview interface of traditional style of shooting is the preview graph acquired in real time Picture.
It should be noted that the shooting preview interface display mode (preview image or show to preview that display acquires in real time Reference object in image is split N images of generation) it can be by user's control.
It further, include N that generation is split to the reference object in preview image in shooting preview interface In the case where image, method provided in an embodiment of the present invention further includes following steps a to d.
A, the third operation of user's input is received.
Wherein, the third operation is the first object image in the N images shown to the shooting preview interface Operation.
Specifically, the third operation can be for the click behaviour for being shown in first object image on terminal device screen Make, for the phonetic order of pressing operation or user's input to the physical button on terminal device, either The certain gestures of user's input.
In some embodiments of the invention, the certain gestures can be click gesture, slip gesture, Pressure identification hand Gesture, long-pressing gesture, area change gesture, any one double by gesture, double-click gesture.
B, it is operated in response to the third, display includes the preview graph of target reference object in the shooting preview interface Picture.
Wherein, the target reference object is the reference object in the first object image.
Illustratively, shown in Fig. 8, the first operation is the first object figure in 4 images shown in shooting preview interface As 81 operation, the reference object in first object image 81 is reference object A, then shooting pair is shown in shooting preview interface As the preview image 82 of A.
C, the 4th operation of user's input is received.
Specifically, the 4th operation can be for being shown on terminal device screen for triggering the virtual key taken pictures Clicking operation, for the physical button on terminal device pressing operation or user input voice refer to The certain gestures of order or user's input.
In some embodiments of the invention, the certain gestures can be click gesture, slip gesture, Pressure identification hand Gesture, long-pressing gesture, area change gesture, any one double by gesture, double-click gesture.
D, in response to the 4th operation, the second target image is saved.
Wherein, second target image is the preview image for including the target object at the second moment.
Equally, the second moment can be by determining at the time of the second operation of terminal device screening-mode and input.Illustratively, At the time of second moment can operate for input second.
In above-described embodiment, after user is to the input third operation of first object image, first is shown in preview interface The preview image of reference object in target image, then in the 4th operation for receiving user's input, and in response to the described 4th Operation, includes the preview image of the target object when being stored in for the second moment, therefore user can be pre- through the foregoing embodiment The image of interface real time inspection target reference object is look at, to further promote the shooting experience of user.
Further, image pickup method provided in an embodiment of the present invention applies also for multi-screen terminal device, when above-mentioned reality When applying the image pickup method of example offer applied to multi-screen terminal device, operated in above-mentioned steps b in response to the third, in the bat Take the photograph the preview image that display in preview interface includes target reference object, comprising: first in terminal device shows screen display Preview image including target reference object;
After receiving the 4th operation of user's input, the method also includes:
Show the second image collection, second image set in a targeted way on the second display screen of the terminal device Conjunction includes the N images that reference object in the preview image to second moment acquisition is split generation.
That is, method provided in an embodiment of the present invention further include: by the shooting pair in the preview image acquired to the second moment N images as being split generation are sent on the second screen of terminal device, and on the second screen of terminal device with Targeted manner is shown.
Equally, show that the second image collection may include: in a targeted way on the second display screen of the terminal device
Each image in the second image collection is shown one by one;
Alternatively,
Displaying target interface includes each image in the first image set in the target interface.
The embodiment of the present application can carry out the division of functional module according to above method example to terminal device etc..For example, The each functional module of each function division can be corresponded to, two or more functions can also be integrated in a module In.Above-mentioned integrated module both can take the form of hardware realization, can also be realized in the form of software function module.It needs It is noted that be schematical, only a kind of logical function partition to the division of module in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Using integrated unit, Fig. 9 shows one kind of terminal device involved in above-described embodiment Possible structural schematic diagram, the terminal device 900 include:
Receiving unit 91, for the first operation for receiving user's input;
Display unit 92, for showing the first image collection in a targeted way in response to first operation, described first Image collection includes the N images that reference object in the preview image to the acquisition of the first moment is split generation, and the N Each image in image includes at least one reference object in the preview image, and N is the integer more than or equal to 2;
The receiving unit 91 is also used to receive the second operation of user's input;
Storage unit 93, for saving at least one figure in the first image set in response to second operation Picture.
Optionally, the display unit 92 is also used in front of the first operation that the receiving unit receives user's input, shows Show shooting preview interface, includes preview image in the shooting preview interface.
Optionally, the display unit 92, specifically for showing shooting preview interface on the first screen of terminal device, And the first image set is shown in a targeted way on the second screen of the terminal device.
Optionally, the display unit 92 is also used in front of the first operation that the receiving unit receives user's input, shows Show shooting preview interface, includes N for being split generation to the reference object in preview image in the shooting preview interface Image.
Optionally, the receiving unit 91, also with the third operation for receiving user's input, the third operation is to described The operation of first object image in the N that shooting preview interface is shown images;
The display unit 92 is also operated in response to the third, and display includes mesh in the shooting preview interface The preview image of reference object is marked, the target reference object is the reference object in the first object image;
The receiving unit 91, also with the 4th operation for receiving user's input;
The storage unit 93 saves the second target image, the second target figure also in response to the 4th operation As the preview image at the second moment to include the target object.
Optionally, the display unit 92 includes that target is clapped specifically for the first display screen display in terminal device The preview image for taking the photograph object shows the second image collection, institute in a targeted way on the second display screen in the terminal device Stating the second image collection includes the N figures that the reference object in the preview image acquired to second moment is split generation Picture.
Optionally, the display unit 92, specifically for showing each image in the first image set one by one, Or displaying target interface, it include each image in the first image set in the target interface.
Terminal device provided in an embodiment of the present invention, when receiving the first operation of user's input, in response to the first behaviour Show that the reference object in the preview image to the acquisition of the first moment is split N images of generation in a targeted way, so It receives the second operation of user's input again afterwards, and in response to second operation, saves the preview image acquired to the first moment In reference object be split at least image in the N images of generation;Due to based on the N in the first image collection Image is generation to be split to the reference object in preview image, and each image in N images includes described pre- At least one reference object look in image, therefore even if user wants the reference object of shooting positioned at multiple objects between, it is logical It crosses image pickup method provided in an embodiment of the present invention and can also be generated based on the preview image acquired in real time and only want to clap comprising user The image for the reference object taken the photograph, and then saving this by centainly operation only includes the image that user wants the reference object of shooting, Therefore when the embodiment of the present invention can solve target object between multiple objects, it only includes target reference object that user, which obtains, Photo the time-consuming and laborious problem of mode.
A kind of hardware structural diagram of terminal device of the embodiment of Figure 10 to realize the present invention, the terminal device include But be not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display are single The components such as member 106, user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111.This field Technical staff is appreciated that terminal device structure shown in Figure 10 does not constitute the restriction to terminal device, and terminal device can To include perhaps combining certain components or different component layouts than illustrating more or fewer components.Implement in the present invention In example, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable sets Standby and pedometer etc..
Wherein, user input unit 107, for receiving the first operation of user's input;
Display unit 106, for showing the first image collection in a targeted way in response to first operation, described the One image collection includes the N images that reference object in the preview image to the acquisition of the first moment is split generation, the N Opening each image in image includes at least one reference object in the preview image, and N is whole more than or equal to 2 Number;
User input unit 107 is also used to receive the second operation of user's input;
Memory 109, for saving at least one figure in the first image set in response to second operation Picture.
Terminal device provided in an embodiment of the present invention, when receiving the first operation of user's input, in response to the first behaviour Show that the reference object in the preview image to the acquisition of the first moment is split N images of generation in a targeted way, so It receives the second operation of user's input again afterwards, and in response to second operation, saves the preview image acquired to the first moment In reference object be split at least image in the N images of generation;Due to based on the N in the first image collection Image is generation to be split to the reference object in preview image, and each image in N images includes described pre- At least one reference object look in image, therefore even if user wants the reference object of shooting positioned at multiple objects between, it is logical It crosses image pickup method provided in an embodiment of the present invention and can also be generated based on the preview image acquired in real time and only want to clap comprising user The image for the reference object taken the photograph, and then saving this by centainly operation only includes the image that user wants the reference object of shooting, Therefore when the embodiment of the present invention can solve target object between multiple objects, it only includes target reference object that user, which obtains, Photo the time-consuming and laborious problem of mode.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 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 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication system and network and other set Standby communication.
Terminal device provides wireless broadband internet by network module 102 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 103 can be received by radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end The associated audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end equipment executes. Audio output unit 103 includes loudspeaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 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 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 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 101 is converted in the case where telephone calling model.
Terminal device further includes at least one sensor 105, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment light The light and shade of line adjusts the brightness of display panel 1061, and proximity sensor can close display when terminal device is moved in one's ear Panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three in multiple directions Axis) acceleration size, can detect that size and the direction of gravity when static, it is (such as horizontal to can be used to identify terminal device posture Vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, humidity Meter, thermometer, infrared sensor etc., details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 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 1061.
User input unit 107 can be used for receiving the number of input or character information and generate and the user of terminal device Setting and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 and its His input equipment 1072.Touch panel 1071, also referred to as touch screen collect the touch operation (ratio of user on it or nearby Such as user is using finger, stylus any suitable object or attachment on touch panel 1071 or near touch panel 1071 Operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus The touch orientation of user is detected, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller Touch information is received from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receives processor 110 orders sent simultaneously are executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 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 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touching The type for touching event provides corresponding visual output on display panel 1061.Although in Figure 10, touch panel 1071 and aobvious Show that panel 1061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of terminal device, it is specific this Place is without limitation.
Interface unit 108 is the interface that external device (ED) is connect with terminal device.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module Etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will The one or more elements or can be used in terminal device and external device (ED) that the input received is transferred in terminal device Between transmit data.
Memory 109 can be used for storing software program and various data.Memory 109 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 109 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 110 is the control centre of terminal device, utilizes the more of various interfaces and the entire terminal device of connection A part is stored in memory by running or executing the software program being stored in memory 109 and/or module and call Data in 109 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Processing Device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Terminal device can also include the power supply 111 (such as battery) powered to multiple components, it is preferred that power supply 111 can With by power-supply management system and processor 110 it is logically contiguous, thus by power-supply management system realize management charge, electric discharge with And the functions such as power managed.
In addition, terminal device includes some unshowned functional modules, details are not described herein.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize multiple processes of image pickup method described in above-described embodiment when being executed by processor, and Identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, computer readable storage medium, it is such as read-only 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 side equipment etc.) execute method described in various embodiments 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 (16)

1. a kind of image pickup method characterized by comprising
Receive the first operation of user's input;
In response to first operation, the first image collection is shown in a targeted way, the first image set includes to first Reference object in the preview image of moment acquisition is split N images of generation, each image in the N images Including at least one reference object in the preview image, N is the integer more than or equal to 2;
Receive the second operation of user's input;
In response to second operation, at least image in the first image set is saved.
2. the method according to claim 1, wherein receive user input first operation before, the side Method further include:
It shows shooting preview interface, includes preview image in the shooting preview interface.
3. according to the method described in claim 2, it is characterized in that,
The display shooting preview interface, comprising: show shooting preview interface on the first screen of terminal device;
It is described to show the first image collection in a targeted way, comprising: on the second screen of the terminal device in a targeted way Show the first image set.
4. the method according to claim 1, wherein receive user input first operation before, the side Method further include:
It shows shooting preview interface, includes that generation is split to the reference object in preview image in the shooting preview interface N images.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
The third operation of user's input is received, the third operation is in the N images shown to the shooting preview interface The operation of first object image;
It is operated in response to the third, display includes the preview image of target reference object, institute in the shooting preview interface Stating target reference object is the reference object in the first object image;
Receive the 4th operation of user's input;
In response to the 4th operation, the second target image is saved, second target image is includes institute at the second moment State the preview image of target object.
6. according to the method described in claim 5, it is characterized in that, the display in the shooting preview interface includes target The preview image of reference object, comprising:
In the preview image that the first display screen display of terminal device includes target reference object;
After receiving the 4th operation of user's input, the method also includes:
Show the second image collection, the second image collection packet in a targeted way on the second display screen of the terminal device Include the N images that the reference object in the preview image to second moment acquisition is split generation.
7. method according to any one of claims 1 to 6, which is characterized in that described to show the first image in a targeted way Set, comprising:
Each image in the first image set is shown one by one;
Alternatively,
Displaying target interface includes each image in the first image set in the target interface.
8. a kind of terminal device characterized by comprising
Receiving unit, for receiving the first operation of user's input;
Display unit, for showing the first image collection, the first image collection in a targeted way in response to first operation Conjunction includes the N images that reference object in the preview image to the acquisition of the first moment is split generation, in the N images Each image include at least one reference object in the preview image, N is the integer more than or equal to 2;
The receiving unit is also used to receive the second operation of user's input;
Storage unit, for saving at least image in the first image set in response to second operation.
9. terminal device according to claim 8, which is characterized in that
The display unit is also used in front of the first operation that the receiving unit receives user's input, shows shooting preview circle Face includes preview image in the shooting preview interface.
10. terminal device according to claim 9, which is characterized in that
The display unit, specifically for showing shooting preview interface on the first screen of terminal device, and at the end The first image set is shown in a targeted way on second screen of end equipment.
11. terminal device according to claim 8, which is characterized in that
The display unit is also used in front of the first operation that the receiving unit receives user's input, shows shooting preview circle Face includes the N images that generation is split to the reference object in preview image in the shooting preview interface.
12. terminal device according to claim 11, which is characterized in that
The receiving unit, also with the third operation for receiving user's input, the third operation is to the shooting preview interface The operation of first object image in the N of display images;
The display unit is also operated in response to the third, and display includes that target is shot in the shooting preview interface The preview image of object, the target reference object are the reference object in the first object image;
The receiving unit, also with the 4th operation for receiving user's input;
The storage unit, also in response to it is described 4th operation, save the second target image, second target image be It include the preview image of the target object when the second moment.
13. terminal device according to claim 12, which is characterized in that
The display unit includes the preview graph of target reference object specifically for the first display screen display in terminal device Picture shows the second image collection, second image collection in a targeted way on the second display screen in the terminal device N images of generation are split including the reference object in the preview image that acquires to second moment.
14. according to the described in any item terminal devices of claim 8 to 13, which is characterized in that
The display unit, specifically for showing each image or displaying target in the first image set one by one Interface includes each image in the first image set in the target interface.
15. a kind of terminal device characterized by comprising 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 7 is realized when the computer program is executed by the processor Any one of described in image pickup method the step of.
16. 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 image pickup method as described in any one of claims 1 to 7 when the computer program is executed by processor Suddenly.
CN201910082212.1A 2019-01-28 2019-01-28 Shooting method and terminal equipment Active CN109922256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910082212.1A CN109922256B (en) 2019-01-28 2019-01-28 Shooting method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910082212.1A CN109922256B (en) 2019-01-28 2019-01-28 Shooting method and terminal equipment

Publications (2)

Publication Number Publication Date
CN109922256A true CN109922256A (en) 2019-06-21
CN109922256B CN109922256B (en) 2020-09-15

Family

ID=66961007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910082212.1A Active CN109922256B (en) 2019-01-28 2019-01-28 Shooting method and terminal equipment

Country Status (1)

Country Link
CN (1) CN109922256B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111093026A (en) * 2019-12-30 2020-05-01 维沃移动通信(杭州)有限公司 Video processing method, electronic device and computer-readable storage medium
CN112492199A (en) * 2020-11-24 2021-03-12 维沃移动通信有限公司 Photographing method and device and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006261711A (en) * 2005-03-15 2006-09-28 Seiko Epson Corp Image generating apparatus
CN102467574A (en) * 2010-11-15 2012-05-23 Lg电子株式会社 Mobile terminal and metadata setting method thereof
CN102893595A (en) * 2011-03-18 2013-01-23 索尼公司 Image processing device and method and program
CN104079812A (en) * 2013-03-25 2014-10-01 联想(北京)有限公司 Method and device of acquiring image information
US20150304566A1 (en) * 2014-04-16 2015-10-22 Samsung Electronics Co., Ltd. Display apparatus and image composition method thereof
CN105959567A (en) * 2016-06-21 2016-09-21 维沃移动通信有限公司 Photographing control method and mobile terminal
CN107872614A (en) * 2016-09-27 2018-04-03 中兴通讯股份有限公司 A kind of image pickup method and filming apparatus
CN107888833A (en) * 2017-11-28 2018-04-06 维沃移动通信有限公司 A kind of image capturing method and mobile terminal
US20180295273A1 (en) * 2017-04-10 2018-10-11 Sony Corporation Device and method for detecting regions in an image
CN108702452A (en) * 2017-06-09 2018-10-23 华为技术有限公司 A kind of image capturing method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006261711A (en) * 2005-03-15 2006-09-28 Seiko Epson Corp Image generating apparatus
CN102467574A (en) * 2010-11-15 2012-05-23 Lg电子株式会社 Mobile terminal and metadata setting method thereof
CN102893595A (en) * 2011-03-18 2013-01-23 索尼公司 Image processing device and method and program
CN104079812A (en) * 2013-03-25 2014-10-01 联想(北京)有限公司 Method and device of acquiring image information
US20150304566A1 (en) * 2014-04-16 2015-10-22 Samsung Electronics Co., Ltd. Display apparatus and image composition method thereof
CN105959567A (en) * 2016-06-21 2016-09-21 维沃移动通信有限公司 Photographing control method and mobile terminal
CN107872614A (en) * 2016-09-27 2018-04-03 中兴通讯股份有限公司 A kind of image pickup method and filming apparatus
US20180295273A1 (en) * 2017-04-10 2018-10-11 Sony Corporation Device and method for detecting regions in an image
CN108702452A (en) * 2017-06-09 2018-10-23 华为技术有限公司 A kind of image capturing method and device
CN107888833A (en) * 2017-11-28 2018-04-06 维沃移动通信有限公司 A kind of image capturing method and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111093026A (en) * 2019-12-30 2020-05-01 维沃移动通信(杭州)有限公司 Video processing method, electronic device and computer-readable storage medium
WO2021136134A1 (en) * 2019-12-30 2021-07-08 维沃移动通信有限公司 Video processing method, electronic device, and computer-readable storage medium
CN112492199A (en) * 2020-11-24 2021-03-12 维沃移动通信有限公司 Photographing method and device and electronic equipment

Also Published As

Publication number Publication date
CN109922256B (en) 2020-09-15

Similar Documents

Publication Publication Date Title
CN110456953A (en) File interface switching method and terminal device
CN108984059A (en) A kind of information display method and mobile terminal
CN109889348A (en) A kind of images share method and device
CN110035227A (en) Special effect display methods and terminal device
CN110109593A (en) A kind of screenshotss method and terminal device
CN109613958A (en) A kind of terminal equipment control method and terminal device
CN109857495A (en) A kind of display control method and terminal device
CN109032486A (en) A kind of display control method and terminal device
CN109085968A (en) A kind of screenshotss method and terminal device
CN110049185A (en) Image processing method and terminal device
CN110244884A (en) A kind of desktop icon management method and terminal device
CN108881719A (en) A kind of method and terminal device switching style of shooting
CN109522278A (en) A kind of file memory method and terminal device
CN109085963A (en) A kind of interface display method and terminal device
CN110213412A (en) A kind of display methods and terminal
CN110046013A (en) A kind of interface display method and terminal device
CN109117054A (en) A kind of display control method and terminal
CN109857354A (en) A kind of interface display method and terminal device
CN108881723A (en) A kind of image preview method and terminal
CN109120853A (en) A kind of long exposure image image pickup method and terminal
CN108804151A (en) A kind of method and terminal of re-launching applications
CN110489038A (en) Interface display method and terminal device
CN110233914A (en) A kind of terminal device and its control method
CN110162234A (en) A kind of application control method and terminal device
CN110012152A (en) A kind of interface display method and terminal device

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