A method for generating three-dimensional micro-motion effect diagram based on Euler motion field

By using Euler motion field and super-Gaussian clustering technology in the 3D image space, the problem of unnatural camera motion effects and artifacts in 3D image generation in the existing technology is solved, and higher visual fidelity and natural motion effects are achieved. .

CN118298115BActive Publication Date: 2024-09-10ZHEJIANG UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410726033.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-10
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

Existing technology is difficult to generate natural camera motion effects in 3D image space, resulting in low visual fidelity and prone to artifacts and geometric inconsistencies.

Method used

A three-dimensional micro-motion effect map generation method based on Euler motion fields is used to reconstruct 3D Gaussian point clouds through multi-view static images. Super-Gaussian clustering and multi-layer perceptrons are used to construct dense velocity fields and generate seamless loop scene micro-motion effect maps. .

Benefits of technology

It improves visual fidelity, avoids burrs and artifacts when the scene is moving, and ensures local continuity. The resulting Euler motion field is more continuous and smooth, and the look and feel is more natural.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118298115B
    Figure CN118298115B
Patent Text Reader

Abstract

The present invention discloses a method for generating a three-dimensional micro-motion effect map based on an Euler motion field, and belongs to the field of micro-motion effect map generation. The method comprises: reconstructing a scene representation based on a three-dimensional Gaussian point cloud, creating a mask for the Gaussian point cloud to separate a static point cloud from a dynamic point cloud, and then mapping the dynamic three-dimensional Gaussian points to a feature space; clustering the dynamic three-dimensional Gaussian points based on the acquired features, constructing a velocity field of the point cloud in the scene using the self-similarity between clusters, and refining the velocity field using a multi-layer perceptron to obtain an Euler motion field; based on the Euler motion field, a two-way animation technology is used to generate a three-dimensional micro-motion effect map that can be seamlessly looped. The present invention uses the Euler motion field in a three-dimensional space to describe the dynamic changes of the scene, solving the problems of the existing methods based on two-dimensional image space lacking visual fidelity, limited camera viewing angle, and the presence of artifacts, and at the same time, no pre-training on a large data set is required.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of micro-motion effect graph generation, and in particular to a method for generating a three-dimensional micro-motion effect graph based on an Euler motion field. Background Art

[0002] A micro-motion image is a static image in which slight and repetitive motion occurs, forming a seamlessly looping video clip. By combining elements of photography and videography, it provides a unique blend of static images and subtle motion, attracting the audience with its captivating charm. With the recent advancements in concepts such as augmented reality and mixed reality, there is an increasing demand for creating natural and realistic movies. However, generating dynamic 3D scenes in movie footage usually requires a lot of manual labor from professional artists, resulting in considerable costs. Existing works mainly focus on automatically creating movie footage from static images in 2D image space, and interactively animating fluid elements in still images according to the flow direction and area of ​​interest provided by the user. However, these operations are all done in 2D image space, where the view direction is inevitably fixed and lacks visual fidelity.

[0003] Recently, some methods have emerged to explore 3D movie generation, taking the first step to create realistic animations of scenes with compelling parallax effects by jointly learning image animation and novel view synthesis. Some researchers introduced a pipeline to create movie graphs from asynchronous multi-view videos, thereby facilitating the exploration of different viewpoints. However, we believe that these methods cannot be regarded as true 3D movies because they only use representations of multiple layers of 2D images with depth information (such as MPI or LDI) and fail to reconstruct the underlying 3D geometry of the scene. Therefore, these methods have difficulty in producing the effect of camera motion or require restricting the camera's motion to a limited view angle and range. In addition, the lack of geometric information may cause artifacts or produce geometric inconsistencies. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and propose a method for generating a three-dimensional micro-motion effect map based on the Euler motion field. The present invention first uses a 3D-GS method with a shape regularization term to reconstruct a 3D Gaussian point cloud from a multi-view image of a static scene, so that the three-dimensional geometric structure information of the scene can be obtained, so that it can be viewed from different perspectives. Combined with the proposed super-Gaussian clustering method and using the geometric information of the scene, when the scene moves, compared with traditional methods that may cause unnatural scene tearing or artifacts, this method can ensure that the movement of the scene is locally continuous, thereby improving visual fidelity.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] A scene representation based on a 3D Gaussian point cloud is obtained by reconstructing a multi-view static image, and a mask is created for the Gaussian point cloud to separate the static point cloud from the dynamic point cloud; then an autoencoder is used to map the dynamic 3D Gaussian points to the feature space;

[0007] The dynamic three-dimensional Gaussian points are clustered based on the acquired features, and the sparse velocity field of the point cloud in the scene is constructed by using the self-similarity between clusters. The dense velocity field of the point cloud is obtained by interpolation, and the dense velocity field is estimated by a multi-layer perceptron to obtain the Euler motion field.

[0008] Based on the obtained Euler motion field, bidirectional animation technology is used to generate scene micro-motion renderings that can be seamlessly looped.

[0009] The beneficial effects of the present invention are:

[0010] The present invention adopts a 3D-GS method with shape constraints. By constraining the shape of the 3D Gaussian point cloud, it avoids the generation of overly sharp 3D Gaussian points, thereby overcoming the burrs and artifacts that may appear when the scene moves in the prior art. The shapes of the obtained 3D-GS points are closer to a sphere and are more suitable for expressing dynamic scenes.

[0011] The present invention adopts a heuristic framework. Through observation of the real physical world, a super-Gaussian clustering algorithm is designed based on the continuity of local motion of objects, and feature information of 3D Gaussian points is obtained through an autoencoder. This allows the present invention to achieve visual effects that are consistent with human perception of real-world motion without the need for pre-training on large data sets like traditional methods.

[0012] The present invention introduces the Euler motion field into the field of generating three-dimensional micro-motion effect diagrams for the first time, and adopts a progressive method to obtain the Euler motion field, so that the obtained Euler motion field is more continuous and smooth, reducing the possible fragmentation phenomenon of a single continuous object during movement, and providing a more natural look and feel. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a schematic diagram of a method for generating a three-dimensional micro-motion effect diagram based on the Euler motion field.

[0014] Figure 2 It is a flow chart of a method for generating a three-dimensional micro-motion effect diagram based on the Euler motion field.

[0015] Figure 3 This is a schematic diagram of the generation process of the Euler playground.

[0016] Figure 4 It is a flowchart of the two-way animation technology.

[0017] Figure 5It is a comparison diagram of the micro-motion effect results for a potted plant target shown in this embodiment and the existing method.

[0018] Figure 6 This is a comparison chart of the micro-motion effect results for trousers targets shown in this embodiment and the existing method. DETAILED DESCRIPTION

[0019] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention.

[0020] The accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. Some of the block diagrams shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0021] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps may be decomposed, while some steps may be combined or partially combined, so the actual execution order may change according to the actual situation.

[0022] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:

[0023] Scene: the implementation object of the method of the present invention composed of an object and a background used to generate micro-motion effects;

[0024] Euler motion field: a physical tool for describing the motion of objects based on Euler integrals;

[0025] 3D micro-motion effect image: an image containing an object moving in a small range in 3D space, usually a dynamic image or video to show the movement of the object;

[0026] 3D-GS: 3D Gaussian Splatting, a method used in this field for 3D scene reconstruction and new perspective synthesis;

[0027] Gaussian Point Cloud: A point cloud representation that uses a three-dimensional Gaussian distribution to describe points.

[0028] like Figure 1 and Figure 2 As shown, the method for generating a three-dimensional micro-motion effect diagram based on the Euler motion field mainly includes the following steps:

[0029] S1, uses multi-view static image reconstruction to obtain a scene representation based on a three-dimensional Gaussian point cloud, and creates a mask for the Gaussian point cloud to separate the static point cloud and the dynamic point cloud; then an automatic encoder is used to map the dynamic three-dimensional Gaussian points to the feature space;

[0030] This embodiment uses 3D-GS to obtain a flexible representation of the initial static scene, which is composed of 3D Gaussian points. A 3D Gaussian point is essentially an ellipsoid, and its shape can efficiently and accurately characterize complex geometric shapes when the scene is static. However, the dynamics of scene deformation will inevitably change the positional relationship between these Gaussian points, and an overly sharp ellipsoid may introduce burr artifacts, thereby affecting the visual coherence of the scene.

[0031] In order to solve this problem, the robustness of the scene representation and the visual fidelity are improved by introducing shape constraints in the reconstruction process. Specifically, when reconstructing a 3D Gaussian scene, the present invention adds a regularization term for the eccentricity of the ellipsoid into the reconstruction loss function: :

[0032] ;

[0033] in is a Gaussian point cloud set, for The Gaussian point numbered i in Gauss point The scaling factor on the three axes, max and min are the maximum and minimum functions. Compared with the latest movie generation works, the present invention uses 3D Gaussians to represent the scene and optimize it, which has the following advantages: first, multiple images from different viewing directions can be used as input, rather than just one image, which is conducive to reconstructing the complex 3D geometric shape of the observed scene; second, the auxiliary regularization term on the three-dimensional Gaussian shape proposed in the present invention can alleviate the artifact problem; third, the distance relationship between the three-dimensional Gaussians can be used to effectively construct the subsequent Euler motion field.

[0034] After completing the reconstruction of the scene based on the 3D Gaussian point cloud, manually mark the part of the input image that is expected to move, use the interactive segmentation method for 3D Gaussian point cloud (Segment Any 3D Gaussian, SAGA) to create a mask for the Gaussian point cloud, and segment the 3D Gaussian point cloud into a static point cloud and a dynamic point cloud through the mask. After completing the segmentation of the Gaussian point cloud, the present invention uses an automatic encoder to map the dynamic Gaussian point cloud to a feature space, thereby calculating the corresponding feature vector.

[0035] S2, cluster the dynamic three-dimensional Gaussian points based on the acquired features, use the self-similarity between clusters to construct the sparse velocity field of the point cloud in the scene, use interpolation to obtain the dense velocity field of the point cloud, and estimate the velocity field through a multi-layer perceptron to obtain the Euler motion field. The process of step S2 is as follows Figure 3 shown.

[0036] A 3D Gaussian point cloud provides an unstructured representation of a scene; however, the scene it depicts often exhibits structured geometry. An illustrative example is observing a flag fluttering in the wind: if one corner of the flag moves in a particular direction, the entire flag is likely to exhibit a similar motion pattern. This local coherence of motion stems from the physical interconnectivity within the flag. In general, if one point of an object moves, the surrounding points are likely to show similar motion trends due to the local coherence of the object.

[0037] This embodiment introduces a clustering method based on acquisition features, called super-Gaussian. Super-Gaussian clustering divides the scene into voxels according to the voxel resolution, and then randomly selects a seed Gaussian point in each non-empty voxel to achieve super-Gaussian clustering by optimizing the objective function:

[0038] ;

[0039] in, is a clustering model based on acquired features, For the optimized clustering, is the number of clusters, For the The number of the seed Gaussian points of the cluster, where D is the metric function, defined as:

[0040] ;

[0041] in and They are serial numbered and Gaussian point, and for and The characteristic vector of and for and location, is the weight coefficient, is the clustering resolution.

[0042] Super-Gaussian clustering can be seen as a variant of k-means clustering, but with the following advantages: on the one hand, the seeding process is implemented by selecting seed Gaussian points in each non-empty supervoxel, so that the seeds are almost evenly distributed in the whole scene; on the other hand, the properties of the learned 3D Gaussian are incorporated into the distance measurement, which ensures that the clustering algorithm converges in just a few iterations.

[0043] The present invention derives the initial velocity field by moving each cluster obtained by super-Gaussian clustering to its most similar cluster. First, a global feature is determined for each cluster. Considering the disorder of Gaussian points in each cluster, maximum pooling, permutation invariance and symmetric function are used to extract the global features of each cluster. The similarity matrix is ​​obtained by calculating the cosine similarity between the global features of the clusters, and then the most similar cluster of each cluster is identified with the highest cosine similarity. A position is defined for each cluster. The center point of is calculated by taking the average of the positions of all Gaussian points in the cluster. The velocity field is then implemented by moving one cluster to another cluster with the highest similarity.

[0044] Due to the limited number of clusters, the initial velocity field is quite sparse. Such sparse velocity fields are prone to overfitting because they lack the granularity required for smooth representation in the entire spatial domain. This limitation may become more prominent when the motion field extends to unfamiliar areas, which greatly increases the risk of divergence and discontinuity. The present invention uses Kriging interpolation to estimate the dense velocity field using the initial sparse velocity field. The dense velocity in the dense velocity field is the weighted sum of the observed sparse velocities, and the weighted weights come from the variogram. In this embodiment, the variogram of the Kriging interpolation is solved using the standard spherical model.

[0045] Since the Euler motion field captures the velocity at all spatial positions, it is critical to ensure smoothness to prevent scene tearing during deformation. The present invention uses a multi-layer perceptron (MLP) to estimate the Euler motion field, and the training process of the MLP is fully supervised by sparse and dense velocities. We can calculate the velocity at any given position in 3D space through the Euler motion field. Speed .

[0046] S3, based on the obtained Euler motion field, a two-way animation technology is used to generate a scene micro-motion effect diagram that can be seamlessly looped. The process of step S3 is as follows: Figure 4 shown.

[0047] Given an estimated Euler motion field , the motion of each three-dimensional Gaussian point can be effectively determined. However, as time goes by, the convergence of the motion of each point in the Euler field may not be guaranteed. This is because the Euler field is not necessarily a irrotational field, which may cause unexpected scene tearing. The present invention uses two-way animation technology in three-dimensional space to generate a loopable dynamic effect. The scene micro-motion effect diagram is a motion sequence of a group of dynamic three-dimensional Gaussian points; for each dynamic three-dimensional Gaussian point Introducing vector To adjust At the Euler Stadium The magnitude of the motion on each axis in the vector is determined by the side length of the scene axial bounding box, the total length of the motion sequence 𝑇, and the hyperparameter controlling the motion amplitude control;

[0048] The spatial position of the point at time 𝑡 Calculated by Euler integration:

[0049] ;

[0050] in, is the spatial position at the initial moment, For Hadamard, For a certain moment from the initial moment to the moment t-1, calculate the spatial position of each three-dimensional Gaussian point at time t and tT in the motion sequence and , and then use linear interpolation to find its final position at time t :

[0051] ;

[0052] ;

[0053] in, is the linear interpolation weight;

[0054] After obtaining the position of the Gaussian point cloud at each moment, the Gaussian point cloud corresponding to each moment is rendered using the rendering method proposed by 3D-GS, thereby obtaining a scene micro-motion effect image that can be seamlessly looped.

[0055] In order to test the effect of the present invention, training and testing were performed on the NeRF synthetic dataset. In addition, a new dataset was created using Unity to show dynamic natural scenes. The dataset follows the structure of the NeRF synthetic dataset and is accompanied by corresponding ground truth videos. In order to strictly evaluate the effectiveness of the method of the present invention, the optical flow map generated by the method of the present invention and the optical flow map of the reference video were quantitatively compared. The optical flow map is a basic tool for video analysis, which can provide in-depth understanding of the dynamic changes that occur in time and space in video sequences. This embodiment starts the evaluation process by analyzing the optical flow starting from the second frame. The optical flow between each frame and its previous frame is calculated and averaged to obtain a comprehensive optical flow map. The present invention is compared with the control method, and three common image quality evaluation indicators, Peak Signal to Noise Ratio (PSNR), Structural Similarity Index (SSIM) and Learned Perceptual Image Patch Similarity (LPIPS), are used as quality evaluation criteria for scene reconstruction and new perspective synthesis. As evaluation criteria, the larger the values ​​of PSNR and SSIM, the higher the image similarity, and the smaller the value of LPIPS, the closer the images involved in the comparison. The calculation method of PSNR is as follows:

[0056]

[0057] in is the maximum value of pixels in the image, is the mean square error between the two images.

[0058] The comparison results are shown in Table 1.

[0059] Table 1 Comparison results of average optical flow maps

[0060]

[0061] Among them, the comparison methods in Table 1 are the methods in the following paper: Li X, Cao Z, Sun H, et al. 3dcinemagraphy from a single image[C] / / Proceedings of the IEEE / CVF Conferenceon Computer Vision and Pattern Recognition. 2023: 4595-4605.

[0062] As can be seen from Table 1, the optical flow map of the method of the present invention is very similar to the reference optical flow map, which shows that the method of the present invention produces more realistic motion.

[0063] Comparison of the micro-motion effect details with the 3D Cinemagraph Figure 5 and Figure 6 As shown in the figures, a is the effect of the 3D Cinemagraph method, b is the effect of the method of the present invention, the upper left, lower left and upper right are the effects of three key frames respectively, and the lower right is the comparison of optical flow maps. The 3D Cinemagraph method mainly caters to flow scenes and lacks precise geometric information in 3D space. Therefore, when dealing with geometrically continuous objects, their results may show severe artifacts and ultimately destroy the structure of the scene. In contrast, the method of the present invention is good at maintaining the geometric continuity of objects, which is obvious in the natural deformation of the objects, like a flag without tearing. It is worth noting that, as can be seen from the optical flow map shown in the last row, their method is usually characterized by objects moving uniformly in one direction, while our method shows that the objects perform periodic reciprocating motion, which is more in line with real-world scenes.

[0064] Obviously, the above-described embodiments and drawings are only some examples of the present application. For those of ordinary skill in the art, the present application can also be applied to other similar situations based on these drawings without creative work. In addition, it is understandable that, although the work done in this development process may be complicated and lengthy, for those of ordinary skill in the art, certain changes in design, manufacturing or production based on the technical content disclosed in this application are only conventional technical means and should not be regarded as insufficient content disclosed in this application. Without departing from the concept of the present application, several variations and improvements can also be made, which all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the attached claims.

Claims

1. A method for generating a three-dimensional micro-motion effect diagram based on an Euler motion field, characterized in that: include: A scene representation based on a three-dimensional Gaussian point cloud is obtained by reconstructing a multi-view static image, and a mask is created for the Gaussian point cloud to separate the static point cloud and the dynamic point cloud; Then an autoencoder is used to map the dynamic 3D Gaussian points to the feature space; The method of reconstructing a scene representation based on a three-dimensional Gaussian point cloud using a multi-view static image includes: reconstructing a scene representation based on a three-dimensional Gaussian point cloud using a multi-view image based on a 3D-GS method, and adding a regularization term to the reconstruction loss function. : ; in is a Gaussian point cloud set, for The Gaussian point numbered i in Gauss point The scaling factors on the three axes, max and min are the maximum and minimum functions; The dynamic three-dimensional Gaussian points are clustered based on the acquired features, and the sparse velocity field of the point cloud in the scene is constructed by using the self-similarity between clusters. The dense velocity field of the point cloud is obtained by interpolation, and the dense velocity field is estimated by a multi-layer perceptron to obtain the Euler motion field. Based on the obtained Euler motion field, bidirectional animation technology is used to generate scene micro-motion renderings that can be seamlessly looped; The method of using the bidirectional animation technology to generate a seamlessly loopable scene micro-motion effect diagram includes: The scene micro-motion effect diagram is a motion sequence of a group of dynamic three-dimensional Gaussian points; for each dynamic three-dimensional Gaussian point Introducing vector To adjust At the Euler Stadium The magnitude of the motion on each axis in the vector is determined by the side length of the scene axial bounding box, the total length of the motion sequence 𝑇, and the hyperparameter controlling the motion amplitude control; The spatial position of the point at time 𝑡 Calculated by Euler integration: ; in, is the spatial position at the initial moment, For Hadamard, For a certain moment from the initial moment to the moment t-1, calculate the spatial position of each three-dimensional Gaussian point at time t and tT in the motion sequence and , and then use linear interpolation to find its final position at time t : ; ; in, is the linear interpolation weight; After obtaining the position of the Gaussian point cloud at each moment, the Gaussian point cloud corresponding to each moment is rendered respectively, so as to obtain a scene micro-motion effect diagram that can be seamlessly looped.

2. The method for generating a three-dimensional micro-motion effect diagram based on the Euler motion field according to claim 1, characterized in that: The method of creating a mask for a Gaussian point cloud to separate a static point cloud from a dynamic point cloud comprises: after completing reconstruction of a scene based on a 3D Gaussian point cloud, manually marking a portion of at least one multi-view static image that is input and that is desired to be moved, using an interactive segmentation method for a three-dimensional Gaussian point cloud to create a mask for the Gaussian point cloud, and segmenting the three-dimensional Gaussian point cloud into a static point cloud and a dynamic point cloud through the mask.

3. The method for generating a three-dimensional micro-motion effect diagram based on the Euler motion field according to claim 1, characterized in that: The clustering of dynamic three-dimensional Gaussian points based on the acquired features includes: dividing the scene into voxels according to the voxel resolution, then randomly selecting a seed Gaussian point in each non-empty voxel, and realizing the clustering based on the acquired features by optimizing the objective function.

4. The method for generating a three-dimensional micro-motion effect diagram based on the Euler motion field according to claim 3, characterized in that: The clustering of dynamic three-dimensional Gaussian points based on the acquired features is expressed as follows: ; in, is a clustering model based on acquired features, For the optimized clustering, is the number of clusters, For the The number of the seed Gaussian points of the cluster, where D is the metric function, defined as: ; in and They are serial numbered and Gaussian point, and for and The characteristic vector of and for and location, is the weight coefficient, is the clustering resolution.

5. The method for generating a three-dimensional micro-motion effect diagram based on the Euler motion field according to claim 1, characterized in that: The method of constructing a sparse velocity field of a point cloud in a scene by utilizing the self-similarity between clusters includes: A global feature is determined for each clustered cluster, and the global features of each cluster are extracted by using maximum pooling, permutation invariance and symmetric function. The similarity matrix is ​​obtained by calculating the cosine similarity between the global features of the clusters, and then the most similar cluster of each cluster is identified with the highest cosine similarity; a center point is defined for each cluster, which is calculated by taking the position average of all Gaussian points in the cluster; then the sparse velocity field of the point cloud in the scene is constructed by moving one cluster to another cluster with the highest similarity.