Monocular 3D target detection method based on depth and height information fusion and neural radiation field rendering

Through depth and height information fusion and neural radiation field rendering technology, it solves the problems of depth estimation difficulty and 2D image feature stability in monocular 3D target detection, achieving more accurate and stable 3D detection results in autonomous driving scenarios.

CN118537532AActive Publication Date: 2024-08-23CENT SOUTH UNIV
View PDF 0 Cites 1 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing monocular 3D target detection methods have unstable detection performance due to the difficulty of depth estimation in autonomous driving scenarios, and it is difficult to directly obtain stable 3D features from 2D images, affecting detection accuracy.

Method used

A method based on depth and height information fusion and neural radiation field rendering is adopted to fuse depth and height information through projection transformation and Gaussian distribution representation, combined with HSV separation to obtain illumination adaptive features, and use the neural radiation field feature enhancement module for volume rendering to reduce depth Estimating dependencies and improving 3D detection accuracy and robustness.

Benefits of technology

It achieves stable 3D detection results in monocular detection, improves detection performance and robustness, improves the accuracy and stability of 3D object detection, and reduces the impact of uneven illumination on detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537532A
    Figure CN118537532A
Patent Text Reader

Abstract

The 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) acquiring a data set and a detection label; 2) constructing a feature extractor; 3) extracting HS features and obtaining a height map; 4) constructing a depth and height information fusion module; 5) extracting illumination adaptive features; 6) constructing a neural radiation field feature enhancement module; 7) constructing a 3D detection module; 8) constructing a loss function; and 9) training the model and detecting a 3D target. According to the monocular 3D target detection method designed by the invention, depth information and height information are fused to generate depth distribution through projection transformation and Gaussian distribution representation, the depth distribution is used for mapping 2D features into 3D features, then the 3D features are optimized by using a body rendering method based on a neural radiation field, stable features are provided for a 3D detection head in combination with an illumination adaptive method, and the detection accuracy is improved. And an accurate detection result is obtained. The method has the advantages of high precision and strong robustness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing and computer vision technology, and in particular to a monocular 3D target detection method based on depth and height information fusion and neural radiation field rendering. Background Art

[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 the images captured by a monocular camera, and realizes 3D detection of the target by predicting information such as size, position and direction. Since depth estimation is difficult in autonomous driving scenarios and it is difficult to directly obtain stable 3D features from 2D images, 3D detection is difficult. Current monocular 3D detection methods often rely on depth estimation, so their stability and accuracy are low. In summary, studying an accurate and robust monocular 3D object detection algorithm is of great significance for autonomous driving application scenarios. Summary of the invention

[0003] The main purpose of the embodiments of the present invention is to overcome the shortcomings and deficiencies of the 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 perceive the environment through a monocular camera during the monocular detection process and obtain stable detection results.

[0004] 1. Technical Principle

[0005] An important challenge in the field of monocular 3D target detection is to extract 3D information from 2D images that essentially lack depth information. Since 2D images lack depth information and in autonomous driving scenarios, it is difficult for monocular 3D target detection models to obtain accurate depth estimation results through 2D images, resulting in unstable detection performance of the model. The present invention uses projection transformation and Gaussian distribution representation to fuse depth maps and height maps, reduce the model's dependence on depth estimation accuracy, and thus improve the accuracy and robustness of monocular 3D object detection. At the same time, the present invention proposes a volume rendering strategy based on neural radiation fields, which extracts spatial information through color image rendering and guides the model to learn more accurate 3D information. In addition, in order to solve the impact of uneven illumination on detection results, the present 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 3D detection accuracy of the model.

[0006] 2. According to the above principle, the present invention is implemented by the following scheme:

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

[0008] (1) Obtaining datasets and detection labels:

[0009] Get the public dataset of monocular 3D object detection and the corresponding detection labels.

[0010] (2) Build a feature extractor:

[0011] Including ResNet34 network and image pyramid module FPN, input original image I passes through ResNet34 network to obtain 2D feature map F image ; F image Input to FPN to get feature map F FPN .

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

[0013] Convert the original image I into HSV format and separate it into three channel images H, S, and V; concatenate H and S and input them into the 2D convolution module C 1 , get HS feature F HS ; F HS With F FPN After splicing, it is input to the 2D convolution module C 2 , get the height map M h ; where C 1 It consists of a 3×3 2D convolutional layer; C 2 It consists of a 1×1 2D convolutional layer.

[0014] (4) Constructing a depth and height information fusion module, which specifically includes the following steps:

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

[0016]

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

[0018] (4-b) Fusion of height information and depth information: F FPN Input to 2D convolution module C 3 After the softmax operation, the initial depth distribution D is obtained depth , C 3 It consists of a 1×1 2D convolutional layer; take D depthThe depth map M is constructed by the depth category corresponding to the maximum depth distribution probability of each pixel in d ; Construct standard depth distribution D value , and according to M d 、M dh Construct depth distribution separately Finally, we get the fusion depth distribution D 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: first construct the size and D depth The same feature map Among them, H 2d and W 2d They represent the height and width of the feature map, respectively, and their values ​​are determined by the size of the original image I. D represents the depth of the feature map, and D is a positive integer. value The depth direction of the depth is filled with depth categories d in turn, and the final D value , where d is an integer and d∈[0,D).

[0022] Depth distribution The construction method is: first construct two dimensions and D depth The same feature map is denoted as Then fill M along the depth direction D d 、M dh Depth category C of the corresponding position d , C dh , and get the final Among them C d , C dh is a non-negative integer, and C d ∈[0,D), C dh ∈[0,D).

[0023] (5) Extracting illumination adaptive features:

[0024] V and M h After splicing, HD Multiply to get the illumination adaptive feature F IA :

[0025]

[0026] in Represents a splicing operation, Represents a multiplication operation.

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

[0028] (6-a) D HD With 2D feature map F image Multiply them to get the cone feature F frustum , F frustum Input to 3D convolution module T 1 , get the 3D feature F 3d With SDF characteristic F sdf , T 1 It consists of three 3×3 3D convolutional layers and a softplus activation layer.

[0029] (6-b) F 3d Input to 3D convolution module T 2 , get the RGB feature F rgb ; F rgb Input to 3D convolution module T 3 , and get the density feature F density ; Splice F density 、F IA and F sdf , input the concatenated result into the 3D convolution module T 4 , get the SDF value O sdf ; for O sdf Perform Laplace transform to get the density map O density ; respectively for F rgb With O density Use volume rendering to get the color rendering image M rc With the depth rendering map M rd ; where T 2 It consists of a 3×3 3D convolutional layer and a sigmoid activation layer. 3 It consists of three 3×3 3D convolutional layers and a softplus activation layer. 4 It consists of a 3×3 3D convolutional layer.

[0030] (7) Build 3D detection module:

[0031] F 3d , O density Convert to voxel V 3d 、V density , and finally get the 3D feature V final :

[0032]

[0033] Where tanh(·) is the hyperbolic tangent function; V finalInput to the 3D detection head to realize 3D detection and complete the construction of the detection model.

[0034] (8) Construct loss function:

[0035] The loss function consists of six parts: depth distribution loss L dis , height loss L height , RGB loss L rgb , depth loss L depth , SDF loss L sdf and 3D detection loss L 3D ; The total loss calculation formula 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 is a non-negative real number.

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

[0039]

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

[0041] Height loss L height Including smooth L1 loss L smoothL1 and SSIM loss L SSIM Two parts, the calculation formula is:

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

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

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

[0045] L rgb =L smoothL1

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

[0047]

[0048] Where N is the number of effective pixels of the LiDAR. represents the true value of the depth map, Z represents the predicted value of the depth map, u and v represent the horizontal and vertical coordinates in the depth map coordinate system, respectively, ||·|| 1 represents L1 loss, It means to traverse the L1 loss of each point in the depth map according to the u and v coordinates and sum them.

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

[0050]

[0051] Among them, ||·|| 2 represents L2 loss, O sdf is the SDF value obtained in step (6-b), x, y, z represent O sdf The three-dimensional coordinates in the spatial coordinate system, Indicates traversing O according to three-dimensional coordinates sdf The L2 loss of each point in is summed.

[0052] 3D detection loss L 3D The detection loss L in the 3D detector LIGA is 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 is a non-negative real number.

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

[0056] The detection model constructed in step (7) is trained using the data set obtained in step (1), a loss value is obtained according to the loss function constructed in step (8), and the parameters in the detection model are updated using the stochastic gradient descent method until the loss value no longer decreases, thereby obtaining a 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 the present invention fuses the height map and the depth map through projection transformation and Gaussian distribution representation, and can obtain a more effective and robust depth distribution, thereby generating a more stable 3D feature and effectively improving the detection performance.

[0061] (2) The feature enhancement module based on neural radiation field proposed in the present invention guides the network to optimize 3D features by volume rendering the color image and depth image, and generates a density map for 3D detection, thereby improving the stability of the 3D detection results. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 An overall flow chart of a monocular 3D target detection method based on depth and height information fusion and neural radiation field rendering in an embodiment of the present invention;

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

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

[0065] Figure 4 Comparison chart of the detection results of the embodiment of the present invention and the detection results of other methods. DETAILED DESCRIPTION

[0066] The specific implementation mode of the present invention is described below:

[0067] Example 1

[0068] Figure 1 The figure shows an overall flow chart of a monocular 3D target detection method based on depth, 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: Get the dataset and detection labels:

[0070] Get the public dataset of monocular 3D object detection and the corresponding detection labels.

[0071] Step 2: Build a feature extractor:

[0072] Including ResNet34 network and image pyramid module FPN, input original image I passes through ResNet34 network to obtain 2D feature map F image ; F image Input to FPN to get feature map F FPN .

[0073] Step 3, extract HS features and obtain height map:

[0074] Convert the original image I into HSV format and separate it into three channel images H, S, and V; concatenate H and S and input them into the 2D convolution module C 1 , get HS feature F HS ; F HS With F FPN After splicing, it is input to the 2D convolution module C 2 , get the height map M h ; where C 1 It consists of a 3×3 2D convolutional layer; C 2 It consists of a 1×1 2D convolutional layer.

[0075] Step 4: construct a depth and height information fusion module; Figure 2 The figure shows the structure 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) The height map M h Convert to depth map M dh :

[0077]

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

[0079] (4-b) Fusion of height information and depth information: F FPN Input to 2D convolution module C 3 After the softmax operation, the initial depth distribution D is obtained depth , C 3 It consists of a 1×1 2D convolutional layer; take D depth The depth map M is constructed by the depth category corresponding to the maximum depth distribution probability of each pixel in d ; Construct standard depth distribution D value , and according to M d 、M dh Construct depth distribution separately Finally, we get the fusion depth distribution D 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: first construct the size and D depth The same feature map Among them, H 2d , W 2d They represent the height and width of the feature map, respectively, and their values ​​are determined by the size of the original image I. D represents the depth of the feature map, and D = 72. Then along D value The depth direction of the depth is filled with depth categories d in turn, and the final D value , where d is an integer and d∈[0,D); depth distribution The construction method is: first construct two dimensions and D depth The same feature map is denoted as Then fill M along the depth direction D d 、M dh Depth category C of the corresponding position d , C dh , and get the final Among them C d , C dh 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 hAfter splicing, HD Multiply to get the illumination adaptive feature F IA :

[0084]

[0085] in Represents a splicing operation, Represents a multiplication operation.

[0086] Step 6, constructing a neural radiation field feature enhancement module; Figure 3 The figure shows the structure 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 Multiply them to get the cone feature F frustum , F frustum Input to 3D convolution module T 1 , get the 3D feature F 3d With SDF characteristic F sdf , T 1 It consists of three 3×3 3D convolutional layers and a softplus activation layer.

[0088] (6-b) F 3d Input to 3D convolution module T 2 , get the RGB feature F rgb ; F rgb Input to 3D convolution module T 3 , get the density feature F density ; Splice F density 、F IA and F sdf , input the splicing result into the 3D convolution module T 4 , get the SDF value O sdf ; for O sdf Perform Laplace transform to get the density map O density ; respectively for F rgb With O density Use volume rendering operation to get color rendering image M rc With the depth rendering map M rd ; where T 2 It consists of a 3×3 3D convolutional layer and a sigmoid activation layer. 3 It consists of three 3×3 3D convolutional layers and a softplus activation layer. 4 It consists of a 3×3 3D convolutional layer.

[0089] Step 7: Build the 3D detection module:

[0090] F 3d , O density Convert to voxel V 3d 、V density , and finally get the 3D feature V final :

[0091]

[0092] Where tanh(·) is the hyperbolic tangent function; V final Input to the 3D detection head to realize 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 , height loss L height , RGB loss L rgb , depth loss L depth , SDF loss L sdf and 3D detection loss L 3D ; The total loss calculation formula 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 focal loss, D depth is the initial depth distribution obtained in step (4-b), is the true value of the depth distribution.

[0100] Height loss L height Including smooth L1 loss LsmoothL1 and SSIM loss L SSIM Two parts, the calculation formula is:

[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:

[0104] L rgb =L smoothL1

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

[0106]

[0107] Where N is the number of effective pixels of the LiDAR. represents the true value of the depth map, Z represents the predicted value of the depth map, u and v represent the horizontal and vertical coordinates in the depth map coordinate system, respectively, ||·|| 1 represents L1 loss, It means to traverse the L1 loss of each point in the depth map according to the u and v coordinates and sum them.

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

[0109]

[0110] Among them, ||·|| 2 represents L2 loss, O sdf is the SDF value obtained in step (6-b), x, y, z represent O sdf The three-dimensional coordinates in the spatial coordinate system, Indicates traversing O according to three-dimensional coordinates sdf The L2 loss of each point in is summed.

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

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

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

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

[0115] The detection model constructed in step 7 is trained using the data set obtained in step 1. The loss value is obtained according to the loss function constructed in step 8. The AdamW algorithm is used to update the model parameters during the training process. The number of iterations is 60 times. The initial learning rate of the backbone is 0.001, and the initial learning rate of the remaining parts is 0.0001 until the loss no longer decreases. 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] The monocular 3D target detection experiment was carried out using the method in Example 1, and the data was from the KITTI public dataset. The operating system of this example is Ubuntu 18.04, and the PyTorch 1.8.1 framework based on CUDA 11.1 is implemented. The server equipped with Intel (R) Xeon (R) Platinum 8255C CPU (2.50Ghz) and NVIDIA GeForce RTX 2080 Ti (11GB) hardware is used for training and testing.

[0118] This embodiment uses 3D detection accuracy (AP 3D ) and BEV detection accuracy (AP BEV ) is used as the evaluation indicator to detect the car category. The detection difficulty is divided into easy, moderate and hard, and compared with CaDDN, GUPNet and MonoRCNN++ methods.

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

[0120] Figure 4Shown is a comparison diagram of the detection results of the implementation scheme of the present invention and the detection results of other methods, and the white ellipse marks in the figure represent the differences in the detection results. As shown in scene (a) in the figure, for the truncated car, the detection performance of the method of the present invention is better than that of CaDDN, and for the distant car, the detection performance of the method of the present invention is better than that of GUPNet and MonoRCNN++. For the distant and reflective cars in scene (b), the method of the present invention can obtain better detection results than all other methods. For the cars with unclear features and in the shadows in scene (c), other methods cannot accurately detect all targets, while the method of the present invention shows obvious advantages. For multiple obscured and reflective cars in scene (d), CaDDN obtained a large number of inaccurate targets, GUPNet and MonoRCNN++ could not accurately detect all cars, and the method of the present invention had the lowest false detection rate and the detection results were better than those of other methods.

[0121] The above-described embodiments are only preferred embodiments of the present invention and are not intended to limit the scope of implementation of the present invention. Therefore, all changes made based on the structure and principle of the present invention should be included in 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 The following steps are involved: (1) Obtaining datasets and detection labels: Obtain the public monocular 3D object detection dataset and the corresponding detection labels; (2) Build a feature extractor: Including ResNet34 network and image pyramid module FPN, input original image I passes through ResNet34 network to obtain 2D feature map F image ; F image Input to FPN to get feature map F FPN ; (3) Extract HS features and obtain height map: The original image I is converted into an HSV format image and separated into three channel images H, S, and V. H and S are concatenated and input into the 2D convolution module C1 to obtain the HS feature F. HS ; F HS With F FPN After splicing, it is input into the 2D convolution module C2 to obtain the height map M h ; (4) Constructing a depth and height information fusion module, which specifically includes the following steps: (4-a) The height map M h Convert to depth map M dh : Where v represents the vertical axis in the pixel coordinate system, M h (v) is the v coordinate in the height map; f v and c v are the camera parameters, and f v is the vertical focal length of the camera, c v is the camera's principal point; (4-b) Fusion of height information and depth information: F FPN After being input into the 2D convolution module C3, the initial depth distribution D is obtained through the softmax operation. depth ; Take D depth The depth map M is constructed by the depth category corresponding to the maximum depth distribution probability of each pixel in d ; Construct standard depth distribution D value , and according to M d 、M dh Construct depth distribution separately Finally, we get the fusion depth distribution D 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) Extracting illumination adaptive features: V and M h After splicing, HD Multiply to get the illumination adaptive feature F IA : in Represents a splicing operation, Represents a multiplication operation; (6) Constructing neural radiation field feature enhancement module: (6-a) D HD With 2D feature map F image Multiply them to get the cone feature F frustum , F frustum Input to the 3D convolution module T1 to obtain the 3D feature F 3d With SDF characteristic F sdf ; (6-b) F 3d Input to 3D convolution module T2 to obtain RGB feature F rgb ; F rgb Input to 3D convolution module T3 to obtain density feature F density ; Splice F density 、F IA and F sdf , input the splicing result into the 3D convolution module T4 to obtain the SDF value O sdf ; for O sdf Perform Laplace transform to get the density map O density ; respectively for F rgb With O density Use volume rendering operation to get color rendering image M rc With the depth rendering map M rd ; (7) Build 3D detection module: F 3d , O density Convert to voxel V 3d 、V density , and finally get the 3D feature V final : Where tanh(·) is the hyperbolic tangent function; V final Input to the 3D detection head to realize 3D detection and complete the construction of the detection model; (8) Construct loss function: The loss function consists of six parts: depth distribution loss L dis , height loss L height , RGB loss L rgb , depth loss L depth , SDF loss L sdf and 3D detection loss L 3D ; The total loss calculation formula 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 is a non-negative real number; Depth distribution loss L dis The calculation formula is: Where FL(·) represents the focal loss, D depth is the initial depth distribution obtained in step (4-b), is the true value of the depth distribution; Height loss L height Including smooth L1 loss L smoothL1 and SSIM loss L SSIM Two parts, the calculation formula is: L height =λ smoothL1 L smoothL1 +λ SSIM L SSIM where λ smoothL1 , SSIM is a non-negative real number; RGB Loss L rgb To smooth the L1 loss, the calculation formula is: L rgb =L smoothL1 Depth loss L depth The calculation formula is: Where N is the number of effective pixels of the LiDAR. represents the true value of the depth map, Z represents the predicted value of the depth map, u and v represent the horizontal coordinate and vertical coordinate in the depth map coordinate system, respectively, ||·||1 represents the L1 loss, It means to traverse the L1 loss of each point in the depth map according to the u and v coordinates and sum them up; SDF Loss L sdf The calculation formula is: Among them, ||·||2 represents L2 loss, O sdf is the SDF value obtained in step (6-b), x, y, z represent O sdf The three-dimensional coordinates in the spatial coordinate system, Indicates traversing O according to three-dimensional coordinates sdf The L2 loss of each point in and sum it up; 3D detection loss L 3D The detection loss L in the 3D detector LIGA is 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 is a non-negative real number; (9) Train the model and detect 3D objects in monocular images: The detection model constructed in step (7) is trained using the data set obtained in step (1), a loss value is obtained according to the loss function constructed in step (8), and the parameters in the detection model are updated using the stochastic gradient descent method until the loss value no longer decreases, thereby obtaining a trained detection model; the acquired monocular image is input into the trained detection model, and the detection result is output.

2. A monocular 3D target detection method based on depth, height information fusion and neural radiation field rendering as claimed in claim 1, characterized in that: The standard depth distribution D in step (4-b) value The construction method is: First construct the dimensions with D depth The same feature map Among them, H 2d and W 2d They represent the height and width of the feature map, respectively, and their values ​​are determined by the size of the original image I. D represents the depth of the feature map, and D is a positive integer. value The depth direction of the depth is filled with depth categories d in turn, and 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 according to claim 1, characterized in that: In the step (4-b), the depth distribution D Md , D Mdh The construction method is: First construct two dimensions with D depth The same feature map is denoted as Among them, H 2d , W 2d , D represent the height, width and depth of the feature map respectively; then fill M along the depth direction D d 、M dh Depth category C of the corresponding position d , C dh , and get the final Among them C d , C dh 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 according to claim 1, characterized in that: The 2D convolution module C1 in step (3) consists of a 3×3 2D convolution layer; the 2D convolution module C2 in step (3) and the 2D convolution module C3 in step (4-b) consist of a 1×1 2D convolution layer; the 3D convolution module T1 in step (6-a) consists of three 3×3 3D convolution layers and a softplus activation layer; the 3D convolution module T2 in step (6-b) consists of a 3×3 3D convolution layer and a sigmod activation layer; the 3D convolution module T3 in step (6-b) consists of three 3×3 3D convolution layers and a softplus activation layer; the 3D convolution module T4 in step (6-b) consists of a 3×3 3D convolution layer.

Citation Information

Cited By

  • Water surface target detection method based on semi-supervision

    CN119579874A