CN109474787A - A kind of photographic method, terminal device and storage medium - Google Patents
A kind of photographic method, terminal device and storage medium Download PDFInfo
- Publication number
- CN109474787A CN109474787A CN201811629380.XA CN201811629380A CN109474787A CN 109474787 A CN109474787 A CN 109474787A CN 201811629380 A CN201811629380 A CN 201811629380A CN 109474787 A CN109474787 A CN 109474787A
- Authority
- CN
- China
- Prior art keywords
- target
- image
- subregion
- alternative
- alternative image
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/265—Mixing
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the invention provides a kind of photographic method, terminal device and storage mediums.The described method includes: obtaining target shooting interval, according to target shooting interval, the successively N of photographic subjects photographed scene alternative images, obtain the N comprising N number of target subregion subgraph in N alternative images, N subgraphs are subjected to image synthesis, export the target image of target photographed scene, wherein, one alternative image is made of the image of N number of target subregion, each target subregion is different, N is the integer greater than 1, it can be realized the automation of prophase shoot, and user is not necessarily to carry out complex operations in realization " isochronous surface " effect, avoid bring learning time complicated for operation too long problem, reduce time cost on the whole, improve the efficiency of the image of shooting " isochronous surface " effect.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of photographic methods, terminal device and storage medium.
Background technique
With the development of terminal device, personalized photographic method is also enriched constantly.With a photo record time passage
Method, popular call be " isochronous surface ", need to shoot a Zhang Zhao at regular intervals in a certain fixed position by camera
Then the multiple pictures of shooting are carried out complicated post-processing by repairing figure software by piece, by the photo of different periods according to when
Between sequencing be combined into a photo, record the variation of clapped things of different time with a photo, generation time passage
Sense.
But the photo of " isochronous surface " is shot, and needing to hold the time interval of shooting manually, time-consuming for prophase shoot,
Complicated subsequent processing is also needed, for ordinary user, operation is excessively complicated, it is desirable to the effect of " isochronous surface " is experienced,
Need to spend longer learning time, it is at high cost there are the time, it is complicated for operation the problems such as.
Summary of the invention
The embodiment of the present invention provides a kind of photographic method, and the time is at high cost when solving to realize " isochronous surface " effect, grasps
Make complicated problem.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of photographic methods, comprising:
Obtain target shooting interval;
According to the target shooting interval, successively the N of photographic subjects photographed scene opens alternative image;
Obtain the N comprising N number of target subregion subgraph in the N alternative images;
The N subgraphs are subjected to image synthesis, export the target image of the target photographed scene;
Wherein, an alternative image is made of the image of N number of target subregion, and each target subregion is different, and N is
Integer greater than 1.
Second aspect, the embodiment of the invention provides a kind of terminal devices, comprising:
Interval acquiring module, for obtaining target shooting interval;
Image taking module, for according to the target shooting interval, successively the N of photographic subjects photographed scene to open standby
Select image;
Subgraph obtains module, for obtaining the N comprising N number of target subregion subgraph in the N alternative images;
Image output module exports the mesh of the target photographed scene for the N subgraphs to be carried out image synthesis
Logo image;
Wherein, an alternative image is made of the image of N number of target subregion, and each target subregion is different, and N is
Integer greater than 1.
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 photographic method.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
The step of storing computer program on medium, the photographic method realized when the computer program is executed by processor.
In embodiments of the present invention, it is successively clapped by obtaining target shooting interval according to target shooting interval
N alternative images for taking the photograph target photographed scene obtain the N comprising N number of target subregion subgraph in N alternative images, by N
It opens subgraph and carries out image synthesis, export the target image of target photographed scene, wherein an alternative image is by N number of target
The image in region forms, and each target subregion is different, and N is the integer greater than 1, can be realized the automation of prophase shoot, and
And it is too long to avoid bring learning time complicated for operation without carrying out complex operations by user in realization " isochronous surface " effect
The problem of, reduce time cost on the whole, improves the efficiency of the image of shooting " isochronous surface " effect.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of photographic method provided in an embodiment of the present invention;
Fig. 2 is a kind of step flow chart of photographic method provided in an embodiment of the present invention;
The schematic diagram of the sub-zone dividing mode of vertical direction shown in Fig. 3;
The schematic diagram of sub-zone dividing mode shown in Fig. 4 based on angle;
The schematic diagram of the sub-zone dividing mode of annular shown in fig. 5;
Fig. 6 is a kind of structural block diagram of terminal device provided in an embodiment of the present invention;
Fig. 7 is a kind of 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.
Referring to Fig.1, a kind of step flow chart of photographic method of the offer of the embodiment of the present invention one is provided, specifically can wrap
Include following steps:
Step 101, target shooting interval is obtained.
In embodiments of the present invention, it in order to use a photo record time passage, i.e. " isochronous surface " effect, needs to pass through
Prolonged prophase shoot process, prophase shoot generally take a long time, and self-timing shooting may be implemented thus, by shooting when
Between be spaced, be denoted as target shooting interval.
In embodiments of the present invention, it may include a variety of for obtaining the implementation of target shooting interval, for example, obtaining
Preset target shooting interval, that is, the time interval defaulted, alternatively, the target shooting interval of user's input is obtained,
That is the time interval of user setting or any other applicable implementation, the embodiment of the present invention is without limitation.
Step 102, according to the target shooting interval, successively the N of photographic subjects photographed scene opens alternative image.
In embodiments of the present invention, it when shooting, needs to shoot Same Scene, is denoted as target photographed scene.According to
Target shooting interval, successively the N of photographic subjects photographed scene alternative images, specifically can be stopped shooting manually by user
Process obtains N alternative images, can also automatically snap after obtaining N alternative images, be automatically stopped shooting or other
The applicable mode of meaning, the embodiment of the present invention are without limitation.
For example, obtain target shooting interval after, user click shutter release button, shoot first photo, hereafter every
Target shooting interval just shoots a photo, stops shooting button until user clicks manually, obtains N alternative images,
Or after N alternative images of automatic shooting, it is automatically stopped shooting.Display mode of the obtained photo in photograph album is shot, can be adopted
The display mode of burst mode is taken, shooting number is chosen and determined convenient for user.
Step 103, the N comprising N number of target subregion subgraph in the N alternative images is obtained.
In embodiments of the present invention, an alternative image is made of the image of N number of target subregion, each target subregion
Difference, N are the integer greater than 1.For N alternative images, 1 target subregion, N alternative figures are determined in every alternative image
As being just corresponding with N number of target subregion, the subgraph comprising corresponding target subregion is determined from every alternative image, it is N number of
Target subregion is just corresponding with N subgraphs.
In embodiments of the present invention, it obtains the N comprising N number of target subregion in the N alternative images and opens subgraph
Implementation may include a variety of, for example, the sub-zone dividing mode of target splice template is obtained, according to target splice template
Sub-zone dividing mode determines N number of target subregion, according to the shooting sequence of every alternative image, obtains every respectively alternatively
Include the subgraph of target subregion in image, obtains N subgraphs, can specifically include any suitable implementation, this
Inventive embodiments are without limitation.
Step 104, the N subgraphs are subjected to image synthesis, export the target image of the target photographed scene.
In embodiments of the present invention, the N subgraphs are subjected to image synthesis, so that it may obtain target photographed scene
Target image contains N subgraphs in a kind of image of target image, that is, realizes the effect of " isochronous surface ".?
When carrying out image synthesis, it can be determined in the target image of subgraph in post synthesis according to the corresponding target subregion of subgraph
Region, every subgraph is directly overlie into corresponding region, after completing synthesis, exports target image, target image
In include target photographed scene different time image.
In embodiments of the present invention, it is successively clapped by obtaining target shooting interval according to target shooting interval
N alternative images for taking the photograph target photographed scene obtain the N comprising N number of target subregion subgraph in N alternative images, by N
It opens subgraph and carries out image synthesis, export the target image of target photographed scene, wherein an alternative image is by N number of target
The image in region forms, and each target subregion is different, and N is the integer greater than 1, can be realized the automation of prophase shoot, and
And it is too long to avoid bring learning time complicated for operation without carrying out complex operations by user in realization " isochronous surface " effect
The problem of, reduce time cost on the whole, improves the efficiency of the image of shooting " isochronous surface " effect.Referring to Fig. 2, show
The step flow chart for having gone out a kind of photographic method provided by Embodiment 2 of the present invention, can specifically include following steps:
Step 201, preset target shooting interval is obtained;Alternatively, between obtaining the target shooting time that user inputs
Every.
In embodiments of the present invention, target shooting interval can be pre-set, be also possible to be inputted by user,
Default and the customized setting two ways of user are taken for time interval, so that the time interval of automatic shooting is cleverer
It is living, meet the customization needs of user.
For example, user opens camera, " isochronous surface " mode is selected, judges whether user enters the camera mould for the first time
Formula, if it is then popping up the mode related introduction for the first time, if not then entering the mode for the first time, when in order to ensure shooting
It finds a view constant, can detecte whether mobile phone is in stable state, it can be according to the gyroscope or relative motion sensing built in mobile phone
Device carries out the judgement, if testing result is that mobile phone is not at stable state, pops up prompt, keeps mobile phone to stablize, it is proposed that take
It is shot with tripod, if testing result is that mobile phone is in stable state, jumps to the boundary of selection target shooting interval
Face, user selects as needed or self defined time interval.
Step 202, according to the target shooting interval, successively the N of photographic subjects photographed scene opens alternative image.
In embodiments of the present invention, the specific implementation of this step may refer to the description in previous embodiment, herein
It does not repeat separately.
Step 203, one alternative image of every shooting marks the shooting sequence of every alternative image.
In embodiments of the present invention, when shooting alternative image, every alternative image is marked according to shooting sequence, is made
For the record of the shooting sequence of every alternative image.For example, being carried out sequentially in time to shooting or selected alternative image
Numeral mark, to the alternative image tagged 1 of 16:00 shooting, to the alternative image tagged 2 of 16:30 shooting, to 17:00 shooting
Alternative image tagged 3, and so on, any suitable mark mode can be specifically used, the embodiment of the present invention does not limit this
System.Shooting sequence is marked, alternative image can be handled sequentially so as to subsequent, then make in the target image of synthesis that image can
To show sequentially in time.
Step 204, the sub-zone dividing mode of target splice template is obtained.
In embodiments of the present invention, target splice template refers to for obtaining subgraph to alternative image division subregion,
Splice the template of subgraph.When being performed corresponding processing according to the target splice template that preset or user selects, treatment process
Specifically include that cutting, synthesis two large divisions, different target splice templates corresponds to different sub-zone dividing modes, and synthesizes
It is then that the subgraph obtained after cutting every is synthesized by cutting sequence.
Sub-zone dividing mode include the sub-zone dividing mode of vertical direction, the sub-zone dividing mode based on angle,
Sub-zone dividing mode of annular etc. or any other applicable division mode, the embodiment of the present invention are without limitation.
In embodiments of the present invention, optionally, it before the sub-zone dividing mode for obtaining target splice template, can also wrap
It includes: obtaining preset target splice template;Alternatively, obtaining the target splicing that user chooses at least one alternative splice template
Template.There are two types of acquisition modes for target splice template, and one is preset target splice template is directly acquired, one is users to exist
One is chosen at least one alternative splicing target, as target splice template, so that the selection of splice template is more flexible, it is full
The customized demand of sufficient user.
Step 205, according to the sub-zone dividing mode of the target splice template, N number of target subregion is determined.
In embodiments of the present invention, according to the sub-zone dividing mode of target splice template, N number of target sub-district can be determined
Domain specifically can determine target subregion of different shapes, the embodiment of the present invention is to this according to different sub-zone dividing modes
With no restrictions.
In embodiments of the present invention, optionally, target splice template includes the sub-zone dividing mode of vertical direction;According to
The sub-zone dividing mode of the target splice template determines that a kind of implementation of N number of target subregion may include: to obtain
The picture traverse of first alternative image;Obtain the alternative image number of user's input;Based on described image width and described alternative
Image number determines N number of target subregion;Wherein, the width of each target subregion is picture traverse and alternative image number
Quotient.
For example, the schematic diagram of the sub-zone dividing mode of vertical direction as shown in Figure 3, every alternative image is retained in mesh
The alternative image number of width D=picture traverse d/ of part (i.e. target subregion) in logo image.Will alternative image from a left side
While start, two parts are divided into vertically to the position that width is D, left side width is the part of D, i.e. the 1st target subregion, according to
Alternative image is divided into N number of target subregion by secondary mode.
In embodiments of the present invention, optionally, target splice template includes the sub-zone dividing mode based on angle;According to
The sub-zone dividing mode of the target splice template determines that a kind of implementation of N number of target subregion may include: to obtain
Object reference angle;Obtain the alternative image number of user's input;Based on the object reference angle and the alternative image
Number, determines N number of target subregion;Wherein, the target angle of each target subregion be the object reference angle with it is described standby
Select the quotient of image number.
Wherein, object reference angle can be 90 degree (angle of alternative image be vertex and adjacent two side shapes
Cheng Jiushi degree angle) or 180 degree (midpoint of a line of alternative image be vertex, midpoint two sides be side formed 180
Spend angle), any suitable object reference angle can be specifically selected according to actual needs, and the embodiment of the present invention does not limit this
System.
For example, the schematic diagram of the sub-zone dividing mode based on angle as shown in Figure 4, every alternative image are retained in mesh
90 degree of the target angle a=object reference angle of part (i.e. target subregion) in logo image/alternative image number.It will be standby
Image point centered on the lower left corner is selected, by the position for being clockwise a to angle since the Far Left of image, is divided an image into
Two parts retain the part that tangent line upper left quarter angle is a, i.e. the 1st target subregion, successively mode, alternative image is divided
For N number of target subregion.
In embodiments of the present invention, optionally, target splice template includes the sub-zone dividing mode of annular;According to described
The sub-zone dividing mode of target splice template determines that a kind of implementation of N number of target subregion may include: acquisition first
The picture traverse of alternative image;Obtain the alternative image number of user's input;Based on object reference angle and the alternative image
Number determines N number of target subregion;Wherein, the ring width of each target subregionWherein, d is picture traverse, m
For alternative image number.
For example, the schematic diagram of the sub-zone dividing mode of annular as shown in Figure 5, every alternative image are retained in target figure
The ring width r=picture traverse d/ (alternative image number m-1) of part (i.e. target subregion) as in is multiplied by 2.Will alternatively it scheme
The center of picture is the center of circle, marks off the circle that radius is r, as the 1st target subregion, then by radius be 2r it is round with
It is interior, radius be r circle other than part, as the 2nd target subregion, then by radius be 3r circle within, radius is
Part other than the circle of 2r, as the 3rd target subregion, successively mode, is divided into N number of target sub-district for alternative image
Domain.
Step 206, it according to the shooting sequence of every alternative image, is obtained in every alternative image respectively comprising target sub-district
The subgraph in domain obtains N subgraphs;Wherein, the corresponding region of every subgraph is that the corresponding target of every alternative image is sub
Region or the corresponding region of every subgraph are the corresponding target subregion of every alternative image and the preceding institute of shooting sequence
There is the sum of corresponding target subregion of alternative image.
In embodiments of the present invention, sub-picture pack subregion containing target, in a kind of mode obtaining subgraph, every subgraph
As corresponding region is the corresponding target subregion of every alternative image, another to obtain in the mode of subgraph, every subgraph
As corresponding region is that the corresponding target subregion of every alternative image is corresponding with the preceding all alternative images of shooting sequence
The sum of target subregion.It can specifically include any other applicable mode and obtain subgraph, the embodiment of the present invention does not do this
Limitation.
When obtaining subgraph, according to shooting sequence, the son in every alternative image comprising target subregion is obtained respectively
Image finally obtains N subgraphs, so that every subgraph all derives from different alternative images, and sequentially in time
Target subregion is corresponded to, it is aobvious sequentially in time for can then allowing different target subregion in the target image finally synthesized
Show partial target photographed scene, realizes the effect of record time passage.
Step 207, the N subgraphs are subjected to image synthesis, export the target image of the target photographed scene.
In embodiments of the present invention, when carrying out image synthesis, if the corresponding region of every subgraph is every alternative image
Corresponding target subregion, then every subgraph directly overlies corresponding target subregion, and synthesis obtains target image
And it exports;If the corresponding region of every subgraph is the corresponding target subregion of every alternative image and the preceding institute of shooting sequence
There is the sum of corresponding target subregion of alternative image, then the sequence according to shooting sequence from back to front, by the subgraph of alternative image
As covering corresponding region, while guaranteeing same target in the target subregion for including in every subgraph and target image
Region is corresponding, and shooting preceding subgraph in this way will cover above the posterior subgraph of shooting, ultimately forms every height
Only have the image of target subregion that can show effect in the target image in image.
In embodiments of the present invention, by obtaining preset target shooting interval;Alternatively, obtaining the mesh of user's input
Shooting interval is marked, according to target shooting interval, successively the N of photographic subjects photographed scene opens alternative image, every shooting
One alternative image marks the shooting sequence of every alternative image, obtains the sub-zone dividing mode of target splice template, according to
The sub-zone dividing mode of the target splice template determines N number of target subregion, and the shooting according to every alternative image is suitable
Sequence obtains the subgraph in every alternative image comprising target subregion respectively, obtains N subgraphs, and N subgraphs are carried out
Image synthesis, export target photographed scene target image, wherein an alternative image by N number of target subregion image group
At each target subregion is different, and N is the integer greater than 1, can be realized the automation of prophase shoot, and in the realization " time
User is without carrying out complex operations when slice " effect, bring learning time complicated for operation too long problem is avoided, from totality
On reduce time cost, improve the efficiency of the image of shooting " isochronous surface " effect.
Referring to Fig. 6, a kind of structural block diagram of terminal device of the offer of the embodiment of the present invention three is provided, can specifically include
Following module:
Interval acquiring module 301, for obtaining target shooting interval;
Image taking module 302, for according to the target shooting interval, the successively N of photographic subjects photographed scene
Open alternative image;
Subgraph obtains module 303, for obtaining the N comprising N number of target subregion subgraph in the N alternative images
Picture;
Image output module 304 exports the target photographed scene for the N subgraphs to be carried out image synthesis
Target image;
Wherein, an alternative image is made of the image of N number of target subregion, and each target subregion is different, and N is
Integer greater than 1.
In embodiments of the present invention, optionally, described image shooting module further include:
Submodule is marked, one alternative image of every shooting is used for, marks the shooting sequence of every alternative image.
In embodiments of the present invention, optionally, the subgraph acquisition module includes:
Division mode acquisition submodule, for obtaining the sub-zone dividing mode of target splice template;
Region determines submodule, for the sub-zone dividing mode according to the target splice template, determines N number of target
Region;
Subgraph acquisition submodule obtains every alternative image for the shooting sequence according to every alternative image respectively
In include target subregion subgraph, obtain N subgraphs;
Wherein, the corresponding region of every subgraph is every alternative corresponding target subregion of image or every subgraph
As corresponding region is that the corresponding target subregion of every alternative image is corresponding with the preceding all alternative images of shooting sequence
The sum of target subregion.
In embodiments of the present invention, optionally, the target splice template includes the sub-zone dividing mode of vertical direction;
The subregion determines submodule, comprising:
First width acquisition unit, for obtaining the picture traverse of the first alternative image;
First number acquiring unit, for obtaining the alternative image number of user's input;
First subregion determination unit determines N number of target for being based on described image width and the alternative image number
Subregion;
Wherein, the width of each target subregion is the quotient of described image width and the alternative image number.
In embodiments of the present invention, optionally, the target splice template includes the sub-zone dividing mode based on angle;
The subregion determines that submodule includes:
Angle acquiring unit, for obtaining object reference angle;
Second number acquiring unit, for obtaining the alternative image number of user's input;
Second subregion determination unit determines N number of for being based on the object reference angle and the alternative image number
Target subregion;
Wherein, the target angle of each target subregion is the object reference angle and the alternative image number
Quotient.
In embodiments of the present invention, optionally, the target splice template includes the sub-zone dividing mode of annular;
The subregion determines that submodule includes:
Second width acquisition unit, for obtaining the picture traverse of the first alternative image;
Third number acquiring unit, for obtaining the alternative image number of user's input;
Third subregion determination unit determines N number of for being based on the object reference angle and the alternative image number
Target subregion;
Wherein, the ring width of each target subregionWherein, d is picture traverse, and m is alternative image number.
In embodiments of the present invention, optionally, the interval acquiring module includes:
First acquisition submodule, for obtaining preset target shooting interval;
Alternatively, the second acquisition submodule, for obtaining the target shooting interval of user's input.
In embodiments of the present invention, optionally, further includes:
First template obtains module, before the sub-zone dividing mode for obtaining target splice template, obtains pre-
If target splice template;
Alternatively, the second template obtains module, the target chosen at least one alternative splice template for obtaining user
Splice template.
Terminal device provided in an embodiment of the present invention can be realized terminal device in the embodiment of the method for Fig. 1 to Fig. 2 and realize
Each process, to avoid repeating, which is not described herein again.
In embodiments of the present invention, it is successively clapped by obtaining target shooting interval according to target shooting interval
N alternative images for taking the photograph target photographed scene obtain the N comprising N number of target subregion subgraph in N alternative images, by N
It opens subgraph and carries out image synthesis, export the target image of target photographed scene, wherein an alternative image is by N number of target
The image in region forms, and each target subregion is different, and N is the integer greater than 1, can be realized the automation of prophase shoot, and
And it is too long to avoid bring learning time complicated for operation without carrying out complex operations by user in realization " isochronous surface " effect
The problem of, reduce time cost on the whole, improves the efficiency of the image of shooting " isochronous surface " effect.
Referring to Fig. 7, the hardware structural diagram of a kind of terminal device of each embodiment to realize the present invention.
The terminal device 400 includes but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, defeated
Enter unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor
The components such as 410 and power supply 411.It will be understood by those skilled in the art that terminal device structure shown in Fig. 5 is not constituted
Restriction to terminal device, terminal device may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, terminal device include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 410, for obtaining target shooting interval, according to target shooting interval, successively photographic subjects
The N of photographed scene alternative images obtain the N comprising N number of target subregion subgraph in N alternative images, by N subgraphs
As carrying out image synthesis, the target image of target photographed scene is exported, wherein an alternative image is by N number of target subregion
Image composition, each target subregion is different, and N is the integer greater than 1.
In embodiments of the present invention, it is successively clapped by obtaining target shooting interval according to target shooting interval
N alternative images for taking the photograph target photographed scene obtain the N comprising N number of target subregion subgraph in N alternative images, by N
It opens subgraph and carries out image synthesis, export the target image of target photographed scene, wherein an alternative image is by N number of target
The image in region forms, and each target subregion is different, and N is the integer greater than 1, can be realized the automation of prophase shoot, and
And it is too long to avoid bring learning time complicated for operation without carrying out complex operations by user in realization " isochronous surface " effect
The problem of, reduce time cost on the whole, improves the efficiency of the image of shooting " isochronous surface " effect.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set
Standby communication.
Terminal device provides wireless broadband internet by network module 402 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 403 can be received by radio frequency unit 401 or network module 402 or in memory 409
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also provide and end
The relevant audio output of specific function that end equipment 400 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor
(Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited
Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike
Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 401 is converted in the case where telephone calling model.
Terminal device 400 further includes at least one sensor 405, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 4061, and proximity sensor can close when terminal device 400 is moved in one's ear
Display panel 4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap
Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with terminal device
Family setting and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and
Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071
Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area
It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments
4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it
On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touching
The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 5, touch panel 4071 and display
Panel 4061 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 4071 and display panel 4061 and realize the function that outputs and inputs of terminal device, it is specific this
Place is without limitation.
Interface unit 408 is the interface that external device (ED) is connect with terminal device 400.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 400 or can be used in 400 He of terminal device
Data are transmitted between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of 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 409, and calls and is stored in storage
Data in device 409 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Managing device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 410.
Terminal device 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411
Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 400 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 410, and memory 409 is stored in
On memory 409 and the computer program that can run on the processor 410, the computer program are executed by processor 410
Each process of the above-mentioned photographic method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here no longer
It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned 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 (11)
1. a kind of photographic method is applied to terminal device characterized by comprising
Obtain target shooting interval;
According to the target shooting interval, successively the N of photographic subjects photographed scene opens alternative image;
Obtain the N comprising N number of target subregion subgraph in the N alternative images;
The N subgraphs are subjected to image synthesis, export the target image of the target photographed scene;
Wherein, an alternative image is made of the image of N number of target subregion, and each target subregion is different, N be greater than
1 integer.
2. successively clapping the method according to claim 1, wherein described according to the target shooting interval
Take the photograph N alternative images of target photographed scene, further includes:
One alternative image of every shooting marks the shooting sequence of every alternative image.
3. the method according to claim 1, wherein described obtain in the N alternative image includes N number of sub-district
The N in domain subgraphs, comprising:
Obtain the sub-zone dividing mode of target splice template;
According to the sub-zone dividing mode of the target splice template, N number of target subregion is determined;
According to the shooting sequence of every alternative image, the subgraph in every alternative image comprising target subregion is obtained respectively,
Obtain N subgraphs;
Wherein, the corresponding region of every subgraph is every alternative corresponding target subregion of image or every subgraph pair
The region the answered target corresponding with the preceding all alternative images of shooting sequence that is the corresponding target subregion of every alternative image
The sum of subregion.
4. according to the method described in claim 3, it is characterized in that, the target splice template includes the subregion of vertical direction
Division mode;
The sub-zone dividing mode according to the target splice template, determines N number of target subregion, comprising:
Obtain the picture traverse of the first alternative image;
Obtain the alternative image number of user's input;
Based on described image width and the alternative image number, N number of target subregion is determined;
Wherein, the width of each target subregion is the quotient of described image width and the alternative image number.
5. according to the method described in claim 3, it is characterized in that, the target splice template includes the subregion based on angle
Division mode;
The sub-zone dividing mode according to the target splice template, determines N number of target subregion, comprising:
Obtain object reference angle;
Obtain the alternative image number of user's input;
Based on the object reference angle and the alternative image number, N number of target subregion is determined;
Wherein, the target angle of each target subregion is the quotient of the object reference angle and the alternative image number.
6. according to the method described in claim 3, it is characterized in that, the target splice template includes the sub-zone dividing of annular
Mode;
The sub-zone dividing mode according to the target splice template, determines N number of target subregion, comprising:
Obtain the picture traverse of the first alternative image;
Obtain the alternative image number of user's input;
Based on the object reference angle and the alternative image number, N number of target subregion is determined;
Wherein, the ring width of each target subregionWherein, d is picture traverse, and m is alternative image number.
7. the method according to claim 1, wherein the acquisition target shooting interval, comprising:
Obtain preset target shooting interval;
Alternatively, obtaining the target shooting interval of user's input.
8. according to the method described in claim 3, it is characterized in that, the sub-zone dividing mode for obtaining target splice template
Before, further includes:
Obtain preset target splice template;
Alternatively, obtaining the target splice template that user chooses at least one alternative splice template.
9. a kind of terminal device characterized by comprising
Interval acquiring module, for obtaining target shooting interval;
Image taking module, for successively alternatively scheming for the N of photographic subjects photographed scene according to the target shooting interval
Picture;
Subgraph obtains module, for obtaining the N comprising N number of target subregion subgraph in the N alternative images;
Image output module exports the target figure of the target photographed scene for the N subgraphs to be carried out image synthesis
Picture;
Wherein, an alternative image is made of the image of N number of target subregion, and each target subregion is different, N be greater than
1 integer.
10. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 8 is realized when the computer program is executed by the processor
Any one of described in photographic method the step of.
11. 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 such as photographic method described in any item of the claim 1 to 8 when the computer program is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811629380.XA CN109474787B (en) | 2018-12-28 | 2018-12-28 | Photographing method, terminal device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811629380.XA CN109474787B (en) | 2018-12-28 | 2018-12-28 | Photographing method, terminal device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109474787A true CN109474787A (en) | 2019-03-15 |
CN109474787B CN109474787B (en) | 2021-05-14 |
Family
ID=65676934
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811629380.XA Active CN109474787B (en) | 2018-12-28 | 2018-12-28 | Photographing method, terminal device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109474787B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111314620A (en) * | 2020-03-26 | 2020-06-19 | 上海盛付通电子支付服务有限公司 | Photographing method and apparatus |
CN111355889A (en) * | 2020-03-12 | 2020-06-30 | 维沃移动通信有限公司 | Shooting method, shooting device, electronic equipment and storage medium |
CN111815531A (en) * | 2020-07-09 | 2020-10-23 | Oppo广东移动通信有限公司 | Image processing method, image processing device, terminal equipment and computer readable storage medium |
CN112040126A (en) * | 2020-08-31 | 2020-12-04 | 维沃移动通信有限公司 | Shooting method, shooting device, electronic equipment and readable storage medium |
CN112437231A (en) * | 2020-11-24 | 2021-03-02 | 维沃移动通信(杭州)有限公司 | Image shooting method and device, electronic equipment and storage medium |
CN113973172A (en) * | 2020-07-23 | 2022-01-25 | 北京小米移动软件有限公司 | Shooting method, shooting device, storage medium and electronic equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1748410A (en) * | 2003-08-11 | 2006-03-15 | 松下电器产业株式会社 | Photographing system and photographing method |
CN101889434A (en) * | 2007-12-05 | 2010-11-17 | 佳能株式会社 | Image processing apparatus, control method thereof, and program |
CN102542573A (en) * | 2010-10-27 | 2012-07-04 | 索尼公司 | Image processing apparatus, image processing method, and program |
CN104112262A (en) * | 2013-04-22 | 2014-10-22 | 联想(北京)有限公司 | Information processing method and electronic apparatus |
CN104113682A (en) * | 2013-04-22 | 2014-10-22 | 联想(北京)有限公司 | Image acquisition method and electronic equipment |
CN104427260A (en) * | 2013-09-03 | 2015-03-18 | 卡西欧计算机株式会社 | Moving image generation system and moving image generation method |
US20170134667A1 (en) * | 2014-08-06 | 2017-05-11 | Tencent Technology (Shenzhen) Company Limited | Photo shooting method, device, and mobile terminal |
CN107395957A (en) * | 2017-06-30 | 2017-11-24 | 广东欧珀移动通信有限公司 | Photographic method, device, storage medium and electronic equipment |
CN108961158A (en) * | 2017-05-17 | 2018-12-07 | 中国移动通信有限公司研究院 | A kind of image composition method and device |
-
2018
- 2018-12-28 CN CN201811629380.XA patent/CN109474787B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1748410A (en) * | 2003-08-11 | 2006-03-15 | 松下电器产业株式会社 | Photographing system and photographing method |
CN101889434A (en) * | 2007-12-05 | 2010-11-17 | 佳能株式会社 | Image processing apparatus, control method thereof, and program |
CN102542573A (en) * | 2010-10-27 | 2012-07-04 | 索尼公司 | Image processing apparatus, image processing method, and program |
CN104112262A (en) * | 2013-04-22 | 2014-10-22 | 联想(北京)有限公司 | Information processing method and electronic apparatus |
CN104113682A (en) * | 2013-04-22 | 2014-10-22 | 联想(北京)有限公司 | Image acquisition method and electronic equipment |
CN104427260A (en) * | 2013-09-03 | 2015-03-18 | 卡西欧计算机株式会社 | Moving image generation system and moving image generation method |
US20170134667A1 (en) * | 2014-08-06 | 2017-05-11 | Tencent Technology (Shenzhen) Company Limited | Photo shooting method, device, and mobile terminal |
CN108961158A (en) * | 2017-05-17 | 2018-12-07 | 中国移动通信有限公司研究院 | A kind of image composition method and device |
CN107395957A (en) * | 2017-06-30 | 2017-11-24 | 广东欧珀移动通信有限公司 | Photographic method, device, storage medium and electronic equipment |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111355889A (en) * | 2020-03-12 | 2020-06-30 | 维沃移动通信有限公司 | Shooting method, shooting device, electronic equipment and storage medium |
CN111314620A (en) * | 2020-03-26 | 2020-06-19 | 上海盛付通电子支付服务有限公司 | Photographing method and apparatus |
CN111815531A (en) * | 2020-07-09 | 2020-10-23 | Oppo广东移动通信有限公司 | Image processing method, image processing device, terminal equipment and computer readable storage medium |
CN111815531B (en) * | 2020-07-09 | 2024-03-01 | Oppo广东移动通信有限公司 | Image processing method, device, terminal equipment and computer readable storage medium |
CN113973172A (en) * | 2020-07-23 | 2022-01-25 | 北京小米移动软件有限公司 | Shooting method, shooting device, storage medium and electronic equipment |
CN113973172B (en) * | 2020-07-23 | 2023-09-26 | 北京小米移动软件有限公司 | Shooting method, shooting device, storage medium and electronic equipment |
CN112040126A (en) * | 2020-08-31 | 2020-12-04 | 维沃移动通信有限公司 | Shooting method, shooting device, electronic equipment and readable storage medium |
CN112437231A (en) * | 2020-11-24 | 2021-03-02 | 维沃移动通信(杭州)有限公司 | Image shooting method and device, electronic equipment and storage medium |
CN112437231B (en) * | 2020-11-24 | 2023-11-14 | 维沃移动通信(杭州)有限公司 | Image shooting method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109474787B (en) | 2021-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107580184B (en) | A kind of image pickup method and mobile terminal | |
CN107770438B (en) | A kind of photographic method and mobile terminal | |
CN109474787A (en) | A kind of photographic method, terminal device and storage medium | |
CN107483836B (en) | A kind of image pickup method and mobile terminal | |
CN108495029A (en) | A kind of photographic method and mobile terminal | |
CN108989672A (en) | A kind of image pickup method and mobile terminal | |
CN110365907A (en) | A kind of photographic method, device and electronic equipment | |
CN109544486A (en) | A kind of image processing method and terminal device | |
CN109218626A (en) | A kind of photographic method and terminal | |
CN108924412A (en) | A kind of image pickup method and terminal device | |
CN109819171A (en) | A kind of video capture method and terminal device | |
CN109327668A (en) | A kind of method for processing video frequency and device | |
CN109743506A (en) | A kind of image capturing method and terminal device | |
CN108462826A (en) | A kind of method and mobile terminal of auxiliary photo-taking | |
CN108174081B (en) | A kind of image pickup method and mobile terminal | |
CN109413264A (en) | A kind of background picture method of adjustment and terminal device | |
CN109448069A (en) | A kind of template generation method and mobile terminal | |
CN108881721A (en) | A kind of display methods and terminal | |
CN109104578A (en) | A kind of image processing method and mobile terminal | |
CN108718389A (en) | A kind of screening-mode selection method and mobile terminal | |
CN108984143A (en) | A kind of display control method and terminal device | |
CN108510266A (en) | A kind of Digital Object Unique Identifier recognition methods and mobile terminal | |
CN108174110A (en) | A kind of photographic method and flexible screen terminal | |
CN108174109A (en) | A kind of photographic method and mobile terminal | |
CN107959755A (en) | A kind of photographic method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |