A method and system for modeling dynamic perception neural radiation field guided by optical flow
Through the dynamic perceptual neural radiation field modeling method guided by optical flow, the visual Transformer and RAFT network are combined with the sparse window group attention mechanism to solve the problem of NeRF's insufficient geometric appearance modeling and motion information capture in complex scenes, and achieve a better High-quality view reconstruction and generalization capabilities.
Patent Information
- Application Number
- CN202410297442.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-15
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-03-15
AI Technical Summary
Existing NeRF methods have limited geometric appearance modeling capabilities in complex scenes and cannot effectively capture object motion information, resulting in overfitting and artifacts to the input view.
Adopt optical flow-guided dynamic perceptual neural radiation field modeling method, realize multi-view image feature aggregation through visual Transformer, combine the attention mechanism to learn to render target pixels, use RAFT network to estimate inter-frame optical flow vectors, and group attention through sparse windows The mechanism performs feature aggregation and directly predicts RGB color features.
It improves the model's robustness and generalization ability to complex scenes, reduces artifacts caused by instantaneous interference, and improves reconstruction quality, especially in scenes with motion and lighting changes.
Smart Images

Figure CN118115671B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of scene construction, and in particular relates to a method and system for modeling dynamic perception neural radiation fields guided by optical flow. Background Art
[0002] Developing a complex scene reconstruction method based on Neural Radiance Field (NeRF) that can cope with transient object movement and optical effect changes is of great significance for realizing geometric perception, environmental understanding, scene interaction, etc. of intelligent or virtual agents. Existing NeRF methods mostly use MLP to model the geometric appearance of objects in the scene as a function of 3D position and viewing direction, and then rely on a differentiable volume rendering pipeline to achieve high-fidelity view synthesis, and use L2 loss based on photometric consistency for supervision. However, the use of a simple MLP network may limit its ability to model the geometric appearance of complex scenes. On the other hand, the classical volume rendering equation simplifies the optical modeling of solid surfaces, which may cause the model to overfit the input view due to insufficient constraints. In addition, the existing cross-scene generalization NeRF model cannot capture object motion information. Any transient interference factors that may exist during the capture of the scene will affect NeRF's learning of the underlying geometric representation, such as moving objects, lighting changes, shadows, etc., which will eventually be reflected as artifacts in the scene rendering view. Summary of the invention
[0003] In order to achieve 3D reconstruction that can adapt to a variety of optical conditions and scene contents, the present invention proposes an optical flow-guided dynamic perception neural radiation field modeling method and system, draws on the existing generalizable NeRF Transformer model, implements learnable multi-view image feature aggregation based on the visual Transformer, and uses the attention mechanism to directly learn to render target pixels during ray marching.
[0004] To achieve the above object, the present invention provides the following solutions:
[0005] A method for modeling dynamic perception neural radiation field guided by optical flow, comprising the following steps:
[0006] Acquire multi-view images or videos;
[0007] Performing camera pose estimation based on the multi-view images or videos;
[0008] Based on the result of camera pose estimation, the polar point feature is extracted to obtain the polar point visual feature;
[0009] Based on the result of camera pose estimation, inter-frame optical flow vector estimation is performed to obtain the inter-frame optical flow vector;
[0010] Based on the epipolar point visual features and the inter-frame optical flow vectors, performing optical flow-guided multi-view feature aggregation to obtain multi-view aggregated features;
[0011] Performing light-based rendering integration on the multi-view aggregated features, modeling the volume rendering integral in NeRF, and obtaining color features;
[0012] Based on the color features, a new view of the scene is synthesized.
[0013] Preferably, the method for extracting polar point features based on the result of camera pose estimation includes:
[0014] Construct source and target view pairs for training, select the target view, and find the N nearest views as the source views;
[0015] A trainable U-Net-based model is used to train each source view I i Extract feature map d is the latent space dimension;
[0016] Based on the feature map For a point in 3D space Use the camera external parameters to project to the i-th feature map plane, denoted as
[0017] Points are obtained by bilinear interpolation on the feature grid Features θ is the viewing direction.
[0018] Preferably, the method for estimating the inter-frame optical flow vector based on the result of camera pose estimation includes:
[0019] Using the RAFT network that combines the CNN and RNN architectures, the pre-trained weights are loaded to calculate the forward and backward optical flow vectors and masks of the input view frame to obtain the inter-frame optical flow vector.
[0020] Preferably, the method for performing optical flow-guided multi-view feature aggregation based on the epipolar point visual features and the inter-frame optical flow vectors includes:
[0021] Use forward and backward optical flow information to index and sample the key elements corresponding to the query element in the spatiotemporal neighborhood;
[0022] The Transformer model based on the sparse window grouping attention mechanism is used to model the feature set aggregation function, which aggregates feature vectors from different views in the implicit feature space to obtain coordinate-aligned features, namely multi-view aggregate features.
[0023] Preferably, the method for performing light-based rendering integration on the multi-view aggregation features comprises:
[0024] Further reasoning about occlusion relationships and visibility in 3D scenes by computing attention between points across rays;
[0025] We use a Transformer-based model to model point-level feature aggregation for volume rendering and directly predict the color features c(r) required to render RGB images.
[0026] Preferably, based on the color feature, the method for synthesizing a new view of the scene includes:
[0027] The color feature c(r) is mapped to the final rendered RGB color through a fully connected layer Use MSE loss for supervision during training;
[0028] Inferring geometry-aware scene depth:
[0029] Among them, δ i =t i+1 -t i is the distance between adjacent sampling points on the ray; is the sampling point o+t i d is the characteristic representation; RT is the light aggregation model.
[0030] The present invention also provides an optical flow-guided dynamic perception neural radiation field modeling system, comprising: an image or video acquisition module, a posture estimation module, a visual feature acquisition module, an optical flow vector acquisition module, an aggregate feature acquisition module, a light rendering integration module and a synthesis module;
[0031] The image or video acquisition module is used to acquire multi-view images or videos;
[0032] The pose estimation module is used to perform camera pose estimation based on the multi-view image or video;
[0033] The visual feature acquisition module is used to extract polar point features based on the result of camera pose estimation to obtain polar point visual features;
[0034] The optical flow vector acquisition module is used to estimate the inter-frame optical flow vector based on the result of camera pose estimation to obtain the inter-frame optical flow vector;
[0035] The aggregate feature acquisition module is used to perform optical flow-guided multi-view feature aggregation based on the epipolar point visual features and the inter-frame optical flow vectors to obtain multi-view aggregate features;
[0036] The light rendering integration module is used to perform light-based rendering integration on the multi-view aggregation features, model the volume rendering integral in NeRF, and obtain color features;
[0037] The synthesis module is used to synthesize a new view of the scene based on the color features.
[0038] Preferably, in the optical flow vector acquisition module, the process of estimating the inter-frame optical flow vector based on the result of camera pose estimation includes:
[0039] Using the RAFT network that combines the CNN and RNN architectures, the pre-trained weights are loaded to calculate the forward and backward optical flow vectors and masks of the input view frame to obtain the inter-frame optical flow vector.
[0040] Preferably, in the aggregated feature acquisition module, the process of performing optical flow-guided multi-view feature aggregation based on the epipolar point visual features and the inter-frame optical flow vectors includes:
[0041] Use forward and backward optical flow information to index and sample the key elements corresponding to the query element in the spatiotemporal neighborhood;
[0042] The Transformer model based on the sparse window grouping attention mechanism is used to model the feature set aggregation function, which aggregates feature vectors from different views in the implicit feature space to obtain coordinate-aligned features, namely multi-view aggregate features.
[0043] Preferably, in the light rendering integration module, a method for performing light-based rendering integration based on the multi-view aggregation feature includes:
[0044] Further reasoning about occlusion relationships and visibility in 3D scenes by computing attention between points across rays;
[0045] We use a Transformer-based model to model point-level feature aggregation for volume rendering and directly predict the color features required to render RGB images.
[0046] Compared with the prior art, the present invention has the following beneficial effects:
[0047] The present invention not only completely uses data-driven Transformer to replace explicit scene representation learning and volume rendering, but also introduces optical flow modal information to guide the aggregation of multi-view information. By introducing reasonable scene motion information such as optical flow motion vectors, the model can learn a more robust scene representation, which can be better generalized to scenes with transient interferences, and reduce the adverse view-related effects caused by transient content. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0049] Figure 1 This is a flow chart of a method for modeling a dynamic perception neural radiation field guided by optical flow in an embodiment of the present invention;
[0050] Figure 2 This is a diagram of the architecture of the dynamic perception neural radiation field model guided by optical flow in an embodiment of the present invention;
[0051] Figure 3 It is a visualization image of the extracted forward and backward inter-frame optical flow in an embodiment of the present invention;
[0052] Figure 4 Schematic diagram of the optical flow-guided sparse window grouping attention mechanism in an embodiment of the present invention. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0054] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0055] Embodiment 1
[0056] like Figure 1-Figure 2 As shown, the present invention provides an optical flow-guided dynamic perception neural radiation field modeling method, comprising the following steps:
[0057] Acquire multi-view images or videos;
[0058] Camera pose estimation based on multi-view images or videos;
[0059] Based on the result of camera pose estimation, the polar point feature is extracted to obtain the polar point visual feature;
[0060] Based on the result of camera pose estimation, inter-frame optical flow vector estimation is performed to obtain the inter-frame optical flow vector;
[0061] Based on the epipolar point visual features and the inter-frame optical flow vector, optical flow-guided multi-view feature aggregation is performed to obtain multi-view aggregated features;
[0062] Perform ray-based rendering integration on multi-view aggregated features, model the volume rendering integral in NeRF, and obtain color features;
[0063] Based on the color features, a new view of the scene is synthesized.
[0064] In this embodiment, the method for estimating camera pose based on multi-view images or videos includes:
[0065] The reconstruction method based on neural radiation field takes dense multi-view images (or continuous video frames) and their corresponding camera internal and external parameters as input. Therefore, after image acquisition, it is necessary to use the structure-from-motion (SFM) technology to estimate the camera pose. Like most existing methods, the present invention uses sparse reconstruction based on COLMAP to obtain camera internal and external parameters. The three steps of COLMAP sparse reconstruction are: image feature point extraction, feature point matching, and SFM recovery of camera pose and sparse 3D point cloud. The orientation of the COLMAP camera coordinate system is transformed, and then the camera internal and external parameters are organized and saved as numpy files that are easy to read by the NeRF model. Find the closest and farthest distances of the sparsely reconstructed 3D points from the camera center as parameters [near, far] representing the depth range of the current scene.
[0066] In this embodiment, the method for extracting polar point features based on the result of camera pose estimation includes:
[0067] Use a multi-scale image encoder to encode multi-view images into a 3D feature space, providing multi-view geometric priors for the subsequent NeRF model, and even including information such as material, texture, and semantics, thereby improving the multi-view accuracy of the final reconstruction result. Figure 1 First, we construct pairs of source and target views for training, so that the network can generalize better. We select the target view and then find the N nearest views as source views. We use a trainable U-Net-based model to train each source view I i Extract feature map d is the dimension of latent space. It is projected onto the i-th feature map plane using the camera external parameters, denoted as Then the point feature is obtained by bilinear interpolation on the feature grid θ is the viewing direction.
[0068] In this embodiment, the method for estimating the inter-frame optical flow vector based on the result of camera pose estimation includes:
[0069] When using the Transformer model for multi-view feature aggregation, since the calculation of self-attention lacks the guidance of motion information, when there is rapid motion, the model may ignore some key elements of similar and clearer scene blocks in adjacent video frames (that is, spatiotemporal neighborhoods). Therefore, the present invention draws on the success of introducing optical flow information in the video field, and guides the learning process of multi-view feature aggregation through pre-estimated inter-frame optical flow motion vectors to enhance dynamic information interaction in local areas. Specifically, a RAFT network that combines CNN and RNN architectures is used, and pre-trained weights are loaded to calculate forward and backward optical flow vectors and masks for the input view frames, which are also saved as numpy files that are easy to read by the NeRF model. Figure 3 shown.
[0070] In this embodiment, the method for performing optical flow-guided multi-view feature aggregation based on the epipolar point visual features and the inter-frame optical flow vectors includes:
[0071] The present invention uses the Transformer model to model the feature set aggregation function, aggregates feature vectors from different views in the implicit feature space, and obtains coordinate-aligned features. In order to reduce the memory consumption in the attention mechanism calculation and increase the interpretability of the attention score calculation, the inductive bias used as the scene representation in the multi-view epipolar geometry constraint is used to restrict each pixel to only focus on the pixels on the corresponding epipolar lines of the adjacent views. The multi-view aggregation Transformer encoder VT can be described as follows:
[0072]
[0073] Given the success of previous multi-view stereo matching (MVS) algorithms, the multi-view aggregation Transformer encoder can selectively aggregate visible views and self-infer scene occlusion to a certain extent by learning attention to epipolar geometry constraints. In particular, the query token is initialized as the element-wise maximum pooling of all input features:
[0074]
[0075] Let the token iteratively summarize other point features after entering the encoder. In order to increase the diversity of feature interactions and better reason about positional geometric relationships, the following subtractive attention calculation mechanism is adopted:
[0076]
[0077]
[0078] where [Δd1…Δd N] provides relative spatial context to achieve attention enhancement, A j is the jth column of A, They are all mapping functions parameterized by MLP, which are used to process query, key and value inputs respectively.
[0079] It is worth noting that the present invention proposes an optical flow-guided sparse window grouping attention mechanism in the multi-view feature aggregation stage. The main idea is to use optical flow as a guide for sampling key elements from the spatiotemporal neighborhood to guide the attention learning of aggregated cross-spatiotemporal features and enhance the motion perception ability of the overall model, such as Figure 4 As shown. For each frame of the selected adjacent view frames, consider the forward and backward optical flow information index and sample the Key-Value embedding corresponding to the current Query, copy the Query twice for dimension alignment, then do the aforementioned subtraction attention calculation, and use the relative light direction for position encoding. At the same time, in order to increase the time domain receptive field, a recurrent embedding mechanism is adopted to merge the feature map of the current frame and the output embedding obtained after the diagram attention calculation of the previous frame, and then pass a layer of convolution as the Query feature map of the current frame. On the other hand, in order to reduce the amount of parameters calculated by the attention mechanism, inspired by the group vector attention proposed by PointTransformer v2 in the point cloud field, the attention weights are grouped according to the feature channels to achieve attention weight sharing within each group, thereby improving the overall training efficiency.
[0080] Finally, the corresponding output embeddings of this set of adjacent video frames are average-pooled and passed to the next stage of the ray aggregation Transformer model.
[0081] In this embodiment, the method for performing ray-based rendering integration on the multi-view aggregation features includes:
[0082] After obtaining the cross-view aggregate features, they are weighted aggregated to achieve the equivalent volume rendering integral in NeRF. By calculating the attention between points across rays, the occlusion relationship and visibility in the three-dimensional scene are further inferred. This point-level feature aggregation is modeled using a Transformer-based model to directly predict the RGB color of the target pixel. The principle can be explained by the discretized traditional volume rendering integral formula (as shown below):
[0083]
[0084]
[0085] Among them, δ i =t i+1-t i is the distance between adjacent sampling points on the ray. Here the point-level RGB color c i It can be mapped to the token feature as the input of Transformer, the cumulative transmittance T i is a mixing weight, which is the average attention score of each point calculated in the Transformer. Specifically, let each rendering ray be r = (o, d), and uniformly sample t1, ..., t along the ray from the near plane near to the far plane far. M , the sampling point x on the ray i =o+t i The characteristic of d is expressed as This feature represents the combination of the coordinate alignment feature obtained by aggregating multi-view features and the spatial position and view direction encoded by the original NeRF position. M The color feature vector required for rendering the RGB image is obtained by sending it to the ray aggregation model RT composed of the standard Transformer encoder and performing average pooling on the obtained predicted tokens:
[0086]
[0087] In this embodiment, based on the color feature, the method for synthesizing a new view of the scene includes:
[0088] Color rendering in feature space involves complex information in terms of optics, semantics, etc., so it is difficult to model explicitly. Therefore, the pooled feature c(r) is mapped to the final rendered RGB color through a fully connected (FC) layer. During training, MSE loss is used for supervision of rendering colors. By training on a sufficient amount of mixed data sets, the present invention finds that the model has the potential to generalize to different scenes without limiting the lighting conditions of the scene and the material of the object, and is even expected to simulate the real effects of optical effects such as reflection and refraction. In addition, given the success of some work in calculating explicit depth values using cumulative transmittance, the attention score calculated by the ray aggregation model RT can also infer the scene depth based on geometric perception:
[0089]
[0090] The scene depth map can be rendered using the attention map obtained by RT.
[0091] The key to realizing the generalizable "motion-aware" scene reconstruction of the present invention is to propose an optical flow-guided sparse window grouping attention mechanism and construct an optical flow-guided multi-view aggregation Transformer, so as to use the forward and backward optical flow information to index the spatially sparse but highly correlated Key elements in the adjacent view frames, and sample all Key elements corresponding to the Query elements in the window on the reference frame. Relevant experimental results show that the optical flow-guided multi-view aggregation Transformer can effectively alleviate the rendering artifacts caused by the instantaneous dynamic content in the scene in the previous cross-scene generalized NeRF model. After introducing the optical flow modality, optimization is performed on a single indoor scene taken by a mobile phone, and the quality of the new view obtained by the reconstruction and rendering can be improved by +4.7dB, +0.128, and -0.173, respectively. As shown in Table 1, the results of FGNT and GNT on 502 scenes are compared.
[0092] Table 1
[0093]
[0094] Embodiment 2
[0095] The present invention also provides an optical flow-guided dynamic perception neural radiation field modeling system, comprising: an image or video acquisition module, a posture estimation module, a visual feature acquisition module, an optical flow vector acquisition module, an aggregate feature acquisition module, a light rendering integration module and a synthesis module;
[0096] The image or video acquisition module is used to acquire multi-view images or videos;
[0097] The pose estimation module is used to perform camera pose estimation based on the multi-view image or video;
[0098] The visual feature acquisition module is used to extract the polar point features based on the camera pose estimation results to obtain the polar point visual features;
[0099] The optical flow vector acquisition module is used to estimate the inter-frame optical flow vector based on the result of camera pose estimation to obtain the inter-frame optical flow vector;
[0100] The aggregation feature acquisition module is used to perform optical flow-guided multi-view feature aggregation based on the epipolar point visual features and the inter-frame optical flow vectors to obtain multi-view aggregation features;
[0101] The light rendering integration module is used to perform light-based rendering integration on the multi-view aggregation features, model the volume rendering integral in NeRF, and obtain color features;
[0102] The synthesis module is used to synthesize a new view of the scene based on the color features.
[0103] In this embodiment, in the aggregated feature acquisition module, the method for extracting polar point features based on the result of camera pose estimation includes:
[0104] Construct source and target view pairs for training, select the target view, and find the N nearest views as the source views;
[0105] A trainable U-Net-based model is used to train each source view I i Extract feature map d is the latent space dimension;
[0106] Based on the feature map For a point in 3D space Use the camera external parameters to project to the u-th feature map plane, denoted as
[0107] Points are obtained by bilinear interpolation on the feature grid Features θ is the viewing direction.
[0108] In this embodiment, in the optical flow vector acquisition module, the process of estimating the inter-frame optical flow vector based on the result of camera pose estimation includes:
[0109] Using the RAFT network that combines the CNN and RNN architectures, the pre-trained weights are loaded to calculate the forward and backward optical flow vectors and masks of the input view frame to obtain the inter-frame optical flow vector.
[0110] In this embodiment, in the aggregated feature acquisition module, the process of performing optical flow-guided multi-view feature aggregation based on the epipolar point visual features and the inter-frame optical flow vectors includes:
[0111] Use forward and backward optical flow information to index and sample the key elements corresponding to the query element in the spatiotemporal neighborhood;
[0112] The Transformer model based on the sparse window grouping attention mechanism is used to model the feature set aggregation function, which aggregates feature vectors from different views in the implicit feature space to obtain coordinate-aligned features, namely multi-view aggregate features.
[0113] In this embodiment, the process of performing ray-based rendering integration on the multi-view aggregation features includes:
[0114] Further reasoning about occlusion relationships and visibility in 3D scenes by computing attention between points across rays;
[0115] We use a Transformer-based model to model point-level feature aggregation for volume rendering and directly predict the color features c(r) required to render RGB images.
[0116] In this embodiment, based on the color feature, the process of synthesizing a new view of the scene includes:
[0117] The color feature c(r) is mapped to the final rendered RGB color through a fully connected layer Use MSE loss for supervision during training;
[0118] Inferring geometry-aware scene depth:
[0119] Among them, δ i =t i+1 -t i is the distance between adjacent sampling points on the ray; is the sampling point o+t i d is the characteristic representation; RT is the light aggregation model.
[0120] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.
Claims
1. A method for modeling dynamic perception neural radiation field guided by optical flow, characterized in that: The following steps are involved: Acquire multi-view images or videos; Performing camera pose estimation based on the multi-view images or videos; Based on the result of camera pose estimation, the polar point feature is extracted to obtain the polar point visual feature; Based on the result of camera pose estimation, inter-frame optical flow vector estimation is performed to obtain the inter-frame optical flow vector; Based on the epipolar point visual features and the inter-frame optical flow vectors, performing optical flow-guided multi-view feature aggregation to obtain multi-view aggregated features; The method for performing optical flow-guided multi-view feature aggregation based on the epipolar point visual features and the inter-frame optical flow vectors includes: Use forward and backward optical flow information to index and sample the key elements corresponding to the query element in the spatiotemporal neighborhood; The Transformer model based on sparse window grouping attention mechanism is used to model the feature set aggregation function, which aggregates feature vectors from different views in the implicit feature space to obtain coordinate-aligned features, namely multi-view aggregate features. Performing light-based rendering integration on the multi-view aggregated features, modeling the volume rendering integral in NeRF, and obtaining color features; Based on the color features, a new view of the scene is synthesized.
2. The optical flow-guided dynamic perception neural radiation field modeling method according to claim 1 is characterized in that: Methods for extracting polar point features based on the results of camera pose estimation include: Construct source and target view pairs for training, select the target view, and find the N nearest views as the source views; A trainable U-Net-based model is used to train each source view I i Extract feature map d is the latent space dimension; Based on the feature map For a point in 3D space Use the camera external parameters to project to the i-th feature map plane, denoted as Points are obtained by bilinear interpolation on the feature grid Features θ is the viewing direction.
3. The optical flow-guided dynamic perception neural radiation field modeling method according to claim 1 is characterized in that: Methods for estimating inter-frame optical flow vectors based on the results of camera pose estimation include: Using the RAFT network that combines the CNN and RNN architectures, the pre-trained weights are loaded to calculate the forward and backward optical flow vectors and masks of the input view frame to obtain the inter-frame optical flow vector.
4. The optical flow-guided dynamic perception neural radiation field modeling method according to claim 1, characterized in that: The method of performing light-based rendering integration on the multi-view aggregation feature includes: Further reasoning about occlusion relationships and visibility in 3D scenes by computing attention between points across rays; We use a Transformer-based model to model point-level feature aggregation for volume rendering and directly predict the color features c(r) required to render RGB images.
5. The optical flow-guided dynamic perception neural radiation field modeling method according to claim 1, characterized in that: Based on the color feature, a method for synthesizing a new view of the scene includes: The color feature c(r) is mapped to the final rendered RGB color through a fully connected layer Use MSE loss for supervision during training; Inferring geometry-aware scene depth: Among them, δ i =t i+1 -t i is the distance between adjacent sampling points on the ray; is the sampling point o+t i d is the characteristic representation; RT is the light aggregation model.
6. An optical flow-guided dynamic perception neural radiation field modeling system, characterized in that: include: Image or video acquisition module, pose estimation module, visual feature acquisition module, optical flow vector acquisition module, aggregate feature acquisition module, light rendering integration module and synthesis module; The image or video acquisition module is used to acquire multi-view images or videos; The pose estimation module is used to perform camera pose estimation based on the multi-view image or video; The visual feature acquisition module is used to extract polar point features based on the result of camera pose estimation to obtain polar point visual features; The optical flow vector acquisition module is used to estimate the inter-frame optical flow vector based on the result of camera pose estimation to obtain the inter-frame optical flow vector; The aggregate feature acquisition module is used to perform optical flow-guided multi-view feature aggregation based on the epipolar point visual features and the inter-frame optical flow vectors to obtain multi-view aggregate features; In the aggregated feature acquisition module, the process of performing optical flow-guided multi-view feature aggregation based on the epipolar point visual features and the inter-frame optical flow vectors includes: Use forward and backward optical flow information to index and sample the key elements corresponding to the query element in the spatiotemporal neighborhood; The Transformer model based on sparse window grouping attention mechanism is used to model the feature set aggregation function, which aggregates feature vectors from different views in the implicit feature space to obtain coordinate-aligned features, namely multi-view aggregate features. The light rendering integration module is used to perform light-based rendering integration on the multi-view aggregation features, model the volume rendering integral in NeRF, and obtain color features; The synthesis module is used to synthesize a new view of the scene based on the color features.
7. The optical flow guided dynamic perception neural radiation field modeling system according to claim 6, characterized in that: In the optical flow vector acquisition module, the process of estimating the inter-frame optical flow vector based on the result of camera pose estimation includes: Using the RAFT network that combines the CNN and RNN architectures, the pre-trained weights are loaded to calculate the forward and backward optical flow vectors and masks of the input view frame to obtain the inter-frame optical flow vector.
8. The optical flow guided dynamic perception neural radiation field modeling system according to claim 6, characterized in that: In the light rendering integration module, a method for performing light-based rendering integration based on the multi-view aggregation feature includes: Further reasoning about occlusion relationships and visibility in 3D scenes by computing attention between points across rays; We use a Transformer-based model to model point-level feature aggregation for volume rendering and directly predict the color features required to render RGB images.
