Underwater polarization imaging method integrating physical model and deep learning

By integrating physical models and deep learning underwater polarization imaging methods, combined with residual-dense neural networks and polarization-aware loss functions, the problem of image restoration in high turbidity environments is solved, and the restoration of high-contrast clear images is achieved, improving the Effects and interpretability of underwater imaging.

CN114758030BActive Publication Date: 2024-09-06TIANJIN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210467967.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2024-09-06
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

It is difficult for the existing technology to effectively handle image restoration in high turbidity environments in underwater imaging, resulting in problems such as low image contrast and color distortion, and the deep learning method has insufficient generalization capabilities in real environments.

Method used

Using an underwater polarization imaging method that integrates physical models and deep learning, by constructing a data set of polarization images under turbid water, combined with a residual-dense neural network and a polarization-aware loss function, image descattering and restoration are achieved, and polarization modulation parameter modulation is used The light intensity complies with the laws of physics and improves the quality of image restoration.

Benefits of technology

It achieves the restoration of low-contrast images in turbid water into high-contrast clear images, which is suitable for high-turbidity water environments, improves imaging clarity and imaging distance, and is more interpretable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114758030B
    Figure CN114758030B
Patent Text Reader

Abstract

The present invention discloses an underwater polarization image descattering method that integrates physical models and deep learning, including constructing a polarization image data set for turbid water; preprocessing the original polarization image data; constructing a core network for feature extraction in combination with an underwater polarization imaging model to obtain output polarization modulation parameters and an underwater imaging polarization descattering correction model; and calculating a restored clear image based on the polarization modulation parameters and the underwater imaging polarization descattering correction model; optimizing the network using a polarization-aware loss function, and better restoring the image using deep features of the predicted image and the clear polarization image. The present invention integrates the physical model of underwater polarization imaging into a deep neural network, better constrains the training of the neural network through the physical model, realizes the unification of the training process and physical laws, and constrains the model with a polarization-aware loss function to achieve an improvement in imaging contrast and imaging distance in a water scattering environment, and is particularly suitable for image restoration in a high turbidity underwater environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of polarization imaging technology, and in particular to an underwater polarization imaging method integrating physical models and deep learning. Background Art

[0002] In the process of underwater imaging, the scattering and absorption of light by particles in the medium will cause the image quality to deteriorate. To describe this process, an underwater imaging model is proposed based on the atmospheric scattering model, which divides the light signal received by the sensor into two parts, namely the reflection term and the scattering term. Most of the current image descattering technologies are based on this model, such as the dark channel prior method. However, these technologies make non-real estimates of ambient light and transmission coefficients, resulting in unsatisfactory final image restoration effects. In addition, the non-real estimates of ambient light and transmission coefficients will also cause problems such as low image contrast and color distortion. The underwater imaging polarization descattering model that combines polarization imaging technology with the underwater imaging model can effectively improve the image restoration quality by utilizing the polarization information of the target and background, but the effect improvement is still limited. At present, deep learning has been successfully applied to a variety of image restoration tasks, and the effects are mostly stronger than traditional methods, but most of them are end-to-end networks, the restoration process does not completely follow the physical laws, and the interpretability is poor. In addition, the data sets used by these methods are mostly virtual images calculated and generated by numerical models, so the generalization ability of these networks is poor and they are not applicable to images in real environments. In addition, these methods are mostly used in low-turbidity scattering environments, while the real atmosphere or water environment often has high turbidity, which also makes the effects of these algorithms less than ideal. Summary of the invention

[0003] The present invention aims to solve the problem that images taken in turbid water are difficult to restore, and proposes an underwater polarization imaging method that integrates physical models and deep learning, which can restore low-contrast images taken in turbid water to high-contrast clear images, which is particularly suitable for water environments with high turbidity.

[0004] The present invention is implemented by the following technical solutions:

[0005] An underwater polarization image descattering method integrating physical model and deep learning, the method comprising the following steps:

[0006] Step 1: construct a polarization image dataset under turbid water, adjust the exposure time of the polarization camera, continuously collect multiple polarization images with different polarization directions for the same target at the corresponding concentration, calculate the average value of the light intensity in the same polarization direction as the image under turbid water, and continuously collect the same number of clear polarization images with the corresponding polarization direction under clear water, calculate the average value of the light intensity in the same polarization direction as the label, form a pair of images under turbid water and clear images, and save them as an image dataset;

[0007] Step 2: Preprocess the original polarization image data:

[0008] Step 2.1, merge the single-channel polarization images of multiple polarization directions into a single three-channel image along the channel direction. In order to learn the polarization characteristics of the target, any three or more single-channel images of different polarization directions are merged into a multi-channel image along the channel direction.

[0009] Step 2.2, cropping the turbid water image and the clear image into sub-images;

[0010] Step 2.3, finally, randomly split the data set into training set, validation set and test set according to the proportion;

[0011] Step 3, constructing a residual-dense neural network for feature extraction in combination with an underwater polarization imaging model, and obtaining output polarization modulation parameters and an underwater imaging polarization descattering correction model from the residual-dense neural network:

[0012] Step 3.1, configure the shallow feature extraction module, which includes two convolutional layers. The number of convolution kernels in the first 3×3 convolutional layer is 64, and the number of convolution kernels in the second 3×3 convolutional layer is 32;

[0013] Step 3.2, configure the residual-dense module, which is configured with 16 residual-dense modules. The residual-dense module consists of a convolutional layer, a linear correction unit ReLU function as an activation function, and a local feature fusion module. The layers in each residual-dense connection block are densely connected to perform feature combination. Each residual-dense module contains 6 convolutional layers and their corresponding ReLU functions.

[0014] Step 3.3, configure the local feature fusion module, which includes the Concat layer and the 3×3 convolution layer. The Concat layer fuses all the features output from the residual-dense module. The 3×3 convolution layer further extracts features from the fused results and performs residual operations on the output results and the input.

[0015] Step 3.4, configure the global feature fusion module, which includes a Concat layer, two 3×3 convolutional layers and a ReLU layer as an activation function. This module is used to globally fuse the features of different levels extracted by the residual-dense module;

[0016] Step 3.5, establish the underwater polarization image descattering model as shown in formula (1):

[0017]

[0018] Where I(x,y) represents the light intensity of the pixel at (x,y), and ΔI(x,y) is the horizontal component I of I(x,y).|| (x,y) and the vertical component I ⊥ The difference result of (x, y), P scat is the linear polarization degree of the backscattered light, A ∞ is the ambient light, L(x,y)

[0019] To descatter the image,

[0020] Polarization modulation parameter H(x,y) is obtained by P scat and A ∞ The light intensity I(x,y) is modulated and used as the output of the residual-dense neural network of the underwater polarization image restoration model. The restored clear image is obtained by constraining it through formula (2).

[0021] Step 4: Calculate the mean square error between the polarization-aware features of the restored image and the label image through the polarization-aware loss function to obtain the polarization-aware loss, and use the loss to guide the training process of the neural network to achieve image descattering.

[0022] In step 3:

[0023] The optimized underwater imaging polarization descattering correction model is shown in formula (2):

[0024] L(x,y)=H(x,y)·I(x,y)-H(x,y)+b (2)

[0025] Where b is the bias parameter, · represents the pixel-by-pixel multiplication operation, and H(x,y) is the polarization modulation parameter, as shown in formula (3):

[0026]

[0027] The step 4 also includes:

[0028] Design a polarization-aware loss function that enhances polarization information. As shown in formula (4):

[0029]

[0030] Among them, C is the number of channels of the image, m and n are the image sizes, is the predicted clear image obtained by calculating the intermediate correction parameter H(x, y) output by the network through the underwater imaging polarization descattering correction model (Formula (2)), represents a high-contrast, clear polarization image obtained in clear water. θ represents the three polarization directions of 0°, 45°, and 90°. φ(·) is the polarization feature perception function, which is composed of a partial network of the pre-trained VGG network and is used to extract the polarization features of the input image.

[0031] The method further comprises the following steps:

[0032] Step 5: According to the requirements of descattering quality, the parameters of the underwater imaging polarization descattering model are adjusted, including the initial learning rate, batch size, loss function constraint, the number of residual-dense modules, and the number of convolution kernels. The residual-dense neural network of the underwater polarization image restoration model based on polarization modulation parameters is trained. During the training process, the input image is flipped and rotated to achieve data expansion. The specific settings are: the minimum batch size is 28, the learning rate is initialized to 0.0001, the step decay learning rate method is used, the decay rate is set to 0.6, the decay step is 10, the training cycle is 90, and the Adam algorithm is used to optimize the loss function.

[0033] Compared with the prior art, the present invention discloses an underwater polarization imaging method integrating physical model and deep learning, which can achieve the following beneficial effects and advantages:

[0034] 1) The network is mainly built by combining the residual-dense structure of the underwater polarization image restoration model based on polarization modulation parameters. The polarization modulation parameters modulate the light intensity by parameters such as the transmission coefficient and the polarization degree of the backscattered light in the underwater polarization imaging descattering model, reducing the number of parameters to be determined. The network combined with this model realizes the image descattering process that is more in line with physical laws, has stronger interpretability, and achieves better image descattering effect;

[0035] 2) A polarization-aware loss function based on a pre-trained VGG network for neural networks mainly uses the mean square error of polarization features as pixel loss, which can effectively utilize the polarization features in polarization images, thereby better restoring polarization images in highly turbid water bodies;

[0036] 3) It can be applied to underwater optical imaging to improve imaging clarity and imaging distance. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is an overall flow chart of the underwater polarization image descattering method integrating physical model and deep learning of the present invention;

[0038] Figure 2 This is a flow chart of an embodiment of an underwater polarization image descattering method integrating a physical model and deep learning of the present invention;

[0039] Figure 3 A schematic diagram of the structure of a deep neural network according to an embodiment of the present invention;

[0040] Figure 4 Schematic diagram of the descattering effect of a turbid underwater polarization image according to an embodiment of the present invention. DETAILED DESCRIPTION

[0041] The specific implementation modes of the present invention will be described in detail below with reference to the accompanying drawings.

[0042] Figure 1 The flowchart of the underwater polarization image descattering method provided by the present invention is a method integrating physical model and deep learning. The process specifically includes the following steps:

[0043] Step 1, construct a polarization image dataset under turbid water: add different amounts of turbid media into clear water to simulate turbid water environment; adjust the appropriate exposure time of the polarization camera, continuously collect multiple polarization images with different polarization directions for the target at the corresponding concentration, and calculate the average light intensity in the same polarization direction as the image under turbid water; continuously collect the same number of clear polarization images with corresponding polarization directions for the same target in clear water, and calculate the average light intensity in the same polarization direction as the label;

[0044] When collecting images under turbid water and clear images, it is necessary to adjust the exposure time at the same time to make the light intensity values ​​of the images under turbid water and clear images basically consistent;

[0045] Step 2: Preprocess the original polarization image data:

[0046] Step 2.1, merge the single-channel polarization images of multiple polarization directions such as 0°, 45° and 90° into a single three-channel image along the channel direction. Since the light intensity diagrams in any three polarization directions can be solved to obtain the line Stokes vector, in order to learn the polarization characteristics of the target, any three or more single-channel images with different polarization directions are merged into a multi-channel image along the channel direction. In one embodiment of the present invention, the single-channel polarization images in the three directions of 0°, 45° and 90° are merged into a single three-channel image along the channel direction as an example;

[0047] Step 2.2, cropping the turbid water image and the clear image into sub-images of appropriate size (e.g., 64×64);

[0048] Step 2.3, finally, randomly split the data set into training set, validation set and test set according to a certain ratio (such as 8:1:1);

[0049] Step 3, combining the underwater polarization imaging model (as shown in formula (4)) to construct a residual-dense neural network for feature extraction, and the output polarization modulation parameters and the underwater imaging polarization descattering correction model are obtained by the residual-dense neural network, as shown in Figure 3 A is a schematic diagram of the structure of a deep neural network according to an embodiment of the present invention. The deep neural network consists of multiple Figure 3 The residual-dense module shown in B is combined with an underwater polarization image restoration model based on polarization modulation parameters;

[0050] Step 3.1, configuring a shallow feature extraction module 100, which includes two convolutional layers, the number of convolutional kernels of the first 3×3 convolutional layer is 64, and the number of convolutional kernels of the second 3×3 convolutional layer is 32;

[0051] Step 3.2, configure the residual-dense module 200, which is configured with 16 residual-dense modules. Specifically, the residual-dense module is composed of a convolution layer, a linear correction unit ReLU function as an activation function, and a local feature fusion module. Each residual-dense module uses a dense connection method to combine features between the layers. In this embodiment, each residual-dense module includes 6 convolution layers and their corresponding ReLU functions;

[0052] Step 3.3, configure the local feature fusion module 300: the module includes a Concat layer (i.e., a 1×1 convolution layer) and a 3×3 convolution layer. The Concat layer fuses all features output from the residual-dense module. The 3×3 convolution layer further extracts features from the fused results and performs a residual operation on the output result and the input.

[0053] Step 3.4, configure the global feature fusion module. Specifically, the global feature fusion module includes a Concat layer (i.e., a 1×1 convolution layer), two 3×3 convolution layers, and a ReLU layer as an activation function, through which the features of different levels extracted by the residual-dense module are globally fused;

[0054] Step 3.5, the underwater polarization image descattering model is shown in formula (1):

[0055]

[0056] Where I(x,y) represents the light intensity of the pixel at (x,y), and ΔI(x,y) is the horizontal component I of I(x,y). || (x,y) and the vertical component I ⊥ The difference result of (x, y), P scat is the linear polarization degree of the backscattered light, A ∞ is the ambient light, L(x,y) is the descattered image;

[0057] Furthermore, to restore the image using the polarization image from the underwater imaging polarization descattering model, it is necessary to clarify P scat and A ∞ Two parameters, and the P of the label image in the real environment scat and A ∞ Difficult to calculate. In order to reduce the number of parameters and simplify the calculation, the optimized underwater imaging polarization descattering correction model is shown in formula (2):

[0058] L(x,y)=H(x,y)·I(x,y)-H(x,y)+b (2)

[0059] Where b is the bias parameter (set to 1), · represents the pixel-by-pixel multiplication operation, and H(x, y) is the polarization modulation parameter, as shown in formula (3):

[0060]

[0061] Polarization modulation parameter H(x,y) is obtained by P scat and A ∞ The light intensity I(x,y) is modulated and used as the output of the residual-dense neural network of the underwater polarization image restoration model. The restored clear image is obtained by constraining it through formula (2).

[0062] Step 4: Design a polarization-aware loss function that enhances polarization information. As shown in formula (4):

[0063]

[0064] Among them, C is the number of channels of the image, m and n are the image sizes, is the predicted clear image obtained by calculating the intermediate correction parameter H(x, y) output by the network through the underwater imaging polarization descattering correction model (Formula (2)), represents a high-contrast, clear polarization image obtained under clear water, θ represents the three polarization directions of 0°, 45° and 90°, φ(·) is a polarization feature perception function, which is composed of a part of the pre-trained VGG network and is used to extract the polarization features of the input image. In the embodiment of the present invention, the part before the second activation function ReLU layer of the pre-trained VGG-16 is used;

[0065] The polarization-aware loss function is used to calculate the mean square error between the polarization-aware features of the restored image and the label image to obtain the polarization-aware loss. This loss is then used to guide the training process of the neural network to achieve image descattering.

[0066] Step 5, according to the requirements of descattering quality, adjust the parameters of the underwater imaging polarization descattering model, including the initial learning rate, batch size, loss function constraint terms, the number of residual-dense modules and the number of convolution kernels; train the residual-dense neural network of the underwater polarization image restoration model based on polarization modulation parameters, and flip and rotate the input image during the training process to achieve data expansion; specifically, in this embodiment, the minimum batch processing sample number is 28, the learning rate is initialized to 0.0001, the step decay learning rate method is used, the decay rate is set to 0.6, the decay step size is 10, the training cycle is 90, and the Adam algorithm is used to optimize the loss function.

[0067] In an embodiment of the present invention, the polarization modulation parameter is calculated using the residual-dense network of the underwater polarization image restoration model based on the polarization modulation parameter, and then the light intensity map restored by the optimized underwater imaging polarization descattering correction model is obtained, such as Figure 4 4A is a diagram showing the descattering effect of a polarized image in turbid water according to an embodiment of the present invention. 4B is a light intensity image reconstructed after descattering using an embodiment of the present invention, and 4C is a high-contrast light intensity image in clear water. It can be seen from the figure that the underwater polarized image descattering method proposed by the present invention that integrates the powerless model and deep learning can effectively descatter images in turbid water.

[0068] In summary, the present invention provides an underwater polarization image descattering method that integrates a physical model and deep learning, comprising preparing a polarization image data set for turbid water; preprocessing the original polarization image data, and fusing polarization information using a convolutional neural network; building a core network for feature extraction by combining an underwater polarization imaging model with a residual-dense module, obtaining output polarization modulation parameters by training the core network, and calculating a restored clear image based on the polarization modulation parameters and an underwater polarization path model; optimizing the network using a polarization-aware loss function, and the network can utilize deep features of the predicted image and the clear polarization image to better perform image restoration.

[0069] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Those skilled in the art may make various modifications, equivalent substitutions or variations without departing from the spirit and scope of the present invention, and all modifications, equivalent substitutions or variations made within the spirit and principles of the present application fall within the protection scope of the present invention as defined by the appended claims.

Claims

1. An underwater polarization image descattering method integrating physical model and deep learning, characterized in that: The method comprises the following steps: Step 1: construct a polarization image dataset under turbid water, adjust the exposure time of the polarization camera, continuously collect multiple polarization images with different polarization directions for the same target at the corresponding concentration, calculate the average value of the light intensity in the same polarization direction as the image under turbid water, and continuously collect the same number of clear polarization images with the corresponding polarization direction under clear water, calculate the average value of the light intensity in the same polarization direction as the label, form a pair of images under turbid water and clear images, and save them as an image dataset; Step 2: Preprocess the original polarization image data: Step 2.1, merge the single-channel polarization images of multiple polarization directions into a single three-channel image along the channel direction. In order to learn the polarization characteristics of the target, any three or more single-channel images of different polarization directions are merged into a multi-channel image along the channel direction. Step 2.2, cropping the turbid water image and the clear image into sub-images; Step 2.3, finally, randomly split the data set into training set, validation set and test set according to the proportion; Step 3, constructing a residual-dense neural network for feature extraction in combination with an underwater polarization imaging model, and obtaining output polarization modulation parameters and an underwater imaging polarization descattering correction model from the residual-dense neural network: Step 3.1, configure the shallow feature extraction module, which includes two convolutional layers. The number of convolution kernels in the first 3×3 convolutional layer is 64, and the number of convolution kernels in the second 3×3 convolutional layer is 32; Step 3.2, configure the residual-dense module, which is configured with 16 residual-dense modules. The residual-dense module consists of a convolutional layer, a linear correction unit ReLU function as an activation function, and a local feature fusion module. The layers in each residual-dense connection block are densely connected to perform feature combination. Each residual-dense module contains 6 convolutional layers and their corresponding ReLU functions. Step 3.3, configure the local feature fusion module, which includes the Concat layer and the 3×3 convolution layer. The Concat layer fuses all the features output from the residual-dense module. The 3×3 convolution layer further extracts features from the fused results and performs residual operations on the output results and the input. Step 3.4, configure the global feature fusion module, which includes a Concat layer, two 3×3 convolutional layers and a ReLU layer as an activation function. This module is used to globally fuse the features of different levels extracted by the residual-dense module; Step 3.5, establish the underwater polarization image descattering model as shown in formula (1): Where I(x,y) represents the light intensity of the pixel at (x,y), and ΔI(x,y) is the horizontal component I of I(x,y). P (x,y) and the vertical component I ⊥ The difference result of (x,y), P scat is the linear polarization degree of the backscattered light, A ∞ is the ambient light, L(x,y) is the descattered image, Polarization modulation parameter H(x,y) is obtained by P scat and A ∞ The light intensity I(x,y) is modulated and used as the output of the residual-dense neural network of the underwater polarization image restoration model. It is constrained by formula (2) to obtain a restored clear image. The optimized underwater imaging polarization descattering correction model is shown in formula (2): L(x,y)=H(x,y)·I(x,y)-H(x,y)+b (2) Where b is the bias parameter, · represents the pixel-by-pixel multiplication operation, and H(x,y) is the polarization modulation parameter, as shown in formula (3): Step 4: Calculate the mean square error between the polarization-aware features of the restored image and the label image through the polarization-aware loss function to obtain the polarization-aware loss, and use the loss to guide the training process of the neural network to achieve image descattering; design a polarization-aware loss function that enhances polarization information. As shown in formula (4): Among them, C is the number of channels of the image, m and n are the image sizes, is the predicted clear image obtained by calculating the intermediate correction parameter H(x, y) output by the network through the underwater imaging polarization descattering correction model, that is, formula (2), represents a high-contrast, clear polarization image obtained in clear water. θ represents the three polarization directions of 0°, 45°, and 90°. φ(·) is the polarization feature perception function, which is composed of a partial network of the pre-trained VGG network and is used to extract the polarization features of the input image.

2. The underwater polarization image descattering method integrating physical model and deep learning as claimed in claim 1, characterized in that: The method further comprises the following steps: Step 5: According to the requirements of descattering quality, the parameters of the underwater imaging polarization descattering model are adjusted, including the initial learning rate, batch size, loss function constraint, the number of residual-dense modules, and the number of convolution kernels. The residual-dense neural network of the underwater polarization image restoration model based on polarization modulation parameters is trained. During the training process, the input image is flipped and rotated to achieve data expansion. The specific settings are: the minimum batch size is 28, the learning rate is initialized to 0.0001, the step decay learning rate method is used, the decay rate is set to 0.6, the decay step is 10, the training cycle is 90, and the Adam algorithm is used to optimize the loss function.