Summary of the invention
The embodiment of the present application proposes the method and apparatus for generating information.
In a first aspect, the embodiment of the present application provides a kind of method for generating information, this method comprises: acquisition and mesh
Mark the corresponding still image sequence of dynamic picture;Determine the fusion image and fuse information for being directed to still image sequence, wherein
Fusion is used to be merged with the still image in still image sequence with image, fuse information be used to indicate fusion image with
The mixing operation of still image in still image sequence;For the still image in still image sequence, based on determined by
Fuse information merges the still image and identified fusion with image, obtains fused image;Based on obtained
Fused image generates new dynamic picture.
In some embodiments, the still image and identified fusion are merged with image, is schemed after being merged
Picture, comprising: the still image and identified fusion are merged with image, obtained variform with the still image
Fused image.
In some embodiments, it is based on fused image obtained, generates new dynamic picture, comprising: for being obtained
The fused image in fused image obtained carries out antialiasing processing, image after being handled to the fused image;It is based on
Image after processing obtained generates new dynamic picture.
In some embodiments, it merges corresponding to the shape of still image and still image and has between the shape with image
There is corresponding relationship;And determine the fusion image and fuse information for being directed to still image sequence, comprising: determine still image sequence
The shape of still image in column;Based on identified shape, default fusion figure is chosen from default fusion image collection
As fusion image corresponding to still image sequence.
In some embodiments, the fusion image and fuse information for being directed to still image sequence are determined, comprising: output is pre-
If fuse information set, for selection by the user;The default fuse information that acquisition user selects is as corresponding to still image sequence
Fuse information.
In some embodiments, based on identified fuse information, to the still image and identified fusion image
It is merged, obtains fused image, comprising: creation fusion figure layer, and the still image and fusion are added with image
To fusion figure layer;Based on identified fuse information, to fusion in figure layer still image and fusion melted with image
It closes, obtains the fused image being located in fusion figure layer.
In some embodiments, after obtaining the fused image being located in fusion figure layer, this method further include: will
It is obtained, be added to pre-set display figure layer with the fused image in figure layer positioned at fusion;And based on being obtained
The fused image obtained, generates new dynamic picture, comprising: based on the fused image being located in display figure layer, generates new
Dynamic picture.
Second aspect, the embodiment of the present application provide one kind for generating massaging device, which includes: acquiring unit,
It is configured to obtain still image sequence corresponding with target dynamic picture;Determination unit is configured to determine for static map
As the fusion image and fuse information of sequence, wherein fusion with image be used for the still image in still image sequence into
Row fusion, fuse information are used to indicate the mixing operation of the still image in fusion image and still image sequence;Fusion is single
Member is configured to for the still image in still image sequence, based on identified fuse information, to the still image and institute
Determining fusion is merged with image, obtains fused image;Generation unit is configured to scheme after being based on fusion obtained
Picture generates new dynamic picture.
In some embodiments, integrated unit is further configured to: to the still image and identified fusion figure
As being merged, the variform fused image with the still image is obtained.
In some embodiments, generation unit includes: processing module, is configured in fused image obtained
Fused image, to the fused image carry out antialiasing processing, image after being handled;Generation module is configured to base
The image after processing obtained generates new dynamic picture.
In some embodiments, it merges corresponding to the shape of still image and still image and has between the shape with image
There is corresponding relationship;And determination unit comprises determining that module, is configured to determine the shape of the still image in still image sequence
Shape;Module is chosen, is configured to based on identified shape, from the default fusion default fusion image of selection in image collection
As fusion image corresponding to still image sequence.
In some embodiments, determination unit includes: output module, is configured to export default fuse information set, with
It is selected for user;Module is obtained, is configured to obtain default fuse information that user selects as corresponding to still image sequence
Fuse information.
In some embodiments, integrated unit includes: creation module, is configured to create fusion figure layer, and should
Still image and fusion are added to fusion figure layer with image;Fusion Module is configured to based on identified fuse information, right
Fusion in figure layer still image and fusion merged with image, obtain the fused image being located in fusion figure layer.
In some embodiments, the device further include: adding unit, be configured to by it is obtained, be located at fusion with figure
Fused image on layer is added to pre-set display figure layer;And generation unit is further configured to: being based on position
Fused image in display figure layer generates new dynamic picture.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: one or more processors;Storage dress
Set, be stored thereon with one or more programs, when one or more programs are executed by one or more processors so that one or
The method that multiple processors realize any embodiment in the above-mentioned method for generating information.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, should
The method of any embodiment in the above-mentioned method for generating information is realized when program is executed by processor.
Method and apparatus provided by the embodiments of the present application for generating information, it is corresponding with target dynamic picture by obtaining
Still image sequence, then determine be directed to still image sequence fusion image and fuse information, wherein fusion use image
For being merged with the still image in still image sequence, fuse information is used to indicate fusion image and still image sequence
The mixing operation of still image in column is believed sequentially for the still image in still image sequence based on identified fusion
Breath, the still image and identified fusion are merged with image, obtain fused image, are finally melted based on obtained
Image after conjunction generates new dynamic picture, thus by being carried out to fusion with image and still image corresponding to dynamic picture
Fusion, can be adjusted the shape of dynamic picture, enrich the display format of dynamic picture, improve the more of information generation
Sample.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the method for generating information of the application or the implementation of the device for generating information
The exemplary system architecture 100 of example.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105.
Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out
Send message etc..Various telecommunication customer end applications, such as U.S. figure software, image can be installed on terminal device 101,102,103
Handle class application, web browser applications, searching class application, instant messaging tools, social platform software etc..
Terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,103 is hard
When part, it can be the various electronic equipments with display screen, including but not limited to smart phone, tablet computer, e-book reading
(Moving Picture Experts Group Audio Layer III, dynamic image expert compress mark for device, MP3 player
Quasi- audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression
Standard audio level 4) player, pocket computer on knee and desktop computer etc..When terminal device 101,102,103 is
When software, it may be mounted in above-mentioned cited electronic equipment.Its may be implemented into multiple softwares or software module (such as with
To provide the multiple softwares or software module of Distributed Services), single software or software module also may be implemented into.It does not do herein
It is specific to limit.
Server 105 can be to provide the server of various services, such as to showing on terminal device 101,102,103
The image processing server that target dynamic picture is handled.Image processing server can be to the target dynamic picture received
The data such as corresponding still image sequence carry out the processing such as analyzing, and processing result (such as new dynamic picture) is fed back to
Terminal device.
It should be noted that server can be hardware, it is also possible to software.When server is hardware, may be implemented
At the distributed server cluster that multiple servers form, individual server also may be implemented into.It, can when server is software
It, can also be with to be implemented as multiple softwares or software module (such as providing multiple softwares of Distributed Services or software module)
It is implemented as single software or software module.It is not specifically limited herein.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.Particularly, the static state corresponding to target dynamic picture
Image sequence or used data do not need in the case where long-range obtain during generating new dynamic picture, it is above-mentioned
System architecture can not include network, and only include terminal device or server.
With continued reference to Fig. 2, the process of one embodiment of the method for generating information according to the application is shown
200.The method for being used to generate information, comprising the following steps:
Step 201, still image sequence corresponding with target dynamic picture is obtained.
In the present embodiment, can lead to for generating the executing subject (such as server shown in FIG. 1) of the method for information
It crosses wired connection mode or radio connection obtains still image sequence corresponding with target dynamic picture.Wherein, target
Dynamic picture can be the dynamic picture to be adjusted to its shape.Dynamic picture is substantially arranged by one sequentially in time
The still image sequence of column forms, when the still image in still image sequence is imitated with that can generate dynamic when specified frequency error factor
Fruit.
It should be noted that herein, above-mentioned executing subject can obtain target dynamic picture first, it is then dynamic to target
State picture is parsed (such as load library by picture and parsed), obtains still image sequence corresponding to target dynamic picture
Column;Alternatively, above-mentioned executing subject from local or can also communicate electronic equipment (such as the terminal shown in FIG. 1 of connection
Equipment) directly acquire still image sequence corresponding to target dynamic picture.
Step 202, the fusion image and fuse information for being directed to still image sequence are determined.
In the present embodiment, based on still image sequence obtained in step 201, above-mentioned executing subject can be determined and is directed to
The fusion image and fuse information of still image sequence.
Wherein, fusion can be used for being merged with the still image in still image sequence with image, to change static state
The shape of image.Fusion image can be the pre-set image of technical staff, or the customized image of user.
Fuse information can include but is not limited at least one of following: text, number, symbol, picture, voice, gesture.Melt
Close the mixing operation for the still image that information can serve to indicate that in fusion image and still image sequence.
Specifically, on the one hand, fuse information corresponding to still image sequence can, use pre-set for technical staff
In the information of instruction mixing operation.For example, fuse information shown in Fig. 3, herein, fuse information are picture, black and white in picture
Staggered grid is the background of picture, and 16 pictures in Fig. 3 melt circular image and square-shaped image execution for characterizing
16 fusion results after closing operation, as an example, upper left first picture is for characterizing to circular image and pros
Shape image is merged, final to remove circular image and square-shaped image;Laterally second picture is for characterizing to circular image
It is merged with square-shaped image, to retain square-shaped image;Lateral third picture is for characterizing to circular image and pros
Shape image is merged, to retain circular image.On the other hand, fuse information corresponding to still image sequence may be use
Information (such as phonetic order) that family inputs, being used to indicate mixing operation.
Mixing operation, which can be, merges fusion with image and still image, to change the behaviour of the corner of still image
Make.For example, still image is rectangle, corner is right angle.Fusion can be fillet image with image.Fuse information can be text
Word " retain fillet ", indicated by mixing operation may include being merged to the still image and fillet image of rectangle, with
Right angle included by still image is adjusted to the fillet in fillet image.
It is understood that the corner to still image is adjusted, it is equivalent to and the shape of still image is adjusted.
In addition, usual mixing operation can retain figure possessed by fusion image in order to which the shape to target dynamic picture is adjusted
As feature, i.e., herein, fusion image usually has corresponding relationship with mixing operation, i.e. fusion image and fuse information has
There is corresponding relationship.
Particularly, since still image may have multiple corners, if being intended to be adjusted multiple corners of still image,
Above-mentioned executing subject can carry out fusion with image the operation such as rotating, to realize the adjustment to the different corners of still image.
In the present embodiment, above-mentioned executing subject can determine fusion corresponding to still image sequence by various methods
Use image.For example, the pre-rendered fusion of technical staff can be determined as still image sequence with image by above-mentioned executing subject
Corresponding fusion image;Alternatively, above-mentioned executing subject can export still image sequence for showing, in response to receiving
The fusion of user's input is requested with Image Rendering, and the image for receiving user's input is used as fusion corresponding to still image sequence
Image.
In some optional implementations of the present embodiment, technical staff can preset the shape of still image with
The corresponding relationship of the fusion shape of image corresponding to still image is (corresponding for example, when the shape of still image is rectangle
The shape of fusion image include fillet;When the shape of still image is round, the corresponding fusion shape packet of image
Include right angle);And above-mentioned executing subject can determine the fusion image for being directed to still image sequence by following steps: first
First, above-mentioned executing subject can determine the shape of the still image in still image sequence.Then, above-mentioned executing subject can be with base
In identified shape, default fusion is chosen from default fusion image collection with image (with identified still image
Image is used in the corresponding default fusion of shape) as fusion image corresponding to still image sequence.
It should be noted that default fusion image collection can be the pre-set image collection of technical staff.Wherein,
For each default fusion image, the default fuse information corresponding to it can also be arranged in technical staff.For example, for including
The default fusion image of fillet, corresponding to default fusion information can be " retain fillet ";For including right angle
Default fusion image, corresponding to default fusion information can be " retaining right angle ".In turn, in this implementation,
When above-mentioned executing subject selects default fusion from default blending image set uses image as fusion image, Ke Yizhi
It connects and uses default fuse information corresponding to image to believe as fusion corresponding to still image sequence selected default fusion
Breath.
In the present embodiment, above-mentioned executing subject can also be determined by other methods and be melted corresponding to still image sequence
Close information.Optionally, above-mentioned executing subject can export default fuse information set, for selection by the user, and then obtain user
The default fuse information selected is as fuse information corresponding to still image sequence.
Step 203, for the still image in still image sequence, based on identified fuse information, to the static map
Picture and identified fusion are merged with image, obtain fused image.
In the present embodiment, for the still image in still image sequence, schemed based on the fusion determined in step 202
Picture and fuse information, above-mentioned executing subject can merge the still image and identified fusion with image, be melted
Image after conjunction.
It should be noted that herein, technical staff can predefine still image with merge the corresponding circle of sensation with image
Domain (such as image corner areas), in turn, for identified fusion image, above-mentioned executing subject can be by fusion image
It is moved to above-mentioned integration region, and according to operation indicated by fuse information, still image and fusion are merged with image.
Alternatively, above-mentioned executing subject can export still image and fusion image first, so that fusion is moved to by user with image
Integration region on still image;Then, obtain user's input, it is mobile after fusion image and still image, and according to
The fusion after still image and movement is merged in operation indicated by fuse information with image.
In some optional implementations of the present embodiment, for the still image in still image sequence, it is based on institute
Determining fuse information, above-mentioned executing subject can merge the still image and identified fusion with image, obtain
With the variform fused image of the still image.
In practice, for still image sequence, above-mentioned executing subject successively can choose still image from the sequence, hold
Row step 203 can also randomly select still image from the sequence, execute step 203, i.e. the selection mode of still image exists
Herein with no restrictions.
It is above-mentioned to hold for the still image in still image sequence in some optional implementations of the present embodiment
Row main body can obtain fused image corresponding to the still image by following steps:
Firstly, above-mentioned executing subject can create fusion figure layer, wherein fusion can be for for holding with figure layer on it
The figure layer of row mixing operation.Herein, after mixing operation is finished, above-mentioned executing subject can delete fusion figure layer.
Then, the still image and fusion can be added to fusion figure layer with image by above-mentioned executing subject.It needs
It is bright, it is above-mentioned by the still image and fusion with image be added to fusion figure layer addition manner can there are many.Specifically
, as an example, the still image and fusion can be added to fusion figure with image by movement by above-mentioned executing subject
The still image and fusion can also be added to fusion figure layer with image by duplication by layer.
Finally, based on identified fuse information, above-mentioned executing subject can in fusion figure layer still image and
Fusion is merged with image, obtains the fused image being located in fusion figure layer.
Herein, it should be noted that the processing for the fused image in subsequent fusion figure layer, above-mentioned execution
Main body can be directly based upon the fused image in fusion figure layer, generate the new dynamic picture being located in fusion figure layer,
Fusion can also be handled (such as movement) with the fused image in figure layer first, obtain treated fusion after scheme
Picture then generates new dynamic picture based on treated fused image again.
Step 204, it is based on fused image obtained, generates new dynamic picture.
In the present embodiment, it is based on step 203 fused image obtained, new move can be generated in above-mentioned executing subject
State picture.Herein, the shape of new dynamic picture is different from the shape of target dynamic picture, with this, can enrich Dynamic Graph
The display format of piece.
Specifically, above-mentioned executing subject can be first, in accordance with the static map in step 201 still image sequence obtained
Picture puts in order, and is ranked up to fused image corresponding to each still image, obtains fused image sequence;Then
Fused image sequence can be arranged according to the switching frequency of still image corresponding to target dynamic picture in above-mentioned executing subject
In fused image switching frequency, and then generate new dynamic picture.
In some optional implementations of the present embodiment, for the optional implementation in step 203, position is being obtained
After the fused image in fusion figure layer, above-mentioned executing subject can by it is obtained, in fusion figure layer
Fused image is added to pre-set display figure layer;And above-mentioned executing subject can be based in display figure layer
Fused image, generate new dynamic picture.Wherein, display figure layer can be figure layer for displaying images, when aobvious
When showing with new dynamic picture is generated in figure layer, i.e., new dynamic picture is shown simultaneously.
With continued reference to the signal that Fig. 4, Fig. 4 are according to the application scenarios of the method for generating information of the present embodiment
Figure.In the application scenarios of Fig. 4, server 401 can obtain still image sequence corresponding with target dynamic picture 402 first
403.Then server 401 can determine for still image sequence 403 fusion image 404 and fuse information (such as " protect
Stay fillet ") 405, wherein fusion is used to be merged with the still image in still image sequence 403 with image 404, merges
Information 405 is used to indicate the mixing operation of the still image in fusion image 404 and still image sequence 403.Then, for
Still image 4031,4032,4033 in still image sequence 403, server 401 can be based on fuse information 405, right respectively
Still image 4031,4032,4033 and fusion are merged with image 404, obtain fused image 4061,4062,4063.Most
Afterwards, server 401 can be based on fused image 4061,4062,4063 obtained, generate new dynamic picture 407.
The method provided by the above embodiment of the application, which passes through, obtains still image sequence corresponding with target dynamic picture,
Then determine the fusion image and fuse information for being directed to still image sequence, wherein fusion is used for image and still image
Still image in sequence is merged, and fuse information is used to indicate the still image in fusion image and still image sequence
Mixing operation, sequentially for the still image in still image sequence, based on identified fuse information, to the still image
It is merged with identified fusion with image, obtains fused image, be finally based on fused image obtained, generated new
Dynamic picture can be to dynamic thus by being merged to fusion with image with still image corresponding to dynamic picture
The shape of picture is adjusted, and enriches the display format of dynamic picture, improves the diversity of information generation.
With further reference to Fig. 5, it illustrates the processes 500 of another embodiment of the method for generating information.The use
In the process 500 for the method for generating information, comprising the following steps:
Step 501, still image sequence corresponding with target dynamic picture is obtained.
In the present embodiment, can lead to for generating the executing subject (such as server shown in FIG. 1) of the method for information
It crosses wired connection mode or radio connection obtains still image sequence corresponding with target dynamic picture.Wherein, target
Dynamic picture can be the dynamic picture to be adjusted to its shape.Dynamic picture is substantially arranged by one sequentially in time
The still image sequence of column forms, when the still image in still image sequence is imitated with that can generate dynamic when specified frequency error factor
Fruit.
Step 502, the fusion image and fuse information for being directed to still image sequence are determined.
In the present embodiment, based on still image sequence obtained in step 501, above-mentioned executing subject can be determined and is directed to
The fusion image and fuse information of still image sequence.Wherein, fusion image can be used for in still image sequence
Still image is merged, to change the shape of still image.Fusion image can be the pre-set image of technical staff,
It may be the customized image of user.Fuse information can include but is not limited at least one of following: text, number, symbol,
Picture, voice, gesture.Fuse information can serve to indicate that merging for fusion image and the still image in still image sequence
Operation.
Step 503, for the still image in still image sequence, based on identified fuse information, to the static map
Picture and identified fusion are merged with image, obtain fused image.
In the present embodiment, based on the fusion image and fuse information determined in step 502, for still image sequence
In still image, above-mentioned executing subject can be based on identified fuse information, to the still image and identified fusion
It is merged with image, obtains fused image.
Above-mentioned steps 501, step 502, step 503 respectively with step 201, step 202, the step in previous embodiment
203 is consistent, and the description above with respect to step 201, step 202 and step 203 is also applied for step 501, step 502 and step
503, details are not described herein again.
Step 504, for the fused image in fused image obtained, antialiasing is carried out to the fused image
Processing, image after being handled.
In the present embodiment, the fused image in fused image obtained for step 503, above-mentioned executing subject
Antialiasing processing, image after being handled can be carried out to the fused image.It should be noted that antialiasing processing is current
The prior art of research sum extensively, details are not described herein again.
Step 505, based on image after processing obtained, new dynamic picture is generated.
In the present embodiment, based on image after step 504 processing obtained, new move is can be generated in above-mentioned executing subject
State picture.Herein, the shape of new dynamic picture is different from the shape of target dynamic picture, with this, can enrich Dynamic Graph
The display format of piece.
Specifically, above-mentioned executing subject can be first, in accordance with the static map in step 501 still image sequence obtained
Picture puts in order, and is ranked up to image after processing corresponding to each still image, image sequence after being handled;Then
Image sequence after above-mentioned executing subject can be handled according to the switching frequency setting of still image corresponding to target dynamic picture
In processing after image switching frequency, and then generate new dynamic picture.
From figure 5 it can be seen that the method for generating information compared with the corresponding embodiment of Fig. 2, in the present embodiment
Process 500 highlight antialiasing processing carried out to fused image, image after handle, and then based on processing obtained
Image generates the step of new dynamic picture afterwards.The scheme of the present embodiment description can be handled by antialiasing as a result, and reduction is melted
The adverse effect (such as generating burr) to image border is closed, to generate more aesthetically pleasing, the better dynamic picture of dynamic effect.
With further reference to Fig. 6, as the realization to method shown in above-mentioned each figure, this application provides one kind for generating letter
One embodiment of the device of breath, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which can specifically answer
For in various electronic equipments.
As shown in fig. 6, the present embodiment includes: acquiring unit 601, determination unit for generating the device 600 of information
602, integrated unit 603 and generation unit 604.Wherein, acquiring unit 601 is configured to obtain corresponding with target dynamic picture
Still image sequence;Determination unit 602 is configured to determine fusion image and fuse information for still image sequence,
In, fusion is used to be merged with the still image in still image sequence with image, and fuse information is used to indicate fusion figure
As the mixing operation with the still image in still image sequence;Integrated unit 603 is configured in still image sequence
Still image the still image and identified fusion are merged with image based on identified fuse information, obtain
Fused image;Generation unit 604 is configured to generate new dynamic picture based on fused image obtained.
In the present embodiment, for generate information device 600 acquiring unit 601 can by wired connection mode or
Person's radio connection obtains still image sequence corresponding with target dynamic picture.Wherein, target dynamic picture can for
The dynamic picture that its shape is adjusted.The still image sequence that dynamic picture is substantially arranged by one sequentially in time
Composition, when the still image in still image sequence is can generate dynamic effect when specified frequency error factor.
It should be noted that herein, acquiring unit 601 can obtain target dynamic picture first, it is then dynamic to target
State picture is parsed (such as load library by picture and parsed), obtains still image sequence corresponding to target dynamic picture
Column;Alternatively, acquiring unit 601 from local or can also communicate the electronic equipment of connection (such as terminal shown in FIG. 1 is set
It is standby) directly acquire still image sequence corresponding to target dynamic picture.
In the present embodiment, the still image sequence obtained based on acquiring unit 601, determination unit 602 can determine needle
To the fusion image and fuse information of still image sequence.Wherein, fusion image can be used for in still image sequence
Still image merged, to change the shape of still image.Fusion image can be the pre-set figure of technical staff
Picture, or the customized image of user.Fuse information can include but is not limited at least one of following: text, number, symbol
Number, picture, voice, gesture.Fuse information can serve to indicate that the still image in fusion image and still image sequence
Mixing operation.Fuse information corresponding to still image sequence can be for technical staff is pre-set, is used to indicate fusion behaviour
The information of work, or information that user inputs, being used to indicate mixing operation.
In the present embodiment, the fusion image and fuse information determined based on determination unit 602, for still image sequence
Still image in column, integrated unit 603 can be based on identified fuse informations, to the still image and identified fusion
It is merged with image, obtains fused image.
In the present embodiment, the fused image obtained based on integrated unit 603, generation unit 604 can be generated new
Dynamic picture.Herein, the shape of new dynamic picture is different from the shape of target dynamic picture, with this, can enrich dynamic
The display format of picture.
In some optional implementations of the present embodiment, integrated unit 603 can be further configured to: quiet to this
State image and identified fusion are merged with image, obtain the variform fused image with the still image.
In some optional implementations of the present embodiment, generation unit 604 may include: processing module (in figure not
Show), it is configured to carry out at antialiasing the fused image fused image in fused image obtained
Reason, image after being handled;Generation module (not shown) is configured to generate new based on image after processing obtained
Dynamic picture.
In some optional implementations of the present embodiment, the shape of still image can with corresponding to still image
There is corresponding relationship between the shape of fusion image;And determination unit 602 may include: that determining module (is not shown in figure
Out), it is configured to determine the shape of the still image in still image sequence;Module (not shown) is chosen, is configured to
Based on identified shape, the default fusion of selection in image collection is used to use image right as still image sequence institute from default fusion
The fusion image answered.
In some optional implementations of the present embodiment, determination unit 603 can also include: output module (in figure
It is not shown), it is configured to export default fuse information set, for selection by the user;Module (not shown) is obtained, is configured
The default fuse information selected at acquisition user is as fuse information corresponding to still image sequence.
In some optional implementations of the present embodiment, integrated unit 603 may include: creation module (in figure not
Show), it is configured to create fusion figure layer, and the still image and fusion are added to fusion figure layer with image;Melt
Block (not shown) is molded, is configured to the still image in fusion figure layer and melt based on identified fuse information
It shares image to be merged, obtains the fused image being located in fusion figure layer.
In some optional implementations of the present embodiment, device 600 can also include: that adding unit (is not shown in figure
Out), be configured to by it is obtained, positioned at fusion be added to pre-set display figure with the fused image in figure layer
Layer;And generation unit 604 can be further configured to: based on the fused image being located in display figure layer, be generated new
Dynamic picture.
It is understood that all units in the device 600 are opposite with each step in the method with reference to Fig. 2 description
It answers.Device 600 and wherein is equally applicable to above with respect to the operation of method description, the beneficial effect of feature and generation as a result,
The unit for including, details are not described herein.
The device provided by the above embodiment 600 of the application is obtained corresponding with target dynamic picture by acquiring unit 601
Still image sequence, then determination unit 602 determine be directed to still image sequence fusion image and fuse information,
In, fusion is used to be merged with the still image in still image sequence with image, and fuse information is used to indicate fusion figure
As the mixing operation with the still image in still image sequence, sequentially for the still image in still image sequence, fusion
Unit 603 is merged based on identified fuse information, to the still image and identified fusion with image, is merged
Image afterwards ultimately produces unit 604 and is based on fused image obtained, new dynamic picture generated, thus by fusion
It is merged with image with still image corresponding to dynamic picture, the shape of dynamic picture can be adjusted, be enriched
The display format of dynamic picture improves the diversity of information generation.
Below with reference to Fig. 7, it is (such as shown in FIG. 1 that it illustrates the electronic equipments for being suitable for being used to realize the embodiment of the present application
Terminal device or server) computer system 700 structural schematic diagram.Electronic equipment shown in Fig. 7 is only an example,
Should not function to the embodiment of the present application and use scope bring any restrictions.
As shown in fig. 7, computer system 700 includes central processing unit (CPU) 701, it can be read-only according to being stored in
Program in memory (ROM) 702 or be loaded into the program in random access storage device (RAM) 703 from storage section 708 and
Execute various movements appropriate and processing.In RAM 703, also it is stored with system 700 and operates required various programs and data.
CPU 601, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 605 is also connected to always
Line 704.
I/O interface 705 is connected to lower component: the importation 706 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 707 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 708 including hard disk etc.;
And the communications portion 709 of the network interface card including LAN card, modem etc..Communications portion 709 via such as because
The network of spy's net executes communication process.Driver 710 is also connected to I/O interface 705 as needed.Detachable media 711, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 710, in order to read from thereon
Computer program be mounted into storage section 708 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 709, and/or from detachable media
711 are mounted.When the computer program is executed by central processing unit (CPU) 701, limited in execution the present processes
Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or
Computer readable storage medium either the two any combination.Computer readable storage medium for example can be --- but
Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.
The more specific example of computer readable storage medium can include but is not limited to: have one or more conducting wires electrical connection,
Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit
Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory
Part or above-mentioned any appropriate combination.In this application, computer readable storage medium, which can be, any include or stores
The tangible medium of program, the program can be commanded execution system, device or device use or in connection.And
In the application, computer-readable signal media may include in a base band or the data as the propagation of carrier wave a part are believed
Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but not
It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer
Any computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use
In by the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc., Huo Zheshang
Any appropriate combination stated.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet
Include acquiring unit, determination unit, integrated unit and generation unit.Wherein, the title of these units not structure under certain conditions
The restriction of the pairs of unit itself, for example, acquiring unit is also described as " obtaining static state corresponding with target dynamic picture
The unit of image sequence ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are held by the electronic equipment
When row, so that the electronic equipment: obtaining still image sequence corresponding with target dynamic picture;It determines and is directed to still image sequence
Fusion image and fuse information, wherein fusion is used to be merged with the still image in still image sequence with image,
Fuse information is used to indicate the mixing operation of the still image in fusion image and still image sequence;For still image sequence
Still image in column merges the still image and identified fusion with image based on identified fuse information,
Obtain fused image;Based on fused image obtained, new dynamic picture is generated.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.