A monocular 3D target detection method based on depth and height information fusion and neural radiance field rendering

By fusing depth maps and height maps and combining them with neural radiation field rendering technology, the problem of insufficient depth information in monocular 3D target detection is solved, achieving higher accuracy and robustness in 3D detection.

CN118537532BActive Publication Date: 2026-11-24CENT SOUTH UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410591866.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2026-11-24
Estimated Expiration
2044-05-14

AI Technical Summary

Technical Problem

Existing monocular 3D object detection methods suffer from unstable detection performance and low accuracy in autonomous driving scenarios due to the lack of depth information, making it difficult to obtain accurate depth estimation results from 2D images.

Method used

By fusing depth and height maps and combining them with neural radiation field rendering technology, we can extract illumination-adaptive features, reduce the dependence on depth estimation, construct a robust 3D spatial representation, and improve detection accuracy and robustness.

Benefits of technology

It improves the accuracy and robustness of monocular 3D target detection, generates more stable 3D features, and enhances detection performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537532B_ABST
    Figure CN118537532B_ABST
Patent Text Reader

Abstract

This invention discloses a monocular 3D target detection method based on depth and height information fusion and neural radiation field rendering. The implementation scheme is as follows: 1) Acquire dataset and detection labels; 2) Construct a feature extractor; 3) Extract HS features and obtain a height map; 4) Construct a depth and height information fusion module; 5) Extract illumination adaptive features; 6) Construct a neural radiation field feature enhancement module; 7) Construct a 3D detection module; 8) Construct a loss function; 9) Train the model and detect 3D targets. The monocular 3D target detection method designed in this invention fuses depth and height information through projection transformation and Gaussian distribution representation to generate a depth distribution, which is used to map 2D features to 3D features. Then, a volume rendering method based on neural radiation field is used to optimize the 3D features, and an illumination adaptive method is combined to provide stable features for the 3D detection head, obtaining accurate detection results. The method of this invention has the advantages of high accuracy and strong robustness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of image processing and computer vision technology, specifically to a monocular 3D target detection method based on depth and height information fusion and neural radiation field rendering. Background Technology

[0002] Monocular 3D object detection has become a key technology in the field of autonomous driving due to its low cost and easy deployment. This technology perceives the surrounding environment by analyzing images captured by a monocular camera and achieves 3D object detection by predicting information such as size, position, and orientation. However, depth estimation is challenging in autonomous driving scenarios, and stable 3D features are difficult to obtain directly from 2D images, leading to difficulties in 3D detection. Current monocular 3D detection methods often rely on depth estimation, resulting in low stability and accuracy. Therefore, researching an accurate and robust monocular 3D object detection algorithm is of great significance for autonomous driving applications. Summary of the Invention

[0003] The main objective of this invention is to overcome the shortcomings and deficiencies of existing methods and propose a monocular 3D target detection method based on depth and height information fusion and neural radiation field rendering. This method can obtain stable detection results by perceiving the environment through a monocular camera during the monocular detection process.

[0004] I. Technical Principles

[0005] A significant challenge in monocular 3D object detection lies in extracting 3D information from 2D images, which inherently lack depth information. Due to the absence of depth information in 2D images, and especially in autonomous driving scenarios, monocular 3D object detection models struggle to obtain accurate depth estimates from 2D images, leading to unstable detection performance. This invention addresses this issue by fusing depth and height maps through projection transformation and Gaussian distribution representation, reducing the model's dependence on depth estimation accuracy and thus improving the accuracy and robustness of monocular 3D object detection. Furthermore, this invention proposes a volumetric rendering strategy based on neural radiation fields, extracting spatial information through color image rendering to guide the model in learning more accurate 3D information. In addition, to address the impact of uneven illumination on detection performance, this invention proposes a method combining height map projection and HSV separation to obtain illumination-adaptive features and help the model build a robust 3D spatial representation, thereby improving the model's 3D detection accuracy.

[0006] II. Based on the above principles, the present invention is implemented through the following scheme:

[0007] A monocular 3D target detection method based on depth and height information fusion and neural radiation field rendering includes the following steps:

[0008] (1) Obtaining the dataset and detection labels:

[0009] Obtain the public dataset for monocular 3D object detection and its corresponding detection labels.

[0010] (2) Constructing a feature extractor:

[0011] Including the ResNet34 network and the Image Pyramid Module (FPN), the original input image I is processed by the ResNet34 network to obtain the 2D feature map F. image ; F image The input is fed into the FPN to obtain the feature map F. FPN .

[0012] (3) Extract HS features and obtain height map:

[0013] The original image I is converted to HSV format and separated into three channel images H, S, and V. H and S are concatenated and then input into a 2D convolutional module C1 to obtain the HS feature F. HS ; F HS With F FPN After being stitched together, the data is input into the 2D convolution module C2 to obtain the height map M. h C1 consists of a 3×3 2D convolutional layer; C2 consists of a 1×1 2D convolutional layer.

[0014] (4) Construct a deep and high-level information fusion module, which includes the following steps:

[0015] (4-a) Transform the height map M h Convert to depth map M dh :

[0016]

[0017] Where v represents the vertical axis of the pixel coordinate system, M h (v) is the v coordinate in the height map; f v and c v These are camera parameters, and f v It is the camera's vertical focal length, c v It is the main point of the camera.

[0018] (4-b) Integrating height and depth information: F FPN The initial depth distribution D is obtained after the input is fed into the 2D convolution module C3 and then subjected to a softmax operation. depth C3 consists of a 1×1 2D convolutional layer; take D depth The depth map M is constructed by constructing the depth category corresponding to the maximum depth distribution probability of each pixel. d Construct a standard depth distribution D value And according to Md M dh Construct depth distributions respectively Finally, the fusion depth distribution D is obtained. HD :

[0019]

[0020] Where ω is a non-negative real number, representing the Gaussian variance adjustment factor; θ is a real number, representing the weighting factor, and θ∈[0,1].

[0021] Standard depth distribution D value The construction method is as follows: First, construct the size and D depth Same feature map Where H 2d and W 2d Let represent the height and width of the feature map, respectively, whose values ​​are determined by the size of the original image I. Let D represent the depth of the feature map, and D is a positive integer; then along D... value The depth categories d are sequentially filled along the depth direction to obtain the final D. value , where d is an integer and d∈[0,D).

[0022] Depth distribution The construction method is as follows: First, construct two dimensions with D depth The same feature maps are denoted as follows: Then fill M along the depth direction D respectively. d M dh Depth category C at the corresponding location d C dh To obtain the final Where C d C dh C is a non-negative integer, and C d ∈[0,D), C dh ∈[0,D).

[0023] (5) Extract illumination-adaptive features:

[0024] V and M h After splicing, then with D HD Multiplication yields the illumination-adaptive feature F. IA :

[0025]

[0026] in This indicates a splicing operation. This indicates a multiplication operation.

[0027] (6) Construct a neural radiation field feature enhancement module:

[0028] (6-a) DHD With 2D feature map F image Multiplication yields the visual cone feature F frustum , will F frustum The input is fed into the 3D convolution module T1 to obtain the 3D feature F. 3d With SDF feature F sdf T1 consists of three 3×3 3D convolutional layers and one softplus activation layer.

[0029] (6-b) F 3d The input is fed into the 3D convolutional module T2 to obtain the RGB features F. rgb ; F rgb The input is fed into the 3D convolution module T3 to obtain the density feature F. density splicing F density F IA and F sdf The stitched result is input into the 3D convolution module T4 to obtain the SDF value O. sdf ; For O sdf Perform a Laplace transform to obtain the density map O. density ; respectively for F rgb With O density Using volume rendering operations, a color rendering image M is obtained. rc With depth rendering map M rd T2 consists of a 3×3 3D convolutional layer and a sigmoid activation layer; T3 consists of three 3×3 3D convolutional layers and a softplus activation layer; and T4 consists of a 3×3 3D convolutional layer.

[0030] (7) Construct a 3D detection module:

[0031] F respectively 3d O density Converted to voxel V 3d V density Finally, the 3D feature V is obtained. final :

[0032]

[0033] Where tanh(·) is the hyperbolic tangent function; V final The data is input into the 3D detection head to achieve 3D detection and complete the construction of the detection model.

[0034] (8) Construct the loss function:

[0035] The loss function consists of six parts: depth distribution loss L dis High loss L height RGB loss L rgb Depth loss L depthSDF loss L sdf and 3D detection loss L 3D The formula for calculating the total loss is:

[0036] L=λ dis L dis +λ height L height +λ rgb L rgb +λ depth L depth +λ sdf L sdf +λ 3D L 3D

[0037] Where λ dis , λ height , λ rgb , λ depth , λ sdf , λ 3D It is a non-negative real number.

[0038] Depth distribution loss L dis The calculation formula is:

[0039]

[0040] Where FL(·) represents the focus loss, and D depth The initial depth distribution obtained in step (4-b) This represents the true value of the depth distribution.

[0041] High loss L height Including smoothed L1 loss L smoothL1 and SSIM loss L SSIM The calculation formula is as follows: (Two parts)

[0042] L height =λ smoothL1 L smoothL1 +λ SSIM L SSIM

[0043] Where λ smoothL1 , λ SSIM It is a non-negative real number.

[0044] RGB loss L rgb To smooth the L1 loss, the calculation formula is as follows:

[0045] L rgb =L smoothL1

[0046] Depth loss L depth The calculation formula is:

[0047]

[0048] Where N represents the effective number of pixels in the LiDAR. Z represents the ground truth value of the depth map, U and V represent the horizontal and vertical coordinates in the depth map coordinate system, respectively, and ||·||1 represents the L1 loss. This represents the L1 loss calculated by traversing each point in the depth map based on the u and v coordinates.

[0049] SDF loss L sdf The calculation formula is:

[0050]

[0051] Where ||·||2 represents L2 loss, O sdf The SDF values ​​obtained in step (6-b) are x, y, and z, which represent O, y, and z, respectively. sdf The three-dimensional coordinates in the spatial coordinate system. This indicates traversing O based on three-dimensional coordinates. sdf Calculate the L2 loss for each point and sum them.

[0052] 3D detection loss L 3D The detection loss L in the LIGA 3D detector det Imitation loss L im and 2D loss L 2d composition:

[0053] L 3D =λ det L det +λ im L im +λ 2d L 2d

[0054] Where λ det , λ im , λ 2d It is a non-negative real number.

[0055] (9) Train the model and detect 3D targets in monocular images:

[0056] The detection model constructed in step (7) is trained using the dataset obtained in step (1). The loss value is obtained according to the loss function constructed in step (8), and the parameters in the detection model are updated using stochastic gradient descent until the loss value no longer decreases, thus obtaining the trained detection model. The acquired monocular image is input into the trained detection model, and the detection result is output.

[0057] In step (4-b), ω is preferably 6, θ is preferably 0.3, and D is preferably 72.

[0058] In step (8) λ dis , λ height , λ rgb , λ depth , λ sdf , λ 3D , λ smoothL1 , λ SSIM , λ det , λ im , λ 2d 1 is preferred.

[0059] Compared with the prior art, the present invention has the following advantages:

[0060] (1) The height and depth information fusion module proposed in this invention fuses the height map and depth map through projection transformation and Gaussian distribution representation, which can obtain a more effective and robust depth distribution, thereby generating more stable 3D features and effectively improving detection performance.

[0061] (2) The feature enhancement module based on neural radiation field proposed in this invention guides the network to optimize 3D features by performing volume rendering on color image and depth image, and generates density map for 3D detection, thereby improving the stability of 3D detection results. Attached Figure Description

[0062] Figure 1 A flowchart of a monocular 3D target detection method based on depth and height information fusion and neural radiation field rendering according to an embodiment of the present invention;

[0063] Figure 2 Structure diagram of the depth and height information fusion module according to an embodiment of the present invention;

[0064] Figure 3 Structural diagram of the neural radiation field feature enhancement module according to an embodiment of the present invention;

[0065] Figure 4 A comparison chart of the detection results of the embodiments of the present invention with those of other methods. Detailed Implementation

[0066] The specific embodiments of the present invention are described below:

[0067] Example 1

[0068] Figure 1 The diagram shows the overall flowchart of a monocular 3D target detection method based on depth and height information fusion and neural radiation field rendering according to an embodiment of the present invention. The specific steps are as follows:

[0069] Step 1, Obtain the dataset and detection labels:

[0070] Obtain the public dataset for monocular 3D object detection and its corresponding detection labels.

[0071] Step 2, Construct the feature extractor:

[0072] Including the ResNet34 network and the Image Pyramid Module (FPN), the original input image I is processed by the ResNet34 network to obtain the 2D feature map F. image ; F image The input is fed into the FPN to obtain the feature map F. FPN .

[0073] Step 3: Extract HS features and obtain a height map:

[0074] The original image I is converted to HSV format and separated into three channel images H, S, and V. H and S are concatenated and then input into a 2D convolutional module C1 to obtain the HS feature F. HS ; F HS With F FPN After being stitched together, the data is input into the 2D convolution module C2 to obtain the height map M. h C1 consists of a 3×3 2D convolutional layer; C2 consists of a 1×1 2D convolutional layer.

[0075] Step 4: Construct a deep and high-level information fusion module; Figure 2 The diagram shown is a structural diagram of the depth and height information fusion module in the overall model of the embodiment of the present invention. The specific construction process includes the following steps:

[0076] (4-a) Transform the height map M h Convert to depth map M dh :

[0077]

[0078] Where v represents the vertical axis of the pixel coordinate system, M h (v) is the v coordinate in the height map; f v and c v These are camera parameters, and f v It is the camera's vertical focal length, c v It is the main point of the camera.

[0079] (4-b) Integrating height and depth information: F FPN The initial depth distribution D is obtained after the input is fed into the 2D convolution module C3 and then subjected to a softmax operation. depth C3 consists of a 1×1 2D convolutional layer; take D depth The depth map M is constructed by constructing the depth category corresponding to the maximum depth distribution probability of each pixel. d Construct a standard depth distribution D valueAnd according to M d M dh Construct depth distributions respectively Finally, the fusion depth distribution D is obtained. HD :

[0080]

[0081] Where ω is a non-negative real number, representing the Gaussian variance adjustment factor; θ is a real number, representing the weighting factor, and θ∈[0,1]; the standard depth distribution D value The construction method is as follows: First, construct the size and D depth Same feature map Where H 2d W 2d Let represent the height and width of the feature map, respectively, whose values ​​are determined by the size of the original image I. Let D represent the depth of the feature map, and D = 72; then along D... value The depth categories d are sequentially filled along the depth direction to obtain the final D. value , where d is an integer and d∈[0,D); depth distribution The construction method is as follows: First, construct two dimensions with D depth The same feature maps are denoted as follows: Then fill M along the depth direction D respectively. d M dh Depth category C at the corresponding location d C dh To obtain the final Where C d C dh C is a non-negative integer, and C d ∈[0,D), C dh ∈[0,D).

[0082] Step 5, extract illumination-adaptive features:

[0083] V and M h After splicing, then with D HD Multiplication yields the illumination-adaptive feature F. IA :

[0084]

[0085] in This indicates a splicing operation. This indicates a multiplication operation.

[0086] Step 6: Construct a neural radiation field feature enhancement module; Figure 3 The diagram shown is a structural diagram of the neural radiation field feature enhancement module in the overall model of the embodiment of the present invention. The specific construction process includes the following steps:

[0087] (6-a) D HD With 2D feature map F image Multiplication yields the visual cone feature F frustum , will F frustum The input is fed into the 3D convolution module T1 to obtain the 3D feature F. 3d With SDF feature F sdf T1 consists of three 3×3 3D convolutional layers and one softplus activation layer.

[0088] (6-b) F 3d The input is fed into the 3D convolutional module T2 to obtain the RGB features F. rgb ; F rgb The input is fed into the 3D convolution module T3 to obtain the density feature F. density splicing F density F IA and F sdf The stitched result is input into the 3D convolution module T4 to obtain the SDF value O. sdf ; For O sdf Perform a Laplace transform to obtain the density map O. density ; respectively for F rgb With O density Using volume rendering operations, a color rendering image M is obtained. rc With depth rendering map M rd T2 consists of a 3×3 3D convolutional layer and a sigmoid activation layer; T3 consists of three 3×3 3D convolutional layers and a softplus activation layer; and T4 consists of a 3×3 3D convolutional layer.

[0089] Step 7, Construct the 3D detection module:

[0090] F respectively 3d O density Converted to voxel V 3d V density Finally, the 3D feature V is obtained. final :

[0091]

[0092] Where tanh(·) is the hyperbolic tangent function; V final The data is input into the 3D detection head to achieve 3D detection and complete the construction of the detection model.

[0093] Step 8, construct the loss function:

[0094] The loss function consists of six parts: depth distribution loss L dis High loss L height RGB loss L rgbDepth loss L depth SDF loss L sdf and 3D detection loss L 3D The formula for calculating the total loss is:

[0095] L=λ dis L dis +λ height L height +λ rgb L rgb +λ depth L depth +λ sdf L sdf +λ 3D L 3D

[0096] Where λ dis =λ height =λ rgb =λ depth =λ sdf =λ LIGA =1.

[0097] Depth distribution loss L dis The calculation formula is:

[0098]

[0099] Where FL(·) represents the focus loss, and D depth The initial depth distribution obtained in step (4-b) This represents the true value of the depth distribution.

[0100] High loss L height Including smoothed L1 loss L smoothL1 and SSIM loss L SSIM The calculation formula is as follows: (Two parts)

[0101] L height =λ smoothL1 L smoothL1 +λ SSIM L SSIM

[0102] Where λ smoothL1 =λ SSIM =1.

[0103] RGB loss L rgb To smooth the L1 loss, the calculation formula is as follows:

[0104] L rgb =L smoothL1

[0105] Depth loss L depth The calculation formula is:

[0106]

[0107] Where N represents the effective number of pixels in the LiDAR. Z represents the ground truth value of the depth map, U and V represent the horizontal and vertical coordinates in the depth map coordinate system, respectively, and ||·||1 represents the L1 loss. This represents the L1 loss calculated by traversing each point in the depth map based on the u and v coordinates.

[0108] SDF loss L sdf The calculation formula is:

[0109]

[0110] Where ||·||2 represents L2 loss, O sdf The SDF values ​​obtained in step (6-b) are x, y, and z, which represent O, y, and z, respectively. sdf The three-dimensional coordinates in the spatial coordinate system. This indicates traversing O based on three-dimensional coordinates. sdf Calculate the L2 loss for each point and sum them.

[0111] 3D detection loss L 3D The detection loss L in the LIGA 3D detector det Imitation loss L im and 2D loss L 2d composition:

[0112] L 3D =λ det L det +λ im L im +λ 2d L 2d

[0113] Where λ det =λ im =λ 2d =1.

[0114] Step 9: Train the model and detect 3D targets in monocular images:

[0115] The detection model constructed in step 7 is trained using the dataset obtained in step 1. The loss value is obtained according to the loss function constructed in step 8. During the training process, the AdamW algorithm is used to update the model parameters. The number of iterations is 60. The initial learning rate of the backbone is 0.001, and the initial learning rate of the rest is 0.0001, until the loss no longer decreases, and the trained detection model is obtained. The acquired monocular image is input into the trained detection model, and the detection result is output.

[0116] Example 2

[0117] Monocular 3D object detection experiments were conducted using the method described in Example 1, with data sourced from the KITTI public dataset. This example used Ubuntu 18.04 as the operating system and was implemented using the PyTorch 1.8.1 framework based on CUDA 11.1. Training and testing were conducted on a server equipped with an Intel(R) Xeon(R) Platinum 8255C CPU (2.50GHz) and an NVIDIA GeForce RTX 2080 Ti (11GB) processor.

[0118] This embodiment uses 3D detection accuracy (AP) 3D ) and BEV detection accuracy (AP) BEV Using this as an evaluation metric, we detect car categories, categorizing detection difficulty into easy, moderate, and hard, and compare it with methods such as CaDDN, GUPNet, and MonoRCNN++.

[0119] The comparison results are shown in Table 1. It can be found that the 3D detection results of cars in monocular images using the present invention are more accurate than the detection results of other methods.

[0120] Figure 4 The diagram shows a comparison of the detection results of the embodiment of the present invention with those of other methods. The white ellipses in the diagram represent differences in the detection results. As shown in scene (a), for truncated cars, the method of the present invention outperforms CaDDN in detection performance; for distant cars, the method of the present invention outperforms GUPNet and MonoRCNN++ in detection performance. For distant and reflective cars in scene (b), the method of the present invention achieves better detection results compared to all other methods. For cars with indistinct features and in shadow in scene (c), other methods cannot accurately detect all targets, while the method of the present invention shows a significant advantage. For multiple occluded and reflective cars in scene (d), CaDDN obtains a large number of inaccurate targets, GUPNet and MonoRCNN++ cannot accurately detect all cars, while the method of the present invention has the lowest false detection rate and outperforms other methods in detection results.

[0121] The above-described embodiments are merely preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Therefore, any changes made in accordance with the structure and principles of the present invention should be covered within the protection scope of the present invention.

[0122] Table 1

[0123]

Claims

1. A monocular 3D target detection method based on depth and height information fusion and neural radiation field rendering, characterized in that... Includes the following steps: (1) Obtaining the dataset and detection labels: Obtain the public dataset for monocular 3D object detection and its corresponding detection labels; (2) Constructing a feature extractor: Including the ResNet34 network and the Image Pyramid Module (FPN), the original input image I is processed by the ResNet34 network to obtain the 2D feature map F. image ; F image The input is fed into the FPN to obtain the feature map F. FPN ; (3) Extract HS features and obtain height map: The original image I is converted to HSV format and separated into three channel images H, S, and V. H and S are concatenated and then input into a 2D convolutional module C1 to obtain the HS feature F. HS ; F HS With F FPN After being stitched together, the data is input into the 2D convolution module C2 to obtain the height map M. h ; (4) Construct a deep and high-level information fusion module, which includes the following steps: (4-a) Transform the height map M h Convert to depth map M dh : Where v represents the vertical axis of the pixel coordinate system, M h (v) is the v coordinate in the height map; f v and c v These are camera parameters, and f v It is the camera's vertical focal length, c v It is the main point of the camera; (4-b) Integrating height and depth information: F FPN The initial depth distribution D is obtained after the input is fed into the 2D convolution module C3 and then subjected to a softmax operation. depth Take D depth The depth map M is constructed by constructing the depth category corresponding to the maximum depth distribution probability of each pixel. d Construct a standard depth distribution D value And according to M d M dh Construct depth distributions respectively Finally, the fusion depth distribution D is obtained. HD : Where ω is a non-negative real number, representing the Gaussian variance adjustment factor; θ is a real number, representing the weighting factor, and θ∈[0,1]; (5) Extract illumination-adaptive features: V and M h After splicing, then with D HD Multiplication yields the illumination-adaptive feature F. IA : in This indicates a splicing operation. Indicates the multiplication operation; (6) Construct a neural radiation field feature enhancement module: (6-a) D HD With 2D feature map F image Multiplication yields the frustum feature F frustum , will F frustum The input is fed into the 3D convolution module T1 to obtain the 3D feature F. 3d With SDF feature F sdf ; (6-b) F 3d The input is fed into the 3D convolutional module T2 to obtain the RGB features F. rgb ; F rgb The input is fed into the 3D convolution module T3 to obtain the density feature F. density splicing F density F IA and F sdf The stitched result is input into the 3D convolution module T4 to obtain the SDF value O. sdf ; For O sdf Perform a Laplace transform to obtain the density map O. density ; respectively for F rgb With O density Using volume rendering operations, a color rendering image M is obtained. rc With depth rendering map M rd ; (7) Construct a 3D detection module: F respectively 3d O density Converted to voxel V 3d V density Finally, the 3D feature V is obtained. final : Where tanh(·) is the hyperbolic tangent function; V final The data is input into the 3D detection head to achieve 3D detection and complete the construction of the detection model; (8) Construct the loss function: The loss function consists of six parts: depth distribution loss L dis High loss L height RGB loss L rgb Depth loss L depth SDF loss L sdf and 3D detection loss L 3D The formula for calculating the total loss is: L=λ dis L dis +λ height L height +λ rgb L rgb +λ depth L depth +λ sdf L sdf +λ 3D L 3D Where λ dis , λ height , λ rgb , λ depth , λ sdf , λ 3D It is a non-negative real number; Depth distribution loss L dis The calculation formula is: Where FL(·) represents the focus loss, and D depth The initial depth distribution obtained in step (4-b) The true value of the depth distribution; High loss L height Including smoothed L1 loss L smoothL1 and SSIM loss L SSIM The calculation formula is as follows: (Two parts) L height =λ smoothL1 L smoothL1 +λ SSIM L SSIM Where λ smoothL1 , λ SSIM It is a non-negative real number; RGB loss L rgb To smooth the L1 loss, the calculation formula is as follows: L rgb L smoothL1 Depth loss L depth The calculation formula is: Where N represents the effective number of pixels of the LiDAR. Z represents the ground truth value of the depth map, U and V represent the horizontal and vertical coordinates in the depth map coordinate system, respectively, and ||·||1 represents the L1 loss. This represents the L1 loss calculated by traversing each point in the depth map based on the u and v coordinates and then summing the results. SDF loss L sdf The calculation formula is: Where ||·||2 represents L2 loss, O sdf The SDF values ​​obtained in step (6-b) are x, y, and z, which represent O, y, and z, respectively. sdf The three-dimensional coordinates in the spatial coordinate system. This indicates traversing O based on three-dimensional coordinates. sdf The L2 loss of each point is summed; 3D detection loss L 3D The detection loss L in the LIGA 3D detector det Imitation loss L im and 2D loss L 2d composition: L 3D =λ det L det +λ im L im +λ 2d L 2d Where λ det , λ im , λ 2d It is a non-negative real number; (9) Train the model and detect 3D targets in monocular images: The detection model constructed in step (7) is trained using the dataset obtained in step (1). The loss value is obtained according to the loss function constructed in step (8), and the parameters in the detection model are updated using stochastic gradient descent until the loss value no longer decreases, thus obtaining the trained detection model. The acquired monocular image is input into the trained detection model, and the detection result is output.

2. The monocular 3D target detection method based on depth and height information fusion and neural radiation field rendering as described in claim 1, characterized in that, In step (4-b), the standard depth distribution D value The construction method is as follows: First, construct the dimensions and D. depth Same feature map Where H 2d and W 2d Let represent the height and width of the feature map, respectively, whose values ​​are determined by the size of the original image I. Let D represent the depth of the feature map, and D is a positive integer; then along D... value The depth categories d are sequentially filled along the depth direction to obtain the final D. value , where d is an integer and d∈[0,D).

3. The monocular 3D target detection method based on depth and height information fusion and neural radiation field rendering as described in claim 1, characterized in that, In step (4-b), the depth distribution D Md D Mdh The construction method is as follows: First, construct two dimensions with D. depth The same feature maps are denoted as follows: Where H 2d W 2d D represents the height, width, and depth of the feature map, respectively; then M is filled along the depth direction D. d M dh Depth category C at the corresponding location d C dh To obtain the final Where C d C dh C is a non-negative integer, and C d ∈[0,D), C dh ∈[0,D).

4. The monocular 3D target detection method based on depth and height information fusion and neural radiation field rendering as described in claim 1, characterized in that, The 2D convolutional module C1 in step (3) consists of a 3×3 2D convolutional layer; the 2D convolutional module C2 in step (3) and the 2D convolutional module C3 in step (4-b) consist of a 1×1 2D convolutional layer; the 3D convolutional module T1 in step (6-a) consists of three 3×3 3D convolutional layers and a softplus activation layer; the 3D convolutional module T2 in step (6-b) consists of a 3×3 3D convolutional layer and a sigmoid activation layer; the 3D convolutional module T3 in step (6-b) consists of three 3×3 3D convolutional layers and a softplus activation layer; the 3D convolutional module T4 in step (6-b) consists of a 3×3 3D convolutional layer.

Citation Information

Patent Citations

  • Monocular image 3D target detection method based on nerve body rendering

    CN116630953A

  • Roadside 3D target detection deep learning algorithm based on combination of camera and laser radar

    CN117058407A