Nerve radiation field artifact suppression method based on event camera three-dimensional reconstruction
By using multi-layer perceptron and micro-renderable technology in event camera three-dimensional reconstruction, combining the integrated zero-event loss regular function and event standardization reconstruction loss function, the artifact and noise problems in the neural radiation field method are solved, achieving high quality 3D reconstruction and learning efficiency improvement.
Patent Information
- Application Number
- CN202410915011.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-11-01
AI Technical Summary
The neural radiation field method based on event cameras has artifact problems in scene reconstruction, and reliance on manually predetermined event thresholds leads to inaccurate learning processes, which exacerbates background noise.
The neural radiation field model is constructed using multi-layer perceptron and micro-renderable technology, and the multi-time scale event window joint loss function of the integrated zero-event loss regular function and event standardized reconstruction loss function are trained to suppress artifacts and reduce event thresholds to improve learning efficiency.
Through this method, the geometric and photometric information of the scene can be restored more accurately, the reconstruction quality and reality can be improved, artifacts can be reduced, color recovery can be optimized, and rapid progressive learning and efficient three-dimensional reconstruction can be achieved.
Smart Images

Figure CN118887334A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer vision three-dimensional reconstruction, and in particular to a method for suppressing neural radiation field artifacts based on event camera three-dimensional reconstruction. Background Art
[0002] Event cameras are bio-inspired neuromorphic vision sensors that asynchronously record changes in pixel intensity. However, accurately recovering geometric and photometric information directly from their asynchronous and continuous event stream is a major challenge that hinders their widespread application. To reconstruct the geometry, existing event-based visual odometry methods typically generate sparse or semi-dense point clouds. These point clouds lack color information due to the nature of event cameras, which do not provide frame-based intensity images. Meanwhile, methods that attempt to reconstruct photometric images from event data (such as E2VID, which relies entirely on pre-training with simulated data) are promising but still face challenges in terms of accuracy and consistency. In this context, Neural Radiance Fields (NeRF) has emerged as a revolutionary approach that introduces an innovative approach to scene representation.
[0003] However, the event-based Neural Radiance Fields (ENeRF) approach still faces a significant challenge: artifacts arising from background and object surfaces continue to undermine the overall quality of scene reconstruction. These artifacts stem from misrepresentations during early training that are not corrected in a timely manner. In addition, the inherent background noise of event cameras exacerbates this problem. This problem stems from the fact that the event-based Neural Radiance Fields explicitly relies on a large, manually predetermined event threshold to guide the network's learning process during the early training stages. As a result, this approach leads to inaccurate scene representation learning, resulting in noticeable artifacts in the reconstructed scene. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a method for suppressing neural radiation field artifacts based on event camera three-dimensional reconstruction, which solves the problem of artifacts in event camera three-dimensional reconstructed images.
[0005] In order to achieve the above-mentioned invention object, the technical solution adopted by the present invention is: a method for suppressing neural radiation field artifacts based on three-dimensional reconstruction of event cameras, comprising:
[0006] S1: Get the event sample set of the event camera;
[0007] S2: Use multi-layer perceptron and differentiable rendering technology to build a neural radiation field model;
[0008] S3: Based on the event sample set, the neural radiation field model is trained using a multi-time-scale event window joint loss function that integrates a zero-event loss regularization function and an event-normalized reconstruction loss function, and the artifacts of the neural radiation field model are suppressed to obtain a trained neural radiation field model, thereby completing artifact suppression of the neural radiation field model; wherein the trained neural radiation field model is used to analyze the event sample set to obtain a predicted three-dimensional reconstructed image.
[0009] The beneficial effects of the present invention are as follows: the processor uses the neural radiation field model trained by the joint loss function of the comprehensive zero event loss regularization function and the event-normalized reconstruction loss function to process the event sample set of the event camera to obtain a predicted three-dimensional reconstructed image. (1) In this way, the geometric and photometric information of the scene can be more accurately recovered from the event data, thereby greatly improving the quality and realism of the reconstruction; (2) By simultaneously normalizing the predicted photometric changes consistent with reality and the corresponding event polarity accumulation, the dependence on the explicit event threshold is eliminated, thereby achieving rapid progressive learning in the construction of the scene representation and improving the learning efficiency of the neural radiation field model; (3) By introducing the zero event loss regularization function to constrain the unchanged photometric pixels, the artifacts caused by noise events are suppressed and the color restoration is optimized.
[0010] Furthermore, the S1 includes:
[0011] Based on the moving event camera information, obtain a continuous event stream;
[0012] Using the duration of the event window, the continuous event stream is segmented and accumulated in the time dimension to obtain a two-dimensional accumulated event sum;
[0013] Active sampling and passive sampling are performed on the two-dimensional accumulated events and to obtain the active sampling samples and the passive sampling samples respectively; wherein the active sampling samples and the passive sampling samples belong to an event sample set.
[0014] Active sampling of the two-dimensional cumulative events and can restore the luminosity and geometric information of the scene, but the artifact problem is serious. Adding negative sampling can reduce the generation of artifacts during the reconstruction process.
[0015] Furthermore, the neural radiation field model in S2 is used to:
[0016] The event sample set is implicitly expressed as a continuous five-dimensional function using a multi-layer perceptron;
[0017] Based on the continuous five-dimensional function, using differentiable rendering technology, the final rendering color of the current ray is calculated;
[0018] The final rendering color of the current ray is analyzed to obtain a three-dimensional reconstructed image predicted by the neural radiation field model.
[0019] The neural radiance field model learns a continuous 3D representation of the scene, ensuring that the rendered image remains highly consistent from any viewpoint. The trained neural radiance field model also has a certain generalization ability and can handle new scenes that are similar to the training data but have not been seen before.
[0020] Furthermore, the expression of the continuous five-dimensional function is:
[0021] F θ :(x,d)→(σ,c);
[0022] Among them, F θ Represents a continuous five-dimensional function, x represents the three-dimensional spatial position, d represents the viewing angle direction, σ represents the predicted volume density, and c represents the predicted color value.
[0023] The event scene is represented as a continuous five-dimensional function through MLP. This implicit representation can capture the complex geometry and radiation characteristics of the scene. Compared with traditional explicit three-dimensional models (such as meshes, point clouds, etc.), it is more flexible and easy to handle complex scenes. As a nonlinear function approximator, MLP can efficiently represent complex three-dimensional scenes with fewer parameters, reducing storage and computing costs.
[0024] Furthermore, the final rendering color of the current ray is expressed as:
[0025]
[0026] Among them, I represents the final rendering color, T i represents the transmittance of the i-th sampling point, α i Indicates the opacity of the i-th sampling point, c i represents the color of the i-th sampling point, S represents the number of pixels sampled along the ray, α j represents the opacity of the jth sampling point, i represents the i-th sampling point, j represents the j-th sampling point, σ i represents the volume density of the i-th sampling point, δ i Indicates the distance between adjacent sampling points.
[0027] Since the rendering process is differentiable, the MLP parameters can be trained using optimization algorithms such as gradient descent, making the reconstruction process more flexible and efficient. The neural radiance field model can be trained end-to-end, that is, directly learning from the input image to a continuous 3D representation of the scene without complex pre-processing and post-processing steps.
[0028] Furthermore, the expression of the joint loss function of the multi-time scale event window in S3 is:
[0029]
[0030] in, represents the result of the joint loss function of multi-time scale event windows, M represents the number of given camera poses, represents the event-normalized reconstruction loss function result, t 0 represents, t represents, Γ i represents the timestamp of the i-th pose, U represents uniform distribution, max represents the function that returns the maximum value, and L max represents the maximum time length of the event window, and i represents the i-th pose.
[0031] The joint loss function results of multi-time scale event windows have fewer artifacts than the joint loss function results of fixed event window length. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:
[0033] Figure 1 This is an exemplary flowchart of a method for suppressing neural radiation field artifacts based on event camera three-dimensional reconstruction according to some embodiments of this specification. DETAILED DESCRIPTION
[0034] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.
[0035] Example
[0036] Figure 1 is an exemplary flow chart of a method for suppressing neural radiation field artifacts based on event camera 3D reconstruction according to some embodiments of this specification. Figure 1 As shown, the process includes the following steps. In some embodiments, the process can be executed by a processor.
[0037] S1: Get the event sample set of the event camera.
[0038] Event cameras are neuromorphic vision sensors that record changes in pixel intensity.
[0039] The event sample set is a sample set used to train the neural radiation field model. For example, the event sample set may include positive sampling samples and negative sampling samples.
[0040] In some embodiments, the processor may utilize the event stream captured by the event camera to perform sampling according to coordinates and capture time to obtain an event sample set.
[0041] In some embodiments, the processor can obtain a continuous event stream based on the moving event camera information; use the duration of the event window to segment the continuous event stream and accumulate the sum in the time dimension to obtain a two-dimensional accumulated event sum; actively sample and passively sample the two-dimensional accumulated event sum to obtain the active sampling sample and the passive sampling sample, respectively.
[0042] The event camera information is the preset parameter information of the event camera. For example, the event camera information may include the camera internal parameters and the camera pose at a fixed time interval.
[0043] Camera intrinsic parameters are the preset operating parameters of the event camera.
[0044] The camera pose is a parameter that reflects the change in the event camera position.
[0045] In some embodiments, the processor may obtain moving event camera information based on moving event camera storage data.
[0046] The event stream is data that reflects the change of brightness of each pixel over time. For example, the event stream may include the time when the event occurs, the coordinates of the corresponding pixel point, and the polarity of the event.
[0047] The event time is the time when the pixel brightness changes.
[0048] The corresponding pixel coordinates are the pixel coordinates where the brightness changes.
[0049] The event polarity is data reflecting the brightening and darkening of a pixel. For example, the event polarity may include 1 for brightening a pixel, -1 for darkening a pixel, and the like.
[0050] In some embodiments, the processor may acquire a continuous stream of events based on monitoring data from an event camera.
[0051] The duration of an event window is the time from when the event occurs to when the event ends.
[0052] The two-dimensional cumulative event sum is the sum of the event polarity of the pixel based on the time dimension.
[0053] In some embodiments, the processor may determine the duration of the event window based on the start time and end time of the event; based on the duration of the event window, the event polarities within the event window are accumulated and summed along the time dimension to obtain a two-dimensional accumulated event sum.
[0054] Actively sampled samples are 2D cumulative events and pixel samples that are not zero.
[0055] Negatively sampled samples are pixel samples whose two-dimensional cumulative event sum is zero.
[0056] In some embodiments, the processor may sample the event stream according to two-dimensional cumulative events, taking the two-dimensional cumulative events and non-zero pixel coordinates as positive sampling samples, and taking the two-dimensional cumulative events and zero pixel coordinates as negative sampling samples.
[0057] S2: Use multi-layer perceptron and differentiable rendering technology to build a neural radiation field model.
[0058] A multi-layer perceptron (MLP) is a structure used to implicitly transform scenes into functions.
[0059] Differentiable rendering technology is a technology that performs color rendering and summation on each pixel.
[0060] The neural radiation field model is a neural network model used to obtain three-dimensional reconstructed images.
[0061] In some embodiments, the input of the neural radiation field model may include a set of event samples, and the output may include a predicted three-dimensional reconstructed image.
[0062] S3: Based on the event sample set, the neural radiation field model is trained using a multi-time-scale event window joint loss function that integrates a zero-event loss regularization function and an event-normalized reconstruction loss function, and the artifacts of the neural radiation field model are suppressed to obtain a trained neural radiation field model, thereby completing artifact suppression of the neural radiation field model; wherein the trained neural radiation field model is used to analyze the event sample set to obtain a predicted three-dimensional reconstructed image.
[0063] In some embodiments, the neural radiation field model can be obtained by training multiple labeled training samples. For example, multiple labeled training samples can be input into the initial neural radiation field model, and a joint loss function can be constructed by using the labels and the results of the initial neural radiation field model. The parameters of the initial neural radiation field model can be iteratively updated by gradient descent or other methods based on the joint loss function. When the preset conditions are met, the model training is completed and a trained neural radiation field model is obtained. The preset conditions can be that the joint loss function converges, the number of iterations reaches a threshold, etc.
[0064] In some embodiments, the training sample may include an event sample set, the label may be a corresponding 3D reconstructed image, and the label may be determined based on the event sample set.
[0065] The multi-time scale event window joint loss function is a loss function that combines multiple losses for supervising the training of the neural radiance field model. For example, the joint loss function may include event window loss functions of multiple time scales.
[0066] The event window loss function is a combination of multiple weighted loss functions in a single time period. For example, the event window loss function may include a weighted zero event loss regularization function and an event-normalized reconstruction loss function.
[0067] The zero event loss regularization function is a loss function for regularization.
[0068] The event-normalized reconstruction loss function is a threshold-normalized loss function that includes the actively sampled sample events of realistic conditions.
[0069] In some embodiments, the expression of the multi-time scale event window joint loss function can be:
[0070]
[0071] in, represents the result of the joint loss function of multi-time scale event windows, M represents the number of given camera poses, represents the result of the event window loss function, t 0 represents, t represents, Γ i represents the timestamp of the i-th pose, U represents uniform distribution, max represents the function that returns the maximum value, and L max represents the maximum time length of the event window, and i represents the i-th pose.
[0072] In some embodiments, the processor may construct an event-normalized reconstruction loss function with negative sampling to normalize the explicit event threshold and eliminate the explicit dependence on the event threshold:
[0073]
[0074] in, represents the result of the normalized reconstruction loss function with negative sampling events, represents the logarithmic difference of the luminosity of the event sample set, represents the predicted value of the luminosity change of each pixel in the event sample set, u represents the event sample set, ||·|| 1 represents the 1-norm, Represents the square of the 2-norm.
[0075] In some embodiments, the processor may normalize the pixel positions of the actively sampled samples based on the event-normalized reconstruction loss function containing negative sampling to obtain an event-normalized reconstruction loss function:
[0076]
[0077] in, represents the event-normalized reconstruction loss function, represents the logarithmic difference of the luminosity of the actively sampled samples, Represents the predicted value of the luminosity change of each pixel in the actively sampled sample, u p Indicates actively sampled samples.
[0078] In some embodiments, the processor may obtain an event-normalized reconstruction loss function based on the event-normalized loss reconstruction function by adding a realistic condition in the denominator:
[0079]
[0080] in, represents the reconstruction loss function result of event standardization, n represents the number of positive sampling samples that conform to reality, represents the logarithmic difference of the luminosity of the actively sampled samples that conform to reality, Represents the predicted value of the luminosity change of each pixel in the active sampling sample that conforms to reality, u p+ Represents an actively sampled sample that matches reality.
[0081] A realistic actively sampled sample is an actively sampled sample whose predicted light brightness change is consistent with the direction of the actually detected brightness change.
[0082] In some embodiments, the processor may analyze the positive sampling samples based on the predicted value of the event threshold of the positive sampling samples, and regard the samples with the predicted value greater than 0 as positive sampling samples that are consistent with reality:
[0083]
[0084] in, Represents the predicted value of the event threshold for the positively sampled sample to occur.
[0085] In some embodiments, the expression of the zero event loss regularization function may be:
[0086]
[0087] in, represents the result of the zero event loss regularization function, N represents the number of actively sampled samples, M 1represents the number of negative sampling samples, Represents the predicted value of the luminosity change of each pixel in the negative sampling sample, u n represents negative sampling samples.
[0088] In some embodiments, the expression of the event window loss function may be:
[0089]
[0090] Among them, λ represents the weight hyperparameter.
[0091] The predicted 3D reconstructed image is the event image after suppressing artifacts and optimizing color restoration.
[0092] In some embodiments, the neural radiation field model can use a multi-layer perceptron to implicitly express an event sample set as a continuous five-dimensional function; based on the continuous five-dimensional function, using differentiable rendering technology, calculate the final rendering color of the current ray; analyze the final rendering color of the current ray to obtain a three-dimensional reconstructed image predicted by the neural radiation field model.
[0093] A continuous five-dimensional function is a function of the three-dimensional spatial position and the two-dimensional observation angle.
[0094] In some embodiments, the expression of the continuous five-dimensional function may be:
[0095] F θ :(x,d)→(σ,c);
[0096] Among them, F θ Represents a continuous five-dimensional function, x represents the three-dimensional spatial position, d represents the viewing angle direction, σ represents the predicted volume density, and c represents the predicted color value.
[0097] The final rendering color of the current ray is the color of the pixel points along the ray that is transmitted from the camera center to the normalized plane of the image.
[0098] In some embodiments, the processor may perform sampling along the ray based on a continuous five-dimensional function, and use differentiable rendering technology to calculate the final rendering color of the current ray. For example, the processor may project a ray r from the camera center (at the x-coordinate origin of the three-dimensional space position) along the viewing angle direction d, collect sample points based on the projected ray, calculate the rendering color of each sample point using a volume rendering method, and accumulate and sum to obtain the final rendering color of the current ray r.
[0099] In some embodiments, the expression of the final rendered color of the current ray may be:
[0100]
[0101] Among them, I represents the final rendering color, T i represents the transmittance of the i-th sampling point, α i Indicates the opacity of the i-th sampling point, c i represents the color of the i-th sampling point, S represents the number of pixels sampled along the ray, α j represents the opacity of the jth sampling point, i represents the i-th sampling point, j represents the j-th sampling point, σ i represents the volume density of the i-th sampling point, δ i Indicates the distance between adjacent sampling points.
[0102] In some embodiments of the present specification, the processor uses a neural radiation field model trained by a joint loss function of a comprehensive zero event loss regularization function and an event-normalized reconstruction loss function to process the event sample set of the event camera to obtain a predicted three-dimensional reconstructed image. (1) In this way, the geometric and photometric information of the scene can be more accurately recovered from the event data, thereby greatly improving the quality and realism of the reconstruction; (2) By simultaneously normalizing the predicted photometric changes consistent with reality and the corresponding event polarity accumulation, the dependence on the explicit event threshold is eliminated, thereby achieving rapid progressive learning in the construction of the scene representation and improving the learning efficiency of the neural radiation field model; (3) By introducing a zero event loss regularization function to constrain unchanged photometric pixels, artifacts caused by noise events are suppressed and color restoration is optimized.
Claims
1. A method for suppressing neural radiation field artifacts based on event camera three-dimensional reconstruction, characterized in that: include: S1: Get the event sample set of the event camera; S2: Use multi-layer perceptron and differentiable rendering technology to build a neural radiation field model; S3: Based on the event sample set, the neural radiation field model is trained using a multi-time-scale event window joint loss function that integrates a zero-event loss regularization function and an event-normalized reconstruction loss function, and the artifacts of the neural radiation field model are suppressed to obtain a trained neural radiation field model, thereby completing artifact suppression of the neural radiation field model; wherein the trained neural radiation field model is used to analyze the event sample set to obtain a predicted three-dimensional reconstructed image.
2. The method for suppressing neural radiation field artifacts based on event camera 3D reconstruction according to claim 1, characterized in that: The S1 includes: Based on the moving event camera information, obtain a continuous event stream; Using the duration of the event window, the continuous event stream is segmented and accumulated in the time dimension to obtain a two-dimensional accumulated event sum; Active sampling and passive sampling are performed on the two-dimensional accumulated events and to obtain the active sampling samples and the passive sampling samples respectively; wherein the active sampling samples and the passive sampling samples belong to an event sample set.
3. The method for suppressing neural radiation field artifacts based on event camera 3D reconstruction according to claim 1, characterized in that: The neural radiation field model in S2 is used to: The event sample set is implicitly expressed as a continuous five-dimensional function using a multi-layer perceptron; Based on the continuous five-dimensional function, using differentiable rendering technology, the final rendering color of the current ray is calculated; The final rendering color of the current ray is analyzed to obtain a three-dimensional reconstructed image predicted by the neural radiation field model.
4. The method for suppressing neural radiation field artifacts based on event camera 3D reconstruction according to claim 3, characterized in that: The expression of the continuous five-dimensional function is: F θ :(x,d)→(σ,c); Among them, F θ Represents a continuous five-dimensional function, x represents the three-dimensional spatial position, d represents the viewing angle direction, σ represents the predicted volume density, and c represents the predicted color value.
5. The method for suppressing neural radiation field artifacts based on event camera 3D reconstruction according to claim 3, characterized in that: The expression of the final rendering color of the current ray is: Among them, I represents the final rendering color, T i represents the transmittance of the i-th sampling point, α i Indicates the opacity of the i-th sampling point, c i represents the color of the i-th sampling point, S represents the number of pixels sampled along the ray, α j represents the opacity of the jth sampling point, i represents the i-th sampling point, j represents the j-th sampling point, σ i represents the volume density of the i-th sampling point, δ i Indicates the distance between adjacent sampling points.
6. The method for suppressing neural radiation field artifacts based on event camera 3D reconstruction according to claim 2, characterized in that: The expression of the joint loss function of the multi-time scale event window in S3 is: Where L represents the result of the joint loss function of multi-time scale event windows, M represents the number of given camera poses, and L norm+&zero+ represents the reconstruction loss function result of event standardization, t0 represents, t represents, Γ i represents the timestamp of the i-th pose, U represents uniform distribution, max represents the function that returns the maximum value, and L max represents the maximum time length of the event window, and i represents the i-th pose.
Citation Information
Cited By
Method for realizing three-dimensional reconstruction based on three-dimensional Gaussian splashing of event camera
CN119942004A
3D Reconstruction Method Based on 3D Gaussian Splashing with Event Cameras
CN119942004B
System and method for measuring three-dimensional diameter of high-speed moving steel wire rope
CN122062582A
A high-speed moving steel wire rope three-dimensional diameter measuring system and method
CN122062582B
