Monocular depth estimation method based on surface normal vector and neural radiation field

By combining surface normal vector and neural radiation field technology, the problem of low texture areas and occlusion in monocular depth estimation is solved, the accuracy and robustness of depth estimation are improved, and more accurate and consistent depth map generation is achieved.

CN118570273AInactive Publication Date: 2024-08-30HANGZHOU INNOVATION RES INST OF BEIJING UNIV OF AERONAUTICS & ASTRONAUTICS

Patent Information

Application Number
CN202411055049.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing monocular depth estimation methods have deficiencies in issues such as insufficient features in low-texture areas, depth ambiguity, and occlusion, and are difficult to deal with ambiguity and highlight issues, resulting in inconsistent depth maps and low accuracy.

Method used

Using a method based on surface normal vectors and neural radiation fields, by constructing surface normal vectors and depth estimation models, combined with three-dimensional reconstruction technology of neural radiation fields, it provides additional geometric constraints and view synthesis capabilities, optimizing the accuracy and robustness of the depth map. sex.

Benefits of technology

It improves the accuracy and robustness of monocular depth estimation, especially in low-texture areas and dynamic scenes, enhances the comprehensiveness and accuracy of depth estimation, solves edge blur and noise problems, and improves the clarity and accuracy of depth maps. consistency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570273A
    Figure CN118570273A
Patent Text Reader

Abstract

The invention discloses a monocular depth estimation method based on a surface normal vector and a neural radiation field. The monocular depth estimation method is used for solving the problems that a depth estimation method based on deep learning in the prior art has ambiguity and cannot process sheltered and low-texture areas. The monocular depth estimation method comprises the following steps: 1, acquiring a depth prior image based on a surface normal vector and a depth estimation model; 2, nerve radiation field training is guided based on depth prior; and 3, rendering an accurate depth map based on the neural radiation field and Gaussian filtering. According to the method based on the surface normal vector, geometric constraints on projection points are increased, and the ambiguity problem in monocular depth estimation is effectively relieved. The monocular depth estimation method based on the neural radiation field does not depend on the estimated corresponding relation and the cross view re-projection depth for optimization, but directly optimizes the volume. Through the good view synthesis effect of the nerve radiation field, the problems of shielding, highlight and the like in monocular depth estimation can be effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer vision, and in particular relates to a monocular depth estimation method based on surface normal vectors and neural radiation fields. Background Art

[0002] In recent years, more and more autonomous driving industries have adopted pure visual perception solutions. Depth information represents the three-dimensional structure of the scene, which is important for understanding the geometric relationship of objects in the scene. It has been widely used in fields such as three-dimensional reconstruction, autonomous driving, and face recognition. The goal of depth estimation is to obtain the distance to the object and ultimately obtain a depth map, which provides depth information for a series of tasks (such as 3D reconstruction, SLAM, and decision-making). The mainstream distance measurement methods on the market are monocular, stereo, and based on RGB-D cameras.

[0003] Existing monocular depth estimation methods usually adopt a cost volume-based architecture to solve the multi-view stereo problem. However, due to the lack of reasoning constraints, the predicted depth maps across views are usually inconsistent and often violate photometric consistency. The current mainstream monocular depth estimation network obtains learning-based priors from single image depth estimation for optimization to generate accurate and consistent depth maps. However, existing methods lack solutions to the problem of insufficient features in low-texture areas in specific problems, and it is difficult to deal with the problem of depth ambiguity in the absence of global information. At the same time, since monocular images are two-dimensional images, multiple three-dimensional spatial points are often obtained during projection, which makes the monocular depth estimation task ambiguous. Therefore, a monocular depth estimation method based on surface normal vectors and neural radiation fields is needed to improve the accuracy of the original monocular depth estimation method.

[0004] The surface normal vector-based method adds geometric constraints to the projection points, effectively alleviating the ambiguity problem in monocular depth estimation. The monocular depth estimation method based on neural radiance field does not rely on the estimated correspondence and cross-view reprojection depth for optimization, but directly optimizes the volume. The good view synthesis effect of neural radiance field can effectively solve the problems of occlusion and highlight in monocular depth estimation. Summary of the invention

[0005] The purpose of the present invention is to provide a monocular depth estimation method based on surface normal vector and neural radiation field, so as to solve the problems of ambiguity, occlusion and highlight that appear in the monocular depth estimation of the prior art.

[0006] The technical solution of the present invention is as follows:

[0007] The present invention first provides a monocular depth estimation method based on surface normal vector and neural radiation field, comprising the following steps:

[0008] 1) Construct an initial surface normal vector and depth estimation model, and use an image dataset with depth labels for training to obtain a trained surface normal vector and depth estimation model;

[0009] 2) Input the image set to be processed captured by the monocular camera in a multi-view scene into the trained surface normal vector and depth estimation model to obtain a depth prior atlas;

[0010] 3) The image set to be processed captured by the monocular camera is input into the neural radiation field, and the neural radiation field is guided to perform three-dimensional reconstruction of the image set to be processed based on the depth prior atlas obtained in step 2), so as to obtain a rendered depth image set;

[0011] 4) Use Gaussian filtering to filter and optimize the rendered depth image set, and finally obtain the optimized depth image set as the monocular depth estimation result.

[0012] As a preferred solution of the present invention, the surface normal vector and depth estimation model includes a depth estimation module, a surface normal vector estimation module and a geometric consistency optimization module; the depth estimation module is used to extract depth features in the input image and output a predicted depth map; the surface normal vector estimation module is used to extract a multi-scale feature map in the input image and output a surface normal vector; the geometric consistency optimization module is used to predict the depth in the depth map according to the multi-scale feature map constraints and change along the direction of the surface normal vector to finally obtain a depth prior map.

[0013] As a preferred solution of the present invention, the image set to be processed is input into the neural radiation field, and the neural radiation field is guided by the depth prior atlas obtained in step 2) to perform three-dimensional reconstruction on the image set to be processed, including the following steps:

[0014] 3.1) Project the depth prior atlas obtained in step 2) into three-dimensional space according to the depth information, transform and project a depth prior map in the depth prior atlas to other camera perspectives and compare it with the depth information of other camera perspectives, so as to obtain the error map corresponding to the depth prior map at each perspective, and traverse all the depth prior maps in the depth prior atlas;

[0015] 3.2) Determine the range of neural radiation field sampling based on the error map;

[0016] 3.3) Within the determined neural radiation field sampling range, the image set to be processed is three-dimensionally reconstructed to obtain a rendered depth image set.

[0017] The present invention also provides a monocular depth estimation system based on surface normal vector and neural radiation field, comprising:

[0018] A model building module is used to build an initial surface normal vector and depth estimation model, and train it using an image dataset with depth labels to obtain a trained surface normal vector and depth estimation model;

[0019] A depth prior map acquisition module is used to input the image set to be processed into the trained surface normal vector and depth estimation model to obtain a depth prior map set;

[0020] A three-dimensional reconstruction module is used to input the image set to be processed into the neural radiation field, and guide the neural radiation field to perform three-dimensional reconstruction on the processed image set based on the depth prior atlas obtained by the depth prior map acquisition module to obtain a rendered depth image set;

[0021] The Gaussian filter module is used to use Gaussian filtering to filter and optimize the rendered depth image set, and finally obtain the optimized depth image set as the monocular depth estimation result.

[0022] The present invention further provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned monocular depth estimation method based on surface normal vectors and neural radiation fields when executing the computer program.

[0023] Compared with the prior art, the present invention has the following beneficial effects:

[0024] The present invention uses surface normal vectors as auxiliary information for depth estimation, thus overcoming the inaccuracy problem of monocular depth estimation in texture-poor areas in the prior art. Existing methods often have difficulty in providing reliable depth information on surfaces lacking obvious textures, while surface normal vectors provide additional geometric constraints, enabling the model to better understand the scene structure, thereby improving the accuracy of depth estimation in these areas.

[0025] The present invention adopts the volume rendering technology of neural radiation field, thus overcoming the accuracy problem of monocular depth estimation in textureless or low-texture areas in the prior art. Neural radiation field can synthesize images from different perspectives and provide depth information even in texture-poor areas, thereby improving the comprehensiveness and accuracy of depth estimation.

[0026] The present invention combines the scene representation of neural radiance fields with prior knowledge of depth, thus improving the robustness of depth estimation in dynamic scenes and occlusion. By leveraging the scene representation capability of neural radiance fields, the model can better understand and predict occlusion relationships, and provide reliable depth information even in complex scenes with dynamic objects or occlusions.

[0027] The present invention uses the weighted visual weight of the Gaussian filter for optimization, thereby solving the technical problem of edge blur in depth estimation. By adjusting the parameters of the Gaussian filter, especially the standard deviation, unnecessary noise can be removed while maintaining edge clarity, thereby improving the accuracy of the depth map at the object boundary. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 Obtaining a depth prior process map based on surface normal vector and depth estimation model;

[0029] Figure 2 A flowchart for neural radiation field training;

[0030] Figure 3 Rendering flow chart for neural radiation field;

[0031] Figure 4 Figure 2 is a monocular depth estimation method based on surface normal vector and neural radiation field;

[0032] Figure 5 Flowchart of monocular depth estimation based on surface normal vectors and neural radiance fields. DETAILED DESCRIPTION

[0033] The present invention is further described and illustrated below in conjunction with specific embodiments. The embodiments are merely exemplary of the present disclosure and do not define the scope of limitation. The technical features of each embodiment of the present invention may be combined accordingly without conflicting with each other.

[0034] like Figure 4 and Figure 5 As shown, the present invention provides a monocular depth estimation method based on surface normal vector and neural radiation field to solve the problem that the depth estimation method based on deep learning in the prior art has ambiguity and cannot handle occlusion and low texture areas. Specifically, it includes:

[0035] 1) Obtaining depth prior based on surface normal vector and depth estimation model; the depth map generated by the existing depth estimation method may be discontinuous or broken, while the surface normal vector provides the direction information of the pixel point in three-dimensional space. This geometric information is integrated into the depth estimation process as a hard constraint, which helps the model to make more reasonable depth inference in areas lacking texture or occlusion. By enforcing the consistency between the depth map and the normal vector field, the model can reduce the ambiguity caused by illumination changes or material similarity and improve the geometric accuracy of the depth map. The depth changes are particularly drastic at the boundaries and corners of objects, and the surface normal vector provides rich shape information in such areas. Combined with this information, the model can better define the boundaries of objects and generate clearer and more accurate edges. The monocular depth estimation model combined with the surface normal vector not only enhances the accuracy and robustness of depth estimation, but also broadens its application scope in a variety of complex scenes. It is a key link in promoting the advancement of three-dimensional vision technology. The image set to be processed captured by the monocular camera in a multi-view scene is input into the trained surface normal vector and depth estimation model to obtain a depth prior atlas.

[0036] like Figure 1 As shown in the figure, the process of obtaining the depth prior map based on the surface normal vector and the depth estimation model is as follows:

[0037] 1.1) Depth and surface normal estimation; First, the depth estimation model is used as a feature extractor. The image to be processed captured by the input monocular camera in a multi-view scene is subjected to a series of depth-separable convolutions and point convolutions to gradually reduce the spatial resolution, increase the number of channels, and extract high-level semantic features. At the end of the encoder, multiple bottleneck layers are used to further compress the features and reduce the computational burden. The decoder part is responsible for upsampling the encoded features and restoring them to the original image size while gradually increasing the details. This part is implemented by combining upsampling, skip connections with the features of the encoder, and using convolutional layers. Skip connections help preserve local details and improve the accuracy of reconstruction. Finally, the decoder outputs a depth map of the same size as the input image, where each pixel contains the estimated depth information of the pixel's location. During training, the MSE loss and SSIM loss functions are used. In order to promote the smoothness and geometric consistency of the depth map, a smoothing term of variational (Total Variation, TV) regularization is added to the loss function. The depth estimation model performs supervised learning on an image dataset with precise depth labels, and the total loss function It is expressed as:

[0038]

[0039]

[0040] , ,

[0041]

[0042] in, is the depth map predicted by the model, is the real depth map, N is the number of samples, is the average image brightness, is the standard deviation of pixel values, , , L is the dynamic range of grayscale, which is related to the type of image data, represents the gradient of the depth map at position i; is a hyperparameter that balances the weights of each loss term.

[0043] In surface normal vector estimation, features are extracted from the image to be processed captured by the input monocular camera in a multi-view scene, and a multi-scale feature extraction function is used to extract a multi-scale feature map. Assume that the input image is , the multi-scale feature extraction function is , then the obtained multi-scale feature map can be expressed as Based on multi-scale feature maps , the surface normal vector of each pixel is estimated through the convolutional neural network CNN. The normal vector prediction function is , then ,in is the surface normal vector of each pixel in the multi-scale feature map, Convolutional neural network used in the surface normal estimation module.

[0044] 1.2) Depth map consistency optimization process: After the predicted depth map is obtained by the depth estimation model, in order to ensure that the predicted depth map is geometrically consistent with the corresponding surface normal vector, this method constructs a geometric consistency optimization model. The specific implementation method is as follows;

[0045] For a pixel The surface normal vector N u , v =[ N x , N y , N z ] and the estimated depth value , Normal vector coordinates; use the camera's geometric model to express geometric consistency. Assuming that the pinhole camera model is known, there is an internal parameter matrix , rotation matrix and translation vector , then the three-dimensional space point corresponding to the pixel point It can be expressed as:

[0046]

[0047] Furthermore, the normal vector of this space point in the world coordinate system is Should be consistent with the estimated normal vector In order to optimize the consistency, this method constructs a loss function to minimize the deviation between the depth gradient and the normal vector, so that the estimated depth value is coordinated with the normal vector information:

[0048]

[0049] in, Loss function of the geometric consistency optimization module; is the predicted depth map Z at pixel position The depth gradient at reflects the direction of depth change. is the surface normal vector at the same position, is a scalar coefficient that reflects the relationship between the depth change rate and the normal vector direction. , the depth changes in the predicted depth map can be constrained to be along the direction of the surface normal vector to finally obtain a depth prior map, thereby enhancing the geometric rationality of the depth estimation.

[0050] 2) Guide neural radiance field training based on depth prior: The existing neural radiance field sampling method is layered sampling, but in the sampling process of rendering depth map, since the pixel values ​​predicted by all sampling points corresponding to pixels with poor texture along the camera light are roughly the same, the depth map obtained by rendering sampling by the existing method deviates from the actual situation to a large extent. After obtaining the depth prior map, in order to distribute the sampling range more accurately, this method uses an adaptive depth prior to guide the sampling of the neural radiance field.

[0051] like Figure 2 As shown in Figure 1, the neural radiation field sampling process based on deep prior is as follows:

[0052] The obtained depth prior atlas is projected into three-dimensional space according to the depth information, and an image in the depth prior atlas is transformed and projected to other camera perspectives for comparison with the depth information of other camera perspectives, so as to obtain the error map corresponding to the depth map at each perspective. The formula is as follows:

[0053]

[0054]

[0055] in It is a picture The depth value corresponds to the projection of the spatial point onto the image The corresponding two-dimensional coordinates of the middle and rear are, It is projected onto the graph The depth value of the two-dimensional coordinate is then expressed through an error map to describe the accuracy and credibility of the depth prior map; is the rotation matrix from image i to image j, is the translation vector from image i to image j, is the corresponding depth value in Figure i, The intrinsic characteristics of the camera; is the depth error.

[0056] The sampling range under the camera perspective is determined according to each perspective error map, where the sampling on pixels with smaller errors is concentrated around the depth prior, while the sampling on pixels with larger errors still uses the original neural radiation field formula. The formula for the sampling range is as follows:

[0057]

[0058]

[0059] Among them, D is the depth prior map, e is the error map, and To define the upper and lower limits of the range; is the starting sampling point of the ray under the guidance of the depth prior map, is the termination sampling point of the ray under the guidance of the depth prior map, As the contents of the same scene may be greatly different in different perspectives, resulting in low confidence in a large number of regions, the algorithm only uses the four other perspectives with the smallest error value to calculate the average value.

[0060] Neural radiance fields are trained to transform input images into a continuous, differentiable scene representation, allowing new views to be rendered from arbitrary perspectives.

[0061] like Figure 3 As shown, the specific training steps are as follows:

[0062] 2.1) Ray generation: For each pixel in the training image, the ray from the camera center through the pixel is calculated using the known camera intrinsics and extrinsics. ,in is the camera center, is the ray direction, are the ray parameters.

[0063] 2.2) Volume rendering, in ray The sampling range is obtained based on the depth prior. Points .

[0064] Through a multi-layer perceptron neural network , given the location of each sampling point and the ray direction , the network predicts the color of the point and bulk density .

[0065] The color of each pixel along the ray is calculated using the classic volume rendering formula and transmittance :

[0066]

[0067]

[0068] in, is the distance between adjacent sampling points, From the starting point of the ray to The cumulative transmittance of the sampling points is is an exponential function.

[0069] 2.3) Loss function and optimization: The training goal of the neural radiation field is to minimize the difference between the reconstructed image and the actual image. The loss is taken as the loss function, i.e.

[0070]

[0071] in, is the predicted color calculated from the volume rendering formula, is the actual observed pixel color.

[0072] Use Adam optimizer to update network parameters to reduce the loss function .

[0073] 2.4) Iterative training: After multiple iterations, randomly select rays from the dataset for forward propagation and backward propagation, and gradually adjust the network parameters until the loss converges.

[0074] The training of the neural radiation field continuously optimizes the network parameters so that the images synthesized from any perspective are as close as possible to the actual captured images, thereby achieving three-dimensional reconstruction of the scene.

[0075] 3) Rendering accurate depth map based on neural radiation field and Gaussian filter; The three-dimensional scene of the scene is obtained through neural radiation field, similar to color rendering, and the depth map is obtained by volume rendering. Since the depth is equal to the ray in the sampling process middle The value of , so the rendered depth map The formula is as follows:

[0076]

[0077] is the distance between adjacent sampling points, From the starting point of the ray to The cumulative transmittance of the sampling points is is an exponential function.

[0078] The 3D reconstructed depth map learned by the neural radiation field may have insufficient depth continuity and noise. This method uses Gaussian filtering to further filter and optimize the 3D reconstructed depth map. Since the 3D reconstructed depth map obtained by neural radiation field rendering should be highly consistent with the real input, if there is an error between the two, it means that the learned neural radiation field information is defective, and the depth information of the corresponding area is often wrong. Therefore, the 3D reconstructed image obtained by rendering can be optimized by Gaussian filtering and the error between the input 3D reconstructed image. The specific formula of the filtering optimization function is:

[0079]

[0080] in, represents a Gaussian filter, Represents the rendered depth map. represents the convolution operation, and express The square of the norm, that is, the square of the Euclidean distance, represents the target image; represents the filtering optimization function. This loss function tries to find a Gaussian filtered rendered image that is as close as possible to the target image.

[0081] The monocular depth estimation method based on surface normal vector and neural radiation field of the present invention not only uses surface normal vector as auxiliary information for depth estimation, providing additional geometric constraints; it also uses volume rendering technology of neural radiation field (NeRF), which can synthesize images from different perspectives and provide depth information even in texture-poor areas; the present invention also uses the weighted visual weight of the Gaussian filter for optimization, and by adjusting the parameters of the Gaussian filter, especially the standard deviation, it can remove unnecessary noise while maintaining edge clarity; the present invention performs well in multiple performance indicators such as mean absolute error (MAE), mean square error (MSE) and relative error (Rel), not only significantly improving the accuracy, but also showing excellent ability in processing complex scenes, texture-poor areas and boundary details. In addition, compared with the existing monocular depth estimation method, the method of the present invention also has significant advantages in operating efficiency and robustness, proving the potential and value of the method of the present invention in practical applications.

[0082] Based on the same inventive concept, a monocular depth estimation system based on surface normal vector and neural radiation field is also provided in this embodiment, including:

[0083] A model building module is used to build an initial surface normal vector and depth estimation model, and train it using an image dataset with depth labels to obtain a trained surface normal vector and depth estimation model;

[0084] A depth prior map acquisition module is used to input the image set to be processed into the trained surface normal vector and depth estimation model to obtain a depth prior map set;

[0085] A three-dimensional reconstruction module is used to input the image set to be processed into the neural radiation field, and guide the neural radiation field to perform three-dimensional reconstruction on the processed image set based on the depth prior atlas obtained by the depth prior map acquisition module to obtain a rendered depth image set;

[0086] The Gaussian filter module is used to use Gaussian filtering to filter and optimize the rendered depth image set, and finally obtain the optimized depth image set as the monocular depth estimation result.

[0087] For the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment, and the implementation methods of the remaining modules will not be repeated here. The system embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of the present invention. Ordinary technicians in this field can understand and implement it without paying creative work.

[0088] The embodiments of the system of the present invention can be applied to any device with data processing capabilities, and the device with data processing capabilities can be a device or apparatus such as a computer. The system embodiments can be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, the corresponding computer program instructions in the non-volatile memory are read into the memory by the processor of any device with data processing capabilities and run.

[0089] An embodiment of the present invention also provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned monocular depth estimation method based on surface normal vectors and neural radiation fields when executing the computer program.

[0090] The above-mentioned embodiments only express several implementation methods of the present invention, and the description is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. For ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.

Claims

1. A monocular depth estimation method based on surface normal vector and neural radiation field, characterized in that: The following steps are involved: 1) Construct an initial surface normal vector and depth estimation model, and use an image dataset with depth labels for training to obtain a trained surface normal vector and depth estimation model; 2) Input the image set to be processed captured by the monocular camera in a multi-view scene into the trained surface normal vector and depth estimation model to obtain a depth prior atlas; 3) inputting the image set to be processed into the neural radiation field, and guiding the neural radiation field to perform three-dimensional reconstruction on the image set to be processed based on the depth prior atlas obtained in step 2), so as to obtain a rendered depth image set; 4) Use Gaussian filtering to filter and optimize the rendered depth image set, and finally obtain the optimized depth image set as the monocular depth estimation result.

2. The monocular depth estimation method based on surface normal vector and neural radiation field according to claim 1, characterized in that: The surface normal vector and depth estimation model includes a depth estimation module, a surface normal vector estimation module and a geometric consistency optimization module; The depth estimation module is used to extract the depth features in the input image and output the predicted depth map; the surface normal vector estimation module is used to extract the multi-scale feature map in the input image and output the surface normal vector; the geometric consistency optimization module is used to predict the depth change in the depth map along the surface normal vector direction according to the multi-scale feature map constraints and finally obtain the depth prior map.

3. The monocular depth estimation method based on surface normal vector and neural radiation field according to claim 2, characterized in that: During the training process of the depth estimation module, a weighted sum of a mean square error loss function, a structural similarity loss function, and a variational regularized smoothing term loss is used as the total loss function.

4. The monocular depth estimation method based on surface normal vector and neural radiation field according to claim 2, characterized in that: The surface normal vector estimation module uses a multi-scale feature extraction function to extract a multi-scale feature map from the input image, and estimates the surface normal vector of each pixel in the multi-scale feature map through a convolutional neural network, which is expressed as: in, is the surface normal vector of each pixel in the multi-scale feature map, The convolutional neural network used in the surface normal estimation module, is the multi-scale feature extraction function, is the input image.

5. The monocular depth estimation method based on surface normal vector and neural radiation field according to claim 2, characterized in that: The loss function of the geometric consistency optimization module minimizes the deviation between the depth gradient in the predicted depth map and the surface normal vector, so that the depth in the predicted depth map changes along the surface normal vector direction; the loss function is: in, is the predicted depth map At pixel position The depth gradient at is the pixel position The surface normal vector at , is the scalar coefficient; Loss function for the geometric consistency optimization module.

6. The monocular depth estimation method based on surface normal vector and neural radiation field according to claim 1, characterized in that: The method of guiding the neural radiation field based on the depth prior atlas obtained in step 2) to perform three-dimensional reconstruction on the image set to be processed includes the following steps: 3.1) Project the depth prior atlas obtained in step 2) into three-dimensional space according to the depth information, transform and project a depth prior map in the depth prior atlas to other camera perspectives and compare it with the depth information of other camera perspectives, so as to obtain the error map corresponding to the depth prior map at each perspective, and traverse all the depth prior maps in the depth prior atlas; 3.2) Determine the range of neural radiation field sampling based on the error map; 3.3) Within the determined neural radiation field sampling range, the image set to be processed is three-dimensionally reconstructed to obtain a rendered depth image set.

7. The monocular depth estimation method based on surface normal vector and neural radiation field according to claim 6, characterized in that: The range of neural radiation field sampling is determined based on the error map, which is expressed as: in, is the depth prior graph, is the error graph, and are predefined upper and lower limits of the range; is the starting sampling point of the neural radiation field under the guidance of the depth prior map, It is the termination sampling point of the neural radiation field under the guidance of the depth prior map; is the value-taking function.

8. The monocular depth estimation method based on surface normal vector and neural radiation field according to claim 1, characterized in that: The rendered depth image set is filtered and optimized by minimizing the filtering optimization function of Gaussian filtering. The formula of the filtering optimization function is: in, represents a Gaussian filter, Represents the rendered depth map. represents the convolution operation, express The square of the norm, represents the target image as the optimized depth image; Represents a filter optimization function.

9. A monocular depth estimation system based on surface normal vector and neural radiation field, characterized in that: include: A model building module is used to build an initial surface normal vector and depth estimation model, and train it using an image dataset with depth labels to obtain a trained surface normal vector and depth estimation model; A depth prior map acquisition module is used to input the image set to be processed into the trained surface normal vector and depth estimation model to obtain a depth prior map set; A three-dimensional reconstruction module is used to input the image set to be processed into the neural radiation field, and guide the neural radiation field to perform three-dimensional reconstruction on the processed image set based on the depth prior atlas obtained by the depth prior map acquisition module to obtain a rendered depth image set; The Gaussian filter module is used to use Gaussian filtering to filter and optimize the rendered depth image set, and finally obtain the optimized depth image set as the monocular depth estimation result.

10. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the monocular depth estimation method based on surface normal vectors and neural radiation fields as described in any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Monocular view depth estimation method based on neural radiation field and semantic segmentation

    CN115393410A

  • Depth estimation effect optimization method based on geometric consistency

    CN116091573A

  • Image alignment method and device, equipment, storage medium and computer program product

    CN117808955A

Cited By

  • Three-dimensional panoramic scene understanding method and device based on multi-view consistency

    CN119131265A

  • Image depth estimation method based on label reconstruction-coding and decoding neural network

    CN119338877A

  • Automatic driving planning method and device in combination with prior information of city-level neural radiation field

    CN120024358A

  • An autonomous driving planning method and device combining prior information of a city-level neural radiance field

    CN120024358B

  • Power transmission channel scene image depth estimation method based on geometric priori of power transmission channel

    CN120431146A