Multimode fiber speckle image reconstruction method based on deep learning

By using deep learning's multi-scale convolution network and multi-dimensional attention mechanism module in multi-mode optical fiber transmission, the problems of low imaging quality and insufficient noise immunity caused by multi-mode dispersion interference are solved, and the problem of low image quality and insufficient noise immunity caused by multi-mode dispersion interference is solved, and the image processing under small sample data is achieved. High-quality image reconstruction and fast training.

CN118644572AInactive Publication Date: 2024-09-13UNIV OF SHANGHAI FOR SCI & TECH
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410845318.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing technology, due to multi-mode dispersion interference in multi-mode optical fiber transmission, target information cannot be accurately distinguished, imaging quality is low, and noise immunity is insufficient. Traditional methods require a large amount of data and long-term training, which limits imaging under small sample data. Effect.

Method used

The multi-scale convolution network and multi-dimensional attention mechanism module based on deep learning are used to replace the convolution layer in the U-net network framework, and image reconstruction is performed through the multi-scale convolution module and multi-dimensional attention mechanism module to reduce training The number of samples improves the quality of image reconstruction.

Benefits of technology

Under the small sample data set, the reconstruction quality of multi-mode fiber speckle images is significantly improved, the network model training time is reduced, the imaging effect and stability are improved, and high-quality image reconstruction is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644572A
    Figure CN118644572A
Patent Text Reader

Abstract

The invention discloses a multimode optical fiber speckle image reconstruction method based on deep learning. The method comprises the following steps: S1, acquiring a speckle image of an MNIST handwritten body after the MNIST handwritten body is subjected to multimode optical fiber mode dispersion by using an optical experiment system; s2, the obtained speckle images are divided into a training set and a test set, 2000 speckles are used for training, and 200 speckles are used for testing; s3, replacing a convolutional layer in a U-net network framework with a multi-scale convolutional network module, and embedding a multi-dimensional attention mechanism module into a network model decoding layer; s4, putting the data set in a designed multi-scale convolution and multi-dimensional attention mechanism network for training to obtain a training model; and S5, performing image reconstruction on the verification set by using the trained model. According to the invention, the reconstruction quality of the multimode fiber speckle pattern of the sparse signal waveform image under the small sample data set can be improved, and the generalization ability of the whole network is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of multimode optical fiber modal dispersion imaging, and in particular to a method based on deep learning and multimode optical fiber modal dispersion image reconstruction. Background Art

[0002] Multimode fiber plays an important role in the miniaturization of endoscopes. However, as a special scattering medium, light transmitted through MMF is affected by multimode dispersion, which causes the target information to be disturbed into speckles, making it impossible to distinguish the original image at the incident end. Currently, methods such as phase conjugation, wavefront shaping, and fiber transmission matrix calculation are used to recover and identify the speckle pattern at the end of multimode fiber. However, these methods require precise calibration and repeated measurements, and have certain limitations in flexibility and stability.

[0003] In the actual process of speckle pattern collection, it is often disturbed by various external noises. The existing imaging methods are weak in anti-disturbance, resulting in low imaging quality. The current mainstream method is to use deep learning to reconstruct multimode fiber speckle. Although this method can reconstruct speckle images well, it has the disadvantages of poor imaging quality and long training time due to the large amount of data required for the network model. Summary of the invention

[0004] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a multimode optical fiber speckle image reconstruction method based on deep learning, which can improve the imaging effect of multimode optical fiber speckle under a small sample data set, and at the same time improve the quality of multimode optical fiber speckle image reconstruction, can reduce the number of training samples, thereby achieving the purpose of reducing the network model training time. In order to achieve the above-mentioned purpose and other advantages according to the present invention, a method based on deep learning and multimode optical fiber speckle image reconstruction is provided, comprising:

[0005] S1. Use the optical experimental system to obtain the speckle pattern of MNIST handwriting after passing through the multimode fiber mode dispersion;

[0006] S2, dividing the acquired speckle images into a training set and a test set, 2000 speckle images are used for training and 200 for testing;

[0007] S3, replace the convolutional layer in the U-net network framework with the multi-scale convolutional network module, and embed the multi-dimensional attention mechanism module into the decoding layer of the network model;

[0008] S4. Put the data set into the designed multi-scale convolution and multi-dimensional attention mechanism network for training to obtain the training model;

[0009] S5. Use the trained model to reconstruct the images of the validation set.

[0010] Preferably, the first optical test system in step S1 includes a laser, a first objective lens arranged on one side of the laser, a pinhole filter, a lens, a polarizer, a beam splitter and a spatial light modulator arranged on one side of the beam splitter in sequence, a second objective lens is arranged below the beam splitter, the second objective lens is connected to a third objective lens via a multimode optical fiber, a second lens is arranged on one side of the third objective lens, and a camera is arranged on one side of the second lens.

[0011] Preferably, in step S2, the MNIST handwriting data set is collected using a self-built multimode optical fiber speckle collection system, and the collected 2200 speckle images are compared with the original Figure 1 Correspondingly, the first 2000 images are selected as the training set and the last 200 images are selected as the validation set.

[0012] Preferably, in step S3, the multi-scale convolution and multi-dimensional attention mechanism module designed based on the U-net network framework replaces the double-layer convolution layer in the original U-net network with a residual multi-scale convolution block in which the double layers are connected end to end and each layer consists of 1×1, 3×3, and 5×5 convolution layers, and embeds the attention mechanism module in two dimensions of space and channel in the decoding layer.

[0013] Preferably, in step S4, the improved model is trained by the collected image data to learn the feature representation of the image; and the trained network model is used to perform reconstruction testing on the data of the verification set.

[0014] Compared with the prior art, the present invention has the following beneficial effects:

[0015] (1) The lightweight network architecture U-net is combined with a multi-scale convolution module and a spatial and channel attention mechanism module that can extract more detailed features. While expanding the information receptive field, it can pay more attention to the key features of sparse signal waveform images.

[0016] (2) The improved network based on the lightweight network architecture can greatly improve the quality of speckle image reconstruction in the case of small sample data sets and avoid excessive training time.

[0017] (3) The U-net-based deep learning imaging method can achieve high-quality imaging through the combination of encoder and decoder and the use of skip connections. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 An optical system diagram of a multimode optical fiber speckle image reconstruction method based on deep learning according to the present invention;

[0019] Figure 2 It is a flowchart of a multimode optical fiber speckle image reconstruction method based on deep learning according to the present invention;

[0020] Figure 3 It is a structural diagram of the U-net improved model of the multimode optical fiber speckle image reconstruction method based on deep learning according to the present invention;

[0021] Figure 4 A comparison diagram of different network reconstructions of the multimode optical fiber speckle image reconstruction method based on deep learning according to the present invention;

[0022] Figure 5 This is an evaluation index diagram during the training iteration process of the multimode optical fiber speckle image reconstruction method based on deep learning according to the present invention. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] Reference Figure 1-5 , a multimode optical fiber speckle image reconstruction method based on deep learning, comprising the following steps:

[0025] S1. Use the optical experimental system to obtain the speckle pattern of MNIST handwriting after passing through the multimode fiber mode dispersion;

[0026] S2, dividing the acquired speckle images into a training set and a test set, 2000 speckle images are used for training and 200 for testing;

[0027] S3, replace the convolutional layer in the U-net network framework with the multi-scale convolutional network module, and embed the multi-dimensional attention mechanism module into the decoding layer of the network model;

[0028] S4. Put the data set into the designed multi-scale convolution and multi-dimensional attention mechanism network for training to obtain the training model;

[0029] S5. Use the trained model to reconstruct the images of the validation set.

[0030] Example 1

[0031] Step S1, firstly, use the first optical experimental system to obtain the speckle pattern that appears after the multimode optical fiber mode dispersion under the condition of no disturbance. The first optical system diagram is as follows Figure 1As shown, a He-Ne laser emits a laser with a wavelength of 632.8nm as the experimental light source, and a micro-objective lens, a pinhole filter and a lens are used to focus, filter, collimate and expand the light source. The image information is transmitted to the optical path using a polarizer, a beam splitter and a spatial light modulator. In the experiment, the spatial light modulator is a pure phase spatial light modulator, but with the help of a linear polarizer, the phase-type object is converted into an amplitude-type object and coupled into the multimode optical fiber through an objective lens. The optical information of the grayscale image is coupled into the MMF at the input end of the optical fiber using an objective lens, and then the scrambled information is coupled into the MMM using the same objective lens at the output end of the optical fiber, which completes the transmission of optical information in the multimode optical fiber. The speckle pattern is collected by a second lens and then imaged onto a CCD camera.

[0032] Step S2: The speckle images collected by the self-built multimode optical fiber image transmission system are matched one by one with the original images. In order to ensure the suitability of training and not to lose too much feature information, the speckle images are compressed into a size of 128×128 and spliced ​​with the original images. The first 2000 labeled images are selected as the training set, and the last 200 images are selected as the validation set.

[0033] Step S3, considering that the single-scale convolution of the traditional UNet cannot fully extract the key information of the image and is prone to ignoring the effective features between the local and the global, a multi-scale feature fusion module is introduced. The convolution layer of the decoder in the original UNet is replaced by a parallel combination of three convolution layers with different convolution kernel sizes of 1×1, 3×3, and 5×5. The multi-scale feature fusion module can capture the details and features of the image at different scales. By fusing information at different scales, the performance of the image reconstruction task can be improved, making the model more robust and accurate. On the other hand, a multi-dimensional attention mechanism module is introduced in the decoder of the network, the purpose of which is to learn the attention weights of the upsampled data and assign the optimal weights and biases, so that the network can locate the key information and suppress useless information. The learned feature map is jump-connected with the feature map of the corresponding layer of the upsampled data to perform feature fusion at different levels. While improving the ability to extract key features, the invariance of key feature information can also be guaranteed globally in the network. The multi-dimensional attention mechanism module learns, extracts and fuses features from two dimensions, channel and space, and can achieve better results than the attention mechanism that only focuses on the channel. In addition, in order to further improve the network's ability to extract image features, the pooling layer in the downsampling is replaced by a convolutional layer. The convolutional layer has a larger receptive field than the pooling layer, which helps to capture broader contextual information. At the same time, the convolutional layer can learn more complex features and can achieve less information loss, while the pooling layer simply reduces the size of the feature map, which can easily lead to the loss of some detail information. At this time, the improved model can efficiently learn effective information through the collected data, and its image reconstruction effect is much better than the traditional UNet model. The first layer of the network input is a single-channel 128×128 image, which becomes a 64-channel feature map after the first convolution block. After a series of downsampling, a 1024-channel feature map combination is finally obtained, where each feature map is 8*8 in size. In the decoding process, upsampling and multi-scale convolution operations are used to Figure 3 The multi-dimensional attention mechanism in (b) connects the corresponding downsampling layer with the current layer, and combines the upper layer features of the corresponding jump connection to gradually restore the image detail information, thereby improving image accuracy. Figure 3 (a) is a multi-scale and multi-dimensional fusion module, in which C1 is down-sampled and subjected to a convolution module to obtain C2, and then subjected to an up-sampling to obtain C3. C3 and C1 serve as the input of the multi-dimensional attention mechanism module. Figure 3 (b) is the module structure of the multi-dimensional attention mechanism, in which the input information is output after passing through the series-connected channel and spatial attention modules. The output is then concatenated with C1 to obtain C4, and then passed through Figure 3(c) shows the multi-scale convolution module to obtain C5. The multi-scale convolution module consists of two layers of 1*1, 3*3, and 5*5 convolutions and a residual connection. The three convolution kernels of different scales can provide the network with a wider receptive field, and the residual connection can prevent the gradient from disappearing. During decoding, the network can improve the generalization ability and optimization efficiency of the network while extracting more complex feature information. In the convolution block, a BN layer and a ReLu layer are added after each layer of convolution. The BN layer helps the network to standardize the data, and the ReLu layer can prevent overfitting and reduce the amount of network calculation. After a series of upsampling, the feature image is finally compressed and optimized by using a single layer of convolution and the activation function tanh to output a single-channel image with a resolution of 128*128.

[0034] Steps S4 and S5, input the divided training set and validation set into the network for training to obtain the training parameters of the improved network. The iteration parameters of the validation set during the training process are as follows: Figure 5 As shown in the figure, the parameters of the improved network are far superior to those of other networks. Figure 4 This is the reconstruction effect of the verification set under different networks. It can be seen intuitively that the reconstruction effect of the improved network is the best and the effect has been greatly improved.

[0035] In summary, in the actual process of multimode optical fiber information transmission, it is often disturbed by external noise and the traditional method requires a pre-modulation experimental system. In view of this phenomenon, the present invention analyzes various multimode optical fiber imaging methods and finds the advantages of the multimode optical fiber speckle image reconstruction method based on deep learning, which has the advantages of high flexibility and strong stability. Then, the advantages of the multi-scale convolution module and the multi-dimensional attention mechanism module involved and the improvement effect on the network are analyzed, and it is found that the improved network has greatly improved the reconstruction quality of the multimode optical fiber speckle image.

[0036] The number of devices and processing scales described here are used to simplify the description of the present invention, and the application, modification and variation of the present invention will be obvious to those skilled in the art.

[0037] Although the embodiments of the present invention have been disclosed as above, they are not limited to the applications listed in the specification and the implementation modes, and they can be fully applied to various fields suitable for the present invention. For those familiar with the art, additional modifications can be easily implemented. Therefore, without departing from the general concept defined by the claims and the scope of equivalents, the present invention is not limited to the specific details and the illustrations shown and described herein.

Claims

1. A multimode optical fiber speckle image reconstruction method based on deep learning, It is characterized in that The following steps are involved: S1. Use the optical experimental system to obtain the speckle pattern of MNIST handwriting after passing through the multimode fiber mode dispersion; S2, dividing the acquired speckle images into a training set and a test set, 2000 speckle images are used for training and 200 for testing; S3, replace the convolutional layer in the U-net network framework with the multi-scale convolutional network module, and embed the multi-dimensional attention mechanism module into the decoding layer of the network model; S4. Put the data set into the designed multi-scale convolution and multi-dimensional attention mechanism network for training to obtain the training model; S5. Use the trained model to reconstruct the images of the validation set.

2. The imaging method based on deep learning and multimode fiber mode dispersion as claimed in claim 1, It is characterized in that In step S1, the first optical test system includes a laser, a first objective lens arranged on one side of the laser, a pinhole filter, a lens, a polarizer, a beam splitter and a spatial light modulator arranged on one side of the beam splitter in sequence, a second objective lens is arranged below the beam splitter, the second objective lens is connected to a third objective lens through a multimode optical fiber, a second lens is arranged on one side of the third objective lens, and a camera is arranged on one side of the second lens.

3. The imaging method based on deep learning and multimode fiber mode dispersion as claimed in claim 2, Its characteristics are, In step S2, the self-built multimode optical fiber speckle acquisition system is used to collect data from the MNIST handwriting data set. The 2200 collected speckle images are matched one by one with the original images. The first 2000 images are selected as the training set, and the last 200 images are selected as the validation set.

4. The imaging method based on deep learning and multimode fiber mode dispersion as claimed in claim 3, It is characterized in that In step S3, the basic U-net architecture is used to improve the network. The double-layer convolutional layer in the original U-net network is replaced by a residual multi-scale convolutional block, in which the double layers are connected end to end and each layer consists of 1×1, 3×3, and 5×5 convolutional layers. In addition, an attention mechanism module in both spatial and channel dimensions is embedded in the decoding layer.

5. The multimode optical fiber speckle image reconstruction method based on deep learning as claimed in claim 4, It is characterized in that In step S4, the improved model is trained by the collected image data to learn the feature representation of the image; and the trained network model is used to perform reconstruction testing on the data of the verification set.

Citation Information

Cited By

  • Deep learning method and system for extracting polar sea ice by using multispectral remote sensing image

    CN119339250A

  • Optical fiber speckle multi-parameter demodulation method based on parallel deep learning

    CN120495798A

  • A multi-parameter demodulation method for optical fiber speckle based on parallel deep learning

    CN120495798B