[go: up one dir, main page]

CN115965557A - Polarization recovery imaging method based on transformation Mueller matrix network - Google Patents

Polarization recovery imaging method based on transformation Mueller matrix network Download PDF

Info

Publication number
CN115965557A
CN115965557A CN202310055626.1A CN202310055626A CN115965557A CN 115965557 A CN115965557 A CN 115965557A CN 202310055626 A CN202310055626 A CN 202310055626A CN 115965557 A CN115965557 A CN 115965557A
Authority
CN
China
Prior art keywords
polarization
image
network
transformation
mueller matrix
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310055626.1A
Other languages
Chinese (zh)
Other versions
CN115965557B (en
Inventor
陈玉彬
王馨
高杰
王国臣
陈昱宸
宋甲艺
陈瑞品
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Sci Tech University ZSTU
Original Assignee
Zhejiang Sci Tech University ZSTU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Sci Tech University ZSTU filed Critical Zhejiang Sci Tech University ZSTU
Priority to CN202310055626.1A priority Critical patent/CN115965557B/en
Publication of CN115965557A publication Critical patent/CN115965557A/en
Application granted granted Critical
Publication of CN115965557B publication Critical patent/CN115965557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/30Assessment of water resources

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses a polarization recovery imaging method based on a transformation Mueller matrix network, which comprises the following steps: shooting a clear polarization image of an underwater target and polarization images of the target under different turbidity degrees; and secondly, aiming at the loss of spatial resolution brought by using a polarization camera with a split focal plane, converting a clear polarization image of an underwater target into a clear intensity image of the underwater target by using a targeted interpolation method, constructing a transformation Mueller matrix network by combining an inverted residual convolution structure and a channel attention mechanism according to the idea of the Mueller matrix, establishing a data set in a simulated environment, training the network by fully utilizing polarization information of the image to construct a network capable of outputting a corresponding transformation Mueller matrix according to the input foggy or turbid polarization image, repairing the image by using the transformation Mueller matrix output by the network to obtain a good recovery effect, and keeping stable performance under various environments.

Description

一种基于变换穆勒矩阵网络的偏振复原成像方法A Polarization Restoration Imaging Method Based on Transformed Mueller Matrix Network

技术领域technical field

本发明涉及偏振成像技术领域,具体涉及到一种基于变换穆勒矩阵网络的偏振复原成像方法。The invention relates to the technical field of polarization imaging, in particular to a polarization restoration imaging method based on a transformed Muller matrix network.

背景技术Background technique

如今计算机视觉技术为各行各业都带来了非常大的帮助,不论是在道路上的交通监控还是自动驾驶车辆的图像摄像头,亦或是在水下勘探设备的摄像头,都需要获取图像并通过计算机视觉技术进行分析并对情况做出判断。然而,不论是在空气中还是在水下的介质中都会产生杂质对摄像头所成像的画面产生严重的干扰,例如对比度低、亮度低、物体细节模糊等。这导致基于图像的目标检测与分析在水下难以使用。目前,有雾、浑浊图像复原方法主要是分为两类,包括基于物理模型的复原方法和基于非物理模型的图像增强方法。基于物理模型的复原方法需要考虑图像的退化过程,对气雾或水下成像过程进行数学建模,估计模型参数通过逆推来图像复原,或者利用深度学习技术对映射函数的学习进而复原图像。基于非物理模型的图像增强方法主要有直方图均衡化方法、颜色校正方法、基于融合的方法等。两种技术在一定程度上都是对图像进行改善,提高图像质量。相对而言,图像增强一般是增强视觉感受,偏向于人的主观判断,丢失的细节信息不会得到修复。而图像复原方法则是根据图像退化的模型,进行图像建模,设计映射函数来恢复出原始图像。偏振成像技术是目前研究比较广泛的一种图像复原技术,但其成像效果仍存在一定局限性,应用在不同环境时的成像效果参差不齐,图像质量不够清晰,适用性不够广泛,影响了进一步的应用。Nowadays, computer vision technology has brought great help to all walks of life. Whether it is traffic monitoring on the road, image cameras for self-driving vehicles, or cameras for underwater exploration equipment, it is necessary to acquire images and pass Computer vision technology analyzes and makes judgments about the situation. However, whether it is in the air or in the underwater medium, impurities will seriously interfere with the images imaged by the camera, such as low contrast, low brightness, and blurred object details. This makes image-based object detection and analysis difficult to use underwater. At present, the restoration methods of foggy and turbid images are mainly divided into two categories, including restoration methods based on physical models and image enhancement methods based on non-physical models. The restoration method based on the physical model needs to consider the degradation process of the image, mathematically model the aerosol or underwater imaging process, estimate the model parameters to restore the image through inverse deduction, or use deep learning technology to learn the mapping function and then restore the image. Image enhancement methods based on non-physical models mainly include histogram equalization methods, color correction methods, and fusion-based methods. Both technologies improve the image to a certain extent and improve the image quality. Relatively speaking, image enhancement generally enhances the visual experience, which is biased towards human subjective judgment, and the lost details will not be repaired. The image restoration method is to carry out image modeling according to the image degradation model, and design a mapping function to restore the original image. Polarization imaging technology is an image restoration technology that has been widely studied at present, but its imaging effect still has certain limitations. When it is applied in different environments, the imaging effect is uneven, the image quality is not clear enough, and the applicability is not wide enough, which affects further research. Applications.

发明内容Contents of the invention

为了克服上述现有技术中的缺陷,本发明提供了一种基于变换穆勒矩阵网络的偏振复原成像方法,在模拟的环境下建立数据集,充分利用图像的偏振信息,对网络进行训练以构建能够根据输入的有雾或浑浊偏振图像输出对应的变换穆勒矩阵的网络,使用该网络所输出的变换穆勒矩阵对图像进行修复可以取得不错的复原效果,且在多种环境下都能保持稳定的性能。In order to overcome the defects in the above-mentioned prior art, the present invention provides a polarization restoration imaging method based on the transformed Muller matrix network, which establishes a data set in a simulated environment, makes full use of the polarization information of the image, and trains the network to construct A network that can output the corresponding transformed Mueller matrix according to the input foggy or turbid polarized image. Using the transformed Mueller matrix output by the network to repair the image can achieve a good restoration effect, and it can be maintained in a variety of environments. stable performance.

技术方案Technical solutions

一种基于变换穆勒矩阵网络的偏振复原成像方法,包括以下步骤:A polarization restoration imaging method based on transformed Muller matrix network, comprising the following steps:

步骤一、拍摄水下的目标物清晰的偏振图像与不同浓度下的目标物的偏振图像;Step 1. Take clear polarization images of underwater targets and polarization images of targets at different concentrations;

步骤二、针对使用分焦平面偏振相机带来的空间分辨率损失,使用针对性的插值方法将水下的目标物清晰的偏振图像转化为水下的目标物清晰的强度图像;Step 2. In view of the spatial resolution loss caused by the use of the sub-focal plane polarization camera, a targeted interpolation method is used to convert the clear polarization image of the underwater target object into a clear intensity image of the underwater target object;

步骤三、根据变换穆勒矩阵的思想,构建倒残差卷积神经网络,整体的网络结构按照U形结构设计,特征图在输入后会先经过四个编码器,在编码器中包含倒残差偏振注意力通道模块以及一个下采样层,以提取特征,再通过四次解码器模块进行上采样,解码器模块同样包含倒残差偏振注意力通道模块以及一个上采样层,其中包含通道注意力模块用于提取来自不同通道的偏振形象,并赋予不同通道不同的权重;使用倒残差结构来减少高维信息在通过激活函数后带来的损失,使用了DW卷积和PW卷积模块用于减少网络的计算量,优化网络性能,网络的损失函数包含三个部分分别是边缘损失、内容损失、像素损失,总损失函数由边缘损失、内容损失、像素损失加权获得。Step 3. According to the idea of transforming the Muller matrix, construct the inverted residual convolutional neural network. The overall network structure is designed according to the U-shaped structure. After the feature map is input, it will first pass through four encoders. A differential polarization attention channel module and a downsampling layer to extract features, followed by upsampling through a quadruple decoder module that also contains an inverted residual polarization attention channel module and an upsampling layer that contains channel attention The force module is used to extract the polarization image from different channels and give different weights to different channels; the inverted residual structure is used to reduce the loss of high-dimensional information after passing through the activation function, and the DW convolution and PW convolution modules are used It is used to reduce the computational load of the network and optimize network performance. The loss function of the network includes three parts: edge loss, content loss, and pixel loss. The total loss function is obtained by weighting edge loss, content loss, and pixel loss.

步骤四、对网络进行训练;使用步骤二中所处理的数据对步骤三所构建的倒残差卷积神经网络进行训练,训练后的倒残差卷积神经网络能够根据输入的有雾或浑浊偏振图像输出对应的修复穆勒矩阵;Step 4. Train the network; use the data processed in step 2 to train the inverted residual convolutional neural network constructed in step 3. The trained inverted residual convolutional neural network can The repaired Mueller matrix corresponding to the polarized image output;

步骤五、对图像进行复原;使用步骤四中训练后的倒残差卷积神经网络所输出的修复穆勒矩阵对有雾或浑浊的偏振图像进行修复,最终获得提升明显的复原图像。Step 5: Restoring the image; using the repaired Muller matrix outputted by the inverted residual convolutional neural network trained in Step 4 to repair the foggy or turbid polarized image, and finally obtain a significantly improved restored image.

进一步的,步骤一中的拍摄水下目标物清晰的偏振图像:由光源发出的光束依次经过偏振调制系统的偏振片、和扩束器后照射在水中的目标物,经过目标物反射后到达分焦平面偏振相机,从而得到目标物清晰的偏振图像。Further, in step 1, the clear polarization image of the underwater target is taken: the light beam emitted by the light source passes through the polarizer of the polarization modulation system and the beam expander in sequence, and then irradiates the target in the water, and reaches the branch after being reflected by the target. The focal plane polarization camera can obtain a clear polarization image of the target object.

进一步的,步骤一中的拍摄不同浑浊度下的目标物的偏振图像:在水中逐步加入脱脂牛奶,利用500万像素偏振千兆以太网工业相机拍摄在在不同浑浊浓度环境下的目标物,从而得到浑浊水下环境中目标物的在不同偏振角度和不同浑浊浓度下的偏振图像。Further, the polarized images of the target object under different turbidity in step 1 are taken: gradually add skim milk to the water, and use a 5-megapixel polarized Gigabit Ethernet industrial camera to shoot the target object under different turbidity concentration environments, thereby The polarization images of the target object in the turbid underwater environment under different polarization angles and different turbidity concentrations are obtained.

进一步的,采用532nm蓝绿激光器作为所述光源。Further, a 532nm blue-green laser is used as the light source.

进一步的,步骤三中的所述倒残差偏振注意力通道模块由两个部分组成,第一个部分是由三个卷积层组成的倒残差结构,其中包含一个1*1的卷积对特征图进行升维、一个3*3的卷积对特征进行提取、一个1*1的卷积对特征图进行降维,最后还包含一个BN层进行归一化操作,第二部分是一个通道注意力结构,其中包含一个平均池化层、一个一维的卷积层以及一个Sigemoid激活函数,避免了维度缩减,有效进行了跨通道交互。Further, the inverted residual polarized attention channel module in step 3 consists of two parts, the first part is an inverted residual structure composed of three convolutional layers, which contains a 1*1 convolution Upscale the feature map, a 3*3 convolution extracts the feature, a 1*1 convolution reduces the dimensionality of the feature map, and finally includes a BN layer for normalization. The second part is a The channel attention structure, which includes an average pooling layer, a one-dimensional convolutional layer, and a Sigemoid activation function, avoids dimension reduction and effectively performs cross-channel interaction.

进一步的,步骤三中所构建的倒残差卷积神经网络是基于变换穆勒矩阵的思想设计,该网络的倒残差偏振注意力通道模块能提取相应的特征信息以便于网络能够根据对应的特征信息找到浑浊图像的穆勒矩阵与清晰偏振图像的穆勒矩阵之间的关系,并据此输出对应浑浊图像的变换穆勒矩阵。Furthermore, the inverted residual convolutional neural network constructed in step 3 is based on the idea of transforming the Muller matrix. The inverted residual polarization attention channel module of the network can extract the corresponding feature information so that the network can be based on the corresponding The feature information finds the relationship between the Mueller matrix of the turbid image and the Mueller matrix of the clear polarized image, and outputs the transformed Mueller matrix corresponding to the turbid image accordingly.

进一步的,步骤五中的所述修复穆勒矩阵是基于穆勒矩阵的思想提出的物理模型,描述的是清晰图像和浑浊图像的穆勒矩阵的变换关系。Further, the restoration of the Mueller matrix in step 5 is a physical model proposed based on the idea of the Mueller matrix, which describes the transformation relationship of the Mueller matrix of the clear image and the turbid image.

进一步的,所述目标物放置在装满水的玻璃缸中,用于模拟水下环境。Further, the target is placed in a glass cylinder filled with water to simulate an underwater environment.

进一步的,所述玻璃缸采用PMMA(聚甲基丙烯酸甲酯)材质。Further, the glass cylinder is made of PMMA (polymethyl methacrylate).

有益效果Beneficial effect

本发明与现有技术相比,具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:

根据穆勒矩阵的思想,结合倒残差卷积结构和通道注意力机制构建了变换穆勒矩阵网络,在模拟的环境下建立数据集,充分利用图像的偏振信息,对网络进行训练以构建能够根据输入的有雾或浑浊偏振图像输出对应的修复穆勒矩阵,使用该修复穆勒矩阵对图像进行修复可以取得不错的复原效果,且在多种环境下都能保持稳定的性能。According to the idea of Mueller matrix, combined with the inverted residual convolution structure and channel attention mechanism, a transformed Mueller matrix network is constructed, a data set is established in a simulated environment, and the polarization information of the image is fully utilized to train the network to build a network that can According to the input foggy or turbid polarized image, the corresponding inpainting Muller matrix is output. Using the inpainting Mueller matrix to inpaint the image can achieve a good restoration effect, and can maintain stable performance in various environments.

附图说明Description of drawings

图1为本发明一种基于变换穆勒矩阵网络的偏振复原成像方法的整体流程示意图;Fig. 1 is a schematic diagram of the overall process of a polarization restoration imaging method based on a transformed Muller matrix network in the present invention;

图2为本发明的实验装置示意图;Fig. 2 is a schematic diagram of the experimental device of the present invention;

图3为生成网络结构示意图;Fig. 3 is a schematic diagram of generating network structure;

图4为倒残差偏振通道注意力块结构示意图;Figure 4 is a schematic diagram of the structure of the inverted residual polarization channel attention block;

图5为变换穆勒矩阵网络实验效果图,(a)为高浑浊度图像,(b)为本发明复原后的图像,(c)为清晰的强度图像;Fig. 5 is the experimental rendering of the transformation Muller matrix network, (a) is a high turbidity image, (b) is an image restored by the present invention, and (c) is a clear intensity image;

图6是复原效果评价指标EME、SSIM和PSNR的表格。Fig. 6 is a table of restoration effect evaluation indexes EME, SSIM, and PSNR.

附图标记reference sign

光源1、偏振片2、扩束器3、玻璃缸4、水下环境5、目标物6、分焦平面偏振相机7。Light source 1, polarizer 2, beam expander 3, glass cylinder 4, underwater environment 5, target object 6, focal plane polarization camera 7.

具体实施方式Detailed ways

为更好地说明阐述本发明内容,下面结合附图和实施实例进行展开说明:In order to better illustrate and set forth the content of the present invention, the following will be expanded and described in conjunction with the accompanying drawings and implementation examples:

有图1-图6所示,本发明公开了一种基于变换穆勒矩阵网络的偏振复原成像方法,包括以下步骤:As shown in Fig. 1-Fig. 6, the present invention discloses a polarization restoration imaging method based on transformed Muller matrix network, comprising the following steps:

步骤一、拍摄水下的目标物清晰的偏振图像与不同浑浊度下的目标物的偏振图像;Step 1. Take a clear polarization image of the underwater target object and polarization images of the target object under different turbidity;

步骤二、针对使用分焦平面偏振相机带来的空间分辨率损失,使用针对性的插值方法将水下的目标物清晰的偏振图像转化为水下的目标物清晰的强度图像;Step 2. In view of the spatial resolution loss caused by the use of the sub-focal plane polarization camera, a targeted interpolation method is used to convert the clear polarization image of the underwater target object into a clear intensity image of the underwater target object;

步骤三、根据变换穆勒矩阵的思想,构建倒残差卷积神经网络,整体的网络结构按照U形结构设计,特征图在输入后会先经过四个编码器,在编码器中包含倒残差偏振注意力通道模块以及一个下采样层,以提取特征,再通过四次解码器模块进行上采样,解码器模块同样包含倒残差偏振注意力通道模块以及一个上采样层,其中包含通道注意力模块用于提取来自不同通道的偏振形象,并赋予不同通道不同的权重;使用倒残差结构来减少高维信息在通过激活函数后带来的损失,使用了DW卷积和PW卷积模块用于减少网络的计算量,优化网络性能,网络的损失函数包含三个部分分别是边缘损失、内容损失、像素损失,总损失函数由边缘损失、内容损失、像素损失加权获得。Step 3. According to the idea of transforming the Muller matrix, construct the inverted residual convolutional neural network. The overall network structure is designed according to the U-shaped structure. After the feature map is input, it will first pass through four encoders. A differential polarization attention channel module and a downsampling layer to extract features, followed by upsampling through a quadruple decoder module that also contains an inverted residual polarization attention channel module and an upsampling layer that contains channel attention The force module is used to extract the polarization image from different channels and give different weights to different channels; the inverted residual structure is used to reduce the loss of high-dimensional information after passing through the activation function, and the DW convolution and PW convolution modules are used It is used to reduce the computational load of the network and optimize network performance. The loss function of the network includes three parts: edge loss, content loss, and pixel loss. The total loss function is obtained by weighting edge loss, content loss, and pixel loss.

步骤四、对网络进行训练;使用步骤二中所处理的数据对步骤三所构建的倒残差卷积神经网络进行训练,训练后的倒残差卷积神经网络能够根据输入的有雾或浑浊偏振图像输出对应的修复穆勒矩阵;Step 4. Train the network; use the data processed in step 2 to train the inverted residual convolutional neural network constructed in step 3. The trained inverted residual convolutional neural network can The repaired Mueller matrix corresponding to the polarized image output;

步骤五、对图像进行复原;使用步骤四中训练后的倒残差卷积神经网络所输出的修复穆勒矩阵对有雾或浑浊的偏振图像进行修复,最终获得提升明显的复原图像。Step 5: Restoring the image; using the repaired Muller matrix outputted by the inverted residual convolutional neural network trained in Step 4 to repair the foggy or turbid polarized image, and finally obtain a significantly improved restored image.

进一步的,步骤一中的拍摄水下目标物清晰的偏振图像:由光源1发出的光束依次经过偏振调制系统的偏振片2、和扩束器3后照射在水中的目标物6,经过目标物6反射后到达分焦平面偏振相机7,从而得到目标物6清晰的偏振图像。Further, in step 1, the clear polarized image of the underwater target is taken: the light beam emitted by the light source 1 sequentially passes through the polarizer 2 of the polarization modulation system and the beam expander 3, and then irradiates the target 6 in the water, passes through the target 6 reaches the focal plane polarization camera 7 after reflection, thereby obtaining a clear polarization image of the target object 6 .

进一步的,步骤一中的拍摄不同浓度下的目标物的偏振图像:在水中逐步加入脱脂牛奶,利用500万像素偏振千兆以太网工业相机拍摄在在不同浑浊浓度环境下的目标物6,从而得到浑浊水下环境中目标物6的在不同偏振角度和不同浑浊浓度下的偏振图像。Further, in step 1, take the polarization images of the target objects at different concentrations: gradually add skim milk to the water, and use a 5-megapixel polarized Gigabit Ethernet industrial camera to shoot the target objects 6 in different turbidity concentration environments, thereby The polarization images of the target object 6 in the turbid underwater environment at different polarization angles and different turbidity concentrations are obtained.

进一步的,采用532nm蓝绿激光器作为所述光源1。Further, a 532nm blue-green laser is used as the light source 1 .

进一步的,步骤三中的所述倒残差偏振注意力通道模块由两个部分组成,第一个部分是由三个卷积层组成的倒残差结构,其中包含一个1*1的卷积对特征图进行升维、一个3*3的卷积对特征进行提取、一个1*1的卷积对特征图进行降维,最后还包含一个BN层进行归一化操作,第二部分是一个通道注意力结构,其中包含一个平均池化层、一个一维的卷积层以及一个Sigemoid激活函数,避免了维度缩减,有效进行了跨通道交互。Further, the inverted residual polarized attention channel module in step 3 consists of two parts, the first part is an inverted residual structure composed of three convolutional layers, which contains a 1*1 convolution Upscale the feature map, a 3*3 convolution extracts the feature, a 1*1 convolution reduces the dimensionality of the feature map, and finally includes a BN layer for normalization. The second part is a The channel attention structure, which includes an average pooling layer, a one-dimensional convolutional layer, and a Sigemoid activation function, avoids dimension reduction and effectively performs cross-channel interaction.

进一步的,步骤三中所构建的倒残差卷积神经网络是基于变换穆勒矩阵的思想设计,该网络的倒残差偏振注意力通道模块能提取相应的特征信息以便于网络能够根据对应的特征信息找到浑浊图像的穆勒矩阵与清晰偏振图像的穆勒矩阵之间的关系,并据此输出对应浑浊图像的变换穆勒矩阵。Furthermore, the inverted residual convolutional neural network constructed in step 3 is based on the idea of transforming the Muller matrix. The inverted residual polarization attention channel module of the network can extract the corresponding feature information so that the network can be based on the corresponding The feature information finds the relationship between the Mueller matrix of the turbid image and the Mueller matrix of the clear polarized image, and outputs the transformed Mueller matrix corresponding to the turbid image accordingly.

进一步的,步骤五中的所述修复穆勒矩阵是基于穆勒矩阵的思想提出的物理模型,描述的是清晰图像和浑浊图像的穆勒矩阵的变换关系。Further, the restoration of the Mueller matrix in step 5 is a physical model proposed based on the idea of the Mueller matrix, which describes the transformation relationship of the Mueller matrix of the clear image and the turbid image.

进一步的,所述目标物6放置在装满水的玻璃缸4中,用于模拟水下环境5。Further, the target object 6 is placed in a glass cylinder 4 filled with water for simulating an underwater environment 5 .

进一步的,所述玻璃缸4采用PMMA(聚甲基丙烯酸甲酯)材质。Further, the glass cylinder 4 is made of PMMA (polymethyl methacrylate).

具体地,步骤1、使用水下主动成像系统,采用线偏振光进行主动照明,拍摄水下目标物6清晰的偏振图像与不同浓度下目标物6的偏振图像,本实施例中采用采用532nm蓝绿激光器作为光源1,选择PMMA(聚甲基丙烯酸甲酯)玻璃缸4;Specifically, step 1, using an underwater active imaging system, adopts linearly polarized light for active illumination, and takes clear polarization images of the underwater target 6 and polarization images of the target 6 at different concentrations. In this embodiment, 532nm blue Green laser is used as light source 1, and PMMA (polymethyl methacrylate) glass cylinder 4 is selected;

由光源1发出的光束依次经过偏振调制系统的偏振片2、和扩束器3后照射在水中的目标物6,经过目标物6反射后到达分焦平面偏振相机7,拍摄水下的目标物6清晰的强度图像,在水中逐步加入脱脂牛奶,利用500万像素偏振千兆以太网工业相机拍摄在在不同浑浊浓度环境下的目标物6;从而得到浑浊水下环境中目标物6的在不同偏振角度和不同浑浊浓度下的偏振图像,本实施例中拍摄20组图像,每组加入20种不同浓度的牛奶,用于模拟20种不同的浓度下的水下环境5,每种浓度根据步骤1中的拍摄方式拍1张目标物6的偏振图像(包括偏振方向为0°、45°、90°和135°的“马赛克”图像,该图像中每4个像素中包含了来自4个偏振方向的像素);The light beam emitted by the light source 1 sequentially passes through the polarizer 2 of the polarization modulation system and the beam expander 3, and then irradiates the target object 6 in the water. After being reflected by the target object 6, it reaches the sub-focus plane polarization camera 7, and takes pictures of the underwater target object. 6 clear intensity images, gradually add skim milk to the water, and use a 5-megapixel polarized Gigabit Ethernet industrial camera to shoot the target object 6 in different turbidity concentration environments; thus the target object 6 in the turbid underwater environment is obtained. Polarization angles and polarization images under different turbidity concentrations. In this embodiment, 20 groups of images are taken, and 20 different concentrations of milk are added to each group to simulate the underwater environment 5 under 20 different concentrations. Each concentration is based on The shooting method in step 1 takes a polarized image of the target object 6 (including "mosaic" images with polarization directions of 0°, 45°, 90° and 135°, and every 4 pixels in this image contain images from 4 pixels in the polarization direction);

步骤2、建立数据集;将步骤1得到的图像进行裁剪,通过翻转和旋转扩大数据集后按8:1:1的比例分为训练集、验证集、测试集;Step 2, establish a data set; crop the image obtained in step 1, expand the data set by flipping and rotating, and divide it into a training set, a verification set, and a test set in a ratio of 8:1:1;

步骤3、构建倒残差偏振通道注意力模块,倒残差偏振注意力通道模块由两个部分组成,第一个部分是由三个卷积层组成的倒残差结构,其中包含一个11的卷积对特征图进行升维、一个33的卷积对特征进行提取、一个1*1的卷积对特征图进行降维,最后还包含一个BN层进行归一化操作,第二部分是一个通道注意力结构,其中包含一个平均池化层、一个一维的卷积层以及一个Sigemoid激活函数,避免了维度缩减,有效进行了跨通道交互;Step 3. Construct the inverted residual polarization channel attention module. The inverted residual polarization attention channel module consists of two parts. The first part is an inverted residual structure composed of three convolutional layers, which contains an 11 Convolution increases the dimension of the feature map, a 33 convolution extracts the feature, a 1*1 convolution reduces the dimension of the feature map, and finally includes a BN layer for normalization. The second part is a Channel attention structure, which includes an average pooling layer, a one-dimensional convolutional layer, and a Sigemoid activation function, which avoids dimension reduction and effectively performs cross-channel interaction;

步骤4、根据变换穆勒矩阵的思想,构建倒残差卷积神经网络,整体的网络结构按照U形结构设计,特征图在输入后会先经过四个编码器,在编码器中包含倒残差偏振注意力通道模块以及下采样层,以提取特征,再通过四次解码器模块进行上采样,解码器模块同样包含倒残差偏振注意力通道模块以及上采样层,其中包含通道注意力模块用于提取来自不同通道的偏振形象,并赋予不同通道不同的权重,使用倒残差结构来减少高维信息在通过激活函数后带来的损失,使用了DW卷积和PW卷积模块用于减少网络的计算量,优化网络性能,网络的损失函数包含三个部分分别是边缘损失、内容损失、像素损失,总损失函数由上述三个损失加权获得。Step 4. According to the idea of transforming the Mueller matrix, construct the inverted residual convolutional neural network. The overall network structure is designed according to the U-shaped structure. After the feature map is input, it will first pass through four encoders, and the encoder contains the inverted residual Differential polarization attention channel module and downsampling layer to extract features, and then upsampled by quadruple decoder module, which also includes inverted residual polarization attention channel module and upsampling layer, which contains channel attention module It is used to extract polarization images from different channels and give different weights to different channels. The inverted residual structure is used to reduce the loss of high-dimensional information after passing through the activation function. The DW convolution and PW convolution modules are used for To reduce the computational load of the network and optimize network performance, the loss function of the network includes three parts: edge loss, content loss, and pixel loss. The total loss function is obtained by weighting the above three losses.

从实验结果可以看出,本发明可以有效的对高浓度浑水中拍摄的偏振图像进行复原,结合客观评价标准EME(the value of measure of enhancement)、结构相似性SSIM(Structure Similarity Index Measure)、PSNR(Peak Signal to Noise Ratio)和主观感受,图像复原效果显著。It can be seen from the experimental results that the present invention can effectively restore the polarization images taken in high-concentration muddy water, combined with the objective evaluation standard EME (the value of measure of enhancement), structural similarity SSIM (Structure Similarity Index Measure), PSNR (Peak Signal to Noise Ratio) and subjective experience, the image restoration effect is remarkable.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明技术方案进行了详细的说明,本领域的技术人员应当理解,其依然可以对前述实施例所记载的技术方案进行修改,或者对其中部分技术特征进行同等替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神与范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the technical solutions of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that it still The technical solutions described in the foregoing embodiments can be modified, or some of the technical features can be replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1.一种基于变换穆勒矩阵网络的偏振复原成像方法,其特征在于,包括以下步骤:1. A polarization restoration imaging method based on transformation Muller matrix network, is characterized in that, comprises the following steps: 步骤一、拍摄水下的目标物清晰的偏振图像与不同浑浊度下的目标物的偏振图像;Step 1. Take a clear polarization image of the underwater target object and polarization images of the target object under different turbidity; 步骤二、针对使用分焦平面偏振相机带来的空间分辨率损失,使用针对性的插值方法将水下的目标物清晰的偏振图像转化为水下的目标物清晰的强度图像;Step 2. In view of the spatial resolution loss caused by the use of the sub-focal plane polarization camera, a targeted interpolation method is used to convert the clear polarization image of the underwater target object into a clear intensity image of the underwater target object; 步骤三、根据变换穆勒矩阵的思想,构建倒残差卷积神经网络,整体的网络结构按照U形结构设计,特征图在输入后会先经过四个编码器,在编码器中包含倒残差偏振注意力通道模块以及一个下采样层,以提取特征,再通过四次解码器模块进行上采样,解码器模块同样包含倒残差偏振注意力通道模块以及一个上采样层,其中包含通道注意力模块用于提取来自不同通道的偏振形象,并赋予不同通道不同的权重;使用倒残差结构来减少高维信息在通过激活函数后带来的损失,使用了DW卷积和PW卷积模块用于减少网络的计算量,优化网络性能,网络的损失函数包含三个部分分别是边缘损失、内容损失、像素损失,总损失函数由边缘损失、内容损失、像素损失加权获得。Step 3. According to the idea of transforming the Muller matrix, construct the inverted residual convolutional neural network. The overall network structure is designed according to the U-shaped structure. After the feature map is input, it will first pass through four encoders. A differential polarization attention channel module and a downsampling layer to extract features, followed by upsampling through a quadruple decoder module that also contains an inverted residual polarization attention channel module and an upsampling layer that contains channel attention The force module is used to extract the polarization image from different channels and give different weights to different channels; the inverted residual structure is used to reduce the loss of high-dimensional information after passing through the activation function, and the DW convolution and PW convolution modules are used It is used to reduce the computational load of the network and optimize network performance. The loss function of the network includes three parts: edge loss, content loss, and pixel loss. The total loss function is obtained by weighting edge loss, content loss, and pixel loss. 步骤四、对网络进行训练;使用步骤二中所处理的数据对步骤三所构建的倒残差卷积神经网络进行训练,训练后的倒残差卷积神经网络能够根据输入的有雾或浑浊偏振图像输出对应的修复穆勒矩阵;Step 4. Train the network; use the data processed in step 2 to train the inverted residual convolutional neural network constructed in step 3. The trained inverted residual convolutional neural network can The repaired Mueller matrix corresponding to the polarized image output; 步骤五、对图像进行复原;使用步骤四中训练后的倒残差卷积神经网络所输出的修复穆勒矩阵对有雾或浑浊的偏振图像进行修复,最终获得提升明显的复原图像。Step 5: Restoring the image; using the repaired Muller matrix outputted by the inverted residual convolutional neural network trained in Step 4 to repair the foggy or turbid polarized image, and finally obtain a significantly improved restored image. 2.根据权利要求1所述的一种基于变换穆勒矩阵网络的偏振复原成像方法,其特征在于,步骤一中的拍摄水下目标物清晰的偏振图像:由光源(1)发出的光束依次经过偏振调制系统的偏振片(2)、和扩束器(3)后照射在水中的目标物(6),经过目标物(6)反射后到达分焦平面偏振相机(7),从而得到目标物(6)清晰的偏振图像。2. A kind of polarization restoration imaging method based on transformation Muller matrix network according to claim 1, it is characterized in that, the clear polarized image of photographing underwater target object in the step 1: the light beam that sends by light source (1) sequentially After passing through the polarizer (2) of the polarization modulation system and the beam expander (3), the target object (6) in the water is irradiated, and after being reflected by the target object (6), it reaches the sub-focus plane polarization camera (7), thereby obtaining the target The clear polarized image of object (6). 3.根据权利要求2所述的一种基于变换穆勒矩阵网络的偏振复原成像方法,其特征在于,步骤一中的拍摄不同浑浊度下的目标物的偏振图像:在水中逐步加入脱脂牛奶,利用500万像素偏振千兆以太网工业相机拍摄在在不同浑浊浓度环境下的目标物(6),从而得到浑浊水下环境中目标物(6)的在不同偏振角度和不同浑浊浓度下的偏振图像。3. a kind of polarization restoration imaging method based on transformation Muller matrix network according to claim 2, is characterized in that, the polarization image of the target object under photographing different turbidity in the step 1: add skimmed milk step by step in water, Using a 5-megapixel polarization Gigabit Ethernet industrial camera to shoot the target object (6) in different turbidity concentration environments, so as to obtain the polarization of the target object (6) in the turbid underwater environment at different polarization angles and different turbidity concentrations image. 4.根据权利要求2或3所述的一种基于变换穆勒矩阵网络的偏振复原成像方法,其特征在于,采用532nm蓝绿激光器作为所述光源(1)。4. A polarization restoration imaging method based on a transformed Mueller matrix network according to claim 2 or 3, characterized in that a 532nm blue-green laser is used as the light source (1). 5.根据权利要求4所述的一种基于变换穆勒矩阵网络的偏振复原成像方法,其特征在于,步骤三中的所述倒残差偏振注意力通道模块由两个部分组成,第一个部分是由三个卷积层组成的倒残差结构,其中包含一个1*1的卷积对特征图进行升维、一个3*3的卷积对特征进行提取、一个1*1的卷积对特征图进行降维,最后还包含一个BN层进行归一化操作,第二部分是一个通道注意力结构,其中包含一个平均池化层、一个一维的卷积层以及一个Sigemoid激活函数,避免了维度缩减,有效进行了跨通道交互。5. a kind of polarization restoration imaging method based on transformation Muller matrix network according to claim 4, is characterized in that, described inverse residual polarization attention channel module in step 3 is made up of two parts, the first Part of it is an inverted residual structure composed of three convolutional layers, which includes a 1*1 convolution to upscale the feature map, a 3*3 convolution to extract features, and a 1*1 convolution The feature map is dimensionally reduced, and finally a BN layer is included for normalization. The second part is a channel attention structure, which includes an average pooling layer, a one-dimensional convolution layer, and a Sigemoid activation function. Dimensionality reduction is avoided, and cross-channel interaction is effectively carried out. 6.根据权利要求5所述的一种基于变换穆勒矩阵网络的偏振复原成像方法,其特征在于,步骤三中所构建的倒残差卷积神经网络是基于变换穆勒矩阵的思想设计,该网络的倒残差偏振注意力通道模块能提取相应的特征信息以便于网络能够根据对应的特征信息找到浑浊图像的穆勒矩阵与清晰偏振图像的穆勒矩阵之间的关系,并据此输出对应浑浊图像的变换穆勒矩阵。6. a kind of polarization restoration imaging method based on transformation Muller matrix network according to claim 5, it is characterized in that, the inverted residual convolutional neural network constructed in step 3 is based on the thought design of transformation Muller matrix, The inverted residual polarization attention channel module of the network can extract the corresponding feature information so that the network can find the relationship between the Mueller matrix of the turbid image and the Mueller matrix of the clear polarized image according to the corresponding feature information, and output accordingly The transformed Mueller matrix corresponding to the turbid image. 7.根据权利要求6所述的一种基于变换穆勒矩阵网络的偏振复原成像方法,其特征在于,步骤五中的所述修复穆勒矩阵是基于穆勒矩阵的思想提出的物理模型,描述的是清晰图像和浑浊图像的穆勒矩阵的变换关系。7. A kind of polarization restoration imaging method based on transformation Mueller matrix network according to claim 6, it is characterized in that, described repair Mueller matrix in the step 5 is the physical model that proposes based on the thought of Mueller matrix, describes is the transformation relationship of the Mueller matrix of the clear image and the turbid image. 8.根据权利要求2或3所述的一种基于变换穆勒矩阵网络的偏振复原成像方法,其特征在于,所述目标物(6)放置在装满水的玻璃缸(4)中,用于模拟水下环境(5)。8. A kind of polarization restoration imaging method based on transformation Muller matrix network according to claim 2 or 3, is characterized in that, described object (6) is placed in the glass tank (4) that fills water, uses for simulating underwater environments (5). 9.根据权利要求8所述的一种基于变换穆勒矩阵网络的偏振复原成像方法,其特征在于,所述玻璃缸(4)采用PMMA(聚甲基丙烯酸甲酯)材质。9. A kind of polarization restoration imaging method based on transformation Muller matrix network according to claim 8, is characterized in that, described glass cylinder (4) adopts PMMA (polymethyl methacrylate) material.
CN202310055626.1A 2023-01-18 2023-01-18 A polarization restoration imaging method based on transforming Mueller matrix network Active CN115965557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310055626.1A CN115965557B (en) 2023-01-18 2023-01-18 A polarization restoration imaging method based on transforming Mueller matrix network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310055626.1A CN115965557B (en) 2023-01-18 2023-01-18 A polarization restoration imaging method based on transforming Mueller matrix network

Publications (2)

Publication Number Publication Date
CN115965557A true CN115965557A (en) 2023-04-14
CN115965557B CN115965557B (en) 2025-10-21

Family

ID=87363386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310055626.1A Active CN115965557B (en) 2023-01-18 2023-01-18 A polarization restoration imaging method based on transforming Mueller matrix network

Country Status (1)

Country Link
CN (1) CN115965557B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118780990A (en) * 2024-06-28 2024-10-15 江苏科技大学 A method and system for underwater target clear imaging based on Mueller matrix and decomposition
CN119648533A (en) * 2024-11-28 2025-03-18 浙江理工大学 A polarization image super-resolution method based on conditional diffusion model

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111122452A (en) * 2019-12-28 2020-05-08 天津大学 Descattering Imaging Method Based on Mueller Matrix
CN111429378A (en) * 2020-04-01 2020-07-17 天津大学前沿技术研究院有限公司 Turbid underwater gray level image restoration method based on deep neural network and polarization imaging
CN114170107A (en) * 2021-12-13 2022-03-11 浙江理工大学 Turbid underwater polarization image restoration method based on generation countermeasure network
WO2022158884A1 (en) * 2021-01-20 2022-07-28 연세대학교 산학협력단 Microscope system for quantifying optical anisotropy of sample
CN114866172A (en) * 2022-07-05 2022-08-05 中国人民解放军国防科技大学 Interference identification method and device based on inverted residual deep neural network
CN115375569A (en) * 2022-08-12 2022-11-22 天津大学 Polarization purity-based scattering environment imaging characterization method
CN115510898A (en) * 2022-09-07 2022-12-23 西北工业大学 Ship acoustic wake flow detection method based on convolutional neural network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111122452A (en) * 2019-12-28 2020-05-08 天津大学 Descattering Imaging Method Based on Mueller Matrix
CN111429378A (en) * 2020-04-01 2020-07-17 天津大学前沿技术研究院有限公司 Turbid underwater gray level image restoration method based on deep neural network and polarization imaging
WO2022158884A1 (en) * 2021-01-20 2022-07-28 연세대학교 산학협력단 Microscope system for quantifying optical anisotropy of sample
CN114170107A (en) * 2021-12-13 2022-03-11 浙江理工大学 Turbid underwater polarization image restoration method based on generation countermeasure network
CN114866172A (en) * 2022-07-05 2022-08-05 中国人民解放军国防科技大学 Interference identification method and device based on inverted residual deep neural network
CN115375569A (en) * 2022-08-12 2022-11-22 天津大学 Polarization purity-based scattering environment imaging characterization method
CN115510898A (en) * 2022-09-07 2022-12-23 西北工业大学 Ship acoustic wake flow detection method based on convolutional neural network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
任启明: "散射介质中偏振成像与探测技术的研究", 《CNKI优秀硕士论文库》, 1 May 2022 (2022-05-01) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118780990A (en) * 2024-06-28 2024-10-15 江苏科技大学 A method and system for underwater target clear imaging based on Mueller matrix and decomposition
CN118780990B (en) * 2024-06-28 2025-04-22 江苏科技大学 Underwater target definition imaging method and system based on Mueller matrix and decomposition
CN119648533A (en) * 2024-11-28 2025-03-18 浙江理工大学 A polarization image super-resolution method based on conditional diffusion model
CN119648533B (en) * 2024-11-28 2025-09-26 浙江理工大学 Polarized image super-resolution reconstruction method based on conditional diffusion model

Also Published As

Publication number Publication date
CN115965557B (en) 2025-10-21

Similar Documents

Publication Publication Date Title
CN114742719A (en) An end-to-end image dehazing method based on multi-feature fusion
CN117011194B (en) Low-light image enhancement method based on multi-scale dual-channel attention network
CN117994167B (en) Diffusion model defogging method integrating parallel multi-convolution attention
CN116957931A (en) Method for improving image quality of camera image based on nerve radiation field
CN114004766A (en) An underwater image enhancement method, system and device
CN115965557A (en) Polarization recovery imaging method based on transformation Mueller matrix network
CN115546046A (en) A Single Image Dehazing Method by Fusion of Frequency and Content Features
CN110135434A (en) Underwater picture increased quality algorithm based on color line model
CN118195960B (en) Multi-layer subnet multi-task image restoration method combining spatial aggregation attention
CN109978789A (en) A kind of image enchancing method based on Retinex algorithm and guiding filtering
CN119478648B (en) A method for underwater robot vision clarity based on multimodal fusion network
CN120163731A (en) Image defogging method and device
CN114758030A (en) Underwater polarization imaging method integrating physical model and deep learning
CN118552454A (en) Image super-resolution distortion correction method and correction system based on conditional generative adversarial
CN118644420A (en) Image defogging method, system, electronic device and storage medium
CN120766127B (en) Dual-branch enhancement system for color correction and texture sharpening for underwater crack segmentation
CN115984392B (en) A Compressed Sensing Image Reconstruction Method Based on Transformer Enhanced Residual Autoencoder Network
CN114170107B (en) Turbid underwater polarized image restoration method based on generation countermeasure network
CN120125633B (en) A depth estimation method based on adaptive structured light
CN116385294A (en) A Deep Learning-based Image Dehazing Network
CN112950481B (en) A method of collecting water splash occlusion image data set based on image mosaic network
CN118761945A (en) A low-light image enhancement method based on light effect perception
CN116468617A (en) A device and method for clearing and restoring scenes of an intelligent vehicle-mounted imager
CN119131464B (en) A low-light target detection method based on two-layer optimization
CN120725904B (en) Defogging method based on frequency information differentiation fusion

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant