CN108551556A - The image multiplexing method and device of video photograph album - Google Patents

The image multiplexing method and device of video photograph album Download PDF

Info

Publication number
CN108551556A
CN108551556A CN201810230720.5A CN201810230720A CN108551556A CN 108551556 A CN108551556 A CN 108551556A CN 201810230720 A CN201810230720 A CN 201810230720A CN 108551556 A CN108551556 A CN 108551556A
Authority
CN
China
Prior art keywords
resource
image information
special efficacy
information
efficacy animation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810230720.5A
Other languages
Chinese (zh)
Inventor
李亚捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Star Network Technology Co Ltd
Original Assignee
Xiamen Star Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Star Network Technology Co Ltd filed Critical Xiamen Star Network Technology Co Ltd
Priority to CN201810230720.5A priority Critical patent/CN108551556A/en
Publication of CN108551556A publication Critical patent/CN108551556A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

This application discloses a kind of image multiplexing methods of video photograph album.This method includes:The first resource image that special efficacy animation information and the special efficacy animation resource are included is determined according to the default photograph album template of the video photograph album;According to the target image, first object image information is obtained;Judge the quantitative relation of the first object image information and the first resource image information;According to the quantitative relation judging result of the first object image information and the first resource image information, the first object image is loaded into the special efficacy animation resource;By the way of the quantitative relation for judging target image information and resource image information, by according to judging result, target image is loaded into special efficacy animation resource, achieve the purpose that dynamic adjusts loading scheme, the technique effect for carrying out optimum image multiplexing in load is realized, solves the problems, such as that carrying out image when special efficacy animation resource load target image in the related technology is multiplexed to improve playing efficiency.

Description

The image multiplexing method and device of video photograph album
Technical field
This application involves video photograph album fields, in particular to the image multiplexing method and device of a kind of video photograph album.
Background technology
With the rapid development of mobile Internet, it is different from traditional photograph album, User Defined picture is loaded into video The video photograph album technology of formation is maked rapid progress, when User Defined picture to be loaded into video, due to each video photograph album The element of corresponding photograph album template is often different, and since user-defined picture number is also uncontrollable, so regarding There is no solutions at present for image multiplexing technology when the special efficacy animation resource load target image of frequency photograph album, are badly in need of one with this The image multiplexing method and device of kind of video photograph album, when loading target image with the special efficacy animation resource for solving in the related technology into The problem of multiplexing of row image is to improve playing efficiency.
Invention content
The main purpose of the application is to provide a kind of the image multiplexing method and device of video photograph album, to solve related skill Special efficacy animation resource in art carries out the problem of image is multiplexed to improve playing efficiency when loading target image.
To achieve the goals above, according to the one side of the application, a kind of image multiplexing side of video photograph album is provided Method.
Image multiplexing method according to the video photograph album of the application includes:According to the default photograph album template of the video photograph album Determine the first resource image that special efficacy animation information and the special efficacy animation resource are included;According to the target image, obtain First object image information;Judge the quantitative relation of the first object image information and the first resource image information;Root According to the quantitative relation judging result of the first object image information and the first resource image information, by the first object Image is loaded into the special efficacy animation resource.
Further, judge the quantitative relation packet of the first object image information and the first resource image information It includes:Judge the first object quantity in the first object image information and the first resource in the first resource image information Whether quantity is equal;It, will be described according to the quantitative relation of the first object image information and the first resource image information First object image information is loaded into the special efficacy animation:If the first object quantity and the first resource number It measures equal, then replaces each first object image information is corresponding respectively each first resource image information and load Into the special efficacy animation.
Further, judge the quantitative relation packet of the first object image information and the first resource image information It includes:Judge first object quantity in the first object image information it is whether small with the first resource image information the One resource quantity;According to the quantitative relation of the first object image information and the first resource image information, by described One target image information is loaded into the special efficacy animation:If the first object quantity is small with the first resource number The first object image information is then repeated in each first resource image information of corresponding replacement and is loaded into institute by amount It states in special efficacy animation, until the first object quantity of load is equal with the first resource quantity.
Further, judge the quantitative relation packet of the first object image information and the first resource image information It includes:Judge whether first object quantity in the first object image information is more than the in the first resource image information One resource quantity;According to the quantitative relation of the first object image information and the first resource image information, by described One target image information is loaded into the special efficacy animation:If the first object quantity is more than the first resource number Amount is then repeated in the load special efficacy animation, and the corresponding replacement special efficacy is moved respectively by the first object image information It draws the first resource image information for being included and is loaded into the special efficacy animation, until the first object number of load Amount is equal with the first resource quantity.
Further, it determines the photograph album template, obtains the template scene information of the photograph album template;According to the template Scene information obtains the first resource image information that corresponding special efficacy animation information and the special efficacy animation information are included.
To achieve the goals above, according to the another aspect of the application, a kind of image multiplexing dress of video photograph album is provided It sets.
Image multiplexer according to the video photograph album of the application includes:Special efficacy animation acquiring unit, for according to The default photograph album template of video photograph album determines the first resource image that special efficacy animation information and the special efficacy animation resource are included; Target image acquiring unit, for according to the target image, obtaining first object image information;Judging unit, for judging The quantitative relation of the first object image information and the first resource image information;Multiplexing Unit is loaded, for according to institute The quantitative relation judging result for stating first object image information and the first resource image information, by the first object image It is loaded into the special efficacy animation resource.
Further, the judging unit includes:Equivalent modules are judged, for judging in the first object image information First object quantity and the first resource quantity in the first resource image information it is whether equal;Judge small and module, uses In judge the first object quantity in the first object image information it is whether small with the first resource image information in the One resource quantity;Judge to be more than module, for judging whether the first object quantity in the first object image information is more than First resource quantity in the first resource image information.
Further, the load Multiplexing Unit includes:Corresponding load-on module, if for the first object quantity with The first resource quantity is equal, then corresponds to each first object image information respectively and replace each first resource Image information is simultaneously loaded into the special efficacy animation;Target image Multiplexing module, if for the first object quantity it is small with The first object image information is then repeated in each first resource image of corresponding replacement by the first resource quantity Information is simultaneously loaded into the special efficacy animation, until the first object quantity of load is equal with the first resource quantity; Special efficacy animation Multiplexing module is repeated in load if being more than the first resource quantity for the first object quantity The special efficacy animation, and the first object image information is corresponded to respectively and replaces the special efficacy animation is included described first Resource image information is simultaneously loaded into the special efficacy animation, until the first object quantity of load and the first resource number It measures equal.
Further, the load Multiplexing Unit further includes:Scene acquisition module is obtained for determining the photograph album template To the template scene information of the photograph album template;Resource information acquisition module, for according to the template scene information, obtaining phase The first resource image information that the special efficacy animation information and the special efficacy animation information answered are included.
In the embodiment of the present application, by the way of the quantitative relation for judging target image information and resource image information, By the way that according to judging result, target image is loaded into special efficacy animation resource, reaches and added according to actual conditions dynamic adjustment The purpose of load scheme to realize the technique effect for carrying out optimum image multiplexing in load, and then solves in the related technology Special efficacy animation resource load target image when carry out image be multiplexed to improve playing efficiency the problem of.
Description of the drawings
The attached drawing constituted part of this application is used for providing further understanding of the present application so that the application's is other Feature, objects and advantages become more apparent upon.The illustrative examples attached drawing and its explanation of the application is for explaining the application, not Constitute the improper restriction to the application.In the accompanying drawings:
Fig. 1 is image multiplexing method schematic diagram according to a first embodiment of the present invention;
Fig. 2 is image multiplexing method schematic diagram according to a second embodiment of the present invention;
Fig. 3 is image multiplexing method schematic diagram according to a third embodiment of the present invention;
Fig. 4 is image multiplexing method schematic diagram according to a fourth embodiment of the present invention;
Fig. 5 is image multiplexing method schematic diagram according to a fifth embodiment of the present invention;
Fig. 6 is image multiplexer schematic diagram according to a first embodiment of the present invention;
Fig. 7 is according to judging unit schematic diagram of the present invention;And
Fig. 8 is according to load Multiplexing Unit schematic diagram of the present invention.
Specific implementation mode
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described embodiment is only The embodiment of the application part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people The every other embodiment that member is obtained without making creative work should all belong to the model of the application protection It encloses.
It should be noted that term " first " in the description and claims of this application and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way Data can be interchanged in the appropriate case, so as to embodiments herein described herein.In addition, term " comprising " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing series of steps or unit Process, method, system, product or equipment those of are not necessarily limited to clearly to list step or unit, but may include without clear It is listing to Chu or for these processes, method, product or equipment intrinsic other steps or unit.
In this application, term "upper", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outside", " in ", "vertical", "horizontal", " transverse direction ", the orientation or positional relationship of the instructions such as " longitudinal direction " be orientation based on ... shown in the drawings or Position relationship.These terms are not intended to limit indicated dress primarily to preferably describe the present invention and embodiment It sets, element or component must have particular orientation, or be constructed and operated with particular orientation.
Also, above-mentioned part term is other than it can be used to indicate that orientation or positional relationship, it is also possible to for indicating it His meaning, such as term "upper" also are likely used for indicating certain relations of dependence or connection relation in some cases.For ability For the those of ordinary skill of domain, the concrete meaning of these terms in the present invention can be understood as the case may be.
In addition, term " installation ", " setting ", " being equipped with ", " connection ", " connected ", " socket " shall be understood in a broad sense.For example, It may be a fixed connection, be detachably connected or monolithic construction;Can be mechanical connection, or electrical connection;It can be direct phase Even, or indirectly connected through an intermediary, or it is two connections internal between device, element or component. For those of ordinary skills, the specific meanings of the above terms in the present invention can be understood according to specific conditions.
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.
As shown in Figure 1, this method includes following step S101 to step S104:
Step S101 determines special efficacy animation information and the special efficacy animation according to the default photograph album template of the video photograph album The first resource image that resource is included;
Preferably, the photograph album template is composed of at least one layer of figure layer element, specifically, including but unlimited In:First figure layer element (background video), the second figure layer element (special efficacy animation), third figure layer element are (preceding Scape video).
Wherein, the special efficacy animation includes resource information (i.e. first resource image), in the other embodiment of the application In, the resource information including but not limited to:Picture, video, animation.
Step S102 obtains first object image information according to the target image;
Preferably, the first object image information for making the video photograph album can be the mobile phone of user's selection Picture in system photograph album can also derive from the picture that user selects from other software, specifically, user's click mobile phone is soft " starting from video photograph album " button of part, calling mobile phone system photograph album simultaneously jump to the system photograph album page, and user manually selects An at least pictures are as the first object image information for making the video photograph album.
Preferably, in the other embodiment of the application, the first object image information including but not limited to:Picture, Video, animation.
Step S103 judges the quantitative relation of the first object image information and the first resource image information;
Preferably, each photograph album template is preset with different scene quantity, according to different scene quantity, forms institute Background video, special efficacy animation, the quantity of foreground video and the making for stating photograph album template also differ.
Step S104 judges according to the quantitative relation of the first object image information and the first resource image information As a result, the first object image is loaded into the special efficacy animation resource.
Preferably, such as current template has 3 scenes, then we have 3 special efficacy animations (including resource picture 4 to open), 3 A background video and 3 foreground videos, when user's selection is added to N pictures (pic1, pic2 ..., picN).
If N is opened less than total resources picture 4, such as N=2 (pic1, pic2), the user's picture number at this moment selected is than silent Recognize the picture for including that resource picture is few, and recycling is needed to select, final picture number is made to be opened equal to total resources picture 4, this When be ultimately passed to special efficacy animation picture be 4, respectively pic1, pic2, pic1, pic2.
If N is opened equal to total resources picture 4, this 4 pictures that user is selected, are pic1, pic2, pic3 respectively, Pic4 is transmitted to special efficacy animation.
If N is opened more than total resources picture 4, such as N=6 (pic1, pic2, pic3, pic4, pic5, pic6), at this moment select It is more that user's picture number for selecting than acquiescence includes resource picture, needs to reuse existing animation, current animation is db1 (accommodating pic1), db2 (accommodate pic2, pic3), and db3 (accommodates pic4), at this moment to reuse special efficacy animation db1 from the beginning (being identified as re_db1), then re_db1 (accommodating pic5).
At this moment special efficacy animation db2 (being identified as re_db2) is reused, but only surplus pic6 mono- opens image at present, re_ Db2 itself needs 2 pictures, so picture pic1 (being identified as re_pic1) must be multiplexed from the beginning, at this moment re_db2 (holds Pic6, re_pic1 are received).
It when being more than total resources picture number due to N, obtains and is first from the beginning multiplexed special efficacy animation successively, the special efficacy animation being re-used needs When the picture number wanted is inadequate, from the beginning users multiplexing picture successively again, so in this example, final special efficacy animation is 5, It is db1, db2, db3, re_db1, re_db2 respectively.Final picture number is 7, respectively pic1, pic2, pic3, Pic4, pic5, pic6, pic7 fill this 5 special efficacy animations with this 7 pictures.
It can be seen from the above description that the present invention realizes following technique effect:
In the embodiment of the present application, by the way of the quantitative relation for judging target image information and resource image information, By the way that according to judging result, target image is loaded into special efficacy animation resource, reaches and added according to actual conditions dynamic adjustment The purpose of load scheme to realize the technique effect for carrying out optimum image multiplexing in load, and then solves in the related technology Special efficacy animation resource load target image when carry out image be multiplexed to improve playing efficiency the problem of.
According to embodiments of the present invention, as preferred in embodiment, as shown in Fig. 2, further including following steps S201 to walking Rapid S202:
Judge that the quantitative relation of the first object image information and the first resource image information includes:
Step S201 judges that the first object quantity in the first object image information is believed with the first resource image Whether the first resource quantity in breath is equal;
Preferably, such as current template has 3 scenes, then we have 3 special efficacy animations (including resource picture 4 to open), 3 A background video and 3 foreground videos, when user selection be added to N pictures (pic1, pic2 ..., picN), whether judge N It is opened equal to total resources picture 4.
According to the quantitative relation of the first object image information and the first resource image information, by first mesh Logo image information is loaded into the special efficacy animation:
Step S202, if the first object quantity is equal with the first resource quantity, by each described first Target image information is corresponding respectively to replace each first resource image information and is loaded into the special efficacy animation.
Preferably, if N is opened equal to total resources picture 4, this 4 pictures that user is selected, are pic1, pic2 respectively, Pic3, pic4 are transmitted to special efficacy animation.
According to embodiments of the present invention, as preferred in embodiment, as shown in figure 3, further including following steps S301 to walking Rapid S302:
Judge that the quantitative relation of the first object image information and the first resource image information includes:
Step S301 judges whether first object quantity in the first object image information is small with the first resource First resource quantity in image information;
Preferably, such as current template has 3 scenes, then we have 3 special efficacy animations (including resource picture 4 to open), 3 A background video and 3 foreground videos, when user selection be added to N pictures (pic1, pic2 ..., picN), whether judge N It is opened less than total resources picture 4.
According to the quantitative relation of the first object image information and the first resource image information, by first mesh Logo image information is loaded into the special efficacy animation:
Step S302, if the first object quantity is small with the first resource quantity, by the first object figure As information be repeated in it is corresponding replace each first resource image information and be loaded into the special efficacy animation, until load The first object quantity it is equal with the first resource quantity.
Preferably, if N is opened less than total resources picture 4, for example, N=2 (pic1, pic2), the user's picture at this moment selected Quantity includes the picture that resource picture is few, and recycling is needed to select than acquiescence, and final picture number is made to be equal to total resources figure Piece 4 is opened, and the picture for being at this moment ultimately passed to special efficacy animation is 4, respectively pic1, pic2, pic1, pic2.
According to embodiments of the present invention, as preferred in embodiment, as shown in figure 4, further including following steps S401 to walking Rapid S402:
Judge that the quantitative relation of the first object image information and the first resource image information includes:
Step S401, judges whether the first object quantity in the first object image information is more than the first resource First resource quantity in image information;
Preferably, such as current template has 3 scenes, then we have 3 special efficacy animations (including resource picture 4 to open), 3 A background video and 3 foreground videos, when user selection be added to N pictures (pic1, pic2 ..., picN), whether judge N It is opened more than total resources picture 4.
According to the quantitative relation of the first object image information and the first resource image information, by first mesh Logo image information is loaded into the special efficacy animation:
Step S402 is repeated in if the first object quantity is more than the first resource quantity described in load Special efficacy animation, and the first object image information is corresponded to the first resource replaced the special efficacy animation and included respectively Image information is simultaneously loaded into the special efficacy animation, until the first object quantity and the first resource quantity phase of load Deng.
If N is opened more than total resources picture 4, such as N=6 (pic1, pic2, pic3, pic4, pic5, pic6), at this moment select It is more that user's picture number for selecting than acquiescence includes resource picture, needs to reuse existing animation, current animation is db1 (accommodating pic1), db2 (accommodate pic2, pic3), and db3 (accommodates pic4), at this moment to reuse special efficacy animation db1 from the beginning (being identified as re_db1), then re_db1 (accommodating pic5).
At this moment special efficacy animation db2 (being identified as re_db2) is reused, but only surplus pic6 mono- opens image at present, re_ Db2 itself needs 2 pictures, so picture pic1 (being identified as re_pic1) must be multiplexed from the beginning, at this moment re_db2 (holds Pic6, re_pic1 are received).
It when being more than total resources picture number due to N, obtains and is first from the beginning multiplexed special efficacy animation successively, the special efficacy animation being re-used needs When the picture number wanted is inadequate, from the beginning users multiplexing picture successively again, so in this example, final special efficacy animation is 5, It is db1, db2, db3, re_db1, re_db2 respectively.Final picture number is 7, respectively pic1, pic2, pic3, Pic4, pic5, pic6, pic7 fill this 5 special efficacy animations with this 7 pictures.
According to embodiments of the present invention, as preferred in embodiment, as shown in figure 5, further including following steps S501 to walking Rapid S502:
Step S501 determines the photograph album template, obtains the template scene information of the photograph album template;
Preferably, each photograph album template is preset with different scene quantity, according to different scene quantity, forms institute Background video, special efficacy animation, the quantity of foreground video and the making for stating photograph album template also differ.
Step S502 obtains corresponding special efficacy animation information and special efficacy animation letter according to the template scene information The included first resource image information of breath.
Preferably, the photograph album template is composed of at least one layer of figure layer element, specifically, including but unlimited In:First figure layer element (background video), the second figure layer element (special efficacy animation), third figure layer element are (preceding Scape video).
Specifically, after the completion of user selects first object image information, system jumps to the stencil-chosen page, the mould The plate selection page is provided at least one photograph album template, and each photograph album template is regarded by background video, special efficacy animation, foreground Frequency is composed, and thus obtains the resource pictorial information that special efficacy animation information is included.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not The sequence being same as herein executes shown or described step.
According to embodiments of the present invention, a kind of dress for implementing the image multiplexing method of above-mentioned video photograph album is additionally provided It sets, as shown in fig. 6, the device includes:Special efficacy animation acquiring unit 10, for the default photograph album template according to the video photograph album Determine the first resource image that special efficacy animation information and the special efficacy animation resource are included;Target image acquiring unit 20 is used According to the target image, first object image information is obtained;Judging unit 30, for judging the first object image letter The quantitative relation of breath and the first resource image information;Multiplexing Unit 40 is loaded, for believing according to the first object image The quantitative relation judging result of breath and the first resource image information, is loaded into the special efficacy by the first object image and moves It draws in resource.
The special efficacy animation acquiring unit 10 includes according to embodiments of the present invention:The photograph album template is by least one layer of figure layer Element is composed, specifically, including but not limited to:First figure layer element (background video), the second figure layer composition Element (special efficacy animation), third figure layer element (foreground video), wherein the special efficacy animation include resource information (i.e. First resource image), in the other embodiment of the application, the resource information including but not limited to:Picture, video, animation.
The target image acquiring unit 20 according to embodiments of the present invention is used to make the first object of the video photograph album Image information can be the picture in the cell phone system photograph album of user's selection, can also be selected from other software from user Picture, specifically, user clicks " starting from video photograph album " button of cell phone software, calling mobile phone system photograph album simultaneously redirects To the system photograph album page, user manually selects an at least pictures as the first object image for making the video photograph album Information.
The judging unit 30 includes according to embodiments of the present invention:Each photograph album template is preset with different scene numbers Amount, according to different scene quantity, forms the background video of the photograph album template, the quantity and system of special efficacy animation, foreground video Also it differs.
The load Multiplexing Unit 40 includes according to embodiments of the present invention:Such as current template has 3 scenes, then we have been There are 3 special efficacy animations (including resource picture 4 to open), 3 background videos and 3 foreground videos, when user's selection is added to N figures Piece (pic1, pic2 ..., picN);If N is opened less than total resources picture 4, such as N=2 (pic1, pic2), at this moment select User's picture number includes the picture that resource picture is few, and recycling is needed to select than acquiescence, and final picture number is made to be equal to Total resources picture 4 is opened, and the picture for being at this moment ultimately passed to special efficacy animation is 4, respectively pic1, pic2, pic1, pic2;If N It is opened equal to total resources picture 4, then this 4 pictures user selected, is pic1, pic2, pic3 respectively, it is dynamic that pic4 is transmitted to special efficacy It draws;If N is opened more than total resources picture 4, such as N=6 (pic1, pic2, pic3, pic4, pic5, pic6), at this moment select It is more that user's picture number than acquiescence includes resource picture, needs to reuse existing animation, current animation is that db1 (is accommodated Pic1), db2 (accommodating pic2, pic3), db3 (accommodate pic4), at this moment to reuse special efficacy animation db1 (marks from the beginning For re_db1), then re_db1 (accommodating pic5);At this moment special efficacy animation db2 (being identified as re_db2) is reused, but mesh Preceding image only remains pic6 mono- and opens, and re_db2 itself needs 2 pictures, (is identified as so picture pic1 must be multiplexed from the beginning Re_pic1), at this moment re_db2 (containing pic6, re_pic1);Due to N be more than total resources picture number when, obtain first from the beginning according to Secondary multiplexing special efficacy animation, when the picture number that the special efficacy animation that is re-used needs is inadequate, from the beginning users multiplexing picture successively again, So in this example, final special efficacy animation is 5, is db1, db2, db3, re_db1, re_db2 respectively.Final picture number Amount is 7, respectively pic1, pic2, pic3, pic4, pic5, pic6, pic7, this 5 special efficacys are filled with this 7 pictures Animation.
According to embodiments of the present invention, as preferred in embodiment, as shown in fig. 7, the judging unit 30 includes:Sentence Disconnected equivalent modules 31, for judging that the first object quantity in the first object image information is believed with the first resource image Whether the first resource quantity in breath is equal;Judge it is small with module 32, for judging the in the first object image information The whether small first resource quantity with the first resource image information of one destination number;Judge to be more than module 33, for sentencing Whether the first object quantity in the first object image information of breaking is more than the first money in the first resource image information Source quantity.
The judgement equivalent modules 31 include according to embodiments of the present invention:Preferably, such as current template has 3 scenes, Then we have 3 special efficacy animations (including resource picture 4 to open), 3 background videos and 3 foreground videos, when user's selection adds N pictures (pic1, pic2 ..., picN) are added, have judged whether N opens equal to total resources picture 4.
The judgement is small according to embodiments of the present invention includes with module 32:Preferably, such as current template has 3 scenes, Then we have 3 special efficacy animations (including resource picture 4 to open), 3 background videos and 3 foreground videos, when user's selection adds N pictures (pic1, pic2 ..., picN) are added, have judged whether N opens less than total resources picture 4.
The judgement according to embodiments of the present invention more than module 33 includes:Preferably, such as current template has 3 scenes, Then we have 3 special efficacy animations (including resource picture 4 to open), 3 background videos and 3 foreground videos, when user's selection adds N pictures (pic1, pic2 ..., picN) are added, have judged whether N opens more than total resources picture 4.
According to embodiments of the present invention, as preferred in embodiment, as shown in figure 8, load Multiplexing Unit 40 includes:It is right Load-on module 41 is answered, if equal with the first resource quantity for the first object quantity, by each described first Target image information is corresponding respectively to replace each first resource image information and is loaded into the special efficacy animation;Target figure As Multiplexing module 42, if small with the first resource quantity for the first object quantity, by the first object figure As information be repeated in it is corresponding replace each first resource image information and be loaded into the special efficacy animation, until load The first object quantity it is equal with the first resource quantity;Special efficacy animation Multiplexing module 43, if being used for described first Destination number is more than the first resource quantity, then is repeated in the load special efficacy animation, and by the first object image The information first resource image information that the corresponding replacement special efficacy animation is included respectively is simultaneously loaded into the special efficacy animation In, until the first object quantity of load is equal with the first resource quantity;Scene acquisition module 44, for determining Photograph album template is stated, the template scene information of the photograph album template is obtained;Resource information acquisition module 45, for according to the template Scene information obtains the first resource image information that corresponding special efficacy animation information and the special efficacy animation information are included.
The corresponding load-on module 41 includes according to embodiments of the present invention:If N is opened equal to total resources picture 4, with This 4 pictures of family choosing, are pic1, pic2, pic3 respectively, pic4 is transmitted to special efficacy animation.
The target image Multiplexing module 42 includes according to embodiments of the present invention:If N is opened less than total resources picture 4, than Such as N=2 (pic1, pic2), it is few that the user's picture number at this moment selected than acquiescence includes resource picture, and recycling is needed to select The picture selected makes final picture number be opened equal to total resources picture 4, and the picture for being at this moment ultimately passed to special efficacy animation is 4, respectively For pic1, pic2, pic1, pic2.
The special efficacy animation Multiplexing module 43 includes according to embodiments of the present invention:If N is opened more than total resources picture 4, than Such as N=6 (pic1, pic2, pic3, pic4, pic5, pic6), the user's picture number at this moment selected includes resource map than acquiescence Piece is more, needs to reuse existing animation, current animation is db1 (accommodating pic1), and db2 (accommodates pic2, pic3), db3 (accommodating pic4), at this moment will reuse special efficacy animation db1 (being identified as re_db1) from the beginning, then re_db1 (is accommodated pic5);At this moment special efficacy animation db2 (being identified as re_db2) is reused, but only surplus pic6 mono- opens image at present, re_ Db2 itself needs 2 pictures, so picture pic1 (being identified as re_pic1) must be multiplexed from the beginning, at this moment re_db2 (holds Pic6, re_pic1 are received);When being more than total resources picture number due to N, obtains and be first from the beginning multiplexed special efficacy animation successively, be re-used The picture number that needs of special efficacy animation it is inadequate when, from the beginning users multiplexing picture successively again, so in this example, final spy It is 5 to imitate animation, is db1, db2, db3, re_db1, re_db2 respectively.Final picture number is 7, respectively pic1, Pic2, pic3, pic4, pic5, pic6, pic7 fill this 5 special efficacy animations with this 7 pictures.
The scene acquisition module 44 includes according to embodiments of the present invention:Each photograph album template is preset with different fields Scape quantity forms the background video of the photograph album template, the quantity of special efficacy animation, foreground video according to different scene quantity It is also differed with making.
The resource information acquisition module 45 includes according to embodiments of the present invention:The photograph album template is by least one layer of figure layer Element is composed, specifically, including but not limited to:First figure layer element (background video), the second figure layer composition Element (special efficacy animation), third figure layer element (foreground video);Specifically, when user selects first object image information complete Cheng Hou, system jump to the stencil-chosen page, and the stencil-chosen page is provided at least one photograph album template, each phase Volume template is composed of background video, special efficacy animation, foreground video, thus obtains the resource that special efficacy animation information is included Pictorial information.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored Be performed by computing device in the storage device, either they are fabricated to each integrated circuit modules or by they In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific Hardware and software combines.
The foregoing is merely the preferred embodiments of the application, are not intended to limit this application, for the skill of this field For art personnel, the application can have various modifications and variations.Within the spirit and principles of this application, any made by repair Change, equivalent replacement, improvement etc., should be included within the protection domain of the application.

Claims (9)

1. a kind of image multiplexing method of video photograph album, the special efficacy animation resource for video photograph album carries out when loading target image Image is multiplexed, which is characterized in that the method includes:
Determine that special efficacy animation information and the special efficacy animation resource are included according to the default photograph album template of the video photograph album First resource image;
According to the target image, first object image information is obtained;
Judge the quantitative relation of the first object image information and the first resource image information;
According to the quantitative relation judging result of the first object image information and the first resource image information, by described One target image is loaded into the special efficacy animation resource.
2. image multiplexing method according to claim 1, which is characterized in that
Judge that the quantitative relation of the first object image information and the first resource image information includes:
Judge the first object quantity in the first object image information and the first money in the first resource image information Whether source quantity is equal;
According to the quantitative relation of the first object image information and the first resource image information, by the first object figure Include as information is loaded into the special efficacy animation:
It, will each first object image information point if the first object quantity is equal with the first resource quantity Each first resource image information Dui Ying not replaced and be loaded into the special efficacy animation.
3. image multiplexing method according to claim 1, which is characterized in that
Judge that the quantitative relation of the first object image information and the first resource image information includes:
Judge first object quantity in the first object image information it is whether small in the first resource image information First resource quantity;
According to the quantitative relation of the first object image information and the first resource image information, by the first object figure Include as information is loaded into the special efficacy animation:
If the first object quantity is small with the first resource quantity, the first object image information is repeated in It is corresponding to replace each first resource image information and be loaded into the special efficacy animation, until the first object of load Quantity is equal with the first resource quantity.
4. image multiplexing method according to claim 1, which is characterized in that
Judge that the quantitative relation of the first object image information and the first resource image information includes:
Judge whether the first object quantity in the first object image information is more than in the first resource image information First resource quantity;
According to the quantitative relation of the first object image information and the first resource image information, by the first object figure Include as information is loaded into the special efficacy animation:
If the first object quantity is more than the first resource quantity, it is repeated in the load special efficacy animation, and will The first object image information first resource image information that the corresponding replacement special efficacy animation is included respectively simultaneously adds It is downloaded in the special efficacy animation, until the first object quantity of load is equal with the first resource quantity.
5. image multiplexing method according to claim 1, which is characterized in that described to be believed according to the template of the video photograph album Breath, obtaining the first resource image information that special efficacy animation information and the special efficacy animation information are included includes:
It determines the photograph album template, obtains the template scene information of the photograph album template;
According to the template scene information, corresponding special efficacy animation information and the special efficacy animation information are included first is obtained Resource image information.
6. a kind of image multiplexer of video photograph album, the special efficacy animation resource for video photograph album carries out when loading target image Image is multiplexed, which is characterized in that including:
Special efficacy animation acquiring unit, for determining special efficacy animation information and described according to the default photograph album template of the video photograph album The first resource image that special efficacy animation resource is included;
Target image acquiring unit, for according to the target image, obtaining first object image information;
Judging unit, the quantitative relation for judging the first object image information and the first resource image information;
Multiplexing Unit is loaded, for the quantitative relation according to the first object image information and the first resource image information The first object image is loaded into the special efficacy animation resource by judging result.
7. image multiplexer according to claim 6, which is characterized in that the judging unit includes:
Equivalent modules are judged, for judging the first object quantity in the first object image information and the first resource figure As whether the first resource quantity in information is equal;
Small and module is judged, for judging whether the first object quantity in the first object image information is small with described first First resource quantity in resource image information;
Judge to be more than module, for judging whether the first object quantity in the first object image information is more than described first First resource quantity in resource image information.
8. image multiplexer according to claim 6, which is characterized in that the load Multiplexing Unit includes:
Corresponding load-on module will be each described if equal with the first resource quantity for the first object quantity First object image information is corresponding respectively to replace each first resource image information and is loaded into the special efficacy animation;
Target image Multiplexing module, if small with the first resource quantity for the first object quantity, by described the One target image information is repeated in each first resource image information of corresponding replacement and is loaded into the special efficacy animation, Until the first object quantity of load is equal with the first resource quantity;
Special efficacy animation Multiplexing module is repeated in if being more than the first resource quantity for the first object quantity Load the special efficacy animation, and replace the first object image information is corresponding respectively described in the special efficacy animation included First resource image information is simultaneously loaded into the special efficacy animation, until the first object quantity of load is provided with described first Source quantity is equal.
9. image multiplexer according to claim 6, which is characterized in that the load Multiplexing Unit further includes:
Scene acquisition module obtains the template scene information of the photograph album template for determining the photograph album template;
Resource information acquisition module, for according to the template scene information, obtaining corresponding special efficacy animation information and the spy The first resource image information that effect animation information is included.
CN201810230720.5A 2018-03-20 2018-03-20 The image multiplexing method and device of video photograph album Pending CN108551556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810230720.5A CN108551556A (en) 2018-03-20 2018-03-20 The image multiplexing method and device of video photograph album

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810230720.5A CN108551556A (en) 2018-03-20 2018-03-20 The image multiplexing method and device of video photograph album

Publications (1)

Publication Number Publication Date
CN108551556A true CN108551556A (en) 2018-09-18

Family

ID=63516813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810230720.5A Pending CN108551556A (en) 2018-03-20 2018-03-20 The image multiplexing method and device of video photograph album

Country Status (1)

Country Link
CN (1) CN108551556A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060181736A1 (en) * 1999-11-24 2006-08-17 Quek Su M Image collage builder
CN101315702A (en) * 2007-05-29 2008-12-03 翟卫东 Electronic album production method and device thereof
CN101606125A (en) * 2007-02-16 2009-12-16 夏普株式会社 User interface generating apparatus, information terminal, user interface generate control program, recording medium and user interface creating method
CN101739654A (en) * 2008-11-17 2010-06-16 北大方正集团有限公司 Method, system and server for manufacturing image set
CN102804759A (en) * 2009-06-24 2012-11-28 惠普开发有限公司 Image album creation
CN102881035A (en) * 2012-09-12 2013-01-16 福建天晴数码有限公司 Automatic layout system for electronic photograph album based on image contents
CN105430294A (en) * 2014-09-12 2016-03-23 富士胶片株式会社 Image Processing Apparatus, Image Processing Method, And Program
CN105630954A (en) * 2015-12-23 2016-06-01 北京奇虎科技有限公司 Method and device for synthesizing dynamic pictures on basis of photos
CN106780314A (en) * 2016-12-29 2017-05-31 维沃移动通信有限公司 The method and mobile terminal of a kind of picture mosaic preview
CN107197341A (en) * 2017-06-02 2017-09-22 福建星网视易信息系统有限公司 It is a kind of that screen display methods, device and a kind of storage device are dazzled based on GPU
CN107783949A (en) * 2016-08-24 2018-03-09 北京神州泰岳软件股份有限公司 A kind for the treatment of method and apparatus of PPT documents

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060181736A1 (en) * 1999-11-24 2006-08-17 Quek Su M Image collage builder
CN101606125A (en) * 2007-02-16 2009-12-16 夏普株式会社 User interface generating apparatus, information terminal, user interface generate control program, recording medium and user interface creating method
CN101315702A (en) * 2007-05-29 2008-12-03 翟卫东 Electronic album production method and device thereof
CN101739654A (en) * 2008-11-17 2010-06-16 北大方正集团有限公司 Method, system and server for manufacturing image set
CN102804759A (en) * 2009-06-24 2012-11-28 惠普开发有限公司 Image album creation
CN102881035A (en) * 2012-09-12 2013-01-16 福建天晴数码有限公司 Automatic layout system for electronic photograph album based on image contents
CN105430294A (en) * 2014-09-12 2016-03-23 富士胶片株式会社 Image Processing Apparatus, Image Processing Method, And Program
CN105630954A (en) * 2015-12-23 2016-06-01 北京奇虎科技有限公司 Method and device for synthesizing dynamic pictures on basis of photos
CN107783949A (en) * 2016-08-24 2018-03-09 北京神州泰岳软件股份有限公司 A kind for the treatment of method and apparatus of PPT documents
CN106780314A (en) * 2016-12-29 2017-05-31 维沃移动通信有限公司 The method and mobile terminal of a kind of picture mosaic preview
CN107197341A (en) * 2017-06-02 2017-09-22 福建星网视易信息系统有限公司 It is a kind of that screen display methods, device and a kind of storage device are dazzled based on GPU

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XIAORED81: "《百度经验》", 29 May 2014 *

Similar Documents

Publication Publication Date Title
CN103577207B (en) A kind of loading method and device of defined interface system median surface component
CN112069339B (en) Background picture processing and search result displaying method, device, equipment and medium
CN106375789B (en) Medium living broadcast method and apparatus
CN106528025B (en) Multi-screen image projection method, terminal, server and system
CN108173742B (en) Image data processing method and device
CN107402747A (en) A kind of five application page dynamic creation method for supporting multiple terminals type
CN106844722A (en) Group photo system and method based on Kinect device
EP3127086B1 (en) Method and apparatus for processing a video file
WO2023045857A1 (en) Image processing method and apparatus, electronic device and storage medium
CN108509272A (en) GPU video memory textures are copied to the method, apparatus and electronic equipment of Installed System Memory
CN107203312B (en) Mobile terminal and picture rendering method and storage device thereof
CN106060899A (en) Flow control method and device
CN101635004B (en) Color matching method and color matching device based on terminal
CN106651999A (en) Method and device for accelerating frame animation loading
CN105550370A (en) Input method and input system
CN106708478A (en) Scroll view display method and device
CN1287751A (en) Static image generation method and device
CN105957133B (en) A kind of method and apparatus for loading textures
CN108551556A (en) The image multiplexing method and device of video photograph album
CN104104878A (en) Reminding mthod and system for shooting time length in shooting process
CN108540849A (en) The generation method and device of video photograph album
CN107360361A (en) A kind of reversible-light shooting personage method and device
EP4459974A1 (en) Video generation circuits, video generation method, and electronic devices
CN102083045B (en) Method and device for processing service charging
CN106127404A (en) A kind of evaluation methodology, electronic equipment and electronic installation

Legal Events

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

Application publication date: 20180918