Transition dynamic effect generation method and device, electronic equipment and storage medium

By acquiring and adjusting the transition dissolution map to generate a transparency map sequence, the problem of low efficiency in generating transition animations was solved, achieving efficient generation of transition animations and natural transition effects in different environments.

CN120997363APending Publication Date: 2025-11-21NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511164731.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-19
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

In existing technologies, the generation of transition animations is inefficient, hand-drawing increases the difficulty and time required for production, and transition videos need to switch back and forth between content generation tools and game engines, resulting in low efficiency. Furthermore, the black screen transition effect is monotonous and has a poor visual experience.

Method used

By acquiring the transition dissolve map of the animation sequence to be processed, grayscale adjustment is performed to generate a transparency texture sequence, and the preset transition image is animated to generate the target transition effect. Texture processing is used for animation rendering to improve efficiency.

Benefits of technology

It improves the efficiency of transition animation generation, achieves good performance in multiple production environments, reduces memory usage, and generates more random and natural transition animations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120997363A_ABST
    Figure CN120997363A_ABST
Patent Text Reader

Abstract

The invention provides a transition dynamic effect generation method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a transition dissolution map corresponding to a to-be-processed sequence animation, the transition dissolution map being a gray-scale map with the motion information of a moving object in the to-be-processed sequence animation, and generating a transition dynamic effect according to a preset control map sequence, and performing gray scale adjustment on the transition dissolution image to obtain a transparency map sequence, presetting each control map in the control map sequence in sequence, performing animation rendering on the preset transition image according to the transparency map sequence, and generating a target transition dynamic effect. And animation rendering is performed through mapping processing to generate the target rotation effect, so that the generation efficiency of the transition dynamic effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of games, in particular to a transition effect generation method and device, electronic equipment and a storage medium. BACKGROUND

[0002] In some virtual scenes, a transition effect is usually used to connect the transition between the previous scene and the next scene before entering a new map and level, so as to realize the smooth transition between the previous scene and the next scene.

[0003] In the related art, the animation transition is generally simulated by hand-drawing sequence frames, or a transition video is made and applied to the transition in the form of a video.

[0004] However, the hand-drawing method greatly increases the production difficulty and period, and the use of the transition video requires switching back and forth between content generation tools and game engines, resulting in low efficiency of transition effect generation. SUMMARY

[0005] Therefore, the embodiments of the present application provide a transition effect generation method and device, electronic equipment and a storage medium to solve the problem of low efficiency of transition effect generation.

[0006] In a first aspect, the embodiments of the present application provide a transition effect generation method, comprising: obtaining a transition dissolve graph corresponding to a to-be-processed sequence animation, the transition dissolve graph being a gray-scale graph having motion information of a moving object in the to-be-processed sequence animation; adjusting the gray scale of the transition dissolve graph according to a preset control map sequence to obtain a transparency map sequence, each control map in the preset control map sequence sequentially including a time-series changing control parameter; performing animation rendering on a preset transition image according to the transparency map sequence to generate a target transition effect.

[0007] In a second aspect, the embodiments of the present application further provide a transition effect generation device, comprising: an obtaining module configured to obtain a transition dissolve graph corresponding to a to-be-processed sequence animation, the transition dissolve graph being a gray-scale graph having motion information of a moving object in the to-be-processed sequence animation; an adjusting module configured to adjust the gray scale of the transition dissolve graph according to a preset control map sequence to obtain a transparency map sequence, each control map in the preset control map sequence sequentially including a time-series changing control parameter; a generating module configured to perform animation rendering on a preset transition image according to the transparency map sequence to generate a target transition effect.

[0008] In a third aspect, the embodiments of the present application further provide an electronic device, comprising a processor, a memory and a bus, the memory stores machine readable instructions executable by the processor, when the electronic device is running, the processor communicates with the memory through the bus, and the processor executes the machine readable instructions to execute the method of any one of the first aspect.

[0009] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium, the computer readable storage medium stores a computer program, and the computer program is executed by a processor to execute the method of any one of the first aspect.

[0010] The present application provides a transition effect generation method and device, electronic equipment and storage medium, wherein the method comprises: obtaining a transition dissolve graph corresponding to a to-be-processed sequence animation, the transition dissolve graph being a gray scale graph having motion information of a moving object in the to-be-processed sequence animation, performing gray scale adjustment on the transition dissolve graph according to a preset control map sequence to obtain a transparency map sequence, each control map in the preset control map sequence sequentially comprising a time sequence changing control parameter, performing animation rendering on a preset transition image according to the transparency map sequence to generate a target transition effect. The target transition effect is generated by animation rendering through map processing, and the transition effect generation efficiency is improved. BRIEF DESCRIPTION OF DRAWINGS

[0011] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can also be obtained without creative labor.

[0012] Figure 1 Flowchart of transition effect generation method provided by embodiments of the present application Figure One Figure 2 Flowchart of transition effect generation method provided by embodiments of the present application Figure Two Figure 3 Schematic diagram of single-channel gray scale graph provided by embodiments of the present application Figure 4 Schematic diagram of transition dissolve graph provided by embodiments of the present application Figure 5 Flowchart of transition effect generation method provided by embodiments of the present application Figure Three Figure 6 Schematic diagram of image frame selection interface provided by embodiments of the present application ​​​Figure 7 A flowchart of a transition effect generation method provided by an embodiment of the present application Figure Four ; Figure 8 A flowchart of a transition effect generation method provided by an embodiment of the present application Figure Five ; Figure 9 A flowchart of a transition effect generation method provided by an embodiment of the present application Figure Six ; Figure 10 A flowchart of a transition effect generation method provided by an embodiment of the present application Figure Seven ; Figure 11 A flowchart of a transition effect generation method provided by an embodiment of the present application Figure Eight ; Figure 12 A schematic diagram of a parameter control curve provided by an embodiment of the present application Figure 13 A structural schematic diagram of a transition effect generation device provided by an embodiment of the present application Figure 14 A structural schematic diagram of an electronic device provided by an embodiment of the present application DETAILED DESCRIPTION

[0013] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in connection with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. The components of the embodiments of the present application described and shown in the accompanying drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.

[0014] In some virtual scenes, such as game scenes, transition effects are usually used to smoothly connect scenes. Currently, animation transitions are usually simulated in the form of hand-drawn sequence frames, or transition videos are made to be applied to transition transitions in video format, or conventional black screen switching effects are used as transition transitions.

[0015] However, the hand-drawing method greatly increases the production difficulty and period, and the landing effect needs to consume a large number of sequence frame animations to realize the smooth transition, and the use of transition video needs to switch between the content generation tool and the game engine, which reduces the production efficiency, and in order to ensure the clarity, the transition video also occupies a large amount of memory consumption, and the video format also needs to be compressed and transcoded, and different encoding formats correspond to different devices, which also has certain compatibility problems. In summary, the hand-drawing method and the transition video method have low generation efficiency of dynamic effects, in addition, the transition effect of the black screen switching effect is single and the visual feeling is not good.

[0016] Based on this, the application generates target transition dynamic effects by map processing and animation rendering. The map has universality and extensibility, that is, it does not depend on the specific system of the game engine and the digital asset generation tool (that is, the content generation tool), and can perform effect performance in multiple production environments. In addition, a large number of sequence frame animations and large content video formats are converted into maps with stronger compatibility and smaller memory occupation, which improves the generation efficiency of transition dynamic effects and game performance.

[0017] The transition dynamic effect generation method in one of the embodiments of the application can run on a local terminal device or a server. When the transition dynamic effect generation method runs on the server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0018] In an optional embodiment, various cloud applications can be run under the cloud interaction system, for example: cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the running mode of cloud games, the running body of the game program and the presentation body of the game picture are separated, and the storage and running of the transition dynamic effect generation method are completed on the cloud game server. The client device is used for data reception, sending and game picture presentation. For example, the client device can be a display device close to the user side with data transmission function, such as a mobile terminal, a television, a computer, a palm computer, etc.; but the information processing is performed by the cloud game server in the cloud. When playing the game, the player operates the client device to send operation instructions to the cloud game server, the cloud game server runs the game according to the operation instructions, encodes and compresses the game picture data, returns the data to the client device through the network, and finally decodes and outputs the game picture through the client device.

[0019] In an optional embodiment, taking a game as an example, the local terminal device stores a game program and is configured to present a game picture. The local terminal device is configured to interact with a player through a graphical user interface, i.e., a conventional game program is downloaded and installed through an electronic device and is run. The local terminal device can provide the graphical user interface to the player in various ways, for example, the graphical user interface can be rendered and displayed on a display screen of the terminal, or the graphical user interface can be provided to the player through holographic projection. For example, the local terminal device can include a display screen configured to present the graphical user interface including the game picture, and a processor configured to run the game, generate the graphical user interface, and control display of the graphical user interface on the display screen.

[0020] In a possible embodiment, the embodiment of the present application provides a transition effect generation method. The graphical user interface is provided through a terminal device. The terminal device can be the local terminal device mentioned above or the client device in the cloud interaction system mentioned above.

[0021] Figure 1 Flowchart of the transition effect generation method provided by the embodiment of the present application Figure One The execution subject of the embodiment can be an electronic device, such as a computer.

[0022] As shown in Figure 1 The method can include the following steps. S101, obtaining a transition dissolve map corresponding to a to-be-processed sequence animation.

[0023] The transition dissolve map is a grayscale map having motion information of a moving object in the to-be-processed sequence animation.

[0024] The to-be-processed sequence animation includes a plurality of image frames, for example, a plurality of continuous image frames in a video. The moving object is included in each image frame, and the motion information of the moving object in different image frames can be different. The motion information refers to the position and orientation of the moving object. That is, the transition dissolve map is used to represent the motion trajectory of the moving object in the to-be-processed sequence animation.

[0025] S102, performing grayscale adjustment on the transition dissolve map according to a preset control map sequence to obtain a transparency map sequence.

[0026] Each control map in the preset control map sequence includes time-varying control parameters in sequence. One control map includes one control parameter, different control maps include different control parameters, and the control parameters included in different control maps are time-varying, for example, the control parameter included in the first control map is 0.1, the control parameter included in the second control map is 0.2, the control parameter included in the third control map is 0.3, and other control maps are sequentially similar.

[0027] That is, according to each control map in the preset control map sequence with the time sequence relationship, the grayscale of the transition dissolve map is adjusted to obtain a transparency map sequence, wherein each transparency map in the transparency map sequence corresponds to each control map in the preset control map sequence respectively, and each transparency map in the transparency map sequence has a corresponding time sequence relationship.

[0028] It should be noted that the control parameters included in the control map can be understood as the grayscale values of each pixel point in the control map (the grayscale values of all pixel points in the control map are the same), and the pixel points in the control map, the pixel points in the transition dissolve map, and the pixel points in the transparency map are one-to-one corresponding. The grayscale adjustment of the transition dissolve map can be understood as adjusting the grayscale values of the corresponding pixel points in the transition dissolve map based on the grayscale values of the pixel points in the control map, such as subtracting the grayscale value of the corresponding pixel point in the control map from the grayscale value of each pixel point in the transition dissolve map to obtain the grayscale value of the corresponding pixel point in the transparency map.

[0029] In some embodiments, a material shader of the particle is written to be able to sample the control map and adjust the grayscale of the transition dissolve map to realize the particle special effect.

[0030] S103, according to the transparency map sequence, the preset transition image is animated and rendered to generate a target transition dynamic effect.

[0031] The preset transition image is a scene image used for transition, the transparency map sequence is stored to the transparency (alpha, A) channel of the preset transition image as the A channel transparency map, and the A channel transparency map, the Red (R) channel map of the R channel of the preset transition image, the Green (G) channel map of the G channel, and the Blue (B) channel map of the B channel are animated and rendered, that is, each transparency map in the transparency map sequence is animated and rendered to the preset transition image to generate a target transition dynamic effect, wherein the target transition dynamic effect includes: a plurality of transition image frames in sequence based on the preset transition image, to indicate the motion trajectory of the moving object in the preset transition image, to realize the smooth motion of the moving object in the preset transition image, that is, the transition animation from one transition image frame to another transition image frame.

[0032] In the transition effect generation method provided in the embodiment, the transition dissolve graph is gray-scale adjusted according to the preset control map sequence to obtain a transparency map sequence, so that the transparency map sequence is more random and natural, and then the preset transition image is animated rendered according to the transparency map sequence to generate a target transition effect, so that the smooth motion of the moving object in the preset transition image is realized on the basis of the preset transition image, and the transition effect of the target transition effect is more random and natural. In addition, the target transition effect is generated by animation rendering through map processing, the map has universality and extensibility, that is, it is independent of the specific system of the game engine and the digital asset generation tool (that is, the content generation tool), and can perform effect performance in multiple production environments. Moreover, a large number of sequence frame animations and large content video formats are converted into maps with stronger compatibility and smaller memory occupation, thereby improving the transition effect generation efficiency and game performance.

[0033] Figure 2 Flowchart of transition effect generation method provided in the embodiment Figure Two As shown in Figure 2 In an optional implementation, the step S101 of obtaining the transition dissolve graph corresponding to the to-be-processed sequence animation can include the following steps. S201, single-channel conversion is performed on a plurality of image frames in the to-be-processed sequence animation to obtain single-channel gray-scale images of the plurality of image frames.

[0034] The to-be-processed sequence animation includes a plurality of image frames, and a single-channel channel map of the plurality of image frames is extracted to perform single-channel conversion on the plurality of image frames. The extracted single-channel channel map is used as a single-channel gray-scale image of each image frame.

[0035] It should be noted that the extracted single channel can be any one of the R channel, the G channel and the B channel.

[0036] S202, the single-channel gray-scale images of the plurality of image frames are superimposed to obtain a transition dissolve graph.

[0037] The different time frames are superimposed together to convert the to-be-processed sequence animation into a single transition dissolve graph with different gray-scale information, so that the transition dissolve graph reflects the motion trajectory of the moving object, and realizes effects such as ghosting, motion blur, light and shadow following. The transition dissolve graph is also a time-domain phase information graph.

[0038] That is, the dynamic change of each image frame in the to-be-processed sequence animation is mapped to the R channel of a picture, and the animation transition of each frame is calculated through different gray-scale information.

[0039] Figure 3 A schematic diagram of the single-channel gray-scale image provided in the embodiment of the application is shown in Figure 4A schematic diagram of the transition dissolve diagram provided by the embodiments of the present application is shown in Figure 3 As shown in Figure 4 , 40 single-channel grayscale images of 40 image frames are superimposed to obtain the transition dissolve diagram.

[0040] In some embodiments, a Digital Content Creation (DCC) tool is used to convert multiple image frames in the sequence animation to be processed into single-channel grayscale images, and an image superimposition tool, such as CC WideTime, is used to superimpose the single-channel grayscale images of multiple image frames to generate a transition dissolve diagram, and the grayscale range of the transition dissolve diagram is 0-255.

[0041] Figure 5 A flowchart of the transition effect generation method provided by the embodiments of the present application is shown in Figure Three As shown in Figure 5 , in an optional implementation, before the step S201 of converting multiple image frames in the sequence animation to be processed into single-channel grayscale images, the method can further include: S301, determining a starting image frame and a terminal image frame from the sequence animation to be processed according to an input image frame selection operation for the sequence animation to be processed.

[0042] S302, determining multiple image frames from the sequence animation to be processed according to the starting image frame and the terminal image frame.

[0043] An image frame selection interface is provided, and the starting image frame and the terminal image frame are determined from the sequence animation to be processed through the image frame selection operation input by the interface, wherein the image frame selection operation is used to select the starting image frame and the terminal image frame. Then the starting image frame, the terminal image frame, and the image frames between the starting image frame and the terminal image frame in the sequence animation to be processed are taken as the multiple image frames.

[0044] Figure 6 A schematic diagram of the image frame selection interface provided by the embodiments of the present application is shown in Figure 6 As shown in

[0045] In the transition effect generation method provided by the embodiments, the starting image frame and the terminal image frame are manually set to determine the multiple image frames, which is more flexible in operation.

[0046] Figure 7 A flowchart illustrating the transition animation generation method provided in this application embodiment. Figure Four ,like Figure 7 As shown, in an optional embodiment, step S102 above, which involves adjusting the grayscale of the transition dissolve map according to a preset control map sequence to obtain a transparency map sequence, may include: S401. Obtain the control texture sequence in at least one dimension.

[0047] At least one dimension is a float4 variable defined by Dissolve control (Dissolve_controll), namely, degree of dissolution (x), edge feathering (y), and edge width (z). Degree of dissolution refers to the process of an image gradually transitioning from one state (such as complete) to another (such as complete transparency or disappearance). Edge feathering refers to creating a smooth gradient effect at the image edges, making the edges look more natural and reducing harsh boundaries. Feathering effects are usually achieved through blurring or gradation. Edge width defines the range of the feathering effect; the larger the width, the smoother the transition.

[0048] Each control map in the control map sequence for each dimension includes, in turn, the control parameters that change over time for each dimension.

[0049] Each control map in each dimension includes a control parameter for that dimension. Different control maps include different control parameters for each dimension, and the control parameters included in different control maps change over time.

[0050] It should be noted that the control parameters of the control map in each dimension can be understood as the grayscale values ​​of each pixel in that control map.

[0051] S402. Based on the control map sequence in at least one dimension, adjust the grayscale of the transition dissolution map to obtain the transparency map sequence.

[0052] Based on each control map in the control map sequence under each dimension, the grayscale of the transition dissolve map is adjusted to make the transition of each transparency map in the resulting transparency map sequence smoother in at least one dimension.

[0053] Figure 8 A flowchart illustrating the transition animation generation method provided in this application embodiment. Figure Five ,like Figure 8 As shown, in an optional implementation, the control map sequence in at least one dimension includes: a control map sequence in a first dimension, wherein each control map in the control map sequence in the first dimension includes: a dissolution degree parameter that changes over time in the first dimension.

[0054] The first dimension can be a dissolution degree, and each control map in the control map sequence in the first dimension includes a time-varying dissolution degree parameter in the first dimension in sequence, wherein the time-varying control parameter in the first dimension includes the time-varying dissolution degree parameter in the first dimension.

[0055] In the step S402, the transition dissolution map is gray-scale adjusted according to the control map sequence in the at least one dimension to obtain a transparency map sequence, and the transparency map sequence can include: S501, adjusting the dissolution degree of the transition dissolution map according to the control map sequence in the first dimension to obtain a first dissolution map sequence.

[0056] The control map sequence in the first dimension includes a plurality of control maps, the first dissolution map sequence includes a plurality of first dissolution maps, and the control map and the first dissolution Figure One correspond, and the pixel points in the control map, the pixel points in the transition dissolution map, and the pixel points in the first dissolution map correspond one by one.

[0057] It should be noted that the dissolution degree parameter of the control map in the first dimension can be understood as the gray value of each pixel point in the control map.

[0058] In some embodiments, the gray value of each pixel point in the transition dissolution map is subtracted from the gray value of the pixel point in each control map in the control map sequence in the first dimension to adjust the dissolution degree of the transition dissolution map to obtain the gray value of the pixel point in the first dissolution map.

[0059] For example, A is the gray value of the pixel point in the transition dissolution map, B.x is the gray value of the pixel point in the control map in the first dimension, and the gray value of the pixel point in the first dissolution map is represented as saturate(A-B.x). Wherein, saturate is a normalization function for normalizing the value in [0, 1].

[0060] In other embodiments, for each control map in the control map in the first dimension, a target pixel point is determined from each pixel point in the transition dissolution map according to the gray value of each pixel point in the transition dissolution map and the gray value of the pixel point in the control map, wherein the gray value of the target pixel point is less than the gray value of the pixel point in the control map, and the gray value of the target pixel point in the transition dissolution map is set to 0 to adjust the dissolution degree of the transition dissolution map, and the gray values of the remaining pixel points remain unchanged, thereby generating the first dissolution map corresponding to each control map, and further obtaining the first dissolution map sequence.

[0061] In some embodiments, a material shader of a particle is written to enable sampling of the control map and adjusting the dissolution degree of the transition dissolution map to realize the dissolution special effect.

[0062] S502, obtaining a transparency map sequence according to the first dissolve map sequence.

[0063] In some embodiments, the first dissolve map sequence is taken as the transparency map sequence.

[0064] In the transition effect generation method provided in the embodiment, the dissolve degree of the transition dissolve map is adjusted according to the control map sequence in the first dimension to obtain the first dissolve map sequence, and then the transparency map sequence is generated, so that the dissolve degree of each transparency map in the transparency map sequence is more smoothly transitioned.

[0065] Figure 9 Flowchart of the transition effect generation method provided in the embodiment Figure Six As shown in the figure, in an optional embodiment, the control map sequence in at least one dimension includes: a control map sequence in a second dimension, and each control map in the control map sequence in the second dimension includes: a dissolve edge feathering parameter that changes over time in the second dimension. Figure 9

[0066] The second dimension can be edge feathering, and each control map in the control map sequence in the second dimension includes: a dissolve edge feathering parameter that changes over time in the second dimension, wherein the control parameter that changes over time in the second dimension includes the dissolve edge feathering parameter that changes over time in the second dimension.

[0067] The step S502 of obtaining the transparency map sequence according to the first dissolve map sequence can include: S601, adjusting the edge feathering degree of the first dissolve map sequence according to the control map sequence in the second dimension to obtain a second dissolve map sequence.

[0068] The control map sequence in the second dimension includes a plurality of control maps, the second dissolve map sequence includes a plurality of second dissolve maps, and the control maps and the second dissolve maps are one-to-one corresponding. Figure One The pixel points in the control maps, the pixel points in the first dissolve maps, and the pixel points in the second dissolve maps are one-to-one corresponding.

[0069] It should be noted that the dissolve edge feathering parameter of the control map in the second dimension can be understood as the gray value of each pixel point in the control map.

[0070] According to the control map sequence in the second dimension, the edge feathering degree of the first dissolve map in the first dissolve map sequence is adjusted to make the edge more natural and reduce the harsh boundary, thereby obtaining the second dissolve map sequence.

[0071] ​For example, A is the gray value of a pixel in the transition dissolution map, B.x is the gray value of a pixel in the control map in the first dimension, B.y is the gray value of a pixel in the control map in the second dimension, the gray value of a pixel in the first dissolution map is expressed as: saturate(A-B.x), and the gray value of a pixel in the second dissolution map is expressed as: saturate(A-B.x / (A*B.y)).

[0072] Therefore, when the value of B.y is closer to 0, the gray value of a pixel in the first dissolution map tends to 1, resulting in hard edges, and vice versa, the greater B.y is, the gray value of a pixel in the first dissolution map tends to 0, which tends to be transparent in image representation and produces the effect of softening the edges.

[0073] S602, obtaining a transparency map sequence according to the second dissolution map sequence.

[0074] In some embodiments, the second dissolution map sequence is taken as the transparency map sequence.

[0075] In the transition effect generation method provided in the embodiment, on the basis of the first dissolution map sequence, the edge feathering degree of the first dissolution map in the first dissolution map sequence is further adjusted according to the control map sequence in the second dimension, so that the edge is more natural, the hard boundary is reduced, and the subsequent transition effect is more natural. Figure 10 The flowchart of the transition effect generation method provided in the embodiment of the application Figure Seven As shown in the figure, in an optional implementation, the control map sequence in at least one dimension includes: a control map sequence in a third dimension, and each control map in the control map sequence in the third dimension includes a dissolution edge width parameter in the third dimension that changes over time. Figure 10 The third dimension can be an edge width, and each control map in the control map in the third dimension includes a dissolution edge width parameter in the third dimension that changes over time, wherein the control parameter in the third dimension that changes over time includes the dissolution edge width parameter in the third dimension that changes over time.

[0076] The above step S602 of obtaining a transparency map sequence according to the second dissolution map sequence can include:

[0077] S701, adjusting the dissolution edge width of the second dissolution map sequence according to the control map sequence in the third dimension to obtain a third dissolution map sequence. The third dissolution map sequence includes a plurality of third dissolution maps, and the control map and the third dissolution map in the third dimension are one-to-one corresponding.

[0078] Figure One ​There is a one-to-one correspondence, and the pixels in the control texture, the pixels in the first dissolved image, the pixels in the second dissolved image, and the pixels in the third dissolved image are in a one-to-one correspondence.

[0079] It should be noted that the melt edge width parameter of the control map in the third dimension can be understood as the grayscale value of each pixel in the control map.

[0080] Based on the control map sequence in the third dimension, the edge width of the second dissolution map in the second dissolution map sequence is adjusted to make the edge wider and the feathering effect range larger, thus obtaining the third dissolution map sequence.

[0081] For example, if A is the grayscale value of a pixel in the transition dissolution map, Bx is the grayscale value of a pixel in the control map in the first dimension, By is the grayscale value of a pixel in the control map in the second dimension, and Bz is the grayscale value of a pixel in the control map in the third dimension, and the grayscale value of a pixel in the second dissolution map is represented as: saturate(A - Bx / (A * By)), then the grayscale value of a pixel in the third dissolution map is represented as: saturate(A - (B.x+Bz) / (A * (B.y+Bz))).

[0082] S702. Obtain the transparency map sequence based on the third dissolution map sequence.

[0083] In some embodiments, the third dissolve map sequence is used as a transparency map sequence.

[0084] In the transition animation generation method provided in this embodiment, based on the second dissolution map sequence, the edge width of the second dissolution map in the second dissolution map sequence is further adjusted according to the control map sequence in the third dimension, so that the range of edge feathering effect is larger and the subsequent transition animation is more natural. Figure 11 A flowchart illustrating the transition animation generation method provided in this application embodiment. Figure Eight ,like Figure 11 As shown, in an optional implementation, the method may further include: S801, Obtain the grayscale value of the edge pixels in the transparency map sequence.

[0085] The transparency map sequence includes multiple transparency maps. The grayscale value of the edge pixels in each transparency map is obtained. The edge pixels are the image edges of each transparency map. The specific range of the image edges can be determined according to the actual situation. This embodiment does not make any special limitation on this.

[0086] S802. Obtain the color of the edge pixel based on the grayscale value of the edge pixel and the preset original color.

[0087] The preset original color is an original color of the material corresponding to the edge pixel point. The preset original color can be, for example, an RGB color. The color of the edge pixel point is obtained by multiplying the grayscale value of the edge pixel point and the preset original color.

[0088] The mapping relationship between the pixel points in the image and the surface material of the 3D model plays a key role in rendering, texture mapping, material editing, and visual effects.

[0089] S803, the color of the edge pixel point is re-determined according to the color of the edge pixel point, the preset original color, and the preset color mixing parameter.

[0090] The preset color mixing parameter is B.w, which is used to smoothly mix the colors of the two parts at the edge of the image.

[0091] The lerp (preset original color, dissolved edge color, calculation result) is used to calculate the dissolved color result F1.

[0092] The lerp (preset original color, dissolved edge color, step (0.01, calculation result)) is used to calculate the dissolved result F2.

[0093] The lerp function is used to smoothly transition between two colors. By adjusting the interpolation parameter calculation result, a smooth dissolution effect from the original color of the material to the dissolved edge color can be achieved. The step function is used to map the input value to 0 or 1 according to a threshold. The calculation result is the grayscale value of the pixel point in each transparency map in the transparency map sequence, and the dissolved edge color is the color of the edge pixel point.

[0094] For each pixel point in the transparency map, if the calculation result is 0, then F1 is the preset original color, if the calculation result is 1, then F1 is the dissolved edge color, if the calculation result is between 0 and 1, then F1 is a linear interpolation of the preset original color and the dissolved edge color. For example, if the calculation result is 0.3, then F1 = preset original color * 0.3 + dissolved edge color * 0.7, and if the calculation result is 0.5, then F1 = preset original color * 0.5 + dissolved edge color * 0.5.

[0095] Step (0.01, calculation result) means that if the calculation result is less than 0.01, return 0, if the calculation result is greater than or equal to 0.001, return 1.

[0096] B.w is in the range of 0 to 1. If B.w is greater than 0, the color of the re-determined edge pixel point is F2, and if B.w is equal to 0, the color of the re-determined edge pixel point is F1.

[0097] S804, according to the color of the re-determined edge pixel point, re-generate the transparency map sequence.

[0098] The color of the re-determined edge pixel point is set in the corresponding edge pixel point of the transparency map sequence, and the transparency map sequence is re-generated.

[0099] In the transition effect generation method provided in the embodiment, the color of the edge pixel point is mixed to make the color transition of the edge pixel point more smooth, and the subsequent transition effect more natural.

[0100] In an optional implementation, the method can further include: determining the control parameter of the time sequence change in each dimension from the preset parameter range of each dimension according to the input parameter rate adjustment operation for each dimension.

[0101] The value range of the control parameter of the time sequence change in each dimension can be 0 to 1, that is, the preset parameter range of each dimension can be 0 to 1, a visual parameter adjustment interface is provided, and the control parameter of the time sequence change in each dimension is determined in the preset parameter range by inputting the parameter rate adjustment operation for each dimension through the interface, for example, 0.1, 0.2, 0.3, 0.4, and the like.

[0102] It should be noted that 0.1 corresponds to the first control map in the control map sequence in each dimension, 0.2 corresponds to the second control map in the control map sequence in each dimension, and the like, and the control parameter of the time sequence change corresponds to the control map.

[0103] In an optional implementation, the method can further include: determining the control parameter of the time sequence change in each dimension from the preset parameter range of each dimension according to the input parameter rate adjustment operation for each dimension.

[0104] Each dimension corresponds to a parameter control curve, such as a Bezier curve, the parameter control curve corresponding to each dimension is displayed on the visual parameter adjustment interface, and the parameter rate adjustment operation for the parameter control curve is inputted, for example, the parameter control curve is manually dragged to determine the control parameter of the time sequence change in each dimension in the preset parameter range of each dimension.

[0105] Taking the dissolution degree as an example, Figure 12 A schematic diagram of the parameter control curve provided in the embodiment is as follows: Figure 12As shown, the abscissa is the serial number of each control map in the control map sequence under the degree of dissolution, 0 corresponds to the first control map, 1 corresponds to the second control map, and the ordinate is the control parameter.

[0106] In the transition effect generation method provided in the embodiment, the transition rate is adjusted through customized parameter rates, and the operation is relatively flexible since the result can be seen and obtained without modification through cross-engine and software.

[0107] Figure 13 A structural schematic diagram of a transition effect generation apparatus provided in the embodiment is shown in the figure, and the apparatus can be integrated in an electronic device.

[0108] As shown in the figure, the apparatus can include: Figure 13 The acquisition module 901 is configured to acquire a transition dissolution map corresponding to the to-be-processed sequence animation, the transition dissolution map being a gray-scale map having motion information of a moving object in the to-be-processed sequence animation; The adjustment module 902 is configured to perform gray-scale adjustment on the transition dissolution map according to a preset control map sequence to obtain a transparency map sequence, each control map in the preset control map sequence including, in sequence, a control parameter that changes over time; The generation module 903 is configured to perform animation rendering on a preset transition image according to the transparency map sequence to generate a target transition effect.

[0109] In an optional implementation, the acquisition module 901 is specifically configured to: perform single-channel conversion on a plurality of image frames in the to-be-processed sequence animation to obtain single-channel gray-scale maps of the plurality of image frames; superimpose the single-channel gray-scale maps of the plurality of image frames to obtain the transition dissolution map.

[0110] In an optional implementation, the apparatus further includes: The determination module 904 is configured to determine a starting image frame and a terminal image frame from the to-be-processed sequence animation according to an input image frame selection operation for the to-be-processed sequence animation; The determination module 904 is further configured to determine a plurality of image frames from the to-be-processed sequence animation according to the starting image frame and the terminal image frame.

[0111] In an optional implementation, the adjustment module 902 is specifically configured to: acquire control map sequences in at least one dimension, each control map in the control map sequence in each dimension including, in sequence, a control parameter that changes over time in each dimension; perform gray-scale adjustment on the transition dissolution map according to the control map sequences in the at least one dimension to obtain the transparency map sequence.

[0112] ​In an optional implementation, the control map sequence in the at least one dimension includes: a control map sequence in a first dimension, each control map in the control map sequence in the first dimension including, in sequence: a dissolution degree parameter that changes over time in the first dimension; The adjusting module 902 is specifically configured to: adjust the dissolution degree of the transition dissolution map according to the control map sequence in the first dimension, to obtain a first dissolution map sequence; obtain the transparency map sequence according to the first dissolution map sequence.

[0113] In an optional implementation, the control map sequence in the at least one dimension includes: a control map sequence in a second dimension, each control map in the control map sequence in the second dimension including, in sequence: a dissolution edge feathering parameter that changes over time in the second dimension; The adjusting module 902 is specifically configured to: adjust the edge feathering degree of the first dissolution map sequence according to the control map sequence in the second dimension, to obtain a second dissolution map sequence; obtain the transparency map sequence according to the second dissolution map sequence.

[0114] In an optional implementation, the control map sequence in the at least one dimension includes: a control map sequence in a third dimension, each control map in the control map sequence in the third dimension including, in sequence: a dissolution edge width parameter that changes over time in the third dimension; The adjusting module 902 is specifically configured to: adjust the dissolution edge width of the second dissolution map sequence according to the control map sequence in the third dimension, to obtain a third dissolution map sequence; obtain the transparency map sequence according to the third dissolution map sequence.

[0115] In an optional implementation, the obtaining module 901 is further configured to: obtain a gray value of an edge pixel point in the transparency map sequence; and obtain a color of the edge pixel point according to the gray value of the edge pixel point and a preset original color; The generating module 903 is further configured to: re-determine the color of the edge pixel point according to the color of the edge pixel point, the preset original color, and a preset color mixing parameter; and re-generate the transparency map sequence according to the re-determined color of the edge pixel point.

[0116] In an optional implementation, the determining module 904 is further configured to: determine the control parameter that changes over time in each dimension from a preset parameter range of each dimension according to an input parameter rate adjustment operation for each dimension.

[0117] In an optional implementation, the determining module 904 is specifically configured to: According to the input parameter rate adjustment operation of the parameter control curve corresponding to each dimension, the control parameter of the timing change in each dimension is determined from the preset parameter range of each dimension.

[0118] In the transition effect generation device provided in the embodiment, the acquisition module is configured to acquire a transition dissolve graph corresponding to the to-be-processed sequence animation, the transition dissolve graph being a gray-scale graph having motion information of a moving object in the to-be-processed sequence animation; the adjustment module is configured to perform gray-scale adjustment on the transition dissolve graph according to a preset control map sequence to obtain a transparency map sequence, each control map in the preset control map sequence sequentially including a control parameter of timing change; and the generation module is configured to perform animation rendering on a preset transition image according to the transparency map sequence to generate a target transition effect. The target transition effect is generated through animation rendering by map processing, and the transition effect generation efficiency is improved.

[0119] Figure 14 A structural diagram of an electronic device provided in the embodiment of the present application is shown in FIG. 1. Figure 14 As shown in FIG. 1, the device can include a processor 1001, a memory 1002, and a bus 1003. The memory 1002 stores machine-readable instructions executable by the processor 1001. When the electronic device is running, the processor 1001 communicates with the memory 1002 through the bus 1003. The processor 1001 executes the machine-readable instructions to perform the following steps: acquire a transition dissolve graph corresponding to the to-be-processed sequence animation, the transition dissolve graph being a gray-scale graph having motion information of a moving object in the to-be-processed sequence animation; perform gray-scale adjustment on the transition dissolve graph according to a preset control map sequence to obtain a transparency map sequence, each control map in the preset control map sequence sequentially including a control parameter of timing change; perform animation rendering on a preset transition image according to the transparency map sequence to generate a target transition effect.

[0120] In an optional implementation, acquiring a transition dissolve graph corresponding to the to-be-processed sequence animation includes: perform single-channel conversion on a plurality of image frames in the to-be-processed sequence animation to obtain single-channel gray-scale graphs of the plurality of image frames; superimpose the single-channel gray-scale graphs of the plurality of image frames to obtain the transition dissolve graph.

[0121] In an optional implementation, before performing single-channel conversion on a plurality of image frames in the to-be-processed sequence animation to obtain single-channel gray-scale graphs of the plurality of image frames, the method further includes: determining a start image frame and an end image frame from the to-be-processed sequence animation according to an input image frame selection operation for the to-be-processed sequence animation; determining a plurality of image frames from the to-be-processed sequence animation according to the start image frame and the end image frame.

[0122] In an optional implementation, the transition dissolve graph is gray-scale adjusted according to the preset control map sequence to obtain a transparency map sequence, including: obtaining a control map sequence in at least one dimension, each control map in the control map sequence in each dimension sequentially including a control parameter that changes in time sequence in each dimension; gray-scale adjusting the transition dissolve graph according to the control map sequence in at least one dimension to obtain a transparency map sequence.

[0123] In an optional implementation, the control map sequence in at least one dimension includes a control map sequence in a first dimension, each control map in the control map sequence in the first dimension sequentially including a dissolve degree parameter that changes in time sequence in the first dimension; gray-scale adjusting the transition dissolve graph according to the control map sequence in at least one dimension to obtain a transparency map sequence, including: adjusting a dissolve degree of the transition dissolve graph according to the control map sequence in the first dimension to obtain a first dissolve graph sequence; obtaining the transparency map sequence according to the first dissolve graph sequence.

[0124] In an optional implementation, the control map sequence in at least one dimension includes a control map sequence in a second dimension, each control map in the control map sequence in the second dimension sequentially including a dissolve edge feathering parameter that changes in time sequence in the second dimension; obtaining the transparency map sequence according to the first dissolve graph sequence, including: adjusting an edge feathering degree of the first dissolve graph sequence according to the control map sequence in the second dimension to obtain a second dissolve graph sequence; obtaining the transparency map sequence according to the second dissolve graph sequence.

[0125] In an optional implementation, the control map sequence in at least one dimension includes a control map sequence in a third dimension, each control map in the control map sequence in the third dimension sequentially including a dissolve edge width parameter that changes in time sequence in the third dimension; obtaining the transparency map sequence according to the second dissolve graph sequence, including: adjusting a dissolve edge width of the second dissolve graph sequence according to the control map sequence in the third dimension to obtain a third dissolve graph sequence; obtaining the transparency map sequence according to the third dissolve graph sequence.

[0126] In an optional implementation, the method further includes: obtaining a gray value of the edge pixel point in the transparency map sequence; obtaining the color of the edge pixel point according to the gray value of the edge pixel point and the preset original color; re-determining the color of the edge pixel point according to the color of the edge pixel point, the preset original color and the preset color mixing parameter; re-generating the transparency map sequence according to the re-determined color of the edge pixel point.

[0127] In an optional implementation, the method further includes: determining the control parameter of the time sequence change in each dimension from the preset parameter range of each dimension according to the input parameter rate adjustment operation of each dimension.

[0128] In an optional implementation, determining the control parameter of the time sequence change in each dimension from the preset parameter range of each dimension according to the input parameter rate adjustment operation of each dimension includes: determining the control parameter of the time sequence change in each dimension from the preset parameter range of each dimension according to the input parameter rate adjustment operation of the parameter control curve corresponding to each dimension.

[0129] In the electronic device provided in the embodiment, the processor executes machine readable instructions to perform the following steps: obtaining a transition dissolve graph corresponding to a to-be-processed sequence animation, the transition dissolve graph being a gray scale graph having motion information of a moving object in the to-be-processed sequence animation; performing gray scale adjustment on the transition dissolve graph according to a preset control map sequence to obtain a transparency map sequence, each control map in the preset control map sequence sequentially including a control parameter of time sequence change; performing animation rendering on a preset transition image according to the transparency map sequence to generate a target transition dynamic effect. The target transition dynamic effect is generated through animation rendering based on map processing, and the generation efficiency of the transition dynamic effect is improved.

[0130] The embodiment of the present application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is run by a processor to perform the following steps: obtaining a transition dissolve graph corresponding to a to-be-processed sequence animation, the transition dissolve graph being a gray scale graph having motion information of a moving object in the to-be-processed sequence animation; performing gray scale adjustment on the transition dissolve graph according to a preset control map sequence to obtain a transparency map sequence, each control map in the preset control map sequence sequentially including a control parameter of time sequence change; performing animation rendering on a preset transition image according to the transparency map sequence to generate a target transition dynamic effect.

[0131] In an optional implementation, the transition dissolve graph corresponding to the to-be-processed sequence animation is obtained, including: The single-channel conversion is performed on the plurality of image frames in the to-be-processed sequence animation to obtain single-channel grayscale images of the plurality of image frames. The single-channel grayscale images of the plurality of image frames are superimposed to obtain the transition dissolve graph.

[0132] In an optional implementation, before the single-channel conversion is performed on the plurality of image frames in the to-be-processed sequence animation to obtain single-channel grayscale images of the plurality of image frames, the method further includes: The starting image frame and the ending image frame are determined from the to-be-processed sequence animation according to the input image frame selection operation for the to-be-processed sequence animation. The plurality of image frames are determined from the to-be-processed sequence animation according to the starting image frame and the ending image frame.

[0133] In an optional implementation, the gray-scale adjustment is performed on the transition dissolve graph according to the preset control map sequence to obtain the transparency map sequence, including: The control map sequence in at least one dimension is obtained, and each control map in the control map sequence in each dimension sequentially includes a control parameter that changes over time in each dimension. The gray-scale adjustment is performed on the transition dissolve graph according to the control map sequence in at least one dimension to obtain the transparency map sequence.

[0134] In an optional implementation, the control map sequence in at least one dimension includes a control map sequence in a first dimension, and each control map in the control map sequence in the first dimension sequentially includes a dissolve degree parameter that changes over time in the first dimension. The gray-scale adjustment is performed on the transition dissolve graph according to the control map sequence in at least one dimension to obtain the transparency map sequence, including: The dissolve degree of the transition dissolve graph is adjusted according to the control map sequence in the first dimension to obtain a first dissolve graph sequence. The transparency map sequence is obtained according to the first dissolve graph sequence.

[0135] In an optional implementation, the control map sequence in at least one dimension includes a control map sequence in a second dimension, and each control map in the control map sequence in the second dimension sequentially includes a dissolve edge feathering parameter that changes over time in the second dimension. The transparency map sequence is obtained according to the first dissolve graph sequence, including: The edge feathering degree of the first dissolve graph sequence is adjusted according to the control map sequence in the second dimension to obtain a second dissolve graph sequence. The transparency map sequence is obtained according to the second dissolve graph sequence.

[0136] In an optional implementation, the control map sequence in the at least one dimension comprises: a control map sequence in a third dimension, each control map in the control map sequence in the third dimension comprising: a time-varying dissolve edge width parameter in the third dimension. According to the second dissolve map sequence, the transparency map sequence is obtained, comprising: According to the control map sequence in the third dimension, the dissolve edge width of the second dissolve map sequence is adjusted to obtain a third dissolve map sequence. According to the third dissolve map sequence, the transparency map sequence is obtained.

[0137] In an optional implementation, the method further comprises: The gray value of the edge pixel point in the transparency map sequence is obtained. According to the gray value of the edge pixel point and the preset original color, the color of the edge pixel point is obtained. According to the color of the edge pixel point, the preset original color and the preset color mixing parameter, the color of the edge pixel point is re-determined. According to the re-determined color of the edge pixel point, the transparency map sequence is re-generated.

[0138] In an optional implementation, the method further comprises: According to the input parameter rate adjustment operation for each dimension, the time-varying control parameter in each dimension is determined from the preset parameter range of each dimension.

[0139] In an optional implementation, according to the input parameter rate adjustment operation for each dimension, the time-varying control parameter in each dimension is determined from the preset parameter range of each dimension, comprising: According to the input parameter rate adjustment operation of the parameter control curve corresponding to each dimension, the time-varying control parameter in each dimension is determined from the preset parameter range of each dimension.

[0140] In the computer storage medium provided in the embodiment, when the computer program is run by the processor, the computer program executes the following steps: obtaining a transition dissolve map corresponding to a to-be-processed sequence animation, the transition dissolve map being a gray map having motion information of a moving object in the to-be-processed sequence animation; performing gray adjustment on the transition dissolve map according to a preset control map sequence to obtain a transparency map sequence, each control map in the preset control map sequence comprising a time-varying control parameter; and performing animation rendering on a preset transition image according to the transparency map sequence to generate a target transition dynamic effect. The animation rendering is performed by using the map processing to generate the target transition dynamic effect, and the transition dynamic effect generation efficiency is improved.

[0141] In the embodiments of the present application, the computer program, when executed by the processor, can also execute other machine readable instructions to perform the methods as described in the embodiments, for the specific method steps and principles performed, refer to the description of the embodiments, which will not be described in detail here.

[0142] In the embodiments provided in the present application, it should be understood that the disclosed device and method can be implemented by other means. The device embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, and for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or components shown or discussed can be indirect coupling or communication connection through some communication interfaces, devices or units, which can be electrical, mechanical or other forms.

[0143] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or they can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0144] In addition, each functional unit in the embodiments provided in the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit.

[0145] The functions, if realized in the form of software functional units and sold or used as independent products, can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the part of the present application which essentially contributes to the prior art or the part of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various program code storage media.

[0146] It should be noted that like reference numerals and letters refer to like items throughout the accompanying drawings, and once an item is defined in one drawing, it should not be further defined and explained in subsequent drawings, and further, the terms "first", "second", "third" and the like are used only to distinguish descriptions, and cannot be understood as indicating or implying relative importance.

[0147] Finally, it should be noted that the above-described embodiments are merely specific embodiments of the present application, and are used to illustrate the technical solutions of the present application, but are not limiting, and the protection scope of the present application is not limited thereto, although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily think of changes to the technical solutions recorded in the foregoing embodiments, or make equivalent replacements to some technical features, and these modifications, changes or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method for generating transition animation effects, characterized in that, include: Obtain the transition dissolution map corresponding to the animation sequence to be processed, wherein the transition dissolution map is a grayscale map containing motion information of the moving object in the animation sequence to be processed; According to the preset control map sequence, the grayscale of the transition dissolution map is adjusted to obtain the transparency map sequence. Each control map in the preset control map sequence includes, in turn, a control parameter that changes over time. Based on the transparency map sequence, the preset transition image is animated to generate the target transition effect.

2. The method according to claim 1, characterized in that, The process of obtaining the transition dissolution map corresponding to the animation sequence to be processed includes: Perform single-channel conversion on multiple image frames in the animation sequence to be processed to obtain single-channel grayscale images of the multiple image frames; The single-channel grayscale images of the multiple image frames are superimposed to obtain the transition dissolution image.

3. The method according to claim 2, characterized in that, Before performing single-channel conversion on multiple image frames in the animation sequence to obtain single-channel grayscale images of the multiple image frames, the method further includes: Based on the input image frame selection operation for the animation sequence to be processed, the start image frame and the end image frame are determined from the animation sequence to be processed; The plurality of image frames are determined from the sequence of animations to be processed based on the starting image frame and the ending image frame.

4. The method according to claim 1, characterized in that, The step of adjusting the grayscale of the transition dissolution map according to a preset control map sequence to obtain a transparency map sequence includes: Obtain a control map sequence for at least one dimension, wherein each control map in the control map sequence for each dimension includes, in turn, the control parameters that change over time in each dimension. The grayscale of the transition dissolve map is adjusted based on the control map sequence in at least one dimension to obtain the transparency map sequence.

5. The method according to claim 4, characterized in that, The control map sequence in at least one dimension includes: a control map sequence in a first dimension, wherein each control map in the control map sequence in the first dimension includes: a dissolution degree parameter that changes over time in the first dimension; The step of adjusting the grayscale of the transition dissolve map based on the control map sequence under at least one dimension to obtain the transparency map sequence includes: Based on the control map sequence in the first dimension, the degree of dissolution of the transition dissolution map is adjusted to obtain the first dissolution map sequence; Based on the first dissolution map sequence, obtain the transparency map sequence.

6. The method according to claim 5, characterized in that, The control map sequence in at least one dimension includes: a control map sequence in a second dimension, wherein each control map in the control map sequence in the second dimension includes: a dissolve edge feathering parameter that changes over time in the second dimension; The step of obtaining the transparency map sequence based on the first dissolution map sequence includes: Based on the control map sequence in the second dimension, the edge feathering degree of the first dissolution map sequence is adjusted to obtain the second dissolution map sequence; The transparency map sequence is obtained based on the second dissolution map sequence.

7. The method according to claim 6, characterized in that, The control map sequence in at least one dimension includes: a control map sequence in a third dimension, wherein each control map in the control map sequence in the third dimension includes: a dissolve edge width parameter that changes over time in the third dimension; The step of obtaining the transparency map sequence based on the second dissolution map sequence includes: Based on the control map sequence in the third dimension, the width of the dissolution edge of the second dissolution map sequence is adjusted to obtain the third dissolution map sequence; The transparency map sequence is obtained based on the third dissolution map sequence.

8. The method according to any one of claims 4-7, characterized in that, The method further includes: Obtain the grayscale values ​​of edge pixels in the transparency map sequence; The color of the edge pixel is obtained based on the grayscale value of the edge pixel and the preset original color; The color of the edge pixel is re-determined based on the color of the edge pixel, the preset original color, and the preset color mixing parameters; The transparency map sequence is regenerated based on the redefined colors of the edge pixels.

9. The method according to claim 4, characterized in that, The method further includes: Based on the input parameter rate adjustment operation for each dimension, the control parameters for the time-series changes under each dimension are determined from the preset parameter range of each dimension.

10. The method according to claim 9, characterized in that, The step of determining the control parameters for the temporal changes in each dimension from a preset parameter range for each dimension, based on the input parameter rate adjustment operation for each dimension, includes: Based on the input parameter rate adjustment operation for the parameter control curve corresponding to each dimension, the control parameters for the time-series changes under each dimension are determined from the preset parameter range of each dimension.

11. A transition animation generation device, characterized in that, include: The acquisition module is used to acquire the transition dissolution map corresponding to the sequence animation to be processed, wherein the transition dissolution map is a grayscale map containing motion information of the moving object in the sequence animation to be processed; The adjustment module is used to adjust the grayscale of the transition dissolve map according to a preset control map sequence to obtain a transparency map sequence. Each control map in the preset control map sequence includes, in sequence, a control parameter that changes over time. The generation module is used to perform animation rendering on the preset transition image according to the transparency map sequence to generate the target transition animation effect.

12. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is in operation, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform the method according to any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the method according to any one of claims 1 to 10.