CN108364337A - The animated show method and device of image - Google Patents

The animated show method and device of image Download PDF

Info

Publication number
CN108364337A
CN108364337A CN201810095905.XA CN201810095905A CN108364337A CN 108364337 A CN108364337 A CN 108364337A CN 201810095905 A CN201810095905 A CN 201810095905A CN 108364337 A CN108364337 A CN 108364337A
Authority
CN
China
Prior art keywords
image
image object
movement locus
presented
parameter
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
CN201810095905.XA
Other languages
Chinese (zh)
Inventor
马东辉
曾超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing CHJ Information Technology Co Ltd
Original Assignee
Beijing CHJ Information 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 Beijing CHJ Information Technology Co Ltd filed Critical Beijing CHJ Information Technology Co Ltd
Priority to CN201810095905.XA priority Critical patent/CN108364337A/en
Publication of CN108364337A publication Critical patent/CN108364337A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/802D [Two Dimensional] animation, e.g. using sprites

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

Embodiment of the disclosure provides a kind of animated show method and device of image, is related to terminal applies technical field, and main purpose is to provide a kind of new image shows pattern, to improve the visual experience that user watches image.The main technical schemes of embodiment of the disclosure include:Image to be presented is obtained, and is several image objects by the image cutting to be presented;Generate the movement locus of each image object;The image object is shown according to the corresponding movement locus of each image object.

Description

The animated show method and device of image
Technical field
Embodiment of the disclosure is related to terminal applies technical field, a kind of animated show method more particularly to image and Device.
Background technology
With the continuous development of terminal technology, the terminals such as smart mobile phone, tablet computer also rapidly develop, and are the work of people Certain conveniences of taking such as work, study, life.
In order to make the function of terminal more abundant, can by install in the terminal application program (Application, APP it) realizes.By taking the smart mobile phone of iOS system as an example, other than the APP that smart mobile phone carries, user can independently download other the The APP that tripartite provides.In order to enhance the user experience that user uses APP, iOS system provides the work(that animation is shown when APP starts Can, enhance the usage experience of user.
During inventor states invention in realization, find in iOS system in the prior art, it is aobvious in the animation for executing APP It is in the form of a single when showing, and animation show during animation identification it is relatively low, reduce user use APP usage experience.
Invention content
In view of this, a kind of animated show method and device for image that embodiment of the disclosure provides, main purpose exist In providing a kind of new image shows pattern, to improve the visual experience that user watches image.
To solve the above-mentioned problems, the main of the disclosure provides the following technical solutions:
In a first aspect, embodiment of the disclosure provides a kind of animated show method of image, including:
Image to be presented is obtained, and is several image objects by the image cutting to be presented;
Generate the movement locus of each image object;
The image object is shown according to the corresponding movement locus of each image object.
Optionally, the method further includes:
Presentation parameter is made for each image object;The presentation parameter is used to indicate the corresponding displaying shape of image object State;
The corresponding movement locus of each image object of basis shows the image object, including:
Described image object is shown according to the corresponding movement locus of each image object and presentation parameter.
Optionally, it is that several image objects include by the image cutting to be presented:
Obtain the picture size of the image to be presented;
The number for the image object for needing to be syncopated as and the size of each image object are determined according to described image size;
Cutting is carried out to the image to be presented according to the number of described image object and the size of each image object, is obtained To several image objects.
Optionally, the movement locus of each image object is generated, including:
Independent figure layer is created for each image object;
In the corresponding figure layer of each image object, starting point, terminal and the curvature of described image object are determined;Wherein, institute The starting point for stating image object is the initial position of described image object, and the terminal of described image object is according in described image What heart point generated;The curvature of described image object generates at random;
The movement locus of the image object is generated based on Bezier and according to the starting point, the curvature and terminal.
Optionally, the presentation parameter includes:Rotation parameter, zooming parameter and/or transparency parameter.
Optionally, it is that each image object making presentation parameter includes:
It is more than every movement locus of default cutting length for length, divides and obtained continuously in the movement locus Several sections;
Different presentation parameters is set for each section.
Second aspect, embodiment of the disclosure also provide a kind of animated show device of image, including:
Acquiring unit, for obtaining image to be presented;
Cutting unit, the image cutting to be presented for obtaining the acquiring unit are several image objects;
Generation unit, the movement locus for generating each image object;
Display unit, the corresponding movement locus of each image object for being generated according to the generation unit show the figure As object.
Optionally, described device further includes:
Production unit, each image object for being obtained for the cutting unit cutting make presentation parameter;The exhibition Show that parameter is used to indicate the corresponding displaying form of image object;
The display unit is additionally operable to be made according to the corresponding movement locus of each image object and the production unit Presentation parameter shows the image object.
Optionally, the cutting unit includes:
Acquisition module, the picture size for obtaining the image to be presented;
Determining module, the described image size for being obtained according to the acquisition module determine the figure for needing to be syncopated as As the number of object and the size of each image object;
Cutting module, the number of the described image object for being determined according to the determining module and each image object Size carries out cutting to the image to be presented, obtains several image objects.
Optionally, the generation unit includes:
Creation module, for creating independent figure layer for each image object;
Determining module, in the corresponding figure layer of each image object that the creation module creates, determining the figure As the starting point of object, terminal and curvature;Wherein, the starting point of described image object is the initial position of described image object, described The terminal of image object is to be generated according to the central point of described image;The curvature of described image object generates at random;
Generation module, the starting point, the curvature for being determined based on Bezier and according to the determining module The movement locus of the image object is generated with terminal.
Optionally, the presentation parameter includes:Rotation parameter, zooming parameter and/or transparency parameter.
Optionally, the production unit includes:
Division module, for being more than every movement locus of default cutting length for length, in the movement locus Division obtains continuous several sections;
Different presentation parameters is arranged in setup module, each section for being obtained for the division module.
The third aspect, embodiment of the disclosure provide a kind of storage medium, and the storage medium includes the program of storage, In, equipment where the storage medium is controlled when described program is run executes the image described in any one of first aspect Animated show method.
Fourth aspect, embodiment of the disclosure also provide a kind of electronic equipment, including including memory;And one or more A processor, the memory are coupled with the processor, and processor is configured as executing the program stored in the memory Instruction;The animated show method of the image described in any one of first aspect is executed when described program instruction operation.
By above-mentioned technical proposal, the technical solution that some embodiments of the present disclosure provide at least has following advantages:
In some embodiments of the present disclosure, image to be presented is obtained, and is several figures by the image cutting to be presented As object;Generate the movement locus of each image object;The image pair is shown according to the corresponding movement locus of each image object As;Compared with prior art, entire image to be presented is carried out " fragmentation processing " and obtains multiple images by embodiment of the disclosure Object increases the display category of image to be presented, enriches use by distributing different movement locus for each image object The visual effect of image is watched at family.
Above description is only the general introduction of the technical solution of the disclosure, in order to better understand the technology hand of the disclosure Section, and can be implemented in accordance with the contents of the specification, and in order to allow above and other objects, features, and advantages of the present disclosure energy It is enough clearer and more comprehensible, below the special specific implementation mode for lifting the disclosure.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the disclosure Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of the animated show method for image that embodiment of the disclosure provides;
The schematic diagram of displaying image when starting Fig. 2 shows a kind of acquisition APP that embodiment of the disclosure provides;
A kind of schematic diagram for cutting image to be presented that embodiment of the disclosure shown in Fig. 3 provides;
Fig. 4 shows a kind of schematic diagram making movement locus that embodiment of the disclosure provides;
Fig. 5 shows another schematic diagram for making movement locus that embodiment of the disclosure provides;
Fig. 6 shows the flow chart of the animated show method for another image that embodiment of the disclosure provides;
Fig. 7 shows the first animated show schematic diagram that embodiment of the disclosure provides;
Fig. 8 shows second of animated show schematic diagram that embodiment of the disclosure provides;
Fig. 9 shows the third animated show schematic diagram that embodiment of the disclosure provides;
Figure 10 shows a kind of schematic diagram for setting presentation parameter that embodiment of the disclosure provides;
Figure 11 shows a kind of composition frame chart of the animated show device for image that embodiment of the disclosure provides;
Figure 12 shows the composition frame chart of the animated show device for another image that embodiment of the disclosure provides.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
To solve the above-mentioned problems, embodiment of the disclosure provides a kind of animated show method of image, and this method is applicable in In several operation systems, such as iOS system, Android system.In addition, the method can be applied in displaying application APP In image process to be presented, alternatively, in the image process to be presented carried applied to operating system, as shown in Figure 1, the method Including:
101, image to be presented is obtained, and is several image objects by the image cutting to be presented.
The main purpose of embodiment of the disclosure is to increase application program (Application, APP) in electronic equipment and opens up Show the animation effect of view, which can be animation effect when APP starts, and can also be in APP application processes Animated show effect, application principle are identical.The APP can be the APP carried in operating system, or the of installation The APP that tripartite provides, embodiment of the disclosure do not limit this.
In embodiment of the disclosure, the electronic equipment can be computer, tablet computer, smart mobile phone etc., in order to Convenient for subsequently illustrating, embodiment of the disclosure for showing the startup animation of APP in smart mobile phone to illustrate, still, This kind illustrates that mode is not in the concrete application scene for limiting electronic equipment and animated show.
Smart mobile phone obtains displaying image when APP starts, such as Fig. 2 institutes after the enabled instruction for receiving APP programs Show, the schematic diagram of the image to be presented when starting Fig. 2 shows a kind of acquisition APP that embodiment of the disclosure provides, it is assumed that obtain The image to be presented taken is image shown in Fig. 2.Fig. 2 is only for the ease of understanding the example provided to the present embodiment, in reality In, color, size, the pattern etc. for the treatment of displaying image are not construed as limiting.
After obtaining image to be presented, image to be presented is subjected to cutting, obtains several image objects.In image cutting In the process, the actual size that can refer to image to be presented, can cutting greater number when cutting if image to be presented is larger Image object;If image to be presented is smaller, when cutting, the appropriate quantity for reducing cutting image object.
Meanwhile in dicing process, image to be presented can be carried out to the cutting of same size, different size can also be executed Cutting, be specifically not construed as limiting.
As shown in figure 3, a kind of schematic diagram for cutting image to be presented that embodiment of the disclosure provides shown in Fig. 3, is in By Fig. 2, in cutting, by the way of equal portions cutting, it is that 5 rows 5 arrange by image cutting to be presented, 25 images pair is obtained As.Embodiment of the disclosure does not limit the mode of cutting.
102, the movement locus of each image object is generated.
In embodiment of the disclosure, in order to enhance the vision viewing effect of image to be presented, after each image object is used as The standalone object of continuous image shows.
After image object cutting, the movement locus of each image object is made, as shown in figure 4, Fig. 4 shows this A kind of schematic diagram making movement locus that disclosed embodiment provides, by taking an image object in the 1st row the 4th row as an example, A movement locus is made, which can generate according to second order Bezier, and the movement locus of generation has ambiguity, Can be movement locus 1 shown in Fig. 4, can also be movement locus 2 etc., embodiment of the disclosure to the making of movement locus not It limits.
103, the image object is shown according to the corresponding movement locus of each image object.
After being provided with movement locus by step 102, when image to be presented is triggered execution, according to the movement of setting Track shows image to be presented, enhances the diversity of image shows.
In embodiment of the disclosure, electronic equipment is after obtaining image to be presented, if being by the image cutting to be presented Dry image object;Generate the movement locus of each image object;It should according to the corresponding movement locus displaying of each image object Image object;Compared with prior art, embodiment of the disclosure obtains entire image progress " fragmentation processing " to be presented more A image object increases the display category of image to be presented by distributing different movement locus for each image object, rich Rich user watches the visual effect of image.
In order to further enhance the diversity of image shows to be presented, embodiment of the disclosure also provides another image Animated show method, as shown in figure 5, the method includes:
201, it obtains image to be presented, and is several image objects (with step 101) by the image cutting to be presented.
202, the movement locus of each image object is generated (with step 102).
203, it is that each image object makes presentation parameter;The presentation parameter is used to indicate the corresponding displaying of image object Form.
The presentation parameter of image object is set, and the presentation parameter can join including but not limited to rotation parameter, scaling Number, transparency parameter and gradual change parameter etc..For example, the presentation parameter that can be arranged is 60 degree of rotation angle, transparency 20%, contracting Small by 5%, the set-up modes such as not gradual change increase the effect of image shows to be presented to increase the identification of image object.
The presentation parameter of addition can according to rule setting, be added after presentation parameter can also be randomly generated , different presentation parameters is all arranged in the image object obtained to all cuttings as possible, it is ensured that is generated when executing animation every time Rotation, scaling, transparent, gradual change effect are different.
It should be noted that in practical applications, making between movement locus and addition presentation parameter and there is no stringent Execution sequencing restriction, can first generate movement locus, then be that each image object adds presentation parameter;Alternatively, being first Image object adds presentation parameter, regenerates movement locus;Furthermore it adds presentation parameter for image object and generates movement locus Also execution can be synchronized, embodiment of the disclosure does not limit this.
In addition, when presentation parameter is arranged or generates movement locus, the update of movement locus and presentation parameter can be set Period, for example, one week movement locus of update and/or presentation parameter, alternatively, update presentation parameter and/or movement rail daily Mark etc..
204, described image object is shown according to the corresponding movement locus of each image object and presentation parameter.
Illustratively, when first time starting APP, the presentation parameter of setting is presentation parameter 1, movement locus is movement rail Mark 1, when starting APP second, the presentation parameter of setting is presentation parameter 2, movement locus is movement locus 2, every to ensure When secondary startup APP, animated show effect is different.
As further expanding and refining to method shown in Fig. 1 or Fig. 2, executing the image cutting to be presented When, following manner is may be employed without limitation of, including:First, the picture size of the image to be presented is obtained;Different When APP starts, alternatively, after APP starts, image to be presented can have differences, because of the type of APP difference because popping up figure to be presented The different opportunitys of picture and have differences.Secondly, the number of cutting described image object and each is determined according to described image size The size of image object;When picture size difference, the number of real-time dynamic change cutting described image object and each image The size of object, and it is not unalterable;Even same image to be presented also will be according to image when the time difference of appearance The difference of size, dynamic adjust the size of the number and each image object that determine image object.Finally, according to described image pair The number of elephant and the size of each image object carry out cutting to the image to be presented.
It is for the ease of carrying out independent operation to the image object after each cutting, i.e., independent that exhibition is arranged to each image object Show parameter, generate movement locus, when generating the movement locus of each image object, independent figure is created for each image object Layer, so design, which ensure, can carry out each image object independent design, not interfere with each other between image object.
When generating the movement locus of image object, the movement locus of image object in each independent figure layer, movement are made Track includes starting point, curvature and terminal, wherein starting point is the initial position of each image object, i.e., in each image object Heart point.During generating movement locus, in order to enhance the systematicness, rich of movement, first, with the image to be presented Central point is origin, determines the relative position of each image object and the origin, and the purpose for determining relative position is basis Relative position determines the curve point and terminal of movement locus, with enhance movement locus it is beautiful, subsequently shown according to movement locus When animation, more systematicness.As shown in fig. 6, Fig. 6 shows another making movement locus that embodiment of the disclosure provides Schematic diagram;When making the movement locus of image object shown in fig. 6, the relative position of the image object and origin is first determined, Image object shown in fig. 6 is located at the upper right side (right side) of origin.According to the relative position of each image object and the origin It is random to generate curvature, terminal, movement locus is generated according to the curvature, terminal based on second order Bezier.Wherein, curvature is got over Greatly, indicate that the bending degree of curve is bigger, curvature is smaller, indicates that curve is more intended to straight line.
Illustratively, it in formation curve point, can be generated according to rule, such as:If the abscissa of image object is whole The right side of figure, then curve point also appear in right side, and in the top of image object initial position (starting point).In above rule In range, a certain amount of random number is added.When generating terminal, generated also according to rule and certain random value.Such as:If figure As the abscissa of object is on the right side of whole figure, then terminal also appears in right side, and in the bottom of screen.In above rule In range, a certain amount of random number is added.Since curve point and terminal are all added to a certain amount of random number, so that respectively The movement locus of a image object is different.
In order to allow image to be presented in each displaying, it may appear that different bandwagon effects needs the movement generated in Fig. 5 The rotation parameter, the zooming parameter and/or the transparency parameter are randomly provided in track.Illustratively, rotation parameter By x, y, totally 4 parameters form for z-axis direction and angle;Zooming parameter can be arranged in proportion to zoom in and out;Transparency parameter is Be arranged by 0-100% transparencies etc..Rotation parameter, the zooming parameter and/or the transparency parameter generate at random, Different rotations, scaling, transparent effect are generated when reaching each image object, and execute animation every time.
In the movement locus of generation, set up rotation parameter, the zooming parameter and/or the transparency parameter it Afterwards, in conjunction with run duration, movement velocity, animation effect is formed.As shown in Figure 7 to 9, as Fig. 7 to Fig. 9 respectively illustrates this public affairs The first animated show schematic diagram, second of animated show schematic diagram and the signal of the third animated show that the embodiment opened provides Figure.Embodiment of the disclosure is not construed as limiting the particular content of animated show, effect.
Optionally, first when making presentation parameter for each image object in order to further enhance animated show effect First, the length for obtaining every movement locus is more than every movement locus of default cutting length for length, in the fortune It is divided in dynamic rail mark and obtains continuous several sections, and different presentation parameters is set for each section, as different institutes is arranged State rotation parameter, the zooming parameter and/or the transparency parameter.As shown in Figure 10, Figure 10 shows the implementation of the disclosure The schematic diagram for the setting presentation parameter that example provides, it is assumed that the movement locus length that Fig. 5 is determined is more than 5CM, then by movement locus etc. It is divided into three continuums, rotation parameter 1, the zooming parameter 1 and the transparency parameter 1 is arranged in section 1, and section 2 is arranged Rotation parameter 3, the zooming parameter 3 and institute is arranged in rotation parameter 2, the zooming parameter 2 and the transparency parameter 2, section 3 State transparency parameter 3.Thus, contain a variety of bandwagon effects simultaneously in a movement locus, image shows are improved Richness.
Further, as the realization to method shown in above-mentioned Fig. 1 or Fig. 5, another embodiment of the present disclosure additionally provides A kind of animated show device of image.The device embodiment is corresponding with preceding method embodiment, and for ease of reading, the present apparatus is implemented Example no longer repeats the detail content in preceding method embodiment one by one, it should be understood that the device energy in the present embodiment Enough corresponding full contents realized in preceding method embodiment.
Embodiment of the disclosure provides a kind of animated show device of image, as shown in figure 11, including:
Acquiring unit 31, for obtaining image to be presented;
Cutting unit 32, the image cutting to be presented for obtaining the acquiring unit 31 are several images pair As;
Generation unit 33, the movement locus for generating each image object;
Display unit 34, the corresponding movement locus of each image object for being generated according to the generation unit 33 are shown The image object.
Further, as shown in figure 12, described device further includes:
Production unit 35, each image object for being obtained for 32 cutting of cutting unit make presentation parameter;Institute It states presentation parameter and is used to indicate the corresponding displaying form of image object;
The display unit 34 is additionally operable to be made according to the corresponding movement locus of each image object and the production unit 35 The presentation parameter of work shows the image object.
Further, as shown in figure 12, the cutting unit 32 includes:
Acquisition module 321, the picture size for obtaining the image to be presented;
Determining module 322, the described image size for being obtained according to the acquisition module 321 determine what needs were syncopated as The size of the number of described image object and each image object;
Cutting module 323, the number of the described image object for being determined according to the determining module 322 and each image The size of object carries out cutting to the image to be presented, obtains several image objects.
Further, as shown in figure 12, the generation unit 33 includes:
Creation module 331, for creating independent figure layer for each image object;
Determining module 332, in the corresponding figure layer of each image object that the creation module 331 creates, determining Starting point, terminal and the curvature of described image object;Wherein, the starting point of described image object is the initial bit of described image object It sets, the terminal of described image object is to be generated according to the central point of described image;The curvature of described image object is random raw At;
Generation module 333, for based on Bezier and according to the starting point of the determination of the determining module 332, institute It states curvature and terminal generates the movement locus of the image object.
Further, the presentation parameter includes:Rotation parameter, zooming parameter and/or transparency parameter.
Further, as shown in figure 12, the generation unit 35 includes:
Division module 351, for being more than every movement locus of default cutting length for length, in the movement locus Middle division obtains continuous several sections;
Different presentation parameters is arranged in setup module 352, each section for being obtained for the division module 351.
The animated show device that embodiment of the disclosure provides can be used for executing the corresponding embodiment offer with the disclosure Animated show method, relevant term and specific implementation be referred to the record about animated show method, This is repeated no more.
In embodiment of the disclosure, image to be presented is obtained, and is several images pair by the image cutting to be presented As;Generate the movement locus of each image object;The image object is shown according to the corresponding movement locus of each image object;With The prior art is compared, and entire image to be presented is carried out " fragmentation processing " and obtains multiple images object by embodiment of the disclosure, By distributing different movement locus for each image object, the display category of image to be presented is increased, user's sight is enriched See the visual effect of image.
The animated show device of described image includes processor and memory, and above-mentioned acquiring unit, makes list at cutting unit Member, adding device and display unit etc. are used as program unit storage in memory, and memory is stored in by processor execution In above procedure unit realize corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be arranged one Or more, a kind of new image shows pattern is provided by adjusting kernel parameter, to improve the vision body that user watches image It tests.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include at least one deposit Store up chip.
Embodiment of the disclosure provides a kind of storage medium, is stored thereon with program, when which is executed by processor Realize the animated show method of image.
Embodiment of the disclosure provides a kind of electronic equipment, and equipment includes processor, memory and is stored in memory Program that is upper and can running on a processor, processor realize following steps when executing program:
Image to be presented is obtained, and is several image objects by the image cutting to be presented;
Generate the movement locus of each image object;
The image object is shown according to the corresponding movement locus of each image object.
Optionally, the method further includes:
Presentation parameter is made for each image object;The presentation parameter is used to indicate the corresponding displaying shape of image object State;
The corresponding movement locus of each image object of basis shows the image object, including:
Described image object is shown according to the corresponding movement locus of each image object and presentation parameter.
Optionally, it is that several image objects include by the image cutting to be presented:
Obtain the picture size of the image to be presented;
The number for the image object for needing to be syncopated as and the size of each image object are determined according to described image size;
Cutting is carried out to the image to be presented according to the number of described image object and the size of each image object, is obtained To several image objects.
Optionally, the movement locus of each image object is generated, including:
Independent figure layer is created for each image object;
In the corresponding figure layer of each image object, starting point, terminal and the curvature of described image object are determined;Wherein, institute The starting point for stating image object is the initial position of described image object, and the terminal of described image object is according in described image What heart point generated;The curvature of described image object generates at random;
The movement locus of the image object is generated based on Bezier and according to the starting point, the curvature and terminal.
Optionally, the presentation parameter includes:Rotation parameter, zooming parameter and/or transparency parameter.
Optionally, it is that each image object making presentation parameter includes:
It is more than every movement locus of default cutting length for length, divides and obtained continuously in the movement locus Several sections;
Different presentation parameters is set for each section.
Electronic equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when being executed on data processing equipment, are adapted for carrying out State the animated show method described in any embodiment.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, the application can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
It these are only embodiments herein, be not intended to limit this application.To those skilled in the art, The application can have various modifications and variations.It is all within spirit herein and principle made by any modification, equivalent replacement, Improve etc., it should be included within the scope of claims hereof.

Claims (14)

1. a kind of animated show method of image, which is characterized in that including:
Image to be presented is obtained, and is several image objects by the image cutting to be presented;
Generate the movement locus of each image object;
The image object is shown according to the corresponding movement locus of each image object.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
Presentation parameter is made for each image object;The presentation parameter is used to indicate the corresponding displaying form of image object;
The corresponding movement locus of each image object of basis shows the image object, including:
Described image object is shown according to the corresponding movement locus of each image object and presentation parameter.
3. according to the method described in claim 1, it is characterized in that, being several image objects by the image cutting to be presented Including:
Obtain the picture size of the image to be presented;
The number for the image object for needing to be syncopated as and the size of each image object are determined according to described image size;
Cutting is carried out to the image to be presented according to the number of described image object and the size of each image object, if obtaining Dry image object.
4. according to the method described in claim 1, it is characterized in that, generate the movement locus of each image object, including:
Independent figure layer is created for each image object;
In the corresponding figure layer of each image object, starting point, terminal and the curvature of described image object are determined;Wherein, the figure As the initial position that the starting point of object is described image object, the terminal of described image object is the central point according to described image It generates;The curvature of described image object generates at random;
The movement locus of the image object is generated based on Bezier and according to the starting point, the curvature and terminal.
5. according to the method described in claim 2, it is characterized in that, the presentation parameter includes:Rotation parameter, zooming parameter And/or transparency parameter.
6. according to the method described in claim 2, it is characterized in that, including for each image object making presentation parameter:
Be more than every movement locus of default cutting length for length, divided in the movement locus obtain it is continuous several Section;
Different presentation parameters is set for each section.
7. a kind of animated show device of image, which is characterized in that including:
Acquiring unit, for obtaining image to be presented;
Cutting unit, the image cutting to be presented for obtaining the acquiring unit are several image objects;
Generation unit, the movement locus for generating each image object;
Display unit, the corresponding movement locus of each image object for being generated according to the generation unit show the image pair As.
8. device according to claim 7, which is characterized in that described device further includes:
Production unit, each image object for being obtained for the cutting unit cutting make presentation parameter;The displaying ginseng Number is used to indicate the corresponding displaying form of image object;
The display unit is additionally operable to the displaying made according to the corresponding movement locus of each image object and the production unit The parameter display image object.
9. device according to claim 7, which is characterized in that the cutting unit includes:
Acquisition module, the picture size for obtaining the image to be presented;
Determining module, the described image size for being obtained according to the acquisition module determine the described image pair for needing to be syncopated as The size of the number of elephant and each image object;
Cutting module, the number of the described image object for being determined according to the determining module and the size of each image object Cutting is carried out to the image to be presented, obtains several image objects.
10. device according to claim 7, which is characterized in that the generation unit includes:
Creation module, for creating independent figure layer for each image object;
Determining module, in the corresponding figure layer of each image object that the creation module creates, determining described image pair Starting point, terminal and the curvature of elephant;Wherein, the starting point of described image object is the initial position of described image object, described image The terminal of object is to be generated according to the central point of described image;The curvature of described image object generates at random;
Generation module, the starting point, the curvature and end for being determined based on Bezier and according to the determining module Point generates the movement locus of the image object.
11. device according to claim 8, which is characterized in that the presentation parameter includes:Rotation parameter, zooming parameter And/or transparency parameter.
12. according to the devices described in claim 11, which is characterized in that the production unit includes:
Division module is divided for being more than every movement locus of default cutting length for length in the movement locus Obtain continuous several sections;
Different presentation parameters is arranged in setup module, each section for being obtained for the division module.
13. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When control the storage medium where equipment perform claim require 1 to the image described in any one of claim 6 animation Methods of exhibiting.
14. a kind of electronic equipment, which is characterized in that including memory;And one or more processor, the memory and institute Processor coupling is stated, processor is configured as executing the program instruction stored in the memory;When described program instruction operation Perform claim require 1 to the image described in any one of claim 6 animated show method.
CN201810095905.XA 2018-01-31 2018-01-31 The animated show method and device of image Pending CN108364337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810095905.XA CN108364337A (en) 2018-01-31 2018-01-31 The animated show method and device of image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810095905.XA CN108364337A (en) 2018-01-31 2018-01-31 The animated show method and device of image

Publications (1)

Publication Number Publication Date
CN108364337A true CN108364337A (en) 2018-08-03

Family

ID=63007539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810095905.XA Pending CN108364337A (en) 2018-01-31 2018-01-31 The animated show method and device of image

Country Status (1)

Country Link
CN (1) CN108364337A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543582A (en) * 2019-08-05 2019-12-06 百度在线网络技术(北京)有限公司 image-based query method and device
CN111047668A (en) * 2019-12-17 2020-04-21 支付宝(杭州)信息技术有限公司 Information display method, device and equipment
CN111383310A (en) * 2018-12-29 2020-07-07 腾讯科技(深圳)有限公司 Picture splitting method and device
CN111724460A (en) * 2019-03-18 2020-09-29 北京京东尚科信息技术有限公司 Dynamic display method, device and equipment for static pictures
CN115131471A (en) * 2022-08-05 2022-09-30 北京字跳网络技术有限公司 Animation generation method, device and equipment based on image and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123742A (en) * 2014-07-21 2014-10-29 徐才 Method and player for translating static cartoon picture into two dimensional animation
CN106251390A (en) * 2016-08-15 2016-12-21 网易(杭州)网络有限公司 Animation editing method and moving image editing apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123742A (en) * 2014-07-21 2014-10-29 徐才 Method and player for translating static cartoon picture into two dimensional animation
CN106251390A (en) * 2016-08-15 2016-12-21 网易(杭州)网络有限公司 Animation editing method and moving image editing apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
振兴侨中: "将一张图片打散成无数个小块再重组成一张新的图片的转场效果", 《HTTPS://ZHIDAO.BAIDU.COM/QUESTION/360429865.HTML》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111383310A (en) * 2018-12-29 2020-07-07 腾讯科技(深圳)有限公司 Picture splitting method and device
CN111383310B (en) * 2018-12-29 2022-02-11 腾讯科技(深圳)有限公司 Picture splitting method and device
CN111724460A (en) * 2019-03-18 2020-09-29 北京京东尚科信息技术有限公司 Dynamic display method, device and equipment for static pictures
CN110543582A (en) * 2019-08-05 2019-12-06 百度在线网络技术(北京)有限公司 image-based query method and device
CN111047668A (en) * 2019-12-17 2020-04-21 支付宝(杭州)信息技术有限公司 Information display method, device and equipment
CN115131471A (en) * 2022-08-05 2022-09-30 北京字跳网络技术有限公司 Animation generation method, device and equipment based on image and storage medium

Similar Documents

Publication Publication Date Title
CN108364337A (en) The animated show method and device of image
TWI697866B (en) Method and device for implementing color tweening animation
CN103853576B (en) Screenshot method and device
JP2004145832A (en) Devices of creating, editing and reproducing contents, methods for creating, editing and reproducing contents, programs for creating and editing content, and mobile communication terminal
TWI698834B (en) Methods and devices for graphics processing
CN108959392A (en) The method, device and equipment of rich text is shown on 3D model
CN109144384A (en) Display methods, device, hardware device and computer readable storage medium
CN108416722A (en) A kind of method for displaying image, storage medium and terminal device
CN107393502B (en) Technology for multipass rendering
CN105488840B (en) A kind of information processing method and electronic equipment
CN107168606B (en) Dialog control display methods, device and user terminal
CN110020298A (en) Parameter display method and apparatus
CN109101144A (en) Heating power drawing drawing method and device
Choi et al. New promotional video technique utilizing augmented reality and popcode
CN103871094A (en) Swept-volume-based three-dimensional display system data source generating method
CN108010095A (en) The method, apparatus and equipment of a kind of textures synthesis
CN110520902A (en) To the method and device of image application dynamic effect
Jackson Pro android wearables: Building apps for smartwatches
CN106844366A (en) The display methods and device of geographical thermodynamic chart
CN112070868B (en) Animation playing method based on iOS system, electronic equipment and medium
Bradbury et al. Art Hack Practice: Critical Intersections of Art, Innovation and the Maker Movement
Ross PND: autobiographical performance for virtual reality film
CN110335223A (en) The fuzzy dynamic effect implementation method of image, device, electronic equipment and storage medium
Beyls et al. eargram actors: An interactive audiovisual system based on social behavior
Jie Multi-modal interaction using time division long-term evolution (TD-LTE) for space designing exhibition

Legal Events

Date Code Title Description
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

Application publication date: 20180803

RJ01 Rejection of invention patent application after publication