Unsupervised monocular depth estimation using fused multi-scale features

By fusing multi-scale features and dilated convolution, the accuracy problem in unsupervised monocular depth estimation is solved, improving the accuracy of depth estimation and the understanding of computer vision tasks.

CN115760944BActive Publication Date: 2026-11-24CHANGCHUN UNIV OF SCI & TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211514742.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-29
Publication Date
2026-11-24
Estimated Expiration
2042-11-29

AI Technical Summary

Technical Problem

Existing unsupervised monocular depth estimation methods are prone to accuracy problems in low-texture regions, such as feature loss, false textures, blurred edges, and depth crosstalk, resulting in inaccurate depth estimation information.

Method used

We employ a multi-scale feature fusion approach, expanding the receptive field of the convolutional kernel through dilated convolution, and combining encoder and decoder structures to extract feature information at different scales. We then use weighted photometric loss, edge perception loss, and geometric consistency loss to train the network and construct a backbone network structure to improve the ability to extract and understand feature information.

Benefits of technology

It improves the accuracy and universality of unsupervised monocular depth estimation, enhances the ability to understand complex scenes, and improves the accuracy of computer vision tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115760944B_ABST
    Figure CN115760944B_ABST
Patent Text Reader

Abstract

This invention belongs to the field of computer vision technology, specifically relating to an unsupervised monocular depth estimation method that integrates multi-scale features. It utilizes an encoder structure to extract feature information at different scales from a two-dimensional planar image. By fusing multi-scale features, it establishes cross-correlation relationships between information at different levels. The decoder structure then predicts the monocular depth estimation information using the contextual information of the multi-scale features. This invention aims to improve the accuracy problems of unsupervised monocular depth estimation, such as false textures, blurred edges, depth crosstalk, and loss of detail. To enhance the image feature extraction capability of the unsupervised monocular depth estimation method, dilated convolution is used to expand the receptive field of the convolution kernel for the two-dimensional planar image. By fusing contextual information, a close connection is established between feature information at different scales, effectively improving the feature extraction and understanding capabilities of deep neural networks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of computer vision technology, specifically relating to an unsupervised monocular depth estimation method that integrates multi-scale features. Background Technology

[0002] Computer vision uses camera imaging systems to simulate biological vision image responses, acquiring two-dimensional visual features and three-dimensional spatial information of a scene through offline input or real-time image acquisition. Because computer vision imaging systems map three-dimensional spatial information to two-dimensional planar images, the depth attributes of three-dimensional spatial information cannot be represented within the two-dimensional planar image. Therefore, the depth attributes of three-dimensional spatial information must be expressed using other indirect information. Computer vision's understanding of three-dimensional scenes and spatial relationships typically relies on depth information as a fundamental condition. Depth information directly reflects the geometric surface shape and three-dimensional structural features of a three-dimensional scene; that is, the accuracy of depth information directly affects the degree to which computer vision understands three-dimensional scenes and spatial relationships. For this reason, depth estimation technology is crucial for many fields such as 3D reconstruction, autonomous navigation, viewpoint rendering, human-computer interaction, facial recognition, and scene understanding. Monocular depth estimation, which infers depth information from a single image, has become an important research topic in the field of computer vision.

[0003] In recent years, computer vision tasks based on deep neural networks have made rapid progress and have demonstrated excellent performance in scientific fields such as image classification, object detection, semantic segmentation, pose estimation, speech-driven processing, and 3D reconstruction. Meanwhile, various network structures, including Convolutional Neural Networks (CNNs), Recurrent Neural Networks (RNNs), Variational Autoencoders (VAEs), and Generative Adversarial Networks (GANs), have been proven effective and robust for monocular depth estimation tasks. Based on the different data sources and benchmark data construction methods for the loss function term, monocular depth estimation is mainly divided into supervised monocular depth estimation methods, semi-supervised monocular depth estimation methods, and unsupervised monocular depth estimation methods. Supervised monocular depth estimation methods transform the depth estimation task into a regression prediction problem, using the loss difference between predicted depth information and true depth information to supervise neural network training. This means that supervised monocular depth estimation methods require a dataset with true depth information to train model parameters, which limits the adaptability and generalization ability of such depth estimation methods. Semi-supervised monocular depth estimation methods, on the other hand, use sparse or limited depth information to train model parameters. Although these methods are somewhat free from the strict constraints of true depth information, they still require true depth information that corresponds to two-dimensional planar images as training data.

[0004] Given the limitations of supervised and semi-supervised monocular depth estimation methods in dataset construction, unsupervised monocular depth estimation methods use the geometric constraints of stereo images or frame sequences as supervision. They establish a loss difference based on the texture structure predicted from the depth information and the original 2D planar image, allowing these methods to supervise model parameter training without relying on real depth information. While various unsupervised monocular depth estimation networks have achieved good results, they suffer from feature loss in small-scale, low-texture regions due to continuous convolution operations. This leads to accuracy issues such as false textures, blurred edges, depth crosstalk, and loss of detail in the depth estimation information. These problems become increasingly pronounced as the depth of the feature information downsampling structure increases. Summary of the Invention

[0005] The purpose of this invention is to provide an unsupervised monocular depth estimation method that integrates multi-scale features, aiming to improve the accuracy problems of unsupervised monocular depth estimation, such as false textures, blurred edges, depth crosstalk, and loss of details. To enhance the image feature extraction capability of unsupervised monocular depth estimation methods, this invention uses dilated convolution to expand the receptive field of the convolution kernel for two-dimensional planar images. By fusing contextual information, it establishes a close connection between feature information at different scales, effectively improving the feature extraction and understanding capabilities of deep neural networks.

[0006] In order to make unsupervised monocular depth estimation better adaptable to computer vision tasks, it is inevitable to improve the accuracy and generalizability of monocular depth estimation, so as to help computer vision tasks better understand the scene space.

[0007] This invention provides an unsupervised monocular depth estimation method that integrates multi-scale features. It utilizes an encoder structure to extract feature information at different scales from a two-dimensional planar image, and establishes cross-correlation relationships between information at different levels by integrating multi-scale features. The decoder structure can better predict monocular depth estimation information by leveraging the contextual information of the multi-scale features.

[0008] For unsupervised monocular depth estimation methods that integrate multi-scale features, the network model training process uses a standard unsupervised depth estimation dataset. The loss function used to measure the model parameter tuning effect combines weighted photometric loss, edge-aware loss, and geometric consistency loss, and the Adam optimizer is used for gradient descent optimization of the network model parameters. The positive effects of this invention are mainly reflected in the parameter construction process of the network model. The specific implementation steps of its backbone network structure are as follows:

[0009] Step S1: Use a nonlinear two-dimensional interpolation algorithm to scale the original two-dimensional planar image to generate a monocular input image Pc for the depth estimation network model, so that the monocular input image Pc has 3 feature channels and a feature resolution of (64×IRs)×(64×IRs).

[0010] Step S2: Use a 7×7 convolution kernel with a stride of 2 to extract features from the monocular input image Pc. Then, perform batch normalization, ReLU activation, and max pooling sequentially to obtain high-resolution features F0, and make the number of feature channels of high-resolution features F0 CHs and the feature resolution (32×IRs)×(32×IRs).

[0011] Step S3: Use a 3×3 convolution kernel with a stride of 2 to extract features from the high-resolution feature F0, thereby obtaining the high-resolution feature F1, and make the feature channel number of the high-resolution feature F1 CHs, and the feature resolution (16×IRs)×(16×IRs).

[0012] Step S4: Use a 3×3 convolution kernel with a stride of 2 to extract features from the high-resolution feature F1, thereby obtaining the medium-resolution feature F2, and make the number of feature channels of the medium-resolution feature F2 2×CHs, and the feature resolution (8×IRs)×(8×IRs).

[0013] Step S5: Use a 3×3 convolution kernel with a stride of 2 to extract features from the medium-resolution feature F2, thereby obtaining the medium-resolution feature F3, and making the number of feature channels of the medium-resolution feature F3 4×CHs and the feature resolution (4×IRs)×(4×IRs).

[0014] Step S6: Use a 3×3 convolution kernel with a stride of 2 to extract features from the medium-resolution feature F3, thereby obtaining the low-resolution feature F4, and making the feature channel number of the low-resolution feature F4 8×CHs and the feature resolution (2×IRs)×(2×IRs).

[0015] Step S7: Use a 3×3 convolution kernel with a stride of 2 to extract features from low-resolution feature F4, thereby obtaining low-resolution feature F5, and making the feature channel number of low-resolution feature F5 16×CHs and the feature resolution IRs×IRs.

[0016] Step S8: Pass the low-resolution feature F5 to the multi-scale feature information fusion module MSFF to obtain the low-resolution fused feature U0, and make the feature channel number of the low-resolution fused feature U0 16×CHs and the feature resolution IRs×IRs.

[0017] Step S9: Pass the high-resolution feature F0 to the convolutional attention module CBAM to obtain the high-resolution attention feature A0, and make the feature channel number of the high-resolution attention feature A0 CHs and the feature resolution (32×IRs)×(32×IRs).

[0018] Step S10: Pass the high-resolution feature F1 to the convolutional attention module CBAM to obtain the high-resolution attention feature A1, and make the feature channel number of the high-resolution attention feature A1 CHs and the feature resolution (16×IRs)×(16×IRs).

[0019] Step S11: Pass the medium-resolution feature F2 to the convolutional attention module CBAM to obtain the medium-resolution attention feature A2, and make the number of feature channels of the medium-resolution attention feature A2 2×CHs ​​and the feature resolution (8×IRs)×(8×IRs).

[0020] Step S12: Pass the medium-resolution feature F3 to the convolutional attention module CBAM to obtain the medium-resolution attention feature A3, and make the number of feature channels of the medium-resolution attention feature A3 4×CHs and the feature resolution (4×IRs)×(4×IRs).

[0021] Step S13: Pass the low-resolution feature F4 to the convolutional attention module CBAM to obtain the low-resolution attention feature A4, and make the feature channel number of the low-resolution attention feature A4 8×CHs and the feature resolution (2×IRs)×(2×IRs).

[0022] Step S14: Pass the low-resolution feature F5 to the convolutional attention module CBAM to obtain the low-resolution attention feature A5, and make the feature channel number of the low-resolution attention feature A5 16×CHs and the feature resolution IRs×IRs.

[0023] Step S15: Connect the low-resolution fusion feature U0 and the low-resolution attention feature A5 into a low-resolution combined feature G0 using channel splicing, so that the number of feature channels of the low-resolution combined feature G0 is 32×CHs ​​and the feature resolution is IRs×IRs. Then, deconvolve the low-resolution combined feature G0 with a 3×3 convolution kernel with a stride of 2 to obtain the low-resolution fusion feature U1. The number of feature channels of the low-resolution fusion feature U1 is 8×CHs and the feature resolution is (2×IRs)×(2×IRs).

[0024] Step S16: Connect the low-resolution fusion feature U1 and the low-resolution attention feature A4 into a low-resolution combined feature G1 using channel splicing, so that the number of feature channels of the low-resolution combined feature G1 is 16×CHs and the feature resolution is (2×IRs)×(2×IRs). Then, deconvolve the low-resolution combined feature G1 with a 3×3 convolution kernel with a stride of 2 to obtain the medium-resolution fusion feature U2, and the number of feature channels of the medium-resolution fusion feature U2 is 4×CHs and the feature resolution is (4×IRs)×(4×IRs).

[0025] Step S17: Connect the medium-resolution fusion feature U2 and the medium-resolution attention feature A3 into a medium-resolution combined feature G2 using channel splicing, so that the number of feature channels of the medium-resolution combined feature G2 is 8×CHs and the feature resolution is (4×IRs)×(4×IRs). Then, deconvolve the medium-resolution combined feature G2 with a 3×3 convolution kernel with a stride of 2 to obtain the medium-resolution fusion feature U3, and the number of feature channels of the medium-resolution fusion feature U3 is 2×CHs ​​and the feature resolution is (8×IRs)×(8×IRs).

[0026] Step S18: Connect the medium-resolution fusion feature U3 and the medium-resolution attention feature A2 to form a medium-resolution combined feature G3 using channel splicing, so that the number of feature channels of the medium-resolution combined feature G3 is 4×CHs and the feature resolution is (8×IRs)×(8×IRs). Then, deconvolve the medium-resolution combined feature G3 with a 3×3 convolution kernel with a stride of 2 to obtain a high-resolution fusion feature U4, and the number of feature channels of the high-resolution fusion feature U4 is CHs and the feature resolution is (16×IRs)×(16×IRs).

[0027] Step S19: Connect the high-resolution fusion feature U4 and the high-resolution attention feature A1 into a high-resolution combined feature G4 using channel splicing, so that the number of feature channels of the high-resolution combined feature G4 is 2×CHs ​​and the feature resolution is (16×IRs)×(16×IRs). Then, deconvolve the high-resolution combined feature G4 with a 3×3 convolution kernel with a stride of 2 to obtain the high-resolution fusion feature U5, and the number of feature channels of the high-resolution fusion feature U5 is CHs and the feature resolution is (32×IRs)×(32×IRs).

[0028] Step S20: Connect the high-resolution fusion feature U5 and the high-resolution attention feature A0 into a high-resolution combined feature G5 using channel splicing, so that the number of feature channels of the high-resolution combined feature G5 is 2×CHs ​​and the feature resolution is (32×IRs)×(32×IRs). Then, deconvolve the high-resolution combined feature G5 using a 7×7 convolution kernel with a stride of 2 to obtain the monocular depth estimation image Pd corresponding to the monocular input image Pc. The number of feature channels of the monocular depth estimation image Pd is 3 and the feature resolution is (64×IRs)×(64×IRs).

[0029] Based on the specific processes of steps S1 to S20, the backbone network structure of the method of this invention can be constructed. For the backbone network structure of unsupervised monocular depth estimation, its specific construction process incorporates a multi-scale feature information fusion module (MSFF), where: low-resolution feature F5 is the input feature information of the MSFF, and low-resolution fused feature U0 is the output feature information of the MSFF. The specific implementation steps of the network structure of the MSFF are as follows:

[0030] Step PM1: Use a 1×1 dilated convolution kernel with an expansion rate of 1 to extract features from the module input feature Ms. Then, perform batch normalization and ELU function activation sequentially to obtain the undilated feature H0. The undilated feature H0 has the same number of feature channels and feature resolution as the module input feature Ms.

[0031] Step PM2: Use a 3×3 dilated convolution kernel with an expansion rate of 6 to extract features from the undilated feature H0. Then, perform batch normalization and ELU function activation sequentially to obtain the small-scale dilated feature H1. The small-scale dilated feature H1 has the same number of feature channels and feature resolution as the module input feature Ms.

[0032] Step PM3: Use a 3×3 dilated convolution kernel with an dilation rate of 12 to extract features from the small-scale dilated feature H1. Then, perform batch normalization and ELU function activation sequentially to obtain the medium-scale dilated feature H2. The medium-scale dilated feature H2 has the same number of feature channels and feature resolution as the module input feature Ms.

[0033] Step PM4: Use a 3×3 dilated convolution kernel with an dilation rate of 18 to extract features from the mesoscale dilated feature H2. Then, perform batch normalization and ELU function activation sequentially to obtain the large-scale dilated feature H3. The large-scale dilated feature H3 has the same number of feature channels and feature resolution as the module input feature Ms.

[0034] Step PM5: Use average pooling to extract features from the module input feature Ms, thereby obtaining average pooling feature H4, and average pooling feature H4 has the same number of feature channels and feature resolution as module input feature Ms;

[0035] Step PM6: Connect the unexpanded feature H0, small-scale expanded feature H1, medium-scale expanded feature H2, large-scale expanded feature H3, and average pooling feature H4 into a multi-scale combined feature MGF using channel splicing. The number of feature channels of the multi-scale combined feature MGF is equal to 5 times the number of feature channels of the module input feature Ms. The feature resolution of the multi-scale combined feature MGF is the same as the feature resolution of the module input feature Ms.

[0036] Step PM7: Use a 1×1 convolution kernel to adjust the feature channels of the multi-scale combined feature MGF to obtain the module fusion feature Mf, and the module fusion feature Mf has the same number of feature channels and feature resolution as the module input feature Ms.

[0037] Based on the specific processes of steps PM1 to PM7, the network structure of the multi-scale feature information fusion module MSFF in the method of this invention can be constructed.

[0038] By following the steps above, the backbone network structure of the unsupervised monocular depth estimation method can be constructed. The network structure parameter model is then loaded into the backbone network structure instance, thereby achieving end-to-end monocular depth estimation of the original color image.

[0039] The beneficial effects of this invention are:

[0040] This invention provides an unsupervised monocular depth estimation method that integrates multi-scale features. This method achieves unsupervised monocular depth estimation of complex scenes by integrating multi-scale feature information, which improves the prediction accuracy of monocular depth estimation information to a certain extent. At the same time, this method makes full use of the receptive field expansion property of dilated convolution and enhances the monocular depth estimation network's understanding of global information of two-dimensional planar images by combining multi-scale features, thereby improving the accuracy of computer vision tasks in understanding complex scenes.

[0041] Of course, any product implementing this invention does not necessarily need to achieve all of the above advantages at the same time. Attached Figure Description

[0042] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0043] Figure 1 A schematic diagram of the backbone network structure for an unsupervised monocular depth estimation method that integrates multi-scale features;

[0044] Wherein: CBAM represents a convolutional attention module that combines channel attention and spatial attention; MSFF represents a multi-scale feature information fusion module;

[0045] Figure 2 This is a schematic diagram of the multi-scale feature information fusion module.

[0046] Where: Conv represents convolution operation, BN represents batch normalization operation, ELU represents exponential linear unit activation function, Pooling represents pooling operation, and Concat represents channel concatenation operation. Detailed Implementation

[0047] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0048] For unsupervised monocular depth estimation methods that integrate multi-scale features, the network model training process uses a standard unsupervised depth estimation dataset. The loss function used to measure the model parameter tuning effect combines weighted photometric loss, edge-aware loss, and geometric consistency loss, and the Adam optimizer is used for gradient descent optimization of the network model parameters. The positive effects of this invention are mainly reflected in the parameter construction process of the network model. The specific implementation steps of its backbone network structure are as follows:

[0049] Step S1: Use a nonlinear two-dimensional interpolation algorithm to scale the original two-dimensional planar image to generate a monocular input image Pc for the depth estimation network model, so that the monocular input image Pc has 3 feature channels and a feature resolution of 1024×1024.

[0050] Step S2: Use a 7×7 convolution kernel with a stride of 2 to extract features from the monocular input image Pc. Then, perform batch normalization, ReLU activation, and max pooling sequentially to obtain high-resolution feature F0, and make the feature channel number of high-resolution feature F0 32 and the feature resolution 512×512.

[0051] Step S3: Use a 3×3 convolution kernel with a stride of 2 to extract features from the high-resolution feature F0, thereby obtaining the high-resolution feature F1, and making the feature channel number of the high-resolution feature F1 32 and the feature resolution 256×256.

[0052] Step S4: Use a 3×3 convolution kernel with a stride of 2 to extract features from the high-resolution feature F1, thereby obtaining the medium-resolution feature F2, and making the number of feature channels of the medium-resolution feature F2 64 and the feature resolution 128×128.

[0053] Step S5: Use a 3×3 convolution kernel with a stride of 2 to extract features from the medium resolution feature F2, thereby obtaining the medium resolution feature F3, and making the number of feature channels of the medium resolution feature F3 128 and the feature resolution 64×64.

[0054] Step S6: Use a 3×3 convolution kernel with a stride of 2 to extract features from the medium-resolution feature F3, thereby obtaining the low-resolution feature F4, and making the feature channel number of the low-resolution feature F4 256 and the feature resolution 32×32.

[0055] Step S7: Use a 3×3 convolution kernel with a stride of 2 to extract features from low-resolution feature F4, thereby obtaining low-resolution feature F5, and making the feature channel number of low-resolution feature F5 512 and the feature resolution 16×16.

[0056] Step S8: Pass the low-resolution feature F5 to the multi-scale feature information fusion module MSFF to obtain the low-resolution fused feature U0, and make the feature channel number of the low-resolution fused feature U0 512 and the feature resolution 16×16.

[0057] Step S9: Pass the high-resolution feature F0 to the convolutional attention module CBAM to obtain the high-resolution attention feature A0, and make the feature channel number of the high-resolution attention feature A0 32 and the feature resolution 512×512.

[0058] Step S10: Pass the high-resolution feature F1 to the convolutional attention module CBAM to obtain the high-resolution attention feature A1, and make the feature channel number of the high-resolution attention feature A1 32 and the feature resolution 256×256.

[0059] Step S11: Pass the medium resolution feature F2 to the convolutional attention module CBAM to obtain the medium resolution attention feature A2, and make the number of feature channels of the medium resolution attention feature A2 64 and the feature resolution 128×128.

[0060] Step S12: Pass the medium resolution feature F3 to the convolutional attention module CBAM to obtain the medium resolution attention feature A3, and make the number of feature channels of the medium resolution attention feature A3 128 and the feature resolution 64×64.

[0061] Step S13: Pass the low-resolution feature F4 to the convolutional attention module CBAM to obtain the low-resolution attention feature A4, and make the feature channel number of the low-resolution attention feature A4 256 and the feature resolution 32×32.

[0062] Step S14: Pass the low-resolution feature F5 to the convolutional attention module CBAM to obtain the low-resolution attention feature A5, and make the feature channel number of the low-resolution attention feature A5 512 and the feature resolution 16×16.

[0063] Step S15: Connect the low-resolution fusion feature U0 and the low-resolution attention feature A5 into a low-resolution combined feature G0 using channel splicing, so that the low-resolution combined feature G0 has 1024 feature channels and a feature resolution of 16×16. Then, deconvolve the low-resolution combined feature G0 using a 3×3 convolution kernel with a stride of 2 to obtain the low-resolution fusion feature U1, and the low-resolution fusion feature U1 has 256 feature channels and a feature resolution of 32×32.

[0064] Step S16: Connect the low-resolution fusion feature U1 and the low-resolution attention feature A4 into a low-resolution combined feature G1 by channel splicing, so that the low-resolution combined feature G1 has 512 feature channels and a feature resolution of 32×32. Then, deconvolve the low-resolution combined feature G1 with a 3×3 convolution kernel with a stride of 2 to obtain the medium-resolution fusion feature U2, and the medium-resolution fusion feature U2 has 128 feature channels and a feature resolution of 64×64.

[0065] Step S17: Connect the medium-resolution fusion feature U2 and the medium-resolution attention feature A3 into a medium-resolution combined feature G2 using channel splicing, so that the number of feature channels of the medium-resolution combined feature G2 is 256 and the feature resolution is 64×64. Then, deconvolve the medium-resolution combined feature G2 using a 3×3 convolution kernel with a stride of 2 to obtain the medium-resolution fusion feature U3, and the number of feature channels of the medium-resolution fusion feature U3 is 64 and the feature resolution is 128×128.

[0066] Step S18: Connect the medium-resolution fusion feature U3 and the medium-resolution attention feature A2 to form a medium-resolution combined feature G3 using channel splicing, so that the number of feature channels of the medium-resolution combined feature G3 is 128 and the feature resolution is 128×128. Then, deconvolve the medium-resolution combined feature G3 with a 3×3 convolution kernel with a stride of 2 to obtain the high-resolution fusion feature U4. The number of feature channels of the high-resolution fusion feature U4 is 32 and the feature resolution is 256×256.

[0067] Step S19: Connect the high-resolution fusion feature U4 and the high-resolution attention feature A1 into a high-resolution combined feature G4 using channel splicing, so that the high-resolution combined feature G4 has 64 feature channels and a feature resolution of 256×256. Then, deconvolve the high-resolution combined feature G4 with a 3×3 convolution kernel with a stride of 2 to obtain the high-resolution fusion feature U5, and the high-resolution fusion feature U5 has 32 feature channels and a feature resolution of 512×512.

[0068] Step S20: Connect the high-resolution fusion feature U5 and the high-resolution attention feature A0 into a high-resolution combined feature G5 using channel splicing, so that the high-resolution combined feature G5 has 64 feature channels and a feature resolution of 512×512. Then, deconvolve the high-resolution combined feature G5 using a 7×7 convolution kernel with a stride of 2 to obtain the monocular depth estimation image Pd corresponding to the monocular input image Pc. The monocular depth estimation image Pd has 3 feature channels and a feature resolution of 1024×1024.

[0069] Based on the specific processes of steps S1 to S20, the backbone network structure of the method of this invention can be constructed. For the backbone network structure of unsupervised monocular depth estimation, its specific construction process incorporates a multi-scale feature information fusion module (MSFF), where: low-resolution feature F5 is the input feature information of the MSFF, and low-resolution fused feature U0 is the output feature information of the MSFF. The specific implementation steps of the network structure of the MSFF are as follows:

[0070] Step PM1: Use a 1×1 dilated convolution kernel with an expansion rate of 1 to extract features from the module input feature Ms. Then, perform batch normalization and ELU function activation sequentially to obtain the undilated feature H0. The undilated feature H0 has the same number of feature channels and feature resolution as the module input feature Ms.

[0071] Step PM2: Use a 3×3 dilated convolution kernel with an expansion rate of 6 to extract features from the undilated feature H0. Then, perform batch normalization and ELU function activation sequentially to obtain the small-scale dilated feature H1. The small-scale dilated feature H1 has the same number of feature channels and feature resolution as the module input feature Ms.

[0072] Step PM3: Use a 3×3 dilated convolution kernel with an dilation rate of 12 to extract features from the small-scale dilated feature H1. Then, perform batch normalization and ELU function activation sequentially to obtain the medium-scale dilated feature H2. The medium-scale dilated feature H2 has the same number of feature channels and feature resolution as the module input feature Ms.

[0073] Step PM4: Use a 3×3 dilated convolution kernel with an dilation rate of 18 to extract features from the mesoscale dilated feature H2. Then, perform batch normalization and ELU function activation sequentially to obtain the large-scale dilated feature H3. The large-scale dilated feature H3 has the same number of feature channels and feature resolution as the module input feature Ms.

[0074] Step PM5: Use average pooling to extract features from the module input feature Ms, thereby obtaining average pooling feature H4, and average pooling feature H4 has the same number of feature channels and feature resolution as module input feature Ms;

[0075] Step PM6: Connect the unexpanded feature H0, small-scale expanded feature H1, medium-scale expanded feature H2, large-scale expanded feature H3, and average pooling feature H4 into a multi-scale combined feature MGF using channel splicing. The number of feature channels of the multi-scale combined feature MGF is equal to 5 times the number of feature channels of the module input feature Ms. The feature resolution of the multi-scale combined feature MGF is the same as the feature resolution of the module input feature Ms.

[0076] Step PM7: Use a 1×1 convolution kernel to adjust the feature channels of the multi-scale combined feature MGF to obtain the module fusion feature Mf, and the module fusion feature Mf has the same number of feature channels and feature resolution as the module input feature Ms.

[0077] Based on the specific processes of steps PM1 to PM7, the network structure of the multi-scale feature information fusion module MSFF in the method of this invention can be constructed. By constructing the backbone network structure of the unsupervised monocular depth estimation method of this invention, and loading the network structure parameter model into the backbone network structure instance, end-to-end monocular depth estimation of the original color image can be achieved.

[0078] The preferred embodiments of the present invention disclosed above are merely illustrative of the invention. These preferred embodiments do not exhaustively describe all details, nor do they limit the invention to specific implementations. Clearly, many modifications and variations can be made based on the content of this specification. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the invention, thereby enabling those skilled in the art to better understand and utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims

1. An unsupervised monocular depth estimation method integrating multi-scale features, characterized in that, The encoder structure extracts feature information at different scales from two-dimensional planar images. By fusing multi-scale features, the cross-correlation relationship between information at different levels is established. The decoder structure can predict monocular depth estimation information with the help of the context information of multi-scale features. The parameters of the network model were constructed using a standard unsupervised depth estimation dataset. The loss function used to measure the effect of model parameter tuning combined weighted photometric loss, edge-aware loss, and geometric consistency loss. The network model parameters were optimized by gradient descent using the Adam optimizer. Specifically, a 7×7 convolution kernel with a stride of 2 is used to extract features from the monocular input image Pc, and then batch normalization, ReLU activation, and max pooling are performed sequentially to obtain high-resolution features F0. Four downsampling operations were performed sequentially using a 3×3 convolution kernel with a stride of 2 to obtain high-resolution features F1, medium-resolution features F2, F3, and low-resolution features F4, F5. The number of channels was increased by multiplying by CHs, 2×CHs, 4×CHs, 8×CHs, and 16×CHs. High-resolution features F0, F1, medium-resolution features F2, F3, and low-resolution features F4, F5 are passed to the convolutional attention module CBAM to obtain the corresponding attention features A0-A5. The low-resolution feature F5 is passed to the multi-scale feature information fusion module MSFF. Inside MSFF, features are extracted sequentially using 1×1 dilated convolution with a dilation rate of 1, 3×3 dilated convolution with a dilation rate of 6, 3×3 dilated convolution with a dilation rate of 12, and 3×3 dilated convolution with a dilation rate of 18. The features are then activated by ELU, concatenated with average pooling features by channel, and finally reduced in dimensionality by 1×1 convolution to output the low-resolution fused feature U0. U0 and A5 are concatenated using channel stitching to form a low-resolution combined feature G0. G0 is then deconvolved using a 3×3 convolution kernel with a stride of 2 to obtain U1. U1 is then concatenated with A4 and deconvolved to obtain U2. This process is repeated until U5 is concatenated with A0 and deconvolved using a 7×7 convolution kernel with a stride of 2 to obtain the monocular depth estimation image Pd.

2. The unsupervised monocular depth estimation method fusing multi-scale features according to claim 1, characterized in that, The specific implementation steps of the backbone network structure during the parameter construction process of the network model are as follows: Step S1: Use a nonlinear two-dimensional interpolation algorithm to scale the original two-dimensional planar image to generate a monocular input image Pc for the depth estimation network model, so that the monocular input image Pc has 3 feature channels and a feature resolution of (64×IRs)×(64×IRs). Step S2, and make the number of feature channels of high-resolution feature F0 CHs, and the feature resolution (32×IRs)×(32×IRs); Step S3: Use a 3×3 convolution kernel with a stride of 2 to extract features from the high-resolution feature F0, thereby obtaining the high-resolution feature F1, and make the feature channel number of the high-resolution feature F1 CHs, and the feature resolution (16×IRs)×(16×IRs). Step S4: Use a 3×3 convolution kernel with a stride of 2 to extract features from the high-resolution feature F1, thereby obtaining the medium-resolution feature F2, and make the number of feature channels of the medium-resolution feature F2 2×CHs, and the feature resolution (8×IRs)×(8×IRs). Step S5: Use a 3×3 convolution kernel with a stride of 2 to extract features from the medium-resolution feature F2, thereby obtaining the medium-resolution feature F3, and making the number of feature channels of the medium-resolution feature F3 4×CHs and the feature resolution (4×IRs)×(4×IRs). Step S6: Use a 3×3 convolution kernel with a stride of 2 to extract features from the medium-resolution feature F3, thereby obtaining the low-resolution feature F4, and making the feature channel number of the low-resolution feature F4 8×CHs and the feature resolution (2×IRs)×(2×IRs). Step S7: Use a 3×3 convolution kernel with a stride of 2 to extract features from low-resolution feature F4, thereby obtaining low-resolution feature F5, and making the feature channel number of low-resolution feature F5 16×CHs and the feature resolution IRs×IRs. Step S8: Pass the low-resolution feature F5 to the multi-scale feature information fusion module MSFF to obtain the low-resolution fused feature U0, and make the feature channel number of the low-resolution fused feature U0 16×CHs and the feature resolution IRs×IRs. Step S9: Pass the high-resolution feature F0 to the convolutional attention module CBAM to obtain the high-resolution attention feature A0, and make the feature channel number of the high-resolution attention feature A0 CHs and the feature resolution (32×IRs)×(32×IRs). Step S10: Pass the high-resolution feature F1 to the convolutional attention module CBAM to obtain the high-resolution attention feature A1, and make the feature channel number of the high-resolution attention feature A1 CHs and the feature resolution (16×IRs)×(16×IRs). Step S11: Pass the medium-resolution feature F2 to the convolutional attention module CBAM to obtain the medium-resolution attention feature A2, and make the number of feature channels of the medium-resolution attention feature A2 2×CHs ​​and the feature resolution (8×IRs)×(8×IRs). Step S12: Pass the medium-resolution feature F3 to the convolutional attention module CBAM to obtain the medium-resolution attention feature A3, and make the number of feature channels of the medium-resolution attention feature A3 4×CHs and the feature resolution (4×IRs)×(4×IRs). Step S13: Pass the low-resolution feature F4 to the convolutional attention module CBAM to obtain the low-resolution attention feature A4, and make the feature channel number of the low-resolution attention feature A4 8×CHs and the feature resolution (2×IRs)×(2×IRs). Step S14: Pass the low-resolution feature F5 to the convolutional attention module CBAM to obtain the low-resolution attention feature A5, and make the feature channel number of the low-resolution attention feature A5 16×CHs and the feature resolution IRs×IRs. Step S15: Connect the low-resolution fusion feature U0 and the low-resolution attention feature A5 into a low-resolution combined feature G0 using channel splicing, so that the number of feature channels of the low-resolution combined feature G0 is 32×CHs ​​and the feature resolution is IRs×IRs. Then, deconvolve the low-resolution combined feature G0 with a 3×3 convolution kernel with a stride of 2 to obtain the low-resolution fusion feature U1. The number of feature channels of the low-resolution fusion feature U1 is 8×CHs and the feature resolution is (2×IRs)×(2×IRs). Step S16: Connect the low-resolution fusion feature U1 and the low-resolution attention feature A4 into a low-resolution combined feature G1 using channel splicing, so that the number of feature channels of the low-resolution combined feature G1 is 16×CHs and the feature resolution is (2×IRs)×(2×IRs). Then, deconvolve the low-resolution combined feature G1 with a 3×3 convolution kernel with a stride of 2 to obtain the medium-resolution fusion feature U2, and the number of feature channels of the medium-resolution fusion feature U2 is 4×CHs and the feature resolution is (4×IRs)×(4×IRs). Step S17: Connect the medium-resolution fusion feature U2 and the medium-resolution attention feature A3 into a medium-resolution combined feature G2 using channel splicing, so that the number of feature channels of the medium-resolution combined feature G2 is 8×CHs and the feature resolution is (4×IRs)×(4×IRs). Then, deconvolve the medium-resolution combined feature G2 with a 3×3 convolution kernel with a stride of 2 to obtain the medium-resolution fusion feature U3, and the number of feature channels of the medium-resolution fusion feature U3 is 2×CHs ​​and the feature resolution is (8×IRs)×(8×IRs). Step S18: Connect the medium-resolution fusion feature U3 and the medium-resolution attention feature A2 to form a medium-resolution combined feature G3 using channel splicing, so that the number of feature channels of the medium-resolution combined feature G3 is 4×CHs and the feature resolution is (8×IRs)×(8×IRs). Then, deconvolve the medium-resolution combined feature G3 with a 3×3 convolution kernel with a stride of 2 to obtain a high-resolution fusion feature U4, and the number of feature channels of the high-resolution fusion feature U4 is CHs and the feature resolution is (16×IRs)×(16×IRs). Step S19: Connect the high-resolution fusion feature U4 and the high-resolution attention feature A1 into a high-resolution combined feature G4 using channel splicing, so that the number of feature channels of the high-resolution combined feature G4 is 2×CHs ​​and the feature resolution is (16×IRs)×(16×IRs). Then, deconvolve the high-resolution combined feature G4 with a 3×3 convolution kernel with a stride of 2 to obtain the high-resolution fusion feature U5, and the number of feature channels of the high-resolution fusion feature U5 is CHs and the feature resolution is (32×IRs)×(32×IRs). Step S20: Connect the high-resolution fusion feature U5 and the high-resolution attention feature A0 into a high-resolution combined feature G5 using channel splicing, so that the number of feature channels of the high-resolution combined feature G5 is 2×CHs ​​and the feature resolution is (32×IRs)×(32×IRs). Then, deconvolve the high-resolution combined feature G5 using a 7×7 convolution kernel with a stride of 2 to obtain the monocular depth estimation image Pd corresponding to the monocular input image Pc. The number of feature channels of the monocular depth estimation image Pd is 3 and the feature resolution is (64×IRs)×(64×IRs).

3. The unsupervised monocular depth estimation method fusing multi-scale features according to claim 2, characterized in that: Low-resolution feature F5 is the input feature information of the multi-scale feature information fusion module MSFF, and low-resolution fusion feature U0 is the output feature information of the multi-scale feature information fusion module MSFF.

4. The unsupervised monocular depth estimation method fusing multi-scale features according to claim 3, characterized in that, The specific implementation steps of the network structure of the multi-scale feature information fusion module MSFF are as follows: Step PM1: Use a 1×1 dilated convolution kernel with an expansion rate of 1 to extract features from the module input feature Ms. Then, perform batch normalization and ELU function activation sequentially to obtain the undilated feature H0. The undilated feature H0 has the same number of feature channels and feature resolution as the module input feature Ms. Step PM2: Use a 3×3 dilated convolution kernel with an expansion rate of 6 to extract features from the undilated feature H0. Then, perform batch normalization and ELU function activation sequentially to obtain the small-scale dilated feature H1. The small-scale dilated feature H1 has the same number of feature channels and feature resolution as the module input feature Ms. Step PM3: Use a 3×3 dilated convolution kernel with an dilation rate of 12 to extract features from the small-scale dilated feature H1. Then, perform batch normalization and ELU function activation sequentially to obtain the medium-scale dilated feature H2. The medium-scale dilated feature H2 has the same number of feature channels and feature resolution as the module input feature Ms. Step PM4: Use a 3×3 dilated convolution kernel with an dilation rate of 18 to extract features from the mesoscale dilated feature H2. Then, perform batch normalization and ELU function activation sequentially to obtain the large-scale dilated feature H3. The large-scale dilated feature H3 has the same number of feature channels and feature resolution as the module input feature Ms. Step PM5: Use average pooling to extract features from the module input feature Ms, thereby obtaining average pooling feature H4, and average pooling feature H4 has the same number of feature channels and feature resolution as module input feature Ms; Step PM6: Connect the unexpanded feature H0, small-scale expanded feature H1, medium-scale expanded feature H2, large-scale expanded feature H3, and average pooling feature H4 into a multi-scale combined feature MGF using channel splicing. The number of feature channels of the multi-scale combined feature MGF is equal to 5 times the number of feature channels of the module input feature Ms. The feature resolution of the multi-scale combined feature MGF is the same as the feature resolution of the module input feature Ms. Step PM7: Use a 1×1 convolution kernel to adjust the feature channels of the multi-scale combined feature MGF to obtain the module fusion feature Mf, and the module fusion feature Mf has the same number of feature channels and feature resolution as the module input feature Ms.

5. The unsupervised monocular depth estimation method fusing multi-scale features according to claim 4, characterized in that: After the backbone network is constructed, the network structure parameter model is loaded into the backbone network to achieve end-to-end monocular depth estimation of the original color image.

6. The unsupervised monocular depth estimation method fusing multi-scale features according to claim 5, characterized in that: CBAM represents a convolutional attention module that combines channel attention and spatial attention, and MSFF represents a multi-scale feature information fusion module.

7. The unsupervised monocular depth estimation method fusing multi-scale features according to claim 6, characterized in that: The ELU function specifically represents the exponential linear unit activation function.

Citation Information

Patent Citations

  • Monocular depth estimation method based on deep learning

    CN110738697A

  • Unsupervised monocular view depth estimation method based on multi-scale unification

    CN111325782A

  • Monocular unsupervised depth estimation method based on CBAM

    CN112950697A

  • Brain tumor MR image segmentation method

    CN114519719A