A method and system for underwater image 3D reconstruction based on deep learning

By acquiring underwater target position data, identifying motion features, and performing multi-view compensation and depth fusion, the problem of image blur and insufficient viewing angles in 3D reconstruction of underwater images is solved, and high-precision 3D model reconstruction is achieved.

CN118644640BActive Publication Date: 2024-10-29BEIJING SHENZHOU PUHUI TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411093922.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-10-29
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

Existing underwater image 3D reconstruction methods suffer from serious image blur when dealing with factors such as underwater light attenuation and water flow, and usually can only obtain target images from a single perspective, resulting in low comprehensiveness and accuracy of the 3D model.

Method used

By obtaining target underwater position data, we perform single-view preliminary shooting and image blur analysis, identify target motion, perform multi-view shooting compensation and depth estimation, and combine with deep learning networks to perform image coincidence and depth fusion to generate high-precision three-dimensional point clouds. Data and models.

Benefits of technology

It improves the comprehensiveness and accuracy of underwater image reconstruction, generates detailed and realistic three-dimensional models, and overcomes the problems of image blur and insufficient viewing angles in traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644640B_ABST
    Figure CN118644640B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of underwater imaging technology, and in particular to a method and system for three-dimensional reconstruction of underwater images based on deep learning. The method comprises the following steps: acquiring underwater position data of a target; performing single-view preliminary shooting according to the underwater position data of the target to obtain a preliminary shot image of the underwater target; performing image blur analysis on the preliminary shot image of the underwater target to generate single-view image blur data of the underwater target; performing target motion recognition on the single-view image blur data of the underwater target to generate target motion recognition data; performing target classification on the single-view shot image of a standard underwater target according to the target motion recognition data to generate first underwater target type data and second underwater target type data. The present invention improves the comprehensiveness and accuracy of three-dimensional image reconstruction by performing image blur compensation, multi-view shooting and precise depth estimation on underwater targets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of underwater imaging technology, and in particular to a method and system for three-dimensional reconstruction of underwater images based on deep learning. Background Art

[0002] The development history of the background technology of underwater image 3D reconstruction methods based on deep learning can be described as follows: With the advancement of underwater detection technology, traditional underwater image processing methods face challenges such as large underwater illumination changes, image blur, and lack of effective depth information. With the rise of deep learning technology, researchers began to explore the application of convolutional neural networks (CNN) to underwater image feature extraction and reconstruction tasks. By utilizing a large number of labeled data sets, such as underwater virtual data sets and limited field data, researchers first developed CNN-based underwater image enhancement algorithms to improve image clarity and contrast. With the introduction of technologies such as generative adversarial networks (GANs) and autoencoders, researchers began to explore how to reconstruct more accurate 3D structures from a single underwater image. These methods use deep neural networks to learn features from complex underwater optical and physical scenes, and through an end-to-end training process, they achieve the ability to accurately reconstruct object shape and depth information in underwater environments. However, current traditional methods are often affected by factors such as light attenuation and water flow when processing underwater images, resulting in image blur and motion blur. At the same time, underwater target images can usually only be acquired from a single perspective, resulting in the reconstructed three-dimensional model lacking comprehensiveness and accuracy, which in turn leads to low comprehensiveness and accuracy of target three-dimensional image reconstruction. Summary of the invention

[0003] Based on this, it is necessary to provide a deep learning-based underwater image three-dimensional reconstruction method and system to solve at least one of the above technical problems.

[0004] To achieve the above object, a method for 3D reconstruction of underwater images based on deep learning is provided, the method comprising the following steps:

[0005] Step S1: Acquire target underwater position data; perform single-view preliminary shooting according to the target underwater position data to obtain a preliminary shot image of the underwater target; perform image fuzziness analysis on the preliminary shot image of the underwater target to generate single-view image fuzziness data of the underwater target; perform target motion recognition on the single-view image fuzziness data of the underwater target to generate target motion recognition data;

[0006] Step S2: classifying the standard underwater target single-view image according to the target motion recognition data to generate first underwater target type data and second underwater target type data; performing multi-view shooting compensation on the standard underwater target single-view image based on the first underwater target type data and the second underwater target type data, thereby generating a standard underwater target multi-view shooting image;

[0007] Step S3: Overlap the standard underwater target multi-perspective images and the standard underwater target single-perspective images to generate a target perspective overlap image; perform depth estimation on the target perspective overlap image to generate an underwater target depth map; perform depth fusion and reconstruction on the target perspective overlap image and the underwater target depth map to generate a target underwater fusion depth map;

[0008] Step S4: convert the target underwater fusion depth map and the standard underwater target multi-view shooting image into three-dimensional point cloud to generate target underwater three-dimensional point cloud data; construct a three-dimensional model of the target underwater three-dimensional point cloud data to generate a target underwater three-dimensional preliminary model; render the target underwater three-dimensional preliminary model to generate a high-precision target three-dimensional underwater model to perform three-dimensional reconstruction of the underwater image.

[0009] The present invention obtains the underwater position data of the target, performs single-view preliminary shooting and image blur analysis, generates underwater target single-view image blur data and target motion recognition data, and these data provide a basis for subsequent depth estimation and multi-view shooting compensation. The target motion recognition data is used to classify the image, generate the first underwater target type data and the second underwater target type data, and perform multi-view shooting compensation, thereby enhancing the information content and accuracy of the underwater target image. The multi-view shooting image and the single-view shooting image of the standard underwater target are overlapped, and depth estimation and depth fusion reconstruction are performed to generate a high-quality target underwater fusion depth map. These steps improve the accuracy of depth information acquisition and image reconstruction in underwater scenes. By performing three-dimensional point cloud conversion and model construction on the target underwater fusion depth map and multi-view shooting images, the target underwater three-dimensional point cloud data and preliminary three-dimensional model are generated. Subsequently, the preliminary model is rendered to generate a high-precision target three-dimensional underwater model, which provides a detailed and realistic three-dimensional representation for the three-dimensional reconstruction of underwater images. Therefore, the present invention improves the comprehensiveness and accuracy of three-dimensional image reconstruction by performing image blur compensation, multi-view shooting and precise depth estimation on underwater targets.

[0010] Preferably, step S1 comprises the following steps:

[0011] Step S11: using GPS to obtain target underwater position data;

[0012] Step S12: performing a single-view preliminary shooting using an underwater camera array according to the underwater position data of the target to obtain a preliminary shot image of the underwater target;

[0013] Step S13: performing image preprocessing on the preliminary captured image of the underwater target to obtain a standard single-view captured image of the underwater target, wherein the image preprocessing includes image brightness enhancement, image geometric transformation, and image smoothing;

[0014] Step S14: performing image blur analysis on the single-view image of the standard underwater target to generate single-view image blur data of the underwater target; performing target motion recognition on the single-view image blur data of the underwater target to generate target motion recognition data.

[0015] The present invention can accurately and quickly obtain the underwater position data of the target by utilizing GPS technology, reduce positioning errors, and improve work efficiency. Through single-view shooting with an underwater camera array, preliminary underwater target images can be obtained in a complex underwater environment, providing basic data for subsequent processing. Brightness enhancement, geometric transformation, and smoothing in the image preprocessing process effectively improve the clarity and stability of the image, making subsequent analysis more accurate and reliable. Blur analysis of single-view images helps to evaluate image quality and identify blurred images caused by underwater environmental influences, thereby ensuring the accuracy of subsequent 3D reconstruction. Target motion recognition through fuzziness data can effectively distinguish the motion characteristics of the target, which is very important for tracking and identifying dynamic targets.

[0016] Preferably, step S2 comprises the following steps:

[0017] Step S21: performing target optical flow tracking on the single-view image of the standard underwater target according to the target motion recognition data to generate target optical flow tracking data;

[0018] Step S22: classifying the standard underwater target single-view image by using the target optical flow tracking data and the target motion recognition data to generate first underwater target type data and second underwater target type data; determining the target type of the standard underwater target single-view image, and when confirming that the standard underwater target single-view image is the first underwater target type data, still outputting the standard underwater target single-view image;

[0019] Step S23: When the target is confirmed to be the second underwater target type data, multi-perspective shooting compensation is performed on the standard underwater target single-perspective shooting image based on the underwater target single-perspective image fuzziness data, thereby generating a standard underwater target multi-perspective shooting image.

[0020] The present invention can more accurately capture the target's motion trajectory and improve the accuracy of image data by using target motion recognition data to track the target optical flow. Using target motion recognition data to track the target optical flow can more accurately capture the target's motion trajectory and improve the accuracy of image data. For the second underwater target type data, multi-perspective shooting compensation can effectively make up for the shortcomings of single-perspective shooting and obtain more comprehensive target image information, which is especially important for complex underwater environments because it can provide more perspective information and improve the quality of 3D reconstruction. In the process of confirming the target type, the shooting strategy can be dynamically adjusted. For the first underwater target type data, the standard single-perspective shooting image is directly output, which improves the processing efficiency; for the second underwater target type data, the image quality is further optimized through compensation shooting. The entire step S2 process makes the system more flexible and robust when processing different types of underwater targets, can adapt to the changing underwater environment, and provide high-quality image data support.

[0021] Preferably, target classification of the single-view image of the standard underwater target using the target optical flow tracking data and the target motion recognition data includes:

[0022] Screening adjacent frame images of a single-view image of a standard underwater target to obtain adjacent frame images;

[0023] Perform target position offset analysis on adjacent frame images through target optical flow tracking data to generate target position offset data;

[0024] Utilizing the target motion recognition data to perform target motion cycle analysis on the target position offset data, and generating target motion cycle analysis data; performing motion law exploration on the target motion cycle analysis data, and obtaining target motion law exploration data, wherein the target motion law exploration data includes target motion law data and target motion irregular data;

[0025] The single-perspective images of standard underwater targets are classified according to the object motion law exploration data. When the object motion law exploration data is target motion regularity data, first underwater target type data is generated; when the object motion law exploration data is target motion irregularity data, second underwater target type data is generated.

[0026] The present invention can quickly determine the relationship between adjacent frames in the target motion process by screening the image of the standard underwater target taken from a single perspective, effectively reduce the amount of data processing, and improve the processing speed. The target position offset analysis is performed on the adjacent frame images using the target optical flow tracking data to generate accurate target position offset data, which helps to accurately capture the displacement changes of the target in each frame image and improve the accuracy of motion analysis. The target motion cycle analysis is performed on the target position offset data using the target motion recognition data, which can identify the motion cycle characteristics of the target and generate detailed target motion cycle analysis data, providing a solid foundation for subsequent motion law exploration. The motion law exploration of the target motion cycle analysis data can identify the motion mode of the target, including regular motion and irregular motion, thereby generating target motion law exploration data. This process helps to deeply understand the motion behavior of the target and improve the accuracy of classification. The target classification of the standard underwater target single-perspective shot image according to the target motion law exploration data can effectively distinguish between targets with regular motion and targets with irregular motion. When the target motion law exploration data is target motion law data, the first underwater target type data is generated; when the target motion law exploration data is target motion irregular data, the second underwater target type data is generated. This classification process improves the accuracy and reliability of target recognition. By carefully analyzing and classifying the target motion, we can better understand the target's motion characteristics, optimize the subsequent image processing and analysis steps, and improve the overall processing quality.

[0027] Preferably, step S23 includes the following steps:

[0028] Step S231: when it is confirmed that the target is the second underwater target type data, target bounding box recognition is performed on the single-view image of the standard underwater target to obtain target bounding box data;

[0029] Step S232: segmenting the image core area of ​​the single-view image of the standard underwater target using the target bounding box data to generate a target core area image;

[0030] Step S233: sampling the grayscale value of the target core area image to obtain a one-dimensional signal sequence of the target core area image; performing Hilt transform effect calculation on the target core area image according to the one-dimensional signal sequence of the target core area image to obtain fuzziness data of the underwater target single-view image;

[0031] Step S234: performing multi-perspective shooting compensation on the standard underwater target single-perspective shooting image based on the underwater target single-perspective image blur data, thereby generating a standard underwater target multi-perspective shooting image.

[0032] The present invention can accurately determine the boundary position of the target and generate accurate target bounding box data by performing target bounding box recognition on the single-view image of the standard underwater target, thereby providing a reliable basis for subsequent processing. By using the target bounding box data to segment the core area of ​​the image, the core area image of the target can be effectively extracted, avoiding processing the entire image, and improving processing efficiency and accuracy. The grayscale value of the target core area image is sampled to obtain a one-dimensional signal sequence. This process can retain the key feature information of the target core area and provide accurate data support for fuzziness calculation. The Hilbite transform effect is calculated according to the one-dimensional signal sequence to obtain the fuzziness data of the single-view image of the underwater target. This process can effectively evaluate the degree of fuzziness of the image and provide an important reference for multi-view compensation. Multi-view shooting compensation is performed based on the fuzziness data. When the image is blurred, the clarity and detail expression of the image can be improved by increasing the viewing angle information, and the multi-view shooting image of the standard underwater target can be generated. Through multi-view shooting compensation, the blur problem of the single-view shooting image is effectively improved, the overall quality and availability of the image are improved, and clearer and more complete data support is provided for subsequent 3D reconstruction and analysis.

[0033] Preferably, step S234 includes the following steps:

[0034] Step S2341: Based on the fuzziness data of the underwater target single-view image, multi-view shooting and data collection are performed through the IMU device on the underwater camera array to obtain the initial target multi-view image and target inertial measurement data;

[0035] Step S2342: performing data preprocessing on the target inertial measurement data to obtain target displacement data and target attitude information data, wherein the data preprocessing includes denoising and integration;

[0036] Step S2343: Perform image space positioning compensation on the target displacement data, target attitude information data and the initial target multi-view image according to the visual inertial odometry technology to generate a standard underwater target multi-view image.

[0037] The present invention can obtain more comprehensive and diversified initial target multi-view images and target inertial measurement data by using the IMU device on the underwater camera array based on the fuzziness data of the single-view image of the underwater target, and enhance the richness and accuracy of the image information. Preprocessing the target inertial measurement data, including denoising and integration, can effectively reduce noise interference, obtain more accurate target displacement data and target attitude information data, and provide high-precision reference data for subsequent image space positioning compensation. Using visual inertial mileage technology, the target displacement data, target attitude information data and the initial target multi-view image are combined for image space positioning compensation, and the image position and attitude of each view can be accurately calculated to generate a standard underwater target multi-view shooting image. Through image space positioning compensation, the position deviation caused by camera movement and target motion in multi-view shooting can be effectively corrected, so that the generated standard multi-view shooting image is more consistent and accurate, and the error in the image reconstruction process is reduced. The combination of multi-view shooting and space positioning compensation can significantly improve the clarity and accuracy of the generated multi-view images, reduce image blur and distortion, and improve image quality.

[0038] Preferably, step S3 comprises the following steps:

[0039] Step S31: confirming target feature points of the multi-view image of the standard underwater target and the single-view image of the standard underwater target to obtain target feature point data of the multi-view image and the single-view image;

[0040] Step S32: Overlapping the standard underwater target multi-perspective image with the standard underwater target single-perspective image to generate a target perspective overlap image;

[0041] Step S33: performing feature point matching on the target perspective coincident image using the multi-perspective image target feature point data and the single-perspective image target feature point data to generate a target matching feature point set;

[0042] Step S34: Use a deep learning network to perform depth estimation on the target matching feature point set to generate an underwater target depth map; perform deep fusion reconstruction on the target perspective overlap image and the underwater target depth map to generate a target underwater fusion depth map.

[0043] The present invention confirms the target feature points of the multi-view and single-view images of the standard underwater target, and the target feature point data of the multi-view and single-view images are obtained, which provides accurate basic data for subsequent image overlap and feature point matching. The standard multi-view and single-view images are overlapped to generate a target perspective overlap image. This process can integrate multi-view information, provide more complete image information, and help subsequent feature point matching and depth estimation. Through feature point matching, the target feature point data of the multi-view and single-view images are used to match the target perspective overlap image, and a target matching feature point set is generated. This process can accurately locate the corresponding points of the target at different perspectives and improve the accuracy of depth estimation. The target matching feature point set is depth estimated using a deep learning network to generate an underwater target depth map. The deep learning network can be trained using large-scale data, has strong feature extraction and depth estimation capabilities, and improves the accuracy and robustness of depth estimation. The target perspective overlap image and underwater target depth map are deeply fused and reconstructed to generate the target underwater fusion depth map. This process combines multi-perspective and depth information, can provide more accurate and complete 3D structure information, and improve the quality of 3D reconstruction. By combining multi-perspective shooting and depth estimation, the effect and accuracy of 3D reconstruction can be significantly improved, and a more realistic and detailed underwater target 3D model can be generated, providing high-quality data support for subsequent analysis and application.

[0044] Preferably, step S34 includes the following steps:

[0045] Step S341: screening the target matching feature point set by feature point motion trajectory to obtain an image feature point trajectory set;

[0046] Step S342: constructing a depth estimation network; using the depth estimation network to predict pixel depth values ​​of the image feature point trajectory set to generate a preliminary depth map of the underwater target;

[0047] Step S343: using the target perspective overlapped image to perform multi-perspective depth map fusion on the underwater target preliminary depth map to generate a target underwater fused depth map.

[0048] The present invention screens the motion trajectory of the feature points of the target matching feature point set, and the obtained image feature point trajectory set can more accurately reflect the motion trajectory of the target under different perspectives, which helps to improve the accuracy of depth estimation. A depth estimation network is constructed, and the network is used to predict the pixel depth value of the image feature point trajectory set to generate a preliminary depth map of the underwater target. The depth estimation network can effectively use the feature point trajectory information to improve the accuracy of depth prediction. The depth estimation network is used to predict the pixel depth value of the feature point trajectory set to generate a preliminary depth map of the underwater target. The preliminary depth map provides preliminary depth information of the target, laying the foundation for subsequent multi-perspective fusion. The target perspective overlap image is used to fuse the multi-perspective depth map of the underwater target preliminary depth map to generate a target underwater fusion depth map. Multi-perspective fusion can integrate the depth information of each perspective, reduce the error of single-perspective depth estimation, and improve the accuracy and reliability of the depth map. Through the fusion of multi-perspective depth maps, the challenges brought by complex light conditions and target motion in the underwater environment can be better handled, and the generated target underwater fusion depth map has higher accuracy and clarity. The high-precision target underwater fusion depth map provides more accurate depth information for subsequent 3D reconstruction, significantly improves the effect and accuracy of 3D reconstruction, and generates a more realistic and detailed underwater target 3D model.

[0049] Preferably, step S4 comprises the following steps:

[0050] Step S41: converting the target underwater fusion depth map and the standard underwater target multi-viewing image into a three-dimensional point cloud to generate target underwater three-dimensional point cloud data;

[0051] Step S42: performing surface reconstruction on the target underwater three-dimensional point cloud data to generate target three-dimensional surface reconstruction data;

[0052] Step S43: performing texture mapping on the target three-dimensional surface reconstruction data to generate target three-dimensional texture mapping data;

[0053] Step S44: construct a three-dimensional model based on the target three-dimensional surface reconstruction data and the target three-dimensional texture mapping data to generate a target underwater three-dimensional preliminary model; render the target underwater three-dimensional preliminary model to generate a high-precision target three-dimensional underwater model to perform three-dimensional reconstruction of the underwater image.

[0054] The present invention converts the target underwater fusion depth map and the standard underwater target multi-view shooting image into a three-dimensional point cloud, and the generated target underwater three-dimensional point cloud data can accurately reflect the three-dimensional structure of the target, providing a reliable data basis for subsequent surface reconstruction. The target underwater three-dimensional point cloud data is surface reconstructed, and the generated target three-dimensional surface reconstruction data can accurately reproduce the surface details of the target, improving the accuracy and authenticity of the model. By texture mapping the target three-dimensional surface reconstruction data, the generated target three-dimensional texture mapping data can accurately map the detail information in the shooting image to the three-dimensional model surface, enhancing the visual effect and detail expression of the model. The three-dimensional model is constructed based on the target three-dimensional surface reconstruction data and the target three-dimensional texture mapping data, and the generated target underwater three-dimensional preliminary model can accurately reflect the three-dimensional structure and texture details of the target, providing a basis for the final high-precision model. The target underwater three-dimensional preliminary model is model rendered, and the generated high-precision target three-dimensional underwater model can accurately reproduce the three-dimensional morphology and texture details of the target, improving the visual effect and authenticity of the model. Through the entire process of step S4, the three-dimensional reconstruction effect of the underwater image can be significantly improved, and the generated high-precision three-dimensional model has higher accuracy and authenticity, providing high-quality three-dimensional data support for subsequent analysis and application.

[0055] In this specification, a deep learning-based underwater image 3D reconstruction system is provided, which is used to execute the above-mentioned deep learning-based underwater image 3D reconstruction method. The deep learning-based underwater image 3D reconstruction system includes:

[0056] The target recognition module is used to obtain the underwater position data of the target; perform single-view preliminary shooting according to the underwater position data of the target to obtain a preliminary shot image of the underwater target; perform image fuzziness analysis on the preliminary shot image of the underwater target to generate single-view image fuzziness data of the underwater target; perform target motion recognition on the single-view image fuzziness data of the underwater target to generate target motion recognition data;

[0057] A multi-view compensation module is used to classify the single-view image of the standard underwater target according to the target motion recognition data, and generate first underwater target type data and second underwater target type data; based on the first underwater target type data and the second underwater target type data, perform multi-view shooting compensation on the single-view image of the standard underwater target, so as to generate a multi-view shooting image of the standard underwater target;

[0058] The depth estimation module is used to overlap the standard underwater target multi-perspective images and the standard underwater target single-perspective images to generate a target perspective overlap image; perform depth estimation on the target perspective overlap image to generate an underwater target depth map; perform depth fusion and reconstruction on the target perspective overlap image and the underwater target depth map to generate a target underwater fusion depth map;

[0059] The 3D reconstruction module is used to convert the target underwater fusion depth map and the multi-view images of the standard underwater target into 3D point clouds to generate the target underwater 3D point cloud data; to construct a 3D model of the target underwater 3D point cloud data to generate a target underwater 3D preliminary model; to render the target underwater 3D preliminary model to generate a high-precision target 3D underwater model to perform 3D reconstruction of underwater images.

[0060] The beneficial effect of the present invention is that by obtaining the underwater position data of the target, and performing single-view preliminary shooting and image blur analysis, preliminary image data and clarity analysis can be provided, laying the foundation for subsequent processing. The target motion recognition data is used to classify the image, generate different underwater target type data, and perform multi-view shooting compensation, which can more comprehensively capture the details and motion characteristics of the target and improve the information richness and accuracy of the image. The multi-view shooting image of the standard underwater target and the single-view shooting image are overlapped, depth estimation and deep fusion reconstruction are performed, and a high-quality underwater target depth map is generated. These steps effectively improve the depth information acquisition and image quality of the image in the underwater scene. By performing three-dimensional point cloud conversion and model construction on the target underwater fusion depth map and multi-view shooting images, a high-precision target underwater three-dimensional model is generated, and model rendering is performed at the same time, which improves the accuracy and visual effect of the three-dimensional reconstruction operation. Therefore, the present invention improves the comprehensiveness and accuracy of three-dimensional image reconstruction by performing image blur compensation, multi-view shooting and accurate depth estimation on underwater targets. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 A schematic diagram of the steps of a method for 3D reconstruction of underwater images based on deep learning;

[0062] Figure 2 for Figure 1 Detailed implementation steps of step S2 in the flowchart;

[0063] Figure 3 for Figure 1 Detailed implementation steps of step S3 in FIG.

[0064] Figure 4 for Figure 1 Detailed implementation steps of step S4 in FIG.

[0065] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0066] The technical method of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.

[0067] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.

[0068] It should be understood that although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another. For example, without departing from the scope of the exemplary embodiments, a first unit may be referred to as a second unit, and similarly, a second unit may be referred to as a first unit, and the term "and / or" used herein includes any and all combinations of one or more of the listed associated items.

[0069] To achieve this, please refer to Figures 1 to 4 , a method for 3D reconstruction of underwater images based on deep learning, the method comprising the following steps:

[0070] Step S1: Acquire target underwater position data; perform single-view preliminary shooting according to the target underwater position data to obtain a preliminary shot image of the underwater target; perform image fuzziness analysis on the preliminary shot image of the underwater target to generate single-view image fuzziness data of the underwater target; perform target motion recognition on the single-view image fuzziness data of the underwater target to generate target motion recognition data;

[0071] Step S2: classifying the standard underwater target single-view image according to the target motion recognition data to generate first underwater target type data and second underwater target type data; performing multi-view shooting compensation on the standard underwater target single-view image based on the first underwater target type data and the second underwater target type data, thereby generating a standard underwater target multi-view shooting image;

[0072] Step S3: Overlap the standard underwater target multi-perspective images and the standard underwater target single-perspective images to generate a target perspective overlap image; perform depth estimation on the target perspective overlap image to generate an underwater target depth map; perform depth fusion and reconstruction on the target perspective overlap image and the underwater target depth map to generate a target underwater fusion depth map;

[0073] Step S4: convert the target underwater fusion depth map and the standard underwater target multi-view shooting image into three-dimensional point cloud to generate target underwater three-dimensional point cloud data; construct a three-dimensional model of the target underwater three-dimensional point cloud data to generate a target underwater three-dimensional preliminary model; render the target underwater three-dimensional preliminary model to generate a high-precision target three-dimensional underwater model to perform three-dimensional reconstruction of the underwater image.

[0074] The present invention obtains the underwater position data of the target, performs single-view preliminary shooting and image blur analysis, generates underwater target single-view image blur data and target motion recognition data, and these data provide a basis for subsequent depth estimation and multi-view shooting compensation. The target motion recognition data is used to classify the image, generate the first underwater target type data and the second underwater target type data, and perform multi-view shooting compensation, thereby enhancing the information content and accuracy of the underwater target image. The multi-view shooting image and the single-view shooting image of the standard underwater target are overlapped, and depth estimation and depth fusion reconstruction are performed to generate a high-quality target underwater fusion depth map. These steps improve the accuracy of depth information acquisition and image reconstruction in underwater scenes. By performing three-dimensional point cloud conversion and model construction on the target underwater fusion depth map and multi-view shooting images, the target underwater three-dimensional point cloud data and preliminary three-dimensional model are generated. Subsequently, the preliminary model is rendered to generate a high-precision target three-dimensional underwater model, which provides a detailed and realistic three-dimensional representation for the three-dimensional reconstruction of underwater images. Therefore, the present invention improves the comprehensiveness and accuracy of three-dimensional image reconstruction by performing image blur compensation, multi-view shooting and precise depth estimation on underwater targets.

[0075] In the embodiment of the present invention, reference Figure 1 The above is a schematic diagram of the steps of a method for 3D reconstruction of underwater images based on deep learning of the present invention. In this example, the method for 3D reconstruction of underwater images based on deep learning includes the following steps:

[0076] Step S1: Acquire target underwater position data; perform single-view preliminary shooting according to the target underwater position data to obtain a preliminary shot image of the underwater target; perform image fuzziness analysis on the preliminary shot image of the underwater target to generate single-view image fuzziness data of the underwater target; perform target motion recognition on the single-view image fuzziness data of the underwater target to generate target motion recognition data;

[0077] In an embodiment of the present invention, the precise coordinates of the underwater position of the target are determined by using a sonar positioning device or an underwater positioning system. The position data can be obtained by combining GPS with an underwater sensor, or can be collected by an underwater robot (ROV / AUV). Based on the acquired underwater position data of the target, an underwater camera device (such as an underwater camera, a camera carried by an ROV, etc.) is used to shoot the target from a single perspective. Ensure that the camera device remains stable during the shooting process, and minimize the jitter caused by water flow or other factors. After the shooting is completed, the captured underwater target image is obtained, and these images will be used as the basic data for subsequent processing. The captured image is analyzed for blurriness using an image processing algorithm. Laplacian transformation, edge detection and other technologies can be used to evaluate the blurriness of the image. Blurriness data reflecting the blurriness of the image is generated by calculating the gradient amplitude or frequency domain features of the image. The analyzed blurriness data is stored as structured data, which may include specific values ​​of blurriness, the location of the blurry area, and the overall clarity evaluation of the image. The blurriness data is analyzed using a deep learning algorithm to identify the target motion in the image. Convolutional neural networks (CNN) or recurrent neural networks (RNN) can be used to analyze image sequences to determine whether the target in the image is moving, as well as the direction and speed of the movement. The identified target motion information is organized into data, including the trajectory, speed, direction, etc. of the movement. This data will be used in subsequent multi-view image registration and 3D reconstruction to improve the accuracy and consistency of reconstruction.

[0078] Step S2: classifying the standard underwater target single-view image according to the target motion recognition data to generate first underwater target type data and second underwater target type data; performing multi-view shooting compensation on the standard underwater target single-view image based on the first underwater target type data and the second underwater target type data, thereby generating a standard underwater target multi-view shooting image;

[0079] In an embodiment of the present invention, the target in the single-view image is classified by using the target motion recognition data generated in step S1. Deep learning algorithms (such as convolutional neural networks, CNN) can be used for target detection and classification. By training a predefined target classification model, the targets in the image can be classified into different types. For example, the model can classify the targets into two categories of "stationary targets" and "moving targets", or more refined categories. The classified target data are stored as first underwater target type data and second underwater target type data respectively. The first underwater target type data can represent a stationary target, and the second underwater target type data can represent a moving target, or other categories defined according to specific needs. For stationary targets (first underwater target type data), conventional multi-view shooting can be performed to ensure that enough images are taken from different angles for three-dimensional reconstruction. For moving targets (second underwater target type data), multi-view shooting compensation is required. Based on the target's motion trajectory and speed data, the shooting time and angle are adjusted to ensure that multiple perspective images of the target at different time points are captured. Multi-view shooting compensation can be achieved using a multi-camera array or by controlling the motion path of the ROV / AUV. The image collection after multi-view shooting and compensation is organized into standard underwater target multi-view shooting images, which will be used in the subsequent 3D reconstruction process. Ensure good registration and consistency between images to improve the accuracy of 3D reconstruction.

[0080] Step S3: Overlap the standard underwater target multi-perspective images and the standard underwater target single-perspective images to generate a target perspective overlap image; perform depth estimation on the target perspective overlap image to generate an underwater target depth map; perform depth fusion and reconstruction on the target perspective overlap image and the underwater target depth map to generate a target underwater fusion depth map;

[0081] In an embodiment of the present invention, the multi-view images and the single-view images are aligned by using image registration technology. Image overlap can be performed using a feature matching algorithm (such as SIFT, SURF) or directly using a deep learning model (such as an image registration model based on a convolutional neural network). After all images are registered, target perspective overlap images are generated, and these overlap images contain target information captured from different angles and viewpoints. The overlapped images are estimated in depth using a deep learning model. Common methods include single-view depth estimation based on convolutional neural networks (such as U-Net, ResNet, etc.) and multi-view depth estimation (such as Stereo Matching, Structure-from-Motion). The result of the depth estimation will generate a depth map of the underwater target, which represents the depth information corresponding to each pixel in the image. The target perspective overlap image is combined with the underwater target depth map for deep fusion reconstruction. A deep fusion algorithm (such as a 3D reconstruction algorithm based on a deep neural network) can be used to integrate image information and depth information. Through deep fusion reconstruction, a target underwater fusion depth map is generated, which can reflect the three-dimensional structure and shape of the target.

[0082] Step S4: convert the target underwater fusion depth map and the standard underwater target multi-view shooting image into three-dimensional point cloud to generate target underwater three-dimensional point cloud data; construct a three-dimensional model of the target underwater three-dimensional point cloud data to generate a target underwater three-dimensional preliminary model; render the target underwater three-dimensional preliminary model to generate a high-precision target three-dimensional underwater model to perform three-dimensional reconstruction of the underwater image.

[0083] In an embodiment of the present invention, three-dimensional point cloud data is generated by utilizing a target underwater fusion depth map and a multi-view image. Computer vision techniques, such as inverse projection, can be used to convert the depth map into three-dimensional point cloud data. Point cloud data is generated by converting the depth information of each pixel into three-dimensional spatial coordinates (x, y, z), and these point cloud data represent the three-dimensional structure of the underwater target. A three-dimensional preliminary model of the target is generated using the three-dimensional point cloud data. Point cloud processing and three-dimensional modeling techniques, such as surface reconstruction algorithms (e.g., Poisson surface reconstruction, Marching Cubes algorithm, etc.), can be used. The generated three-dimensional preliminary model is rendered to improve the visual effect of the model. Rendering techniques in computer graphics can be used to add texture, lighting, shadow and other effects to generate a high-precision three-dimensional underwater model.

[0084] Preferably, step S1 comprises the following steps:

[0085] Step S11: using GPS to obtain target underwater position data;

[0086] Step S12: performing a single-view preliminary shooting using an underwater camera array according to the underwater position data of the target to obtain a preliminary shot image of the underwater target;

[0087] Step S13: performing image preprocessing on the preliminary captured image of the underwater target to obtain a standard single-view captured image of the underwater target, wherein the image preprocessing includes image brightness enhancement, image geometric transformation, and image smoothing;

[0088] Step S14: performing image blur analysis on the single-view image of the standard underwater target to generate single-view image blur data of the underwater target; performing target motion recognition on the single-view image blur data of the underwater target to generate target motion recognition data.

[0089] In an embodiment of the present invention, the precise position coordinates on the water surface are obtained by using a GPS receiver, and these coordinates will be used as the position reference of the underwater target. An underwater sonar device (such as a multi-beam sonar) is used to scan from under the water surface, and the precise position of the target underwater is determined in combination with the GPS coordinates of the water surface. According to the determined underwater position of the target, the underwater camera array is deployed at an appropriate position and angle to ensure that the target area can be covered. The underwater camera array is started for single-view shooting. It is ensured that each camera shoots at the same time point to obtain a set of preliminary images of the underwater target. Histogram equalization or adaptive histogram equalization (CLAHE) technology is used to enhance the image brightness and improve the visual effect of the image. Affine transformation or perspective transformation is used to geometrically correct the image to ensure the correct alignment and correction of the image. A Gaussian filter is used to smooth the image to reduce noise and details. The blurriness of the image is analyzed using Laplacian transformation to generate blurriness data. Target motion recognition is performed using a deep learning algorithm or traditional image processing technology to generate target motion recognition data.

[0090] As an example of the present invention, refer to Figure 2 As shown, in this example, step S2 includes:

[0091] Step S21: performing target optical flow tracking on the single-view image of the standard underwater target according to the target motion recognition data to generate target optical flow tracking data;

[0092] Step S22: classifying the standard underwater target single-view image by using the target optical flow tracking data and the target motion recognition data to generate first underwater target type data and second underwater target type data; determining the target type of the standard underwater target single-view image, and when confirming that the standard underwater target single-view image is the first underwater target type data, still outputting the standard underwater target single-view image;

[0093] Step S23: When the target is confirmed to be the second underwater target type data, multi-perspective shooting compensation is performed on the standard underwater target single-perspective shooting image based on the underwater target single-perspective image fuzziness data, thereby generating a standard underwater target multi-perspective shooting image.

[0094] The embodiment of the present invention is to identify the motion trajectory of the target through sensors (such as inertial measurement units IMU) and image processing technology. The motion state of the target is analyzed in real time using a deep learning algorithm, such as a convolutional neural network (CNN) combined with a recurrent neural network (RNN). An optical flow algorithm, such as the Lucas-Kanade optical flow algorithm or the Farneback optical flow algorithm, is used to track the motion of the target in the image. The optical flow vector of the target is calculated by the pixel changes between consecutive frames. The optical flow vector data is combined with the target motion recognition data to generate complete target optical flow tracking data. The data includes the displacement, speed and direction information of the target at different time points. A classification algorithm (such as a support vector machine SVM or a convolutional neural network CNN) is used to classify the single-view images of standard underwater targets according to the optical flow tracking data and the target motion recognition data. The target is divided into a first underwater target type and a second underwater target type by the classification algorithm. The first type is a static motion target, and the second type is a dynamic motion target. The target type is judged for each single-view image to confirm whether it belongs to the first type or the second type. If the image is confirmed to be the first underwater target type data, the original single-view image is output. Use image quality evaluation algorithms (such as Laplace transform) to evaluate the blurriness of the image and obtain blurriness data. Based on the blurriness data, determine the images that need multi-view compensation. Use multi-view shooting technology (such as structured light or stereo vision) to re-shoot the target image from different angles to make up for the shortcomings of single-view shooting. Through image stitching and fusion algorithms (such as multi-view geometric reconstruction algorithms), generate multi-view shooting images of standard underwater targets. These images provide more comprehensive and detailed target information and improve the accuracy and quality of 3D reconstruction.

[0095] Preferably, target classification of the single-view image of the standard underwater target using the target optical flow tracking data and the target motion recognition data includes:

[0096] Screening adjacent frame images of a single-view image of a standard underwater target to obtain adjacent frame images;

[0097] Perform target position offset analysis on adjacent frame images through target optical flow tracking data to generate target position offset data;

[0098] Utilizing the target motion recognition data to perform target motion cycle analysis on the target position offset data, and generating target motion cycle analysis data; performing motion law exploration on the target motion cycle analysis data, and obtaining target motion law exploration data, wherein the target motion law exploration data includes target motion law data and target motion irregular data;

[0099] The single-perspective images of standard underwater targets are classified according to the object motion law exploration data. When the object motion law exploration data is target motion regularity data, first underwater target type data is generated; when the object motion law exploration data is target motion irregularity data, second underwater target type data is generated.

[0100] In an embodiment of the present invention, adjacent frames of a single-view image of a standard underwater target are selected according to target motion recognition data. These adjacent frames are usually images that are continuous in time and related to the target motion. The adjacent frame images are processed using an optical flow algorithm to calculate the optical flow vectors of the target between consecutive frames. These vectors represent the motion trajectory and speed of the target in time. Based on the target optical flow tracking data, the target position offset in the optical flow vector is analyzed. These data describe the position change of the target between consecutive frames. Using the target motion recognition data, the target position offset data is periodically analyzed, which includes identifying and analyzing the periodic motion patterns of the target, such as periodic oscillations or repetitive motions. Based on the target motion periodic analysis data, the motion law of the target is explored. This step divides the motion behavior of the target into two types: regular and irregular. Classification is performed based on the target motion law exploration data: if the target exhibits a clear motion law (such as periodic motion), the single-view image is classified as the first underwater target type data. If the target exhibits irregular motion (such as random motion or no obvious period), the single-view image is classified as the second underwater target type data.

[0101] Preferably, step S23 includes the following steps:

[0102] Step S231: when it is confirmed that the target is the second underwater target type data, target bounding box recognition is performed on the single-view image of the standard underwater target to obtain target bounding box data;

[0103] Step S232: segmenting the image core area of ​​the single-view image of the standard underwater target using the target bounding box data to generate a target core area image;

[0104] Step S233: sampling the grayscale value of the target core area image to obtain a one-dimensional signal sequence of the target core area image; performing Hilt transform effect calculation on the target core area image according to the one-dimensional signal sequence of the target core area image to obtain fuzziness data of the underwater target single-view image;

[0105] Step S234: performing multi-perspective shooting compensation on the standard underwater target single-perspective shooting image based on the underwater target single-perspective image blur data, thereby generating a standard underwater target multi-perspective shooting image.

[0106] In an embodiment of the present invention, when it is confirmed that the single-view image of the standard underwater target is the second underwater target type data, the target bounding box in the image is identified using a target detection algorithm (such as YOLO, Faster R-CNN, etc.), and these bounding boxes define the position and boundary of the target in the image. Based on the target bounding box data, the core area of ​​the target is extracted from the single-view image of the standard underwater target. An image segmentation algorithm (such as an algorithm based on region growing or a semantic segmentation model based on deep learning) can be used to separate the target from the background and generate a target core area image. The grayscale value of the target core area image is sampled and converted into a one-dimensional signal sequence, which describes the grayscale value change of the target core area in the image. The Hilt transform effect calculation method is used to analyze the blur data in the one-dimensional signal sequence. The Hilt transform is generally used to evaluate the clarity or blur of an image, especially in an underwater environment, and can effectively evaluate the quality and clarity of the image. Based on the blur data of the single-view image of the underwater target, the image portion that needs to be compensated for multiple perspectives is determined. Using multi-view shooting technology, the blurred area of ​​the target image is re-shot from different angles to improve the image clarity and detail display.

[0107] Preferably, step S234 includes the following steps:

[0108] Step S2341: Based on the fuzziness data of the underwater target single-view image, multi-view shooting and data collection are performed through the IMU device on the underwater camera array to obtain the initial target multi-view image and target inertial measurement data;

[0109] Step S2342: performing data preprocessing on the target inertial measurement data to obtain target displacement data and target attitude information data, wherein the data preprocessing includes denoising and integration;

[0110] Step S2343: Perform image space positioning compensation on the target displacement data, target attitude information data and the initial target multi-view image according to the visual inertial odometry technology to generate a standard underwater target multi-view image.

[0111] In an embodiment of the present invention, an underwater camera array is arranged to perform multi-view shooting based on the fuzziness data of a single-view image of an underwater target. These cameras can be installed at different positions and angles to cover multiple view angles of the target. At the same time, the inertial measurement data of the target is collected in real time through the IMU (inertial measurement unit) device on the underwater camera array. These data include the measurement results of the accelerometer and the gyroscope, which are used for subsequent motion state estimation and attitude calculation. The collected target inertial measurement data is preprocessed, including denoising and integration processing: denoising: using a digital filter or other signal processing technology to eliminate noise from the sensor. Integration processing: integrating the denoised acceleration data to calculate the displacement data of the target; at the same time, using the gyroscope data to calculate the attitude information (such as the rotation angle) of the target. Using visual inertial mileage technology, combined with the target displacement data and attitude information data, and the initial target multi-view image, image space positioning compensation is performed: displacement data: determining the position change of the target in space. Attitude information data: correcting the attitude change of the target in images taken at different angles. Combined with the compensated displacement and attitude information, the initial multi-view images are adjusted to generate multi-view images of standard underwater targets. These images integrate the perspectives from different angles and provide more comprehensive and accurate target information.

[0112] As an example of the present invention, refer to Figure 3 As shown, in this example, step S3 includes:

[0113] Step S31: confirming target feature points of the multi-view image of the standard underwater target and the single-view image of the standard underwater target to obtain target feature point data of the multi-view image and the single-view image;

[0114] Step S32: Overlapping the standard underwater target multi-perspective image with the standard underwater target single-perspective image to generate a target perspective overlap image;

[0115] Step S33: performing feature point matching on the target perspective coincident image using the multi-perspective image target feature point data and the single-perspective image target feature point data to generate a target matching feature point set;

[0116] Step S34: Use a deep learning network to perform depth estimation on the target matching feature point set to generate an underwater target depth map; perform deep fusion reconstruction on the target perspective overlap image and the underwater target depth map to generate a target underwater fusion depth map.

[0117] In an embodiment of the present invention, feature points are extracted and confirmed from a multi-view image of a standard underwater target and a single-view image of a standard underwater target. These feature points may be key points, corner points or other significant features, which are used to describe the uniqueness of the target in different view angles and images. The multi-view image of the standard underwater target and the single-view image of the standard underwater target are overlapped. This step ensures that images of different view angles can be aligned in the same coordinate system to form a target view overlap image. Feature point matching is performed on the target view overlap image using the multi-view image target feature point data and the single-view image target feature point data. Common methods include matching algorithms based on feature descriptors, such as SIFT, SURF or features extracted by a deep learning network. A deep learning network is used to perform depth estimation on a target matching feature point set. Depth estimation can infer the depth distribution of the target in space based on the position and parallax information of the matching feature points. The target view overlap image and the depth estimation result (underwater target depth map) are deeply fused and reconstructed. This step combines visual information and depth information to generate a more accurate and detailed target underwater fusion depth map.

[0118] Preferably, step S34 includes the following steps:

[0119] Step S341: screening the target matching feature point set by feature point motion trajectory to obtain an image feature point trajectory set;

[0120] Step S342: constructing a depth estimation network; using the depth estimation network to predict pixel depth values ​​of the image feature point trajectory set to generate a preliminary depth map of the underwater target;

[0121] Step S343: using the target perspective overlapped image to perform multi-perspective depth map fusion on the underwater target preliminary depth map to generate a target underwater fused depth map.

[0122] In an embodiment of the present invention, by analyzing and screening the motion trajectory of the target matching feature point set, these feature points can be significant points in the image at different perspectives, and by tracking their motion trajectories, their continuity information in time and space can be obtained. To construct a depth estimation network, a method based on deep learning, such as a convolutional neural network (CNN) or its variants, is usually used. The network is used to learn to predict pixel-level depth values ​​from the trajectory of image feature points. The image feature point trajectory set is processed using a depth estimation network to predict the depth value of each pixel, which reflects the depth information of the target in the multi-perspective image. Using the target perspective overlap image as a reference, the multi-perspective depth map fusion is performed on the preliminary depth map of the underwater target. This process can combine the depth information under each perspective to improve the accuracy and completeness of the depth map, and specifically collect and prepare the training data set. The data set should include underwater multi-perspective images and their corresponding depth ground truth values ​​or depth maps. Simulated data or actually collected data can be used to ensure coverage of different underwater environments and target types. Select a suitable deep learning network architecture, such as a convolutional neural network (CNN). Common depth estimation networks include: Single-view depth estimation network: Process a single image and predict the depth value of each pixel. Multi-view depth estimation network: Use image information from multiple perspectives for depth estimation, which can be processed by combining multiple input images through convolutional neural networks. Depth estimation methods based on autoencoders or generative adversarial networks: Use the generation performance of the network to generate depth images. Use the prepared training data set to train the depth estimation network. During the training process, a loss function needs to be defined. Usually, depth difference or other loss functions are used to compare the difference between the depth map generated by the network and the real depth map. Data enhancement and regularization are performed on the training data to improve the generalization ability and robustness of the network. Data enhancement techniques include image rotation, scaling, flipping and other operations, while regularization can control overfitting through batch normalization, dropout and other means. Use gradient descent or its variants to optimize network parameters to minimize the loss function. Learning rate adjustment strategies and batch training techniques can be used to optimize the convergence speed and stability of the network. During the training process, monitor the performance of the network on the validation set and adjust the network architecture or training parameters based on the performance.

[0123] As an example of the present invention, refer to Figure 4 As shown, in this example, step S4 includes:

[0124] Step S41: converting the target underwater fusion depth map and the standard underwater target multi-viewing image into a three-dimensional point cloud to generate target underwater three-dimensional point cloud data;

[0125] Step S42: performing surface reconstruction on the target underwater three-dimensional point cloud data to generate target three-dimensional surface reconstruction data;

[0126] Step S43: performing texture mapping on the target three-dimensional surface reconstruction data to generate target three-dimensional texture mapping data;

[0127] Step S44: construct a three-dimensional model based on the target three-dimensional surface reconstruction data and the target three-dimensional texture mapping data to generate a target underwater three-dimensional preliminary model; render the target underwater three-dimensional preliminary model to generate a high-precision target three-dimensional underwater model to perform three-dimensional reconstruction of the underwater image.

[0128] In an embodiment of the present invention, by using the target underwater fusion depth map and the standard underwater target multi-view image, the depth information is converted into three-dimensional point cloud data, which can be achieved by reconstructing the spatial coordinates from the depth image and converting it into a point cloud format. The generated target underwater three-dimensional point cloud data is subjected to surface reconstruction. Common surface reconstruction methods include: point cloud-based mesh reconstruction: using point cloud data to generate a meshed triangular surface to form the precise three-dimensional geometric shape of the target. Voxel grid-based method: converting point cloud data into a voxel grid, and then reconstructing the three-dimensional surface using a voxel surface extraction algorithm. Texture mapping is performed on the target three-dimensional surface reconstruction data, and the texture information from the standard underwater target multi-view image is mapped onto the three-dimensional surface. This step can be achieved using image projection technology or a method that combines texture information with a three-dimensional geometric model. Based on the target three-dimensional surface reconstruction data and texture mapping data, a three-dimensional model is constructed, which includes integrating surface geometry information and texture information to form a preliminary three-dimensional model of the target underwater. The preliminary three-dimensional model of the target underwater is rendered. The rendering process can use ray tracing or real-time rendering technology to project the three-dimensional model into a two-dimensional image to generate a visualization effect of a high-precision target three-dimensional underwater model.

[0129] In this specification, a deep learning-based underwater image 3D reconstruction system is provided, which is used to execute the above-mentioned deep learning-based underwater image 3D reconstruction method. The deep learning-based underwater image 3D reconstruction system includes:

[0130] The target recognition module is used to obtain the underwater position data of the target; perform single-view preliminary shooting according to the underwater position data of the target to obtain a preliminary shot image of the underwater target; perform image fuzziness analysis on the preliminary shot image of the underwater target to generate single-view image fuzziness data of the underwater target; perform target motion recognition on the single-view image fuzziness data of the underwater target to generate target motion recognition data;

[0131] A multi-view compensation module is used to classify the single-view image of the standard underwater target according to the target motion recognition data, and generate first underwater target type data and second underwater target type data; based on the first underwater target type data and the second underwater target type data, perform multi-view shooting compensation on the single-view image of the standard underwater target, so as to generate a multi-view shooting image of the standard underwater target;

[0132] The depth estimation module is used to overlap the standard underwater target multi-perspective images and the standard underwater target single-perspective images to generate a target perspective overlap image; perform depth estimation on the target perspective overlap image to generate an underwater target depth map; perform depth fusion and reconstruction on the target perspective overlap image and the underwater target depth map to generate a target underwater fusion depth map;

[0133] The 3D reconstruction module is used to convert the target underwater fusion depth map and the multi-view images of the standard underwater target into 3D point clouds to generate the target underwater 3D point cloud data; to construct a 3D model of the target underwater 3D point cloud data to generate a target underwater 3D preliminary model; to render the target underwater 3D preliminary model to generate a high-precision target 3D underwater model to perform 3D reconstruction of underwater images.

[0134] The beneficial effect of the present invention is that by obtaining the underwater position data of the target, and performing single-view preliminary shooting and image blur analysis, preliminary image data and clarity analysis can be provided, laying the foundation for subsequent processing. The target motion recognition data is used to classify the image, generate different underwater target type data, and perform multi-view shooting compensation, which can more comprehensively capture the details and motion characteristics of the target and improve the information richness and accuracy of the image. The multi-view shooting image of the standard underwater target and the single-view shooting image are overlapped, depth estimation and deep fusion reconstruction are performed, and a high-quality underwater target depth map is generated. These steps effectively improve the depth information acquisition and image quality of the image in the underwater scene. By performing three-dimensional point cloud conversion and model construction on the target underwater fusion depth map and multi-view shooting images, a high-precision target underwater three-dimensional model is generated, and model rendering is performed at the same time, which improves the accuracy and visual effect of the three-dimensional reconstruction operation. Therefore, the present invention improves the comprehensiveness and accuracy of three-dimensional image reconstruction by performing image blur compensation, multi-view shooting and accurate depth estimation on underwater targets.

[0135] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.

[0136] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A method for 3D reconstruction of underwater images based on deep learning, characterized in that: The following steps are involved: Step S1: Acquire target underwater position data; Performing a single-view preliminary shooting according to the underwater position data of the target to obtain a preliminary shot image of the underwater target; performing image fuzziness analysis on the preliminary shot image of the underwater target to generate single-view image fuzziness data of the underwater target; performing target motion recognition on the single-view image fuzziness data of the underwater target to generate target motion recognition data; Step S2: classifying the standard underwater target single-view image according to the target motion recognition data to generate first underwater target type data and second underwater target type data; performing multi-view shooting compensation on the standard underwater target single-view image based on the first underwater target type data and the second underwater target type data, thereby generating a standard underwater target multi-view shooting image; Step S3: Overlap the standard underwater target multi-perspective images and the standard underwater target single-perspective images to generate a target perspective overlap image; perform depth estimation on the target perspective overlap image to generate an underwater target depth map; perform depth fusion and reconstruction on the target perspective overlap image and the underwater target depth map to generate a target underwater fusion depth map; Step S4: converting the target underwater fusion depth map and the standard underwater target multi-viewing image into a three-dimensional point cloud to generate target underwater three-dimensional point cloud data; A three-dimensional model is constructed for the target underwater three-dimensional point cloud data to generate a target underwater three-dimensional preliminary model; the target underwater three-dimensional preliminary model is rendered to generate a high-precision target three-dimensional underwater model to perform three-dimensional reconstruction of underwater images.

2. The method for 3D reconstruction of underwater images based on deep learning according to claim 1, characterized in that: Step S1 includes the following steps: Step S11: using GPS to obtain target underwater position data; Step S12: performing a single-view preliminary shooting using an underwater camera array according to the underwater position data of the target to obtain a preliminary shot image of the underwater target; Step S13: performing image preprocessing on the preliminary captured image of the underwater target to obtain a standard single-view captured image of the underwater target, wherein the image preprocessing includes image brightness enhancement, image geometric transformation, and image smoothing; Step S14: performing image blur analysis on the single-view image of the standard underwater target to generate single-view image blur data of the underwater target; performing target motion recognition on the single-view image blur data of the underwater target to generate target motion recognition data.

3. The method for underwater image 3D reconstruction based on deep learning according to claim 1, characterized in that: Step S2 includes the following steps: Step S21: performing target optical flow tracking on the single-view image of the standard underwater target according to the target motion recognition data to generate target optical flow tracking data; Step S22: classifying the standard underwater target single-view image by using the target optical flow tracking data and the target motion recognition data to generate first underwater target type data and second underwater target type data; determining the target type of the standard underwater target single-view image, and when confirming that the standard underwater target single-view image is the first underwater target type data, still outputting the standard underwater target single-view image; Step S23: When the target is confirmed to be the second underwater target type data, multi-perspective shooting compensation is performed on the standard underwater target single-perspective shooting image based on the underwater target single-perspective image fuzziness data, thereby generating a standard underwater target multi-perspective shooting image.

4. The method for 3D reconstruction of underwater images based on deep learning according to claim 3, characterized in that: Target classification of single-view images of standard underwater targets using target optical flow tracking data and target motion recognition data includes: Screening adjacent frame images of a single-view image of a standard underwater target to obtain adjacent frame images; Perform target position offset analysis on adjacent frame images through target optical flow tracking data to generate target position offset data; Utilizing the target motion recognition data to perform target motion cycle analysis on the target position offset data, and generating target motion cycle analysis data; performing motion law exploration on the target motion cycle analysis data, and obtaining target motion law exploration data, wherein the target motion law exploration data includes target motion law data and target motion irregular data; The single-perspective images of standard underwater targets are classified according to the object motion law exploration data. When the object motion law exploration data is target motion regularity data, first underwater target type data is generated; when the object motion law exploration data is target motion irregularity data, second underwater target type data is generated.

5. The method for underwater image 3D reconstruction based on deep learning according to claim 3, characterized in that: Step S23 includes the following steps: Step S231: when it is confirmed that the target is the second underwater target type data, target bounding box recognition is performed on the single-view image of the standard underwater target to obtain target bounding box data; Step S232: segmenting the image core area of ​​the single-view image of the standard underwater target using the target bounding box data to generate a target core area image; Step S233: sampling the grayscale value of the target core area image to obtain a one-dimensional signal sequence of the target core area image; performing Hilt transform effect calculation on the target core area image according to the one-dimensional signal sequence of the target core area image to obtain fuzziness data of the underwater target single-view image; Step S234: performing multi-perspective shooting compensation on the standard underwater target single-perspective shooting image based on the underwater target single-perspective image blur data, thereby generating a standard underwater target multi-perspective shooting image.

6. The method for 3D reconstruction of underwater images based on deep learning according to claim 5, characterized in that: Step S234 includes the following steps: Step S2341: Based on the fuzziness data of the underwater target single-view image, multi-view shooting and data collection are performed through the IMU device on the underwater camera array to obtain the initial target multi-view image and target inertial measurement data; Step S2342: performing data preprocessing on the target inertial measurement data to obtain target displacement data and target attitude information data, wherein the data preprocessing includes denoising and integration; Step S2343: Perform image space positioning compensation on the target displacement data, target attitude information data and the initial target multi-view image according to the visual inertial odometry technology to generate a standard underwater target multi-view image.

7. The method for 3D reconstruction of underwater images based on deep learning according to claim 1, characterized in that: Step S3 includes the following steps: Step S31: confirming target feature points of the multi-view image of the standard underwater target and the single-view image of the standard underwater target to obtain target feature point data of the multi-view image and the single-view image; Step S32: Overlapping the standard underwater target multi-perspective image with the standard underwater target single-perspective image to generate a target perspective overlap image; Step S33: performing feature point matching on the target perspective coincident image using the multi-perspective image target feature point data and the single-perspective image target feature point data to generate a target matching feature point set; Step S34: Use a deep learning network to perform depth estimation on the target matching feature point set to generate an underwater target depth map; perform deep fusion reconstruction on the target perspective overlap image and the underwater target depth map to generate a target underwater fusion depth map.

8. The method for underwater image 3D reconstruction based on deep learning according to claim 7, characterized in that: Step S34 includes the following steps: Step S341: screening the target matching feature point set by feature point motion trajectory to obtain an image feature point trajectory set; Step S342: constructing a depth estimation network; using the depth estimation network to predict pixel depth values ​​of the image feature point trajectory set to generate a preliminary depth map of the underwater target; Step S343: using the target perspective overlapped image to perform multi-perspective depth map fusion on the underwater target preliminary depth map to generate a target underwater fused depth map.

9. The method for 3D reconstruction of underwater images based on deep learning according to claim 1, characterized in that: Step S4 includes the following steps: Step S41: converting the target underwater fusion depth map and the standard underwater target multi-viewing image into a three-dimensional point cloud to generate target underwater three-dimensional point cloud data; Step S42: performing surface reconstruction on the target underwater three-dimensional point cloud data to generate target three-dimensional surface reconstruction data; Step S43: performing texture mapping on the target three-dimensional surface reconstruction data to generate target three-dimensional texture mapping data; Step S44: construct a three-dimensional model based on the target three-dimensional surface reconstruction data and the target three-dimensional texture mapping data to generate a target underwater three-dimensional preliminary model; render the target underwater three-dimensional preliminary model to generate a high-precision target three-dimensional underwater model to perform three-dimensional reconstruction of the underwater image.

10. A deep learning-based underwater image 3D reconstruction system, characterized in that: Used to execute the underwater image three-dimensional reconstruction method based on deep learning as claimed in claim 1, the underwater image three-dimensional reconstruction system based on deep learning comprises: The target recognition module is used to obtain the underwater position data of the target; perform single-view preliminary shooting according to the underwater position data of the target to obtain a preliminary shot image of the underwater target; perform image fuzziness analysis on the preliminary shot image of the underwater target to generate single-view image fuzziness data of the underwater target; perform target motion recognition on the single-view image fuzziness data of the underwater target to generate target motion recognition data; A multi-view compensation module is used to classify the single-view image of the standard underwater target according to the target motion recognition data, and generate first underwater target type data and second underwater target type data; based on the first underwater target type data and the second underwater target type data, perform multi-view shooting compensation on the single-view image of the standard underwater target, so as to generate a multi-view shooting image of the standard underwater target; The depth estimation module is used to overlap the standard underwater target multi-perspective images and the standard underwater target single-perspective images to generate a target perspective overlap image; perform depth estimation on the target perspective overlap image to generate an underwater target depth map; perform depth fusion and reconstruction on the target perspective overlap image and the underwater target depth map to generate a target underwater fusion depth map; The 3D reconstruction module is used to convert the target underwater fusion depth map and the multi-view images of the standard underwater target into 3D point clouds to generate the target underwater 3D point cloud data; to construct a 3D model of the target underwater 3D point cloud data to generate a target underwater 3D preliminary model; to render the target underwater 3D preliminary model to generate a high-precision target 3D underwater model to perform 3D reconstruction of underwater images.

Citation Information

Patent Citations

  • Multi-view three-dimensional reconstruction method, system and equipment based on deep learning

    CN115170746A

  • Intelligent interaction deep display method and system based on AR technology

    CN118071968A