System and method for converting two-dimensional images into three-dimensional images using deep learning

Through convolutional neural network and hole repair technology, the problems of inaccurate depth prediction and image jitter when converting 2D images to 3D images are solved, achieving better 3D conversion effects, retaining the original image information to the maximum extent, and removing redundant information. Improved the quality of 3D images.

CN113888692BActive Publication Date: 2024-09-06SHENZHEN FAJIA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011458587.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-11
Publication Date
2024-09-06
Estimated Expiration
2040-12-11

AI Technical Summary

Technical Problem

Existing deep learning methods are difficult to accurately simulate the depth of field when converting 2D images to 3D images, and the depth of field prediction of the image has jitter problems, and the generated 3D image has missing viewing angles, making it impossible to truly restore the real missing image.

Method used

Using the convolutional neural network model combined with hole repair technology, through the two-dimensional image depth generation module and the new perspective generation module, the depth of field calculation of the two-dimensional image and the generation of the three-dimensional image are performed to maximize the retention of the original image information, remove redundant information, and output Single-channel depth of field image to achieve better 3D conversion effect.

Benefits of technology

Through the convolutional neural network and hole repair technology, the depth of field information is effectively represented, a better 3D conversion effect is obtained, the original image information is retained to the maximum extent, redundant information is removed, and the quality of the three-dimensional image is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113888692B
    Figure CN113888692B
Patent Text Reader

Abstract

The present invention discloses a system for converting two-dimensional images into three-dimensional images using deep learning, which includes a two-dimensional (Two-Dimension, 2D) image depth generation module, a new perspective generation module and a three-dimensional (Three-Dimension, 3D) image display. The two-dimensional image depth generation module includes a 2D image acquisition unit and a depth calculation unit, the 2D image acquisition unit is used to receive at least one 2D image, and the depth calculation unit is connected to the 2D image acquisition unit for establishing at least one depth map of at least one 2D image. The new perspective generation module is connected to the depth calculation unit for combining at least one 2D image and at least one depth map to output a three-dimensional image. The 3D image display is connected to the new perspective generation module for displaying 3D images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a system and method for converting a two-dimensional image into a three-dimensional image, and in particular to a system and method for converting a two-dimensional image into a three-dimensional image using deep learning. Background Art

[0002] In a three-dimensional (3D) image, the information it contains (such as the shape of the object in the image or the depth of field, etc.) is more than that of a two-dimensional (2D) image. Therefore, it is not an easy task for a computer to infer the shape of a 3D image directly from a 2D image. However, for humans, for objects commonly seen in life, we can often infer the entire shape of the object (how it looks in three-dimensional space) from a single angle. The reason why humans can do this is because of the accumulation of long-term experience. Therefore, for a computer, if it can learn enough 2D images and 3D shape information, it should be able to successfully convert a 2D image into a 3D image.

[0003] Therefore, there are many methods for converting 2D images to 3D images that use deep learning recently. They use a large amount of training data (e.g., images and corresponding 3D shapes) to train the model constructed by the deep learning neural network, so as to achieve the conversion of a single or multiple 2D images as input into a 3D image.

[0004] However, when using deep learning methods to predict the depth of field of 2D images, it is not possible to accurately simulate and restore the depth of field of real 3D images, and the frame-by-frame depth of field results are difficult to eliminate the jitter problem of the image. In addition, the depth of field prediction of the image is predicted using the Convolutional Neural Network (CNN) model. The loss function of the deep learning model training cannot be reduced to 0, and errors always exist. The depth-image-based rendering (DIBR) conversion model needs to set multiple parameters to restore the 3D image effect. The image of the newly generated image perspective part is missing, and the application of deep learning (DIBR) to fill in the image is not a true missing restoration.

[0005] When using depth-image-based mapping (DIBR) to generate 3D videos, the binocular distance, viewing distance, or screen entry and exit effect parameters need to be set according to the actual scene. Moreover, in deep learning, the infill of 3D images cannot restore the real missing image. Depth of field prediction usually uses a deep learning convolutional neural network (CNN) model. By learning a large amount of depth image materials, it optimizes the parameters of each layer of the CNN model structure based on the established loss function, and finally uses the trained CNN model to offline predict the 3D depth of field image corresponding to the depth image. The depth image generates a virtual new perspective under the DIBR algorithm and compares it with the original Figure 1 Together they form a 3D image.

[0006] Therefore, how to improve the image conversion effect of deep learning through design improvements and overcome the above-mentioned defects has become one of the important issues that this business wants to solve. Summary of the invention

[0007] The technical problem to be solved by the present invention is to solve the poor conversion effect of existing two-dimensional images to three-dimensional images. In view of the shortcomings of the existing technology, a system for converting two-dimensional images to three-dimensional images using deep learning is provided, which adopts hole repair technology to generate better three-dimensional images.

[0008] In order to solve the above-mentioned technical problems, one of the technical solutions adopted by the present invention is to provide a system for converting two-dimensional images into three-dimensional images using deep learning, which includes a two-dimensional (Two-Dimension, 2D) image depth generation module, a new perspective generation module and a three-dimensional (Three-Dimension, 3D) image display. The two-dimensional image depth generation module includes a 2D image acquisition unit and a depth calculation unit. The 2D image acquisition unit is used to receive at least one 2D image. The depth calculation unit is connected to the 2D image acquisition unit for establishing at least one depth map of at least one 2D image. The new perspective generation module is connected to the depth calculation unit for combining at least one 2D image and at least one depth map to output a three-dimensional image. The 3D image display is connected to the new perspective generation module for displaying 3D images.

[0009] In order to solve the above-mentioned technical problems, another technical solution adopted by the present invention is to provide a method for converting two-dimensional images into three-dimensional images using deep learning, which includes: collecting at least one 2D image, and transmitting at least one 2D image to a depth calculation unit to establish at least one depth map; realizing resolution conversion of at least one 2D image by sampling; applying multiple convolutional neural network (CNN) models to predict at least one depth map of at least one 2D image; using a new perspective generation module to combine at least one 2D image and at least one depth map to generate a 3D image; and outputting the depth-processed 3D image in a single-channel depth image output mode.

[0010] One beneficial effect of the present invention is that the system and method for converting two-dimensional images into three-dimensional images using deep learning provided by the present invention can retain the main information of the original 2D image to the maximum extent through a convolutional neural network model and a technical solution of hole repair technology, while removing redundant information, thereby effectively representing depth of field information and obtaining a better 3D conversion effect.

[0011] To further understand the features and technical contents of the present invention, please refer to the following detailed description and drawings of the present invention. However, the drawings provided are only for reference and description and are not intended to limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 This is a system block diagram of converting two-dimensional images into three-dimensional images using deep learning in the present invention.

[0013] Figure 2 A schematic diagram of a convolutional neural network architecture used in the present invention.

[0014] Figure 3 FIG. 1 is a schematic diagram of applying depth image-based mapping (DIBR) according to the present invention.

[0015] Figure 4 Flowchart of the method for converting two-dimensional images into three-dimensional images using deep learning.

[0016]

Explanation of symbols

[0017] 10: System for converting 2D images to 3D images

[0018] 11: Two-dimensional (2D) image depth generation module

[0019] 111: 2D image acquisition unit

[0020] 112: Depth of field calculation unit

[0021] 1121: Color image input device

[0022] 1122: Downsampler

[0023] 1123: Image modulator

[0024] 1124: First Convolution Calculator

[0025] 1125: Encoder

[0026] 1125A: Block

[0027] 1125B: Second convolution calculator

[0028] 1126: Decoder

[0029] 1126A: Upper sampler

[0030] 1127: Adder

[0031] 1127A: Multi-resolution feature fuser

[0032] 1127B: Third Convolution Calculator

[0033] 1128: Image Intensifier

[0034] 1128A: Fourth Convolution Calculator

[0035] 1129: Single channel depth of field image output

[0036] 12: New perspective generation module

[0037] 121: Three-dimensional (3D) image generation module

[0038] 122: Hole repair module

[0039] 13: 3D imaging display

[0040] S401-S405: Steps DETAILED DESCRIPTION

[0041] The following is an explanation of the implementation methods of the "system and method for converting two-dimensional images to three-dimensional images using deep learning" disclosed in the present invention through specific embodiments. Those skilled in the art can understand the advantages and effects of the present invention from the contents disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and the details in this specification can also be modified and changed in various ways based on different viewpoints and applications without departing from the concept of the present invention. In addition, the drawings of the present invention are only simple schematic illustrations and are not depicted in actual size. It is stated in advance. The following embodiments will further explain the relevant technical content of the present invention in detail, but the disclosed content is not intended to limit the scope of protection of the present invention. In addition, the term "or" used in this article may include any one or more combinations of the associated listed items depending on the actual situation.

[0042] [System Example]

[0043] See also Figure 1 As shown, an embodiment of the present invention provides a system 10 for converting two-dimensional images into three-dimensional images using deep learning, which includes a two-dimensional (Two-Dimension, 2D) image depth generation module 11, a new perspective generation module 12 and a three-dimensional (Three-Dimension, 3D) image display 13.

[0044] The 2D image depth generation module 11 includes a 2D image acquisition unit 111 and a depth calculation unit 112. The 2D image acquisition unit 111 receives at least one 2D image and can transmit the received at least one 2D image to the depth calculation unit 112 to establish a depth map of the 2D image. The depth map is an image composed of pixels with grayscale values ​​between 0 and 255. The pixel with a grayscale value of 0 represents that the pixel of the image is at the farthest or closest place, while the pixel with a grayscale value of 255 represents that the pixel of the image is at the closest or farthest place. In the depth map, each pixel will define the position of the corresponding 2D pixel on the Z-axis. Therefore, by generating a depth map of the 2D image, the 2D image can be produced with a three-dimensional effect.

[0045] The depth of field calculation unit 112 of the present invention mainly adopts a convolutional neural network (CNN) model to predict the depth of field image. Convolutional neural network is a deep learning neural network. Convolutional neural network has been widely used in image recognition, and its recognition accuracy even exceeds human recognition. Since the principle and operation mode of convolutional neural network are well known to those skilled in the art, they will not be repeated here. In the present invention, the depth of field calculation unit 112 adopts a CNN network model to predict to generate a depth map, constructs a deep learning CNN network model, and trains a large number of color images (RGB+image depth (Depth)), and constrains the training process with the loss function of the neural network model, thereby obtaining a better depth map.

[0046] Figure 2 A schematic diagram showing the convolutional neural network architecture used in the present invention, wherein the 2D image undergoes a multi-resolution, downsampling and upsampling process, and the features of each layer of upsampling and downsampling are fused to form a U-shaped network structure, which retains the main information of the original image to the maximum extent, while removing redundant information to characterize the depth of field information, and finally generates a depth map. The so-called U-shaped network structure is to implement layer-by-layer convolution operations in the front section of the convolutional neural network, reduce the size of the 2D image, compress the features, and implement layer-by-layer deconvolution operations in the back section of the convolutional neural network, and increase the size of the 2D image layer by layer to the input size.

[0047] In detail, the depth of field calculation unit 112 of the present invention includes a color image input device 1121, a downsampler 1122, an image adjuster 1123, a first convolution calculator 1124, an encoder 1125, a decoder 1126, a concatenate 1127, an image enhancer 1128 and a single-channel depth of field image output device 1129. The color image input device 1121 is connected to the 2D image acquisition unit 111 and is used to receive at least one 2D image. The downsampler 1122 is connected to the color image input device 1121 and is used to downsample at least one 2D image. For example, the resolution of at least one 2D image originally transmitted to the color image input device is 640X480. After sampling by the downsampler 1122, the at least one 2D image is sampled to an image with a resolution of 320X240. The image adjuster 1123 is connected to the downsampler 1122, and is used to adjust the sampled at least one 2D image, remove noise in the at least one 2D image, or cut unnecessary image edges in the at least one 2D image, for example, cutting a 2D image with a resolution of 320X240 to a 2D image with a resolution of 304X228. The first convolution calculator 1124 is connected to the image adjuster 1123, and is used to obtain features in the at least one 2D image after downsampling and adjustment.

[0048] The encoder 1125 is connected to the first convolution calculator (Conv 1) 1124, which includes multiple blocks 1125A and a second convolution calculator (Conv 2) 1125B. Each block 1125A can extract feature images of different resolutions of the 2D image, such as 1 / 4, 1 / 8, 1 / 16 or 1 / 32. The data volume of 2D images with the same resolution is not equal to the amount of information they possess. Changing the resolution of the image does not necessarily change the amount of information. It is expected that the amount of image data can be effectively reduced without reducing the amount of information in each image, thereby speeding up the analysis efficiency. Therefore, the image resolution of the 2D image is changed through the encoder 1125 to speed up the image analysis efficiency, and the 2D image with changed image resolution is transmitted to the second convolution calculator 1125B for image feature acquisition.

[0049] The decoder 1126 is connected to the encoder 1125, and includes a plurality of up-samplers 1126A. For example, it can realize the conversion of a 2D image with a feature resolution of 1 / 32 into a 2D image with a feature resolution of 1 / 2. The stacker 1127 is connected to the encoder 1125 and the decoder 1126, and includes a plurality of multi-scale feature fusion modules (MFF) 1127A and a third convolution calculator (Conv3) 1127B. The stacker 1127 receives a 2D image whose resolution has been changed by the encoder 1125 or a 2D image that has passed through the up-sampler 1126A of the decoder 1126, and then passes the multi-resolution feature fusion module 1127A, and then passes the 2D image that has undergone multi-resolution feature fusion through the third convolution calculator 1127B to obtain features. The image enhancer 1128 is connected to the stacker 1127 and includes multiple fourth convolution calculators (Conv 4) 1128A. The image enhancer 1128 improves the feature acquisition of the 2D image through the multiple fourth convolution calculators 1128A to obtain a better depth map of the 2D image. The single-channel depth image outputter 1129 is connected to the image enhancer 1128 to receive and output the depth map of the 2D image after depth acquisition.

[0050] In the first convolution calculator 1124, the second convolution calculator 1125B, the third convolution calculator 1127B and the fourth convolution calculator 1128A, the depth of field prediction model loss function is used to represent the distance between the convolution neural network output result and the actual depth of field. The present invention adopts a joint loss function L=I depth +λI grad +μI normal , where λ and μ are weight coefficients of the sub-loss function, I depth is the Euler loss function of the global depth map, I grad is the inverse loss function of the depth map space and I normal is the surface normal vector dot product error loss function. Let di be the predicted depth value of the image (pix), gi be the label depth value, and the measured pix error can be expressed as e i =‖d i -g i ‖, in order to characterize the global depth error F(x), let F(x) = ln(x+a)(a>0), where x is the pix error and a is any real number greater than 0, and calculate the Euler loss function of the global depth map The contour at the edge of the depth map has a great influence on the effect of 3D conversion. In order to better obtain the depth error representing the edge of the image, it is proposed to calculate the inverse loss function of the depth map space The continuous depth of field of the depth map can enhance the final generated 3D image effect. Therefore, a dot product error loss function of the surface normal vector of the depth map is proposed. The depth map is subjected to a 3X3 matrix Sobel operation along the horizontal and vertical axes, where: Respectively represent the Sobel operation values ​​of any coordinate point in the image in the horizontal and vertical directions, then in See above for the description.

[0051] The new perspective generation module 12 is connected to the 2D image depth generation module 11. According to the 2D image depth generation module 11 receiving at least one 2D image and a depth map, the new perspective generation module 12 combines at least one 2D image and the depth map to generate a 2D image with a different perspective. The new perspective generation module 12 includes a 3D image generation module 121 and a hole repair module 122. The 3D image generation module 121 applies a depth image-based rendering (DIBR) technique, such as Figure 3 As shown, the virtual view diagram can be expressed as Cr is the original camera, Cv is the virtual camera, Xv is the horizontal matrix vector, Xr is the horizontal virtual matrix vector, B is the distance between the two cameras, Zc is the fusion distance of the two cameras, Fr and Fv are the focal lengths of the two cameras, when the displacement s=-1, the estimated viewing angle is on the left, when the displacement s=+1, the virtual viewing angle is on the right, Z represents the depth of field value at the (x, y) position, and h is the horizontal translation distance of the camera axis.

[0052] The hole repair module 122 is a technology for image repair that uses a fast method. The technology starts from the hole boundary of the image, then enters the image area, and gradually fills all the contents of the image boundary. It needs to be repaired in a small area around the neighboring primitives. In addition, the hole repair module 122 of the present invention further applies fluid dynamics and image and video repair technology, which is based on fluid dynamics and uses partial differential equations. First, along the edge of the image, it moves from the known area to the unknown area (because the edge is continuous), which continues the equidistant line (the line connects the points with the same intensity, just like the contour line connects the points with the same elevation), and matches the gradient vector at the boundary of the repair area. Through the above-mentioned hole repair technology, the image with 3D stereoscopic effect after conversion can be output to the 3D image display 13 for display.

[0053] [Method Example]

[0054] Figure 4 Flow chart of the method for converting two-dimensional images into three-dimensional images using deep learning in the present invention, as shown in Figure 4 As shown, the method includes the following steps.

[0055] In step S401, at least one 2D image is collected and transmitted to a depth calculation unit to establish a depth map. In order to convert a 2D image into a 3D image, a depth map of the collected 2D image is established. The depth map is an image composed of pixels with grayscale values ​​between 0 and 255. A pixel with a grayscale value of 0 represents that the pixel of the image is at the farthest place, while a pixel with a grayscale value of 255 represents that the pixel of the image is at the closest place. In the depth map, each pixel will define the position of its corresponding 2D pixel on the Z-axis. Only by establishing the depth map can a 3D image with a three-dimensional sense be constructed.

[0056] In step S402, the resolution conversion of at least one 2D image is achieved by sampling. For example, the resolution of at least one 2D image originally transmitted to the color image input device is 640X480, and after sampling by the downsampler, the at least one 2D image is sampled to an image with a resolution of 320X240. Then, the noise in the at least one 2D image after sampling can be removed or the unnecessary image edge in the at least one 2D image can be cropped, for example, the 2D image with a resolution of 320X240 is cropped to a 2D image with a resolution of 304X228. Alternatively, an upsampler is applied to convert a 2D image with a 1 / 32 feature resolution into a 2D image with a 1 / 2 feature resolution, and then the 2D image with the changed resolution or the upsampled 2D image is subjected to multi-resolution feature fusion, and the 2D image with the multi-resolution feature fusion is subjected to convolution calculation to obtain features, and the convolution calculation is applied again to improve the feature acquisition of the 2D image to obtain a better depth map of the 2D image.

[0057] In step S403, a convolutional neural network (CNN) model is applied to predict at least one depth map of at least one 2D image. Convolutional neural network is a deep learning neural network. Convolutional neural network has been widely used in image recognition, and its recognition accuracy even exceeds human recognition. Since the principles and operation of convolutional neural networks are well known to those skilled in the art, they will not be described here. In the present invention, a CNN network model is used for prediction to generate a depth map, a deep learning CNN network is constructed, and a large number of color images (RGB+image depth (Depth)) are trained, and the training process is constrained by the loss function of the neural network.

[0058] Specifically, in the process of establishing the depth map of at least one 2D image, the 2D image with a resolution of 640X480 is firstly sampled to a resolution of 320X240 by a downsampler. Then, the noise in the 2D image is removed, or the unnecessary image edge of at least one 2D image is cropped. For example, the 2D image with a resolution of 320X240 is cropped to a 2D image with a resolution of 304X228. At this time, the first convolution calculation is performed to obtain the features in the at least one 2D image. In order to obtain a better depth of field map, in the method of the present invention, feature images of different resolutions of the 2D image are extracted, for example, the resolution is 1 / 4, 1 / 8, 1 / 16 or 1 / 32. The amount of data of the 2D image with the same resolution is not equal to the amount of information it possesses. Changing the image resolution does not necessarily change the amount of information. It is expected that the amount of image data can be effectively reduced and the analysis efficiency can be accelerated without reducing the amount of information in each image. Therefore, the image resolution of the 2D image is changed to speed up the image analysis efficiency, and the 2D image with the changed image resolution is subjected to a second convolution calculation to obtain image features.

[0059] In step S404, a new perspective generation module is used to combine at least one 2D image and at least one depth map to generate a 3D image. The new perspective generation module 12 includes a 3D image generation module 121 and a hole repair module 122. The 3D image generation module 121 uses the DIBR technology, such as Figure 3 As shown, the virtual perspective diagram can be expressed as Cr is the original camera, Cv is the virtual camera, Xv is the horizontal matrix vector, Xr is the horizontal virtual matrix vector, B is the distance between the two cameras, Zc is the fusion distance of the two cameras, Fr and Fv are the focal lengths of the two cameras, when s=-1, the estimated viewing angle is on the left, when s=+1, the virtual viewing angle is on the right, Z represents the depth of field value at the (x, y) position, and h is the horizontal translation distance of the camera axis.

[0060] The hole repair module 122 is a technology for image repair that uses a fast method. The technology starts from the hole boundary of the image, then enters the image area, and gradually fills all the contents of the image boundary. It needs to be repaired in a small area around the neighboring primitives. In addition, the hole repair module 122 of the present invention further applies fluid dynamics and image and video repair technology, which is based on fluid dynamics and uses partial differential equations. First, move along the edge from the known area to the unknown area (because the edge is continuous), which continues the equidistant line (the line connects points with the same intensity, just like the contour line connects points with the same elevation), and matches the gradient vector at the boundary of the repair area. Through the above-mentioned hole repair technology, the converted image with 3D display can be output to the 3D image display 13 for display.

[0061] In step S405, the depth-processed 3D image is outputted in a single-channel depth-of-field image output mode. Finally, the 3D image completed by the above-mentioned hole repair technology can be outputted in a single-channel image output mode to display the converted image with a 3D stereoscopic effect on the 3D image display 13.

[0062] [Beneficial effects of the embodiments]

[0063] One beneficial effect of the present invention is that the system and method for converting two-dimensional images into three-dimensional images using deep learning provided by the present invention can retain the main information of the original 2D image to the maximum extent through a convolutional neural network model and a technical solution of hole repair technology, while removing redundant information, thereby effectively representing depth of field information and obtaining a better 3D conversion effect.

[0064] The contents disclosed above are only preferred feasible embodiments of the present invention, and are not intended to limit the claims of the present invention. Therefore, all equivalent technical changes made using the contents of the present invention's specification and drawings are included in the claims of the present invention.

Claims

1. A system for converting two-dimensional images into three-dimensional images using deep learning, include: One or two-dimensional image depth of field generation module, including: a 2D image acquisition unit, configured to receive at least one 2D image; and a depth calculation unit connected to the 2D image acquisition unit, used to establish at least one depth map of at least one of the 2D images, the depth calculation unit comprising an image input device, a downsampler, an image adjuster, a first convolution calculator, an encoder, a decoder, an overlay device, an image enhancer and a single-channel depth image output device; wherein the color image input device is used to receive at least one 2D image; the downsampler is connected to the color image input device, used to downsample at least one 2D image; the image adjuster is connected to the downsampler, used to remove noise and edges of at least one downsampled 2D image; the first convolution calculator is connected to the image adjuster, used to obtain the downsampled and adjusted 2D image, and perform a first The encoder is connected to the first convolution calculator to reduce the image resolution of the downsampled and adjusted 2D image, and performs a second image feature extraction on the 2D images with different image resolutions; the decoder is connected to the encoder to upsample the 2D image with changed image resolution output by the encoder; the superimposer is connected to the encoder and the decoder respectively to fuse the resolution features of the 2D image with changed resolution by the encoder or the 2D image upsampled by the decoder and extract the image features for the third time; the image enhancer is connected to the superimposer to enhance the acquired image features as the depth map of the 2D image; a new viewing angle generation module, connected to the depth calculation unit, for combining at least one of the 2D images with at least one of the depth maps to output a three-dimensional image, the new viewing angle generation module comprising: a 3D image generation module, the 3D image generation module applying 3D DIBR technology to combine at least one of the 2D images with at least one of the depth maps to output the 3D image, a hole repair module to repair the 3D image, and output the depth-processed 3D image in a single-channel depth image output mode; A 3D image display is connected to the new viewing angle generation module and is used to display the 3D image.

2. The system for converting a two-dimensional image into a three-dimensional image as claimed in claim 1, in, The depth calculation unit applies a convolutional neural network model to at least one of the 2D images to obtain at least one of the depth maps.

3. The system for converting two-dimensional images into three-dimensional images using deep learning as claimed in claim 2, in, The convolutional neural network model adopts a joint loss function, and its formula is: , where λ and μ are weight coefficients of the sub-loss function, is the Euler loss function of the global depth map, is the spatial inverse loss function and is the surface normal vector dot product error loss function.

4. The system for converting two-dimensional images into three-dimensional images using deep learning as claimed in claim 3, wherein In the above, the Euler loss function of the global depth map is , the depth map space inverse loss function , the surface normal vector dot product error loss function , in, Let di be the predicted depth value of the image (pix), gi be the label depth value, and the image error can be expressed as ei = ||di-gi||. Let , , , Respectively represent the Sobel operation value of any coordinate point in the image in the horizontal and vertical directions.

5. A method for converting two-dimensional images into three-dimensional images using deep learning, wherein include: Collect at least one 2D image, and transmit at least one of the 2D images to a depth calculation unit to establish at least one depth map, wherein the depth calculation unit realizes resolution conversion of at least one of the 2D images by sampling, and applies multiple convolutional neural network models to predict at least one depth map of at least one of the 2D images; wherein, The depth of field calculation unit includes an image input device, a downsampler, an image regulator, a first convolution calculator, an encoder, a decoder, an overlay device, an image enhancer and a single-channel depth of field image output device; wherein the color image input device is used to receive at least one 2D image; the downsampler is connected to the color image input device and is used to downsample at least one 2D image; the image regulator is connected to the downsampler and is used to remove noise and edges of at least one downsampled 2D image; the first convolution calculator is connected to the image regulator and is used to obtain the downsampled and adjusted 2D image and perform the first extraction of image features; the encoder is connected to the The first convolution calculator is used to reduce the image resolution of the downsampled and adjusted 2D image, and perform a second image feature extraction on the 2D images with different image resolutions; the decoder is connected to the encoder, and is used to upsample the 2D image with changed image resolution output by the encoder; the superimposer is connected to the encoder and the decoder, and is used to fuse the resolution features of the 2D image with changed resolution by the encoder or the 2D image upsampled by the decoder, and perform a third image feature extraction; the image enhancer is connected to the superimposer, and is used to enhance the acquired image features as the depth map of the 2D image; A new viewing angle generation module is used to combine at least one of the 2D images and at least one of the depth maps to generate a 3D image; wherein the new viewing angle generation module includes a 3D image generation module and a hole repair module, the 3D image generation module applies 3D DIBR technology to combine at least one of the 2D images and at least one of the depth maps to output at least one of the 3D images, and the hole repair module repairs at least one of the 3D images; the 3D image after depth processing is output in a single-channel depth image output mode, and the 3D image is displayed.

6. The method for converting a two-dimensional image into a three-dimensional image using deep learning as claimed in claim 5, in, The multiple convolutional neural network models adopt a joint loss function, the formula of which is , where λ and μ are weight coefficients of the sub-loss function, is the Euler loss function of the global depth map, is the spatial inverse loss function and is the surface normal vector dot product error loss function.

7. The method for converting a two-dimensional image into a three-dimensional image using deep learning as claimed in claim 6, in, The global depth map Euler loss function , the depth map space inverse loss function , the surface normal vector dot product error loss function , where di is the predicted depth value of the image (pix), gi is the label depth value, and the image error can be expressed as ei = ||di-gi||. , , , Respectively represent the Sobel calculation value of any coordinate point in the image in the horizontal and vertical directions.