Transition picture generation method and device, equipment and storage medium

By using the image synthesis of the 3D scene graph and the page perspective in page switching, rich 3D transition pictures are generated, which solves the problem of single effect of traditional 2D switching and realizes the generation of real-time 3D transition pictures.

CN118587328APending Publication Date: 2024-09-03GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310196635.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-01
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The transition animation effect in the existing page switching process is not rich enough, mainly due to the use of traditional two-dimensional switching technology, which results in a single display effect.

Method used

By obtaining the perspective view of the reserved area and page in the target 3D scene graph, image synthesis is performed to generate a 3D transition picture, and the perspective transformation matrix and different image synthesis methods (such as multiplication, color filtering, and binarization) are used to realize the transition between pages. Three-dimensional transition effect between.

Benefits of technology

It enriches the display effect of page switching, saves computing resources, and realizes the real-time generation of three-dimensional transition pictures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587328A
    Figure CN118587328A
Patent Text Reader

Abstract

The invention provides a transition picture generation method and device, equipment and a storage medium, and the method comprises the steps: obtaining a target three-dimensional scene graph corresponding to a first page and a second page, the second page is a next page of the first page, the target three-dimensional scene graph comprises a reserved area, and the reserved area is used for storing the target three-dimensional scene graph; the reserved area is used for bearing the first page and / or the second page; according to the reserved area and a target page used for bearing in the reserved area, a page perspective view corresponding to the target three-dimensional scene graph is generated, the page perspective view comprises the target page, and the target page is located in the reserved area in the page perspective view; and performing image synthesis on the target three-dimensional scene graph and the page perspective view to obtain a three-dimensional transition picture between the first page and the second page. According to the technical scheme, the display effect of page switching can be enriched, computing resources are saved, and real-time generation of the three-dimensional transition picture is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing, and in particular to a method, device, equipment and storage medium for generating a transition picture. Background Art

[0002] In many scenarios in daily life, page switching is involved, such as user interface switching, slide switching, etc. In order to improve the user experience, the page switching process has changed from the original direct switching from the previous page to the next page, to displaying a transition animation during the page switching process to achieve the transition from the previous page to the next page.

[0003] At present, the transition animation in the page switching process generally uses two-dimensional switching effects such as fade-in and fade-out or simple translation, that is, the switching between different pages adopts the traditional plane switching technology, and the display effect is not rich enough. Summary of the invention

[0004] The present application provides a transition screen generation method, device, equipment and storage medium to solve the technical problem that the display effect of switching between different pages is not rich enough.

[0005] In a first aspect, a method for generating a transition picture is provided, comprising:

[0006] Acquire a target three-dimensional scene graph corresponding to a first page and a second page, where the second page is a next page of the first page, and the target three-dimensional scene graph includes a reserved area, where the reserved area is used to carry the first page and / or the second page;

[0007] Generate a page perspective view corresponding to the target three-dimensional scene graph according to the reserved area and the target page carried by the reserved area, wherein the page perspective view includes the target page, and the target page is located in the reserved area in the page perspective view;

[0008] The target three-dimensional scene graph and the page perspective image are synthesized to obtain a three-dimensional transition image between the first page and the second page.

[0009] In the technical scheme, firstly, a target three-dimensional scene graph corresponding to the previous page and the next page is obtained, and there is a reserved area for carrying the previous page and / or the next page in the target three-dimensional scene graph, then a page perspective view corresponding to the target three-dimensional scene image is generated according to the reserved area in the target three-dimensional scene graph and the target page carried by the reserved area, and finally the target three-dimensional scene graph and the page perspective view are image-synthesized to obtain a three-dimensional transition picture between the previous page and the next page; since the page perspective view contains the target page and the target page is located in the reserved area in the page perspective view, the three-dimensional transition picture obtained by the image synthesis contains the previous page and / or the previous page, and the previous page and / or the previous page are presented as a three-dimensional perspective effect in the three-dimensional transition picture, thereby enriching the display effect of page switching; in addition, since the three-dimensional transition picture between the two pages is obtained by first generating a page perspective view and then performing image synthesis on the page perspective view and the three-dimensional scene graph, only the processing of the two-dimensional image is involved, and the computing resources required to generate the three-dimensional transition picture are relatively small, so computing resources can be saved, thereby realizing the real-time generation of the three-dimensional transition picture.

[0010] In combination with the first aspect, in a possible implementation, generating a page perspective view corresponding to the target three-dimensional scene graph according to the reserved area and the target page carried by the reserved area includes: generating a perspective transformation matrix that transforms the target page from the original image position to the target image position according to the original image position of the target page and the target image position of the reserved area in the target three-dimensional scene graph; performing a perspective transformation on the target page according to the perspective transformation matrix to obtain a page perspective view corresponding to the target three-dimensional scene graph. By generating a perspective transformation matrix according to the original image position of the page and the target image position of the reserved area in the three-dimensional scene graph, and performing a perspective transformation on the target page using the perspective transformation matrix to obtain a page perspective view, the implementation is simple and can save computing resources.

[0011] In combination with the first aspect, in a possible implementation, generating a perspective transformation matrix that transforms the target page from the original image position to the target image position based on the original image position of the target page and the target image position of the reserved area in the target three-dimensional scene graph includes: obtaining the four vertex coordinates corresponding to the original image position and the four vertex coordinates corresponding to the target image position; and calculating the perspective transformation matrix based on the four vertex coordinates corresponding to the original image position and the four vertex coordinates corresponding to the target image position. The perspective transformation matrix is ​​generated based on the four vertex coordinates of the original image position and the target image position, and the implementation is simple.

[0012] In combination with the first aspect, in a possible implementation, the reserved area in the target three-dimensional scene graph is a pure white area; the target three-dimensional scene graph and the page perspective view are synthesized to obtain a three-dimensional transition picture between the first page and the second page, including: using a positive film overlay image synthesis method to synthesize the target three-dimensional scene graph and the page perspective view to obtain a three-dimensional transition picture between the first page and the second page. By reserving a pure white area in the three-dimensional scene graph for carrying pages, and using a positive film overlay method to generate a three-dimensional transition picture containing pages, the visual presentation effect of the page in the three-dimensional transition picture can be guaranteed.

[0013] In combination with the first aspect, in a possible implementation, the reserved area is a pure black area in the target three-dimensional scene graph; the target three-dimensional scene graph and the page perspective view are synthesized to obtain a three-dimensional transition picture between the first page and the second page, including: using a color filtering image synthesis method to synthesize the target three-dimensional scene graph and the page perspective view to obtain a three-dimensional transition picture between the first page and the second page. By reserving a pure black area in the three-dimensional scene for carrying the page, and using a color filtering method to generate a three-dimensional transition picture containing the page, the visual presentation effect of the page in the three-dimensional transition picture can be guaranteed.

[0014] In combination with the first aspect, in a possible implementation, the target three-dimensional scene graph and the page perspective view are image-synthesized to obtain a three-dimensional transition screen between the first page and the second page, including: binarizing a reserved area in the target three-dimensional scene graph to obtain a target three-dimensional scene transformation graph corresponding to the target three-dimensional scene graph; and image-synthesizing the target three-dimensional scene transformation graph and the page perspective view to obtain a three-dimensional transition screen between the first page and the second page. By binarizing a reserved area in the three-dimensional scene graph to obtain a three-dimensional scene transformation graph, and image-synthesizing the three-dimensional scene graph and the page perspective view to obtain a three-dimensional transition screen, any three-dimensional scene and page can be combined, and the application range is wide.

[0015] In combination with the first aspect, in a possible implementation, the reserved area is a solid color area in the target three-dimensional scene map; the target three-dimensional scene transformation map and the page perspective view are image synthesized to obtain a three-dimensional transition screen between the first page and the second page, including: obtaining a first color of the reserved area in the target three-dimensional scene transformation map; using an image synthesis method corresponding to the first color to perform image synthesis on the target three-dimensional scene transformation map and the page perspective view to obtain a three-dimensional transition screen. By using an image synthesis method corresponding to the color of the reserved area in the three-dimensional scene transformation map to perform image synthesis on the three-dimensional scene transformation map and the page perspective view to obtain a three-dimensional transition screen, the visual presentation effect of the page in the three-dimensional transition screen can be guaranteed.

[0016] In combination with the first aspect, in a possible implementation, the performing image synthesis on the target three-dimensional scene transformation map and the page perspective view to obtain a three-dimensional transition screen between the first page and the second page includes: obtaining a second color of a target pixel in the target three-dimensional scene transformation map, the target pixel being any pixel in a reserved area in the target three-dimensional scene transformation map; and performing pixel synthesis on the target pixel in the target three-dimensional scene transformation map and the target pixel in the page perspective view using an image synthesis method corresponding to the pixel color in the reserved area to obtain a three-dimensional transition screen, thereby ensuring the visual presentation effect of the page in the three-dimensional transition screen.

[0017] In combination with the first aspect, in a possible implementation, the target three-dimensional scene graph belongs to a preset transition video, and the preset transition video includes at least one frame of three-dimensional scene graph; the method further includes: obtaining the three-dimensional transition picture corresponding to each frame of the three-dimensional scene graph in the preset transition video; combining the three-dimensional transition pictures corresponding to each frame of the three-dimensional scene graph according to the frame sequence of each frame of the three-dimensional scene graph in the preset transition video to obtain the three-dimensional transition animation between the first page and the second page. By obtaining the three-dimensional transition pictures corresponding to each three-dimensional scene graph in the transition video, and combining the three-dimensional transition pictures according to the frame sequence, a three-dimensional transition animation between two pages is formed, which can enrich the display effect of page switching.

[0018] In a second aspect, a transition picture generating device is provided, comprising:

[0019] An image acquisition module, used to acquire a target three-dimensional scene graph corresponding to a first page and a second page, wherein the second page is a next page of the first page, and the target three-dimensional scene graph includes a reserved area, and the reserved area is used to carry the first page and / or the second page;

[0020] A perspective view generating module, used for generating a page perspective view corresponding to the target three-dimensional scene graph according to the reserved area and the target page carried by the reserved area, wherein the page perspective view includes the target page, and the target page is located in the reserved area in the page perspective view;

[0021] The image synthesis module is used to perform image synthesis on the target three-dimensional scene graph and the page perspective image to obtain a three-dimensional transition image between the first page and the second page.

[0022] In a third aspect, a computer device is provided, comprising a memory and one or more processors, wherein the memory is connected to the one or more processors, and the one or more processors are used to execute one or more computer programs stored in the memory, and when the one or more processors execute the one or more computer programs, the computer device implements the transition screen generation method of the first aspect.

[0023] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the transition screen generation method of the first aspect.

[0024] The present application can achieve the following technical effects: since the page perspective view includes the target page and the target page is located in the reserved area in the page perspective view, the three-dimensional transition screen obtained by image synthesis includes the previous page and / or the previous page, and the previous page and / or the previous page are presented as a three-dimensional perspective effect in the three-dimensional transition screen, thereby enriching the display effect of page switching; in addition, since the three-dimensional transition screen between the two pages is obtained by first generating a page perspective view and then synthesizing the page perspective view with the three-dimensional scene graph, it only involves the processing of two-dimensional images, and the computing resources required to generate the three-dimensional transition screen are relatively small, thereby saving computing resources, thereby realizing the real-time generation of the three-dimensional transition screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 A schematic diagram of a flow chart of a method for generating a transition screen provided in an embodiment of the present application;

[0026] Figure 2 A schematic diagram of a target three-dimensional scene graph, a page perspective graph, and a three-dimensional transitional image provided in an embodiment of the present application;

[0027] Figure 3 A schematic diagram of a flow chart of another method for generating a transitional screen provided in an embodiment of the present application;

[0028] Figure 4 It is a structural schematic diagram of a transition picture generating device provided in an embodiment of the present application;

[0029] Figure 5 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0031] The technical solution of the present application can be applied to page switching scenarios. Page switching scenarios refer to scenarios involving switching between two pages. Page switching scenarios can specifically be switching scenarios between two application interfaces, switching scenarios between two web pages, switching scenarios between two courseware pages, switching scenarios between two pictures, switching scenarios between two videos, etc., not limited to the description here.

[0032] The technical solution of the present application can be applied to terminal devices with a page switching function, and the terminal devices include but are not limited to mobile phones, laptops, tablet computers, etc.; optionally, the technical solution of the present application can also be applied to computer devices that have a connection relationship with the terminal device, and the connection between the terminal device and the computer device can be a wired connection or a wireless connection; the computer device can be, for example, a server, and the server can be an independent physical server, or a server cluster or distributed system composed of multiple servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0033] The technical solution of this application is described in detail below.

[0034] See also Figure 1 , Figure 1 A flow chart of a method for generating a transitional screen provided in an embodiment of the present application is shown as follows: Figure 1 As shown, the method comprises the following steps:

[0035] S101, obtaining a target three-dimensional scene graph corresponding to a first page and a second page.

[0036] The first page and the second page are two pages that have a sequential relationship, and the second page is the next page of the first page, that is, the second page can be obtained by switching the first page. Specifically, the first page and the second page can be two application interfaces, pictures, courseware pages, video pages, web pages that have a sequential relationship, or an application interface and a video interface that have a sequential relationship, a courseware page and a video interface that have a sequential relationship, etc.

[0037] The target three-dimensional scene graph refers to a three-dimensional scene graph that is preset between the first page and the second page. The target three-dimensional scene graph contains a preset three-dimensional scene, which is used as a transition scene for switching between the first page and the second page. The target three-dimensional scene graph contains a reserved area, which is a part of the three-dimensional scene in the target three-dimensional scene graph and is used to carry at least one of the first page or the second page, that is, the reserved area is used to present the first page, or the second page, or the first page and the second page. There can be one or more reserved areas. Exemplarily, the target three-dimensional scene graph can be as follows Figure 2 As shown in P1, the scene in P1 is a preset three-dimensional scene. Figure 2 The gray area R1 in the figure is a reserved area.

[0038] In some possible cases, the target 3D scene graph may be pre-set by the user.

[0039] In a specific implementation, a user may pre-render a three-dimensional scene used as a transition scene between a first page and a second page into a two-dimensional image to obtain a target three-dimensional scene graph, and then save the target three-dimensional scene graph in a terminal device or a computer device, and the terminal device or the computer device may obtain the target three-dimensional scene graph locally.

[0040] In another specific implementation, a transition scene library may also be preset in a terminal device or a computer device, and the transition scene library may store a variety of three-dimensional scenes used as transition scenes and a three-dimensional scene graph obtained by rendering the three-dimensional scenes. The terminal device or the computer device may display the three-dimensional scenes in the transition scene library to the user, and then determine the three-dimensional scene graph corresponding to the three-dimensional scene selected by the user as the target three-dimensional scene graph.

[0041] Determining the target three-dimensional scene graph according to the user's selection can make the final three-dimensional transition picture meet the user's needs and enhance the user experience.

[0042] In some other possible situations, the target three-dimensional scene graph may also be automatically selected according to the page situation.

[0043] In a feasible implementation, a first correspondence between a page type and a three-dimensional scene can be pre-established and stored in a computer device or a terminal device. The terminal device or the computer device can determine the type of the first page and / or the type of the second page, and then, based on the first correspondence, determine the three-dimensional scene corresponding to the type of the first page and / or the type of the second page as the target three-dimensional scene, and determine the three-dimensional scene graph corresponding to the target three-dimensional scene as the target three-dimensional scene graph.

[0044] For example, pages can be divided into four types: application interface, picture, web page, and video. The three-dimensional scene S1 is used as a transition scene for switching between two application interfaces, the three-dimensional scene S2 is used as a transition scene for switching between two pictures, the three-dimensional scene S3 is used as a transition scene for switching between two web pages, and the three-dimensional scene S4 is used as a transition scene for switching between two videos. The first correspondence between the pre-established page type and the three-dimensional scene can be shown in Table 1.

[0045] Page Type 3D Scene Application interface S1 picture S2 Web page S3 video S4

[0046] Table 1

[0047] When the first page and the second page are two application interfaces, according to the first corresponding relationship in Table 1, the 3D scene S1 can be determined as the target 3D scene, and the 3D scene graph corresponding to the 3D scene S1 can be determined as the target 3D scene graph.

[0048] It should be understood that the first correspondence shown in Table 1 is only an example of the present application, and there may be more cases regarding the correspondence between the page type and the three-dimensional scene. For example, a correspondence between the type of the first page, the type of the second page, and the three-dimensional scene may be established, and then the corresponding three-dimensional scene may be determined according to the type of the first page and the type of the second page. The page type may also be divided according to the content in the page, etc. This application does not make any limitation.

[0049] In another feasible implementation, the computer device or terminal device may also be preset with a transition scene library, which stores a variety of three-dimensional scenes used as transition scenes, three-dimensional scene graphs obtained by rendering the three-dimensional scenes, and attribute tags of the three-dimensional scenes. The attribute tags of the three-dimensional scenes are used to describe various attributes of the three-dimensional scenes, such as the type, theme, content, and applicable pages. The terminal device or computer device may determine, based on the content of the first page or the content of the second page, a three-dimensional scene whose attribute tag matches the content of the first page or the content of the second page as a target three-dimensional scene, and determine the three-dimensional scene graph corresponding to the target three-dimensional scene as the target three-dimensional scene graph.

[0050] For example, if the content of the first page is scenery, the 3D scene with the attribute tag containing scenery in the transition scene library can be determined as the target 3D scene, and the 3D scene graph corresponding to the target 3D scene can be determined as the target 3D scene graph.

[0051] Not limited to the above two implementations, there can be more implementations of determining the target 3D scene graph based on the page situation, which is not limited by this application. Determining the target 3D scene graph based on the page situation can make the final 3D transition picture match the page, with better switching display effect.

[0052] It should be noted that the process of acquiring the target three-dimensional scene graph may be triggered after receiving a page switching instruction corresponding to the first page and the second page, wherein the page switching instruction may be triggered by the user or automatically triggered based on a preset condition; the process of acquiring the target three-dimensional scene graph may also be triggered when the user pre-designs a transition scene between the first page and the second page. This application does not limit the timing of acquiring the target three-dimensional scene graph.

[0053] The reserved area in the target three-dimensional scene graph is known. The reserved area in the target three-dimensional scene graph can be obtained based on the content of the three-dimensional scene in the target three-dimensional scene graph. For example, the area containing four vertices in the content of the three-dimensional scene in the target three-dimensional scene graph can be used as the reserved area. Optionally, the reserved area in the target three-dimensional scene can also be set by the user. For example, after the user renders the three-dimensional scene into a three-dimensional scene graph, he can also mark the reserved area in the three-dimensional scene graph. The reserved area in the target three-dimensional scene graph can be preset in the target three-dimensional scene graph, that is, it has been pre-marked in the target three-dimensional scene graph before obtaining the target three-dimensional scene graph; it can also be obtained in the process of obtaining the target three-dimensional scene graph, that is, the reserved area is marked in the process of obtaining the target three-dimensional scene graph. The position of the reserved area in the target three-dimensional scene graph and the way of obtaining it can be set based on actual needs, and this application does not limit it.

[0054] S102: Generate a page perspective view corresponding to the target three-dimensional scene graph according to the reserved area in the target three-dimensional scene graph and the target page carried by the reserved area in the target three-dimensional scene graph.

[0055] Among them, the target page can be the aforementioned first page, or the second page, or the first page and the second page. If the reserved area in the target three-dimensional scene graph is preset to carry the first page, the target page is the first page; if the reserved area in the target three-dimensional scene graph is preset to carry the second page, the target page is the second page; if the reserved area in the target three-dimensional scene graph is preset to carry the first page and the second page, the target page is the first page and the second page. Which pages the reserved area in the target three-dimensional scene graph is used to carry depends on the pre-configuration of the reserved area, which can be set based on actual needs.

[0056] The size of the page perspective corresponding to the target 3D scene graph is the same as the size of the target 3D scene graph. The page perspective includes the target page, and the target page is located in the reserved area of ​​the page perspective. The area other than the reserved area in the page perspective can be a transparent area or a pure white area or a pure black area. For example, you can continue to refer to Figure 2 , assuming Figure 2 The reserved area R1 in the Figure 2 If the page Y1 in Figure 2 The page perspective view corresponding to the target 3D scene graph P1 in is as follows Figure 2 As shown in P2 in FIG. 1 , page Y1 is located in the reserved area R1 of the page perspective view P2 .

[0057] Specifically, the page perspective view corresponding to the target three-dimensional scene graph can be generated according to the following steps A1-A2:

[0058] A1. According to the original image position of the target page and the target image position of the reserved area in the target three-dimensional scene graph, a perspective transformation matrix is ​​generated to transform the target page from the original image position to the target image position.

[0059] The original image position of the target page refers to the original position of the target page in the two-dimensional image, and the original image position of the target page can be represented by the coordinates of the four vertices of the two-dimensional image. Figure 2 In a two-dimensional image coordinate system with the upper left corner of the two-dimensional image as the coordinate origin, the original image position of the target page can be represented by the coordinates (0, 0), (0, n), (m, 0) and (m, n) in the two-dimensional image coordinate system, where m and n are the width and height of the target page, respectively. Optionally, the original image position of the target page can also be represented by a position coordinate in the target page and the width and height of the target page, where the one position coordinate can be the vertex coordinate of the target page or the coordinate of the center of the target page. For example, the original position of the target page in the two-dimensional image can be represented by the upper left corner coordinate (0, 0) of the target page, the width m and the height n of the two-dimensional image.

[0060] The target image position refers to the image position of the reserved area in the target three-dimensional scene image. The image coordinate system of the target three-dimensional scene image uses the coordinates of the upper left corner of the two-dimensional image as the coordinate origin. The image position of the reserved area in the target three-dimensional scene image can be represented by the coordinates of the four vertices of the reserved area in the image coordinate system of the target three-dimensional scene image. For example, reference can be made to Figure 2 , Figure 2 The reserved area R1 in Figure 2 The coordinates (a1.x, a1.y), (a2.x, a2.y), (a3.x, a3.y) and (a4.x, a4.y) are used to represent it.

[0061] In a feasible implementation, the four vertex coordinates corresponding to the original image position and the four vertex coordinates corresponding to the target image position can be obtained, and then the perspective transformation matrix is ​​calculated according to the four vertex coordinates corresponding to the original image position and the four vertex coordinates corresponding to the target image position.

[0062] Among them, the four vertex coordinates corresponding to the original image position can be the aforementioned (0, 0), (0, n), (m, 0) and (m, n); the four vertex coordinates corresponding to the target image position can be the aforementioned (a1.x, a1.y), (a2.x, a2.y), (a3.x, a3.y) and (a4.x, a4.y).

[0063] The perspective transformation matrix can be expressed as represents the affine transformation parameters, represents the translation transformation parameter, T3 = [a 31 a 32 ], indicating the edge intersection after transformation, a 33 is the scaling factor related to T3, a 33 The value of can be 1.

[0064] The perspective transformation matrix can be calculated by solving the following matrix equation:

[0065]

[0066] The perspective transformation matrix is ​​generated according to the coordinates of the four vertices of the original image position and the target image position. The implementation is simple and is conducive to the real-time calculation of the perspective transformation matrix.

[0067] Optionally, in addition to using the four vertex coordinates corresponding to the original image position and the target image position to calculate the perspective transformation matrix, other feature points at the original image position and the target image position can also be used to calculate the perspective transformation matrix. For example, the midpoints of the four sides corresponding to the original image position and the midpoints of the four sides corresponding to the target image position can be used to calculate the perspective transformation matrix; or, the center point coordinates and three vertex coordinates at the original image position and the center point coordinates and three vertex coordinates at the target image position can be used to calculate the perspective transformation matrix, etc. This is not limited to the examples given here.

[0068] A2. Perform perspective transformation on the target page according to the perspective transformation matrix to obtain a page perspective view corresponding to the target three-dimensional scene graph.

[0069] Specifically, each pixel in the target page can be mapped to the reserved area according to the perspective transformation matrix to obtain a page perspective view corresponding to the target three-dimensional scene graph.

[0070] According to the perspective transformation matrix, the calculation formula for mapping each pixel in the target page to the reserved area can be as follows:

[0071]

[0072]

[0073] (x, y) is the image coordinate of the pixel in the target page in the two-dimensional image coordinate system before perspective transformation, and (X, Y) is the image coordinate of the pixel in the target page in the two-dimensional image coordinate system after perspective transformation.

[0074] By generating a perspective transformation matrix according to the original image position of the page and the target image position of the reserved area in the three-dimensional scene graph, and using the perspective transformation matrix to perform perspective transformation on the target page to obtain a page perspective view, the implementation is simple and can save computing resources.

[0075] S103, performing image synthesis on the target three-dimensional scene graph and the page perspective view corresponding to the target three-dimensional scene graph to obtain a three-dimensional transition picture between the first page and the second page.

[0076] Here, performing image synthesis on the target 3D scene graph and the page perspective view corresponding to the target 3D scene refers to superimposing the target 3D scene graph and the page perspective view, so that the scene except the reserved area in the target 3D scene graph and the target page in the page perspective view are combined and presented in the 3D transition screen, thereby making the target page present a 3D effect in the 3D transition screen. For example, the 3D transition screen can be as follows Figure 2 As shown in P3.

[0077] The specific conditions of the reserved area in the target three-dimensional scene graph are different, and the methods of synthesizing the target three-dimensional scene image and the page perspective image are different, which are specifically introduced below.

[0078] The first case: the target three-dimensional scene graph may be a three-dimensional scene graph obtained by preprocessing the reserved area, and the reserved area is preprocessed into a pure white area in the target three-dimensional scene graph.

[0079] In this case, a positive overlay image synthesis method can be used to synthesize the target three-dimensional scene graph and the page perspective image to obtain a three-dimensional transition image between the first page and the second page.

[0080] The calculation formula of the multiply is as follows:

[0081] r3=r1*r2

[0082] g3=g1*g2

[0083] b3=b1*b2

[0084] Among them, the value range of r, g, b is [0, 1], which represents the red, green, and blue color values ​​of the pixel, r1, g1, b1 and r2, g2, b2 are the red, green, and blue color values ​​of the same pixel in the two images to be synthesized, and r3, g3, and b3 are the red, green, and blue color values ​​of the pixel in the synthesized image. Here, r1, g1, and b1 can be the red, green, and blue color values ​​of the pixel in the target three-dimensional scene graph, r2, g2, and b2 can be the red, green, and blue color values ​​of the pixel in the page perspective view, and r3, g3, and b3 are the red, green, and blue color values ​​of the pixel in the three-dimensional transition picture.

[0085] It should be noted that when the target three-dimensional scene image and the page perspective image are synthesized using the positive overlay image synthesis method, the area in the page perspective image except the reserved area can be processed as a transparent area or a pure white area in the process of generating the page perspective image.

[0086] By reserving a pure white area in the three-dimensional scene graph for carrying the page and using the method of overlay, the three-dimensional transition screen containing the page is generated, which can ensure the visual presentation effect of the page in the three-dimensional transition screen.

[0087] The second case: the target three-dimensional scene graph may be a three-dimensional scene graph obtained by preprocessing the reserved area, and the reserved area is preprocessed into a pure black area in the target three-dimensional scene graph.

[0088] In this case, a color filter image synthesis method can be used to synthesize the target three-dimensional scene graph and the page perspective image to obtain a three-dimensional transition image between the first page and the second page.

[0089] The calculation formula of the multiply is as follows:

[0090] r3=1-(1-r1)*(1-r2)

[0091] g3=1-(1-g1)*(1-g2)

[0092] b3=1-(1-b1)*(1-b2)

[0093] It should be noted that when the color filter image synthesis method is used to synthesize the target 3D scene image and the page perspective image, in the process of generating the page perspective image, the area except the reserved area in the page perspective image can be processed as a transparent area or a pure black area.

[0094] By reserving a pure black area in the three-dimensional scene for carrying the page and using a color filtering method to generate a three-dimensional transition screen containing the page, the visual presentation effect of the page in the three-dimensional transition screen can be guaranteed.

[0095] The third case: the target three-dimensional scene graph is a three-dimensional scene graph without preprocessing the reserved area.

[0096] In this case, the reserved area in the target three-dimensional scene graph can be binarized first to obtain a target three-dimensional scene transformation graph corresponding to the target three-dimensional scene graph; then the target three-dimensional scene transformation graph and the page perspective graph can be synthesized to obtain a three-dimensional transition picture between the first page and the second page.

[0097] Sub-case 1: If the reserved area is a solid color area, the first color of the reserved area in the target three-dimensional scene transformation map can be obtained; the target three-dimensional scene transformation map and the page perspective map are synthesized using an image synthesis method corresponding to the first color to obtain a three-dimensional transitional screen between the first page and the second page. Among them, if the first color is white, the image synthesis method corresponding to the first color is the aforementioned positive film overlay image synthesis method; if the first color is black, the image synthesis method corresponding to the first color is the aforementioned color filter image synthesis method. By using an image synthesis method corresponding to the color of the reserved area in the three-dimensional scene transformation map to synthesize the three-dimensional scene transformation map and the page perspective map to obtain a three-dimensional transitional screen, the visual presentation effect of the page in the three-dimensional transitional screen can be guaranteed.

[0098] Sub-case 2: If the reserved area is not a pure color area, the second color of the target pixel in the target three-dimensional scene transformation map can be obtained, and the target pixel is any pixel in the reserved area in the target three-dimensional scene transformation map; the image synthesis method corresponding to the second color is used to perform pixel synthesis on the target pixel in the target three-dimensional scene transformation map and the target pixel in the page perspective map to obtain a three-dimensional transition screen between the first page and the second page. Among them, if the second color is white, the image synthesis method corresponding to the second color is the aforementioned positive film overlay image synthesis method; if the second color is black, the image synthesis method corresponding to the second color is the aforementioned color filter synthesis method. By using the image synthesis method corresponding to the pixel color in the reserved area to synthesize the pixels in the three-dimensional scene transformation map and the page perspective map to obtain a three-dimensional transition screen, the visual presentation effect of the page in the three-dimensional transition screen can be guaranteed.

[0099] By binarizing the reserved area in the three-dimensional scene graph, a three-dimensional scene transformation graph is obtained, and the three-dimensional scene graph and the page perspective view are synthesized to obtain a three-dimensional transition picture. This can realize the combination of any three-dimensional scene and page, and has a wide range of applications.

[0100] Optionally, in some possible situations, before performing image synthesis on the target three-dimensional scene graph and the page perspective view, the specific situation of the reserved area in the target three-dimensional scene graph can also be judged to determine which of the aforementioned situations the reserved area in the target three-dimensional scene graph belongs to, and then the corresponding method is used for image synthesis. Specifically, before performing image synthesis on the target three-dimensional scene graph and the page perspective view, the color value of each pixel in the reserved area in the target three-dimensional scene graph can also be traversed to obtain the color value of each pixel in the reserved area, and it can be determined whether the color value of each pixel in the reserved area is consistent. If they are consistent, the reserved area is determined to be a pure color area; otherwise, the reserved area is determined to be a non-pure color area. In the case where it is determined that the reserved area is a solid color area, it can also be determined whether the color of the pixels in the reserved area is black or white. If it is white, the reserved area in the target three-dimensional scene graph is determined to be the first case described above, and then the method described in the first case can be used for image synthesis; if it is black, the reserved area in the target three-dimensional scene graph is determined to be the second case described above, and then the method described in the second case can be used for image synthesis; if the color of the pixels in the reserved area is not black and white, the reserved area in the target three-dimensional scene graph is determined to be sub-case one of the third case described above, and then the method described in the sub-case one can be used for image synthesis. In the case where it is determined that the reserved area is not a solid color area, it can be determined that the reserved area in the target three-dimensional scene graph is sub-case two of the third case described above, and then the method described in the sub-case two can be used for synthesis. By judging the specific situation of the reserved area in the target three-dimensional scene graph and using the corresponding method to realize the image synthesis between the target three-dimensional scene graph and the page perspective view, it is possible to realize the processing of any three-dimensional scene graph, ensure the presentation effect of the three-dimensional transition screen, and improve the user experience.

[0101] exist Figure 1In the corresponding technical solution, firstly, a target three-dimensional scene graph corresponding to the previous page and the next page is obtained, and there is a reserved area for carrying the previous page and / or the next page in the target three-dimensional scene graph, and then a page perspective view corresponding to the target three-dimensional scene image is generated according to the reserved area in the target three-dimensional scene graph and the target page carried by the reserved area, and finally the target three-dimensional scene graph and the page perspective view are image-synthesized to obtain a three-dimensional transition picture between the previous page and the next page; since the page perspective view contains the target page, and the target page is located in the reserved area in the page perspective view, the three-dimensional transition picture obtained by the image synthesis contains the previous page and / or the previous page, and the previous page and / or the previous page are presented as a three-dimensional perspective effect in the three-dimensional transition picture, thereby enriching the display effect of page switching; in addition, since the three-dimensional transition picture between the two pages is obtained by first generating a page perspective view and then performing image synthesis on the page perspective view and the three-dimensional scene graph, only the processing of the two-dimensional image is involved, and the computing resources required to generate the three-dimensional transition picture are relatively small, so computing resources can be saved, thereby realizing the real-time generation of the three-dimensional transition picture.

[0102] The transition screen between two pages can have multiple frames, and multiple frames of transition screens can form a switching animation between two pages. Figure 3 , Figure 3 A flow chart of another method for generating a transitional screen provided in an embodiment of the present application is shown as follows: Figure 3 As shown, the method comprises the following steps:

[0103] S201, obtaining a preset transition video corresponding to a first page and a second page, wherein the preset transition video includes at least one frame of a three-dimensional scene graph.

[0104] The preset transition video is a preset transition video used as a transition video between the first page and the second page, and the three-dimensional scene in the preset transition video is used as a transition scene for switching between the first page and the second page. Among the three-dimensional scene graphs included in the preset transition video, at least one frame of the three-dimensional scene graph is the target three-dimensional scene graph introduced in the aforementioned step S101.

[0105] The relevant circumstances of obtaining the preset transition video are similar to the relevant circumstances of obtaining the target three-dimensional scene graph described in the aforementioned step S101. The acquisition can be triggered after receiving the page switching instruction corresponding to the first page and the second page, or it can be triggered in the process of the user pre-designing the transition scene between the first page and the second page; the preset transition video can be set by the user, or it can be automatically selected according to the page situation. The specific implementation method of obtaining the preset transition video can refer to the implementation method of obtaining the target three-dimensional scene graph described in the aforementioned step S101, and will not be repeated here.

[0106] S202, obtaining a three-dimensional transition picture corresponding to each frame of the three-dimensional scene graph in the preset transition video.

[0107] Here, the method of obtaining the three-dimensional transition picture corresponding to each three-dimensional scene graph in each frame of the three-dimensional video can refer to the introduction of the aforementioned steps S101 to S103. Among them, if the three-dimensional scene graph in the preset transition video is the target three-dimensional scene graph introduced in the aforementioned step S101, that is, the three-dimensional scene graph contains a reserved area, then the three-dimensional transition picture corresponding to the three-dimensional scene graph can be obtained by referring to the method introduced in the aforementioned steps S101 to S103; if the three-dimensional scene graph in the preset transition video is not the target three-dimensional scene graph introduced in the aforementioned step S101, that is, it does not contain a reserved area, then the three-dimensional scene graph can be directly used as the three-dimensional transition picture. In this way, the three-dimensional transition picture corresponding to each three-dimensional scene graph in the preset transition video can be obtained.

[0108] S203, combining the 3D transition pictures corresponding to the 3D scene graphs of the frames in the preset transition video according to the frame sequence of the 3D scene graphs of the frames in the preset transition video to obtain the 3D transition animation between the first page and the second page.

[0109] exist Figure 3 In the corresponding technical solution, by obtaining the preset transition videos corresponding to the previous page and the next page, the preset transition video contains at least one frame of three-dimensional scene graph, and then obtaining the three-dimensional transition pictures corresponding to each frame of the three-dimensional scene graph in the preset transition video, and combining the three-dimensional transition pictures according to the frame sequence of the three-dimensional scene graph in the preset transition video, so as to obtain a three-dimensional transition animation for switching between two pages, thereby enriching the display effect of page switching.

[0110] The method of the present application is introduced above, and the device of the present application is introduced below.

[0111] See also Figure 4 , Figure 4 Schematic diagram of a transition screen generation device provided in an embodiment of the present application. Figure 4 As shown, the transition picture generating device 30 includes:

[0112] An image acquisition module 301 is used to acquire a target three-dimensional scene graph corresponding to a first page and a second page, where the second page is a next page of the first page, and the target three-dimensional scene graph includes a reserved area, and the reserved area is used to carry the first page and / or the second page;

[0113] A perspective view generating module 302 is used to generate a page perspective view corresponding to the target three-dimensional scene graph according to the reserved area and the target page carried by the reserved area, wherein the page perspective view includes the target page, and the target page is located in the reserved area in the page perspective view;

[0114] The image synthesis module 303 is used to perform image synthesis on the target three-dimensional scene graph and the page perspective image to obtain a three-dimensional transition image between the first page and the second page.

[0115] In a possible design, the perspective view generation module 302 is specifically used to: generate a perspective transformation matrix that transforms the target page from the original image position to the target image position based on the original image position of the target page and the target image position of the reserved area in the target three-dimensional scene graph; and perform a perspective transformation on the target page based on the perspective transformation matrix to obtain a page perspective view corresponding to the target three-dimensional scene graph.

[0116] In one possible design, the perspective image generation module 302 is specifically used to: obtain the four vertex coordinates corresponding to the original image position and the four vertex coordinates corresponding to the target image position; and calculate the perspective transformation matrix according to the four vertex coordinates corresponding to the original image position and the four vertex coordinates corresponding to the target image position.

[0117] In a possible design, the reserved area is a pure white area in the target three-dimensional scene graph; the above-mentioned image synthesis module 303 is specifically used to: adopt a positive film overlay image synthesis method to perform image synthesis on the target three-dimensional scene graph and the page perspective view to obtain a three-dimensional transition picture between the first page and the second page.

[0118] In a possible design, the reserved area is a pure black area in the target three-dimensional scene graph; the above-mentioned image synthesis module 303 is specifically used to: adopt a color filtering image synthesis method to perform image synthesis on the target three-dimensional scene graph and the page perspective view to obtain a three-dimensional transition picture between the first page and the second page.

[0119] In one possible design, the above-mentioned image synthesis module 303 is specifically used to: binarize the reserved area in the target three-dimensional scene graph to obtain a target three-dimensional scene transformation graph corresponding to the target three-dimensional scene graph; perform image synthesis on the target three-dimensional scene transformation graph and the page perspective view to obtain a three-dimensional transition picture between the first page and the second page.

[0120] In a possible design, the reserved area is a solid color area in the target three-dimensional scene graph; the image synthesis module 303 is specifically used to: obtain the first color of the reserved area in the target three-dimensional scene transformation graph; use an image synthesis method corresponding to the first color to perform image synthesis on the target three-dimensional scene transformation graph and the page perspective view to obtain a three-dimensional transition picture between the first page and the second page.

[0121] In one possible design, the above-mentioned image synthesis module 303 is specifically used to: obtain a second color of a target pixel in the target three-dimensional scene transformation map, where the target pixel is any pixel in a reserved area in the target three-dimensional scene transformation map; and use an image synthesis method corresponding to the second color to perform pixel synthesis on the target pixel in the target three-dimensional scene transformation map and the target pixel in the page perspective view to obtain a three-dimensional transition picture between the first page and the second page.

[0122] In one possible design, the target three-dimensional scene graph belongs to a preset transition video, and the preset transition video includes at least one frame of three-dimensional scene graph; the above-mentioned transition picture generation device 30 also includes a transition animation generation module 304, which is used to obtain the three-dimensional transition pictures corresponding to each frame of the three-dimensional scene graph in the preset transition video; according to the frame sequence of each frame of the three-dimensional scene graph in the preset transition video, the three-dimensional transition pictures corresponding to each frame of the three-dimensional scene graph are combined to obtain the three-dimensional transition animation between the first page and the second page.

[0123] It should be noted that Figure 4 For the contents not mentioned in the corresponding embodiments, please refer to the description of the aforementioned method embodiments, which will not be repeated here.

[0124] The above-mentioned device first obtains the target three-dimensional scene graph corresponding to the previous page and the next page, and there is a reserved area for carrying the previous page and / or the next page in the target three-dimensional scene graph. Then, according to the reserved area in the target three-dimensional scene graph and the target page carried by the reserved area, a page perspective view corresponding to the target three-dimensional scene image is generated. Finally, the target three-dimensional scene graph and the page perspective view are image-synthesized to obtain a three-dimensional transition picture between the previous page and the next page. Since the page perspective view contains the target page and the target page is located in the reserved area in the page perspective view, the three-dimensional transition picture obtained by image synthesis contains the previous page and / or the previous page, and the previous page and / or the previous page are presented as a three-dimensional perspective effect in the three-dimensional transition picture, thereby enriching the display effect of page switching. In addition, since the three-dimensional transition picture between the two pages is obtained by first generating a page perspective view and then performing image synthesis on the page perspective view and the three-dimensional scene graph, only the processing of the two-dimensional image is involved, and the computing resources required to generate the three-dimensional transition picture are relatively small, so computing resources can be saved, thereby realizing the real-time generation of the three-dimensional transition picture.

[0125] See also Figure 5 , Figure 5 4 is a schematic diagram of a computer device provided in an embodiment of the present application, wherein the computer device 40 includes a processor 401 and a memory 402. The memory 402 is connected to the processor 401, for example, via a bus.

[0126] The processor 401 is configured to support the computer device 40 to perform the corresponding functions in the method in the above method embodiment. The processor 401 can be a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof. The above hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0127] The memory 402 is used to store program codes, etc. The memory 402 may include a volatile memory (VM), such as a random access memory (RAM); the memory 402 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory 402 may also include a combination of the above-mentioned types of memories.

[0128] Optionally, the computer device 40 may further include a display panel 403, which is connected to the processor 401 and is used to display pages; optionally, the display panel 403 is also used to display a transition picture or transition animation between two pages.

[0129] The processor 401 may call the program code to perform the following operations:

[0130] Acquire a target three-dimensional scene graph corresponding to a first page and a second page, where the second page is a next page of the first page, and the target three-dimensional scene graph includes a reserved area, where the reserved area is used to carry the first page and / or the second page;

[0131] Generate a page perspective view corresponding to the target three-dimensional scene graph according to the reserved area and the target page carried by the reserved area, wherein the page perspective view includes the target page, and the target page is located in the reserved area in the page perspective view;

[0132] The target three-dimensional scene graph and the page perspective image are synthesized to obtain a three-dimensional transition image between the first page and the second page.

[0133] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method described in the above embodiment.

[0134] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0135] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A method for generating a transition picture, characterized in that: include: Acquire a target three-dimensional scene graph corresponding to a first page and a second page, where the second page is a next page of the first page, and the target three-dimensional scene graph includes a reserved area, where the reserved area is used to carry the first page and / or the second page; Generate a page perspective view corresponding to the target three-dimensional scene graph according to the reserved area and the target page carried by the reserved area, wherein the page perspective view includes the target page, and the target page is located in the reserved area in the page perspective view; The target three-dimensional scene graph and the page perspective image are synthesized to obtain a three-dimensional transition image between the first page and the second page.

2. The method according to claim 1, characterized in that The step of generating a page perspective view corresponding to the target three-dimensional scene graph according to the reserved area and the target page carried by the reserved area includes: According to the original image position of the target page and the target image position of the reserved area in the target three-dimensional scene graph, generating a perspective transformation matrix for transforming the target page from the original image position to the target image position; According to the perspective transformation matrix, the target page is perspective transformed to obtain a page perspective view corresponding to the target three-dimensional scene graph.

3. The method according to claim 2, characterized in that The step of generating a perspective transformation matrix for transforming the target page from the original image position to the target image position according to the original image position of the target page and the target image position of the reserved area in the target three-dimensional scene graph comprises: Obtaining the coordinates of the four vertices corresponding to the original image position and the coordinates of the four vertices corresponding to the target image position; The perspective transformation matrix is ​​calculated according to the coordinates of the four vertices corresponding to the positions of the original image and the coordinates of the four vertices corresponding to the positions of the target image.

4. The method according to claim 1, characterized in that: The reserved area is a pure white area in the target three-dimensional scene graph; The step of synthesizing the target three-dimensional scene graph and the page perspective graph to obtain a three-dimensional transition image between the first page and the second page includes: The target three-dimensional scene graph and the page perspective graph are synthesized by using a positive overlay image synthesis method to obtain a three-dimensional transition image between the first page and the second page.

5. The method according to claim 1, characterized in that The reserved area is a pure black area in the target three-dimensional scene graph; The step of synthesizing the target three-dimensional scene graph and the page perspective graph to obtain a three-dimensional transition image between the first page and the second page includes: The target three-dimensional scene graph and the page perspective graph are synthesized by using a color filter image synthesis method to obtain a three-dimensional transition image between the first page and the second page.

6. The method according to claim 1, characterized in that The step of synthesizing the target three-dimensional scene graph and the page perspective graph to obtain a three-dimensional transition image between the first page and the second page includes: Binarizing the reserved area in the target three-dimensional scene graph to obtain a target three-dimensional scene transformation graph corresponding to the target three-dimensional scene graph; The target three-dimensional scene transformation image and the page perspective image are synthesized to obtain a three-dimensional transition image between the first page and the second page.

7. The method according to claim 6, characterized in that The reserved area is a pure color area in the target three-dimensional scene graph; The step of synthesizing the target three-dimensional scene transformation image and the page perspective image to obtain a three-dimensional transition image between the first page and the second page includes: Acquire a first color of a reserved area in the target three-dimensional scene transformation image; The target three-dimensional scene transformation image and the page perspective image are synthesized using an image synthesis method corresponding to the first color to obtain a three-dimensional transition image between the first page and the second page.

8. The method according to claim 6, characterized in that The step of synthesizing the target three-dimensional scene transformation image and the page perspective image to obtain a three-dimensional transition image between the first page and the second page includes: Acquire a second color of a target pixel in the target three-dimensional scene transformation image, where the target pixel is any pixel in a reserved area in the target three-dimensional scene transformation image; The target pixels in the target three-dimensional scene transformation image and the target pixels in the page perspective image are pixel-synthesized using an image synthesis method corresponding to the second color to obtain a three-dimensional transition image between the first page and the second page.

9. The method according to any one of claims 1 to 8, characterized in that: The target three-dimensional scene graph belongs to a preset transition video, and the preset transition video includes at least one frame of the three-dimensional scene graph; The method further comprises: Obtaining the three-dimensional transition pictures corresponding to the three-dimensional scene graphs of each frame in the preset transition video; According to the frame sequence of each frame of the three-dimensional scene graph in the preset transition video, the three-dimensional transition pictures corresponding to each frame of the three-dimensional scene graph are combined to obtain the three-dimensional transition animation between the first page and the second page.

10. A transition picture generating device, characterized in that: include: An image acquisition module, used to acquire a target three-dimensional scene graph corresponding to a first page and a second page, wherein the second page is a next page of the first page, and the target three-dimensional scene graph includes a reserved area, and the reserved area is used to carry the first page and / or the second page; A perspective view generating module, used for generating a page perspective view corresponding to the target three-dimensional scene graph according to the reserved area and the target page carried by the reserved area, wherein the page perspective view includes the target page, and the target page is located in the reserved area in the page perspective view; The image synthesis module is used to perform image synthesis on the target three-dimensional scene graph and the page perspective image to obtain a three-dimensional transition image between the first page and the second page.

11. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory is connected to the processor, and the processor is used to execute one or more computer programs stored in the memory. When the processor executes the one or more computer programs, the computer device implements the method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 9.