Nothing Special   »   [go: up one dir, main page]

CN118822850A - Multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method and system - Google Patents

Multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method and system Download PDF

Info

Publication number
CN118822850A
CN118822850A CN202411018681.4A CN202411018681A CN118822850A CN 118822850 A CN118822850 A CN 118822850A CN 202411018681 A CN202411018681 A CN 202411018681A CN 118822850 A CN118822850 A CN 118822850A
Authority
CN
China
Prior art keywords
image
resolution
super
module
infrared thermal
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.)
Pending
Application number
CN202411018681.4A
Other languages
Chinese (zh)
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.)
Hainan University
Original Assignee
Hainan University
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 Hainan University filed Critical Hainan University
Priority to CN202411018681.4A priority Critical patent/CN118822850A/en
Publication of CN118822850A publication Critical patent/CN118822850A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4053Scaling of whole images or parts thereof, e.g. expanding or contracting based on super-resolution, i.e. the output image resolution being higher than the sensor resolution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/0464Convolutional networks [CNN, ConvNet]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/048Activation functions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/09Supervised learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4046Scaling of whole images or parts thereof, e.g. expanding or contracting using neural networks
    • 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
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Image Processing (AREA)

Abstract

本发明涉及一种多尺度密集残差网络红外热成像超分辨率重建方法及系统。所述方法包括:获取红外热成像图像进行处理,得到高分辨率图像、低分辨率图像作为图像对输入至多尺度密集残差超分辨率重建网络模型中;提取出图像对中的浅层次低频特征、深层次高频特征进行特征融合,并将融合后的特征输入至图像重建模块中重建出超分辨率图像。通过训练建立多尺度密集残差超分辨率重建网络模型,使用浅层特征提取模块、深层特征提取模块、特征融合模块、图像重建模块可以改进对红外热图像的温度信息的重建效果,可以恢复红外热成像图像的纹理细节,从而改善重建超分辨率图像的整体质量,提高红外热图像的重建效果。

The present invention relates to a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method and system. The method comprises: acquiring an infrared thermal imaging image for processing, obtaining a high-resolution image and a low-resolution image as an image pair and inputting them into a multi-scale dense residual super-resolution reconstruction network model; extracting shallow low-frequency features and deep high-frequency features in the image pair for feature fusion, and inputting the fused features into an image reconstruction module to reconstruct a super-resolution image. A multi-scale dense residual super-resolution reconstruction network model is established through training, and the use of a shallow feature extraction module, a deep feature extraction module, a feature fusion module, and an image reconstruction module can improve the reconstruction effect of the temperature information of the infrared thermal image, and can restore the texture details of the infrared thermal imaging image, thereby improving the overall quality of the reconstructed super-resolution image and improving the reconstruction effect of the infrared thermal image.

Description

多尺度密集残差网络红外热成像超分辨率重建方法及系统Multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method and system

技术领域Technical Field

本发明涉及红外检测技术领域,特别是涉及一种多尺度密集残差网络红外热成像超分辨率重建方法及系统。The present invention relates to the field of infrared detection technology, and in particular to a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method and system.

背景技术Background Art

随着图像技术的不断发展,图像应用所涉及的范围越来越广,例如医学影像、卫星图像、安防监控等领域都需要更为精细的图像来进行诊断或监控。而在传统的图像采集过程中由于传统传感器、噪声等因素的影响,使采集到的图像有失真、模糊等问题,导致图像处理、分析、识别等任务的难度和准确性受到影响。随着深度学习技术的不断发展与普及,提出了基于深度学习的图像超分辨率重建方法,并得到了广泛的应用与研究。超分辨率重建是指通过一系列算法和技术,从低分辨率图像中重建出高分辨率图像的过程,其技术的应用可以有效地提高图像的清晰度和细节,进而提升图像处理、分析、识别等任务的效果。早期的超分辨率重建方法通过插值、重建的方法对图像进行重建,在低分辨率图像中进行像素级别的插值,以尽可能地还原高分辨率图像中的细节信息。红外热成像的超分辨率重建的应用面十分广泛,例如医学影像领域,工业检测和军事领域等等。如在医学领域,在医学影像学中,红外热成像技术被用于检测人体表面的温度分布,用于诊断疾病或损伤,而通过应用超分辨率重建技术,可以提高红外热成像图像的分辨率,从而更清晰地显示细微的温度变化,帮助医生更准确地诊断疾病或监测治疗效果。同时在工业领域中,红外热成像技术广泛应用于检测设备和结构的热量分布,用于预防设备故障或检测结构缺陷。而通过应用红外热成像超分辨率重建技术,可以提高红外热成像图像的清晰度和细节,从而更准确地检测设备或结构中的异常情况,提高工业生产的效率和安全性。With the continuous development of image technology, the scope of image application is getting wider and wider. For example, medical imaging, satellite imaging, security monitoring and other fields all require more detailed images for diagnosis or monitoring. In the traditional image acquisition process, due to the influence of traditional sensors, noise and other factors, the acquired images have problems such as distortion and blur, which affects the difficulty and accuracy of image processing, analysis, and recognition. With the continuous development and popularization of deep learning technology, a deep learning-based image super-resolution reconstruction method has been proposed and has been widely used and studied. Super-resolution reconstruction refers to the process of reconstructing high-resolution images from low-resolution images through a series of algorithms and techniques. The application of this technology can effectively improve the clarity and details of the image, thereby improving the effects of image processing, analysis, and recognition tasks. Early super-resolution reconstruction methods reconstructed images through interpolation and reconstruction methods, and performed pixel-level interpolation in low-resolution images to restore the detailed information in high-resolution images as much as possible. The application of super-resolution reconstruction of infrared thermal imaging is very wide, such as in the fields of medical imaging, industrial detection, and military fields. For example, in the medical field, in medical imaging, infrared thermal imaging technology is used to detect the temperature distribution on the human body surface for the diagnosis of disease or injury. By applying super-resolution reconstruction technology, the resolution of infrared thermal imaging images can be improved, so that subtle temperature changes can be displayed more clearly, helping doctors to diagnose diseases or monitor treatment effects more accurately. At the same time, in the industrial field, infrared thermal imaging technology is widely used to detect the heat distribution of equipment and structures to prevent equipment failure or detect structural defects. By applying infrared thermal imaging super-resolution reconstruction technology, the clarity and details of infrared thermal imaging images can be improved, so as to more accurately detect abnormal conditions in equipment or structures and improve the efficiency and safety of industrial production.

现有的超分辨率重建技术需要大量的计算资源以及时间来进行重建,且对设备性能的要求高,限制了其在实时应用和低耗能设备的使用。同时就目前的超分辨重建技术而言,主要应用场景为可见光图像,对于红外热成像图像开展相应研究较少,现有的算法在一定程度上可能无法精准恢复图像中的纹理细节,重建出的图像会有模糊、伪影等问题,而且对输入的低质量、模糊、含噪声的图像,对目前的超分辨率重建算法而言其重建图像效果有限。因此,由于传统的红外热成像系统在分辨率上往往受到硬件限制或成本限制,导致其图像分辨率相对较低。Existing super-resolution reconstruction technology requires a lot of computing resources and time for reconstruction, and has high requirements for device performance, which limits its use in real-time applications and low-energy devices. At the same time, as far as the current super-resolution reconstruction technology is concerned, the main application scenario is visible light images, and there is little corresponding research on infrared thermal imaging images. The existing algorithms may not be able to accurately restore the texture details in the image to a certain extent, and the reconstructed images will have problems such as blur and artifacts. In addition, for low-quality, blurred, and noisy input images, the current super-resolution reconstruction algorithms have limited effect on reconstructing images. Therefore, since the resolution of traditional infrared thermal imaging systems is often limited by hardware or cost constraints, their image resolution is relatively low.

发明内容Summary of the invention

基于此,为了解决上述技术问题,提供一种多尺度密集残差网络红外热成像超分辨率重建方法及系统,可以提供更加清晰和丰富的图像信息,重建出清晰的图像。Based on this, in order to solve the above technical problems, a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method and system are provided, which can provide clearer and richer image information and reconstruct clear images.

一种多尺度密集残差网络红外热成像超分辨率重建方法,所述方法包括:A multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method, the method comprising:

获取红外热成像图像,并对所述红外热成像图像进行图像处理,得到高分辨率图像、低分辨率图像;Acquire an infrared thermal imaging image, and perform image processing on the infrared thermal imaging image to obtain a high-resolution image and a low-resolution image;

将所述高分辨率图像、所述低分辨率图像作为图像对输入至多尺度密集残差超分辨率重建网络模型中;所述多尺度密集残差超分辨率重建网络模型包括浅层特征提取模块、深层特征提取模块、特征融合模块、图像重建模块;Inputting the high-resolution image and the low-resolution image as image pairs into a multi-scale dense residual super-resolution reconstruction network model; the multi-scale dense residual super-resolution reconstruction network model includes a shallow feature extraction module, a deep feature extraction module, a feature fusion module, and an image reconstruction module;

通过所述浅层特征提取模块提取出所述图像对中的浅层次低频特征,并通过所述深层特征提取模块提取出所述图像对中的深层次高频特征;Extracting shallow low-frequency features in the image pair by the shallow feature extraction module, and extracting deep high-frequency features in the image pair by the deep feature extraction module;

基于所述特征融合模块对所述浅层次低频特征、深层次高频特征进行特征融合,并将融合后的特征输入至所述图像重建模块中重建出超分辨率图像。Based on the feature fusion module, the shallow low-frequency features and the deep high-frequency features are fused, and the fused features are input into the image reconstruction module to reconstruct a super-resolution image.

在其中一个实施例中,所述浅层特征提取模块中设置有卷积神经网络中的二维卷积;In one of the embodiments, the shallow feature extraction module is provided with a two-dimensional convolution in a convolutional neural network;

通过所述浅层特征提取模块提取出所述图像对中的浅层次低频特征,包括:Extracting shallow low-frequency features from the image pair by the shallow feature extraction module includes:

所述浅层特征提取模块通过第一个卷积提取出所述图像对中的第一特征,通过第二个卷积提取出所述图像对中的第二特征;The shallow feature extraction module extracts a first feature in the image pair through a first convolution, and extracts a second feature in the image pair through a second convolution;

将所述第一特征、所述第二特征作为浅层次低频特征;The first feature and the second feature are used as shallow low-frequency features;

所述第一特征用于残差学习,所述第二特征用于深层次高频特征提取。The first feature is used for residual learning, and the second feature is used for deep high-frequency feature extraction.

在其中一个实施例中,所述深层特征提取模块中设置有若干多尺度密集非对称模块;In one of the embodiments, the deep feature extraction module is provided with a plurality of multi-scale dense asymmetric modules;

通过所述深层特征提取模块提取出所述图像对中的深层次高频特征,包括:Extracting deep-level high-frequency features from the image pair by the deep-layer feature extraction module includes:

基于Densenet网络将各个所述多尺度密集非对称模块进行密集块堆叠;Based on the Densenet network, each of the multi-scale dense asymmetric modules is densely stacked;

将所述第二特征作为输入,各个所述多尺度密集非对称模块渐进依次输入输出,得到各个局部特征。The second feature is used as input, and each of the multi-scale dense asymmetric modules is progressively input and output in sequence to obtain each local feature.

在其中一个实施例中,所述多尺度密集非对称模块中设置有多尺度密集残差模块、若干非对称卷积模块;In one of the embodiments, the multi-scale dense asymmetric module is provided with a multi-scale dense residual module and a plurality of asymmetric convolution modules;

所述非对称卷积模块中设置有不同种类卷积核,用于进行二维卷积操作;The asymmetric convolution module is provided with different types of convolution kernels for performing two-dimensional convolution operations;

所述非对称卷积模块中包含有若干非对称卷积块,用于将二维卷积分解成两个一维卷积。The asymmetric convolution module includes a plurality of asymmetric convolution blocks, which are used to decompose a two-dimensional convolution into two one-dimensional convolutions.

在其中一个实施例中,所述基于所述特征融合模块对所述浅层次低频特征、深层次高频特征进行特征融合,包括:In one embodiment, the feature fusion module is used to fuse the shallow low-frequency features and the deep high-frequency features, including:

通过所述特征融合模块,采用concatenate特征融合操作,对所述浅层次低频特征、深层次高频特征进行特征融合;Through the feature fusion module, a concatenate feature fusion operation is used to fuse the shallow low-frequency features and the deep high-frequency features;

通过所述特征融合模块将不同的特征图进行拼接,获得浅层次、深层次的特征信息。Different feature maps are spliced together through the feature fusion module to obtain shallow and deep feature information.

在其中一个实施例中,所述图像重建模块中设置有亚像素卷积模块及卷积层;In one of the embodiments, the image reconstruction module is provided with a sub-pixel convolution module and a convolution layer;

将融合后的特征输入至所述图像重建模块中重建出超分辨率图像,包括:Inputting the fused features into the image reconstruction module to reconstruct a super-resolution image includes:

通过所述亚像素卷积模块对融合后的特征进行上采样处理,得到处理后的数据;Upsampling the fused features through the sub-pixel convolution module to obtain processed data;

根据所述处理后的数据,通过所述卷积层进行图像重建,获得超分辨率图像。According to the processed data, image reconstruction is performed through the convolution layer to obtain a super-resolution image.

在其中一个实施例中,所述多尺度密集残差超分辨率重建网络模型的训练过程包括:In one embodiment, the training process of the multi-scale dense residual super-resolution reconstruction network model includes:

采集红外热图像光伏电板数据集图像进行图像退化处理,得到低分辨模糊图像;Collect infrared thermal image photovoltaic panel data set images and perform image degradation processing to obtain low-resolution blurred images;

对所述低分辨率模糊图像进行标注,将所述低分辨率图像与高分辨率图像作为图像对;Annotating the low-resolution blurred image, and taking the low-resolution image and the high-resolution image as an image pair;

将所述图像对输入至多尺度密集残差超分辨率重建网络模型中,通过所述多尺度密集残差超分辨率重建网络模型输出超分辨率重建图像;Inputting the image pair into a multi-scale dense residual super-resolution reconstruction network model, and outputting a super-resolution reconstructed image through the multi-scale dense residual super-resolution reconstruction network model;

计算损失函数,并基于所述超分辨率重建图像进行参数更新,得到最优权重参数,完成多尺度密集残差超分辨率重建网络模型训练。The loss function is calculated, and parameters are updated based on the super-resolution reconstructed image to obtain optimal weight parameters, thereby completing the training of the multi-scale dense residual super-resolution reconstruction network model.

在其中一个实施例中,所述采集红外热图像光伏电板数据集图像进行图像退化处理,得到低分辨模糊图像,包括:In one embodiment, the collecting of infrared thermal image photovoltaic panel data set images and performing image degradation processing to obtain a low-resolution blurred image includes:

对所述红外热图像光伏电板数据集图像进行双三次插值处理,得到双三次插值处理后的图像;Performing bicubic interpolation processing on the infrared thermal image photovoltaic panel data set image to obtain an image after bicubic interpolation processing;

对所述双三次插值处理后的图像进行缩放处理,得到低分辨模糊图像。The image after the bicubic interpolation processing is scaled to obtain a low-resolution blurred image.

一种多尺度密集残差网络红外热成像超分辨率重建系统,所述系统包括:A multi-scale dense residual network infrared thermal imaging super-resolution reconstruction system, the system comprising:

图像处理单元,用于获取红外热成像图像,并对所述红外热成像图像进行图像处理,得到高分辨率图像、低分辨率图像;An image processing unit, used for acquiring an infrared thermal imaging image, and performing image processing on the infrared thermal imaging image to obtain a high-resolution image and a low-resolution image;

图像输入单元,用于将所述高分辨率图像、所述低分辨率图像作为图像对输入至多尺度密集残差超分辨率重建网络模型中;所述多尺度密集残差超分辨率重建网络模型包括浅层特征提取模块、深层特征提取模块、特征融合模块、图像重建模块;An image input unit, used to input the high-resolution image and the low-resolution image as an image pair into a multi-scale dense residual super-resolution reconstruction network model; the multi-scale dense residual super-resolution reconstruction network model includes a shallow feature extraction module, a deep feature extraction module, a feature fusion module, and an image reconstruction module;

特征提取单元,用于通过所述浅层特征提取模块提取出所述图像对中的浅层次低频特征,并通过所述深层特征提取模块提取出所述图像对中的深层次高频特征;A feature extraction unit, configured to extract shallow-level low-frequency features in the image pair through the shallow-level feature extraction module, and to extract deep-level high-frequency features in the image pair through the deep-level feature extraction module;

图像重建单元,用于基于所述特征融合模块对所述浅层次低频特征、深层次高频特征进行特征融合,并将融合后的特征输入至所述图像重建模块中重建出超分辨率图像。The image reconstruction unit is used to perform feature fusion on the shallow-level low-frequency features and the deep-level high-frequency features based on the feature fusion module, and input the fused features into the image reconstruction module to reconstruct a super-resolution image.

上述多尺度密集残差网络红外热成像超分辨率重建方法及系统,通过训练建立多尺度密集残差超分辨率重建网络模型,使用浅层特征提取模块、深层特征提取模块、特征融合模块、图像重建模块可以改进对红外热图像的温度信息,可以恢复图像的纹理细节,从而改善重建超分辨率图像的整体质量,提高红外热图像的重建效果。The above-mentioned multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method and system establishes a multi-scale dense residual super-resolution reconstruction network model through training, and uses a shallow feature extraction module, a deep feature extraction module, a feature fusion module, and an image reconstruction module to improve the temperature information of the infrared thermal image and restore the texture details of the image, thereby improving the overall quality of the reconstructed super-resolution image and improving the reconstruction effect of the infrared thermal image.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为一个实施例中多尺度密集残差网络红外热成像超分辨率重建方法的应用环境图;FIG1 is a diagram showing an application environment of a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method in one embodiment;

图2为一个实施例中多尺度密集残差网络红外热成像超分辨率重建方法的流程示意图;FIG2 is a schematic diagram of a process of a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method in one embodiment;

图3为一个实施例中多尺度密集非对称模块的结构示意图;FIG3 is a schematic diagram of the structure of a multi-scale dense asymmetric module in one embodiment;

图4为一个实施例中非对称卷积模块(ACB)的结构示意图;FIG4 is a schematic diagram of the structure of an asymmetric convolution module (ACB) in one embodiment;

图5为一个实施例中非对称卷积的原理示意图;FIG5 is a schematic diagram of the principle of asymmetric convolution in one embodiment;

图6为一个实施例中亚像素卷积模块的工作原理示意图;FIG6 is a schematic diagram of the working principle of a sub-pixel convolution module in one embodiment;

图7为一个实施例中多尺度密集残差超分辨率重建网络模型的训练过程示意图;FIG7 is a schematic diagram of a training process of a multi-scale dense residual super-resolution reconstruction network model in one embodiment;

图8为一个实施例中多尺度密集残差超分辨率重建网络模型的框架示意图;FIG8 is a schematic diagram of a framework of a multi-scale dense residual super-resolution reconstruction network model in one embodiment;

图9为一个实施例中多尺度密集残差超分辨率重建网络模型的训练主要流程示意图;FIG9 is a schematic diagram of the main training process of a multi-scale dense residual super-resolution reconstruction network model in one embodiment;

图10、图11为一个实施例中实验一在三种传统模型算法重建出x2放大倍数的高分辨率图像上进行视觉效果上的对比示意图;FIG10 and FIG11 are schematic diagrams showing a comparison of visual effects on high-resolution images with a magnification of x2 reconstructed by three traditional model algorithms in Experiment 1 according to an embodiment;

图12、图13为一个实施例中实验二在与两种结构相似模型重建出x2放大倍数的高分辨率图像上进行视觉效果上的对比示意图;FIG. 12 and FIG. 13 are schematic diagrams showing a comparison of visual effects of Experiment 2 in one embodiment on high-resolution images reconstructed with two structurally similar models at a magnification of x2;

图14为一个实施例中多尺度密集残差网络红外热成像超分辨率重建系统的结构框图;FIG14 is a structural block diagram of a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction system in one embodiment;

图15为一个实施例中计算机设备的内部结构图。FIG. 15 is a diagram showing the internal structure of a computer device in one embodiment.

具体实施方式DETAILED DESCRIPTION

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述特征,但这些特征不受这些术语限制。这些术语仅用于将第一个特征与另一个特征区分。举例来说,在不脱离本申请的范围的情况下,可以将第一特征称为第二特征,且类似地,可将第二特征称为第一特征。第一特征和第二特征两者都是特征,但其不是同一特征。It is understood that the terms "first", "second", etc. used in this application may be used herein to describe features, but these features are not limited by these terms. These terms are only used to distinguish a first feature from another feature. For example, without departing from the scope of this application, a first feature may be referred to as a second feature, and similarly, a second feature may be referred to as a first feature. Both the first feature and the second feature are features, but they are not the same feature.

本申请实施例提供的多尺度密集残差网络红外热成像超分辨率重建方法,可以应用于如图1所示的应用环境中。如图1所示,该应用环境包括计算机设备110。计算机设备110可以获取红外热成像图像,并对红外热成像图像进行图像处理,得到高分辨率图像、低分辨率图像;计算机设备110可以将高分辨率图像、低分辨率图像作为图像对输入至多尺度密集残差超分辨率重建网络模型中;多尺度密集残差超分辨率重建网络模型包括浅层特征提取模块、深层特征提取模块、特征融合模块、图像重建模块;计算机设备110可以通过浅层特征提取模块提取出图像对中的浅层次低频特征,并通过深层特征提取模块提取出图像对中的深层次高频特征;计算机设备110可以基于特征融合模块对浅层次低频特征、深层次高频特征进行特征融合,并将融合后的特征输入至图像重建模块中重建出超分辨率图像。其中,计算机设备110可以但不限于是各种个人计算机、笔记本电脑、机器人、无人飞行器、平板电脑等设备。The multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method provided in the embodiment of the present application can be applied to the application environment shown in Figure 1. As shown in Figure 1, the application environment includes a computer device 110. The computer device 110 can obtain infrared thermal imaging images and perform image processing on the infrared thermal imaging images to obtain high-resolution images and low-resolution images; the computer device 110 can input the high-resolution images and low-resolution images as image pairs into the multi-scale dense residual super-resolution reconstruction network model; the multi-scale dense residual super-resolution reconstruction network model includes a shallow feature extraction module, a deep feature extraction module, a feature fusion module, and an image reconstruction module; the computer device 110 can extract shallow low-frequency features in the image pair through the shallow feature extraction module, and extract deep high-frequency features in the image pair through the deep feature extraction module; the computer device 110 can perform feature fusion on shallow low-frequency features and deep high-frequency features based on the feature fusion module, and input the fused features into the image reconstruction module to reconstruct a super-resolution image. Among them, the computer device 110 can be, but not limited to, various personal computers, laptops, robots, unmanned aerial vehicles, tablet computers and other devices.

在一个实施例中,如图2所示,提供了一种多尺度密集残差网络红外热成像超分辨率重建方法,包括以下步骤:In one embodiment, as shown in FIG2 , a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method is provided, comprising the following steps:

步骤202,获取红外热成像图像,并对红外热成像图像进行图像处理,得到高分辨率图像、低分辨率图像;Step 202, acquiring an infrared thermal imaging image, and performing image processing on the infrared thermal imaging image to obtain a high-resolution image and a low-resolution image;

步骤204,将高分辨率图像、低分辨率图像作为图像对输入至多尺度密集残差超分辨率重建网络模型中;多尺度密集残差超分辨率重建网络模型包括浅层特征提取模块、深层特征提取模块、特征融合模块、图像重建模块;Step 204, inputting the high-resolution image and the low-resolution image as image pairs into a multi-scale dense residual super-resolution reconstruction network model; the multi-scale dense residual super-resolution reconstruction network model includes a shallow feature extraction module, a deep feature extraction module, a feature fusion module, and an image reconstruction module;

步骤206,通过浅层特征提取模块提取出图像对中的浅层次低频特征,并通过深层特征提取模块提取出图像对中的深层次高频特征;Step 206, extracting shallow low-frequency features in the image pair through a shallow feature extraction module, and extracting deep high-frequency features in the image pair through a deep feature extraction module;

步骤208,基于特征融合模块对浅层次低频特征、深层次高频特征进行特征融合,并将融合后的特征输入至图像重建模块中重建出超分辨率图像。Step 208: Based on the feature fusion module, the shallow low-frequency features and the deep high-frequency features are fused, and the fused features are input into the image reconstruction module to reconstruct the super-resolution image.

在本实施例中,以残差网络理论和卷积神经网络为基础,构建多尺度密集残差超分辨率重建网络模型。具体的,多尺度密集残差超分辨率重建网络模型主要分为四个部分:浅层特征提取模块,深层特征提取模块、特征融合模块和图像重建模块。In this embodiment, based on residual network theory and convolutional neural network, a multi-scale dense residual super-resolution reconstruction network model is constructed. Specifically, the multi-scale dense residual super-resolution reconstruction network model is mainly divided into four parts: a shallow feature extraction module, a deep feature extraction module, a feature fusion module and an image reconstruction module.

其中,浅层特征提取模块采用了卷积神经网络中的二维卷积,提取浅层的细节特征,简单将低维特征映射到高维特征;深层特征提取模块由多尺度密集非对称模块MDAB堆叠组成,提取深层次更为丰富的细节特征;特征融合模块通过通道融合操作Concat进行融合,将全局不同层次的特征进行融合,从而产生更加丰富和全面的特征表示,减少整个模型的特征的损失以及加强不同层次信息的互补;图像重建模块主要由亚像素卷积模块以及卷积层组成,将低分辨率图像经上采样后重建出高分辨率图像。Among them, the shallow feature extraction module uses the two-dimensional convolution in the convolutional neural network to extract shallow detail features and simply map low-dimensional features to high-dimensional features; the deep feature extraction module is composed of a stack of multi-scale dense asymmetric modules MDAB to extract deeper and richer detail features; the feature fusion module fuses the features of different levels globally through the channel fusion operation Concat, thereby producing a richer and more comprehensive feature representation, reducing the loss of features of the entire model and enhancing the complementarity of information at different levels; the image reconstruction module is mainly composed of sub-pixel convolution modules and convolution layers, which reconstructs high-resolution images after upsampling low-resolution images.

在一个实施例中,提供的一种多尺度密集残差网络红外热成像超分辨率重建方法还可以包括浅层次低频特征提取的过程,具体过程包括:浅层特征提取模块中设置有卷积神经网络中的二维卷积;浅层特征提取模块通过第一个卷积提取出图像对中的第一特征,通过第二个卷积提取出图像对中的第二特征;将第一特征、第二特征作为浅层次低频特征;第一特征用于残差学习,第二特征用于深层次高频特征提取。In one embodiment, a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method provided may also include a shallow low-frequency feature extraction process, and the specific process includes: a two-dimensional convolution in a convolutional neural network is set in the shallow feature extraction module; the shallow feature extraction module extracts the first feature in the image pair through the first convolution, and extracts the second feature in the image pair through the second convolution; the first feature and the second feature are used as shallow low-frequency features; the first feature is used for residual learning, and the second feature is used for deep high-frequency feature extraction.

其中,浅层特征提取模块中使用了两个3x3卷积核的二维卷积层,对低分辨率图像进行浅层次的特征提取,简单地将输入从低维空间映射至高维空间。Among them, two two-dimensional convolution layers with two 3x3 convolution kernels are used in the shallow feature extraction module to perform shallow feature extraction on low-resolution images, simply mapping the input from low-dimensional space to high-dimensional space.

在一个实施例中,提供的一种多尺度密集残差网络红外热成像超分辨率重建方法还可以包括深层次高频特征提取的过程,具体过程包括:深层特征提取模块中设置有若干多尺度密集非对称模块;基于Densenet网络将各个多尺度密集非对称模块进行密集块堆叠;将第二特征作为输入,各个多尺度密集非对称模块渐进依次输入输出,得到各个局部特征。In one embodiment, a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method provided may also include a process of deep-level high-frequency feature extraction, and the specific process includes: a number of multi-scale dense asymmetric modules are set in the deep feature extraction module; based on the Densenet network, each multi-scale dense asymmetric module is densely stacked; the second feature is taken as input, and each multi-scale dense asymmetric module is progressively input and output in sequence to obtain each local feature.

在一个实施例中,多尺度密集非对称模块中设置有多尺度密集残差模块、若干非对称卷积模块;非对称卷积模块中设置有不同种类卷积核,用于进行二维卷积操作;非对称卷积模块中包含有若干非对称卷积块,用于将二维卷积分解成两个一维卷积。In one embodiment, a multi-scale dense asymmetric module is provided with a multi-scale dense residual module and several asymmetric convolution modules; the asymmetric convolution module is provided with different types of convolution kernels for performing two-dimensional convolution operations; the asymmetric convolution module includes several asymmetric convolution blocks for decomposing the two-dimensional convolution into two one-dimensional convolutions.

由于传统的特征提取模块主要由简易的二维卷积进行堆叠来进行特征提取,提取特征的效果并不理想,因此,本实施例中提出了多尺度密集非对称MDAB模块,其中,多尺度密集非对称模块的结构如图3所示,在深层次特征提取模块中采用多个MDAB多尺度密集块堆叠,MDAB模块中加入了多尺度密集残差模块,其中主要由N个非对称卷积模块(ACB)组成,提取深层次特征,同时采用了Densenet网络的思想,采用了密集连接,以此成分来利用提取的特征信息,避免了梯度消失,同时融合不同深度信息以提高信息传递的流动性,避免信息在过程中造成损失,提高特征提取效率,整体模块的特征提取效果与以往模型相比更为优良。Since the traditional feature extraction module mainly extracts features by stacking simple two-dimensional convolutions, the effect of extracting features is not ideal. Therefore, a multi-scale dense asymmetric MDAB module is proposed in this embodiment, wherein the structure of the multi-scale dense asymmetric module is shown in Figure 3. In the deep feature extraction module, multiple MDAB multi-scale dense blocks are stacked. A multi-scale dense residual module is added to the MDAB module, which is mainly composed of N asymmetric convolution modules (ACB) to extract deep features. At the same time, the idea of the Densenet network is adopted, and dense connections are used to utilize the extracted feature information to avoid gradient disappearance. At the same time, different depth information is integrated to improve the fluidity of information transmission, avoid information loss in the process, and improve feature extraction efficiency. The feature extraction effect of the overall module is better than that of previous models.

在本实施例中,非对称卷积模块(ACB)的结构如图4所示,其中AC-1、3、5分别表示采用卷积核大小为1、3、5,后面的模块即是非对称卷积块模块。具体的,ACB模块结合了多尺度特征提取与非对称卷积的思想,利用了非对称卷积块(AC)与多尺度特征提取思想相结合,提高对深层次特征的提取效率以及对红外图像温度信息的保留。In this embodiment, the structure of the asymmetric convolution module (ACB) is shown in FIG4 , wherein AC-1, 3, and 5 respectively represent the use of convolution kernel sizes of 1, 3, and 5, and the following modules are asymmetric convolution block modules. Specifically, the ACB module combines the ideas of multi-scale feature extraction and asymmetric convolution, and utilizes the combination of asymmetric convolution blocks (AC) and multi-scale feature extraction ideas to improve the extraction efficiency of deep-level features and the retention of temperature information of infrared images.

在进行特征提取的过程中,如图5所示,首先基于多尺度特征提取块,ACB模块中包含了三种卷积核(3x3,5x5,7x7),由原本的传统DenseNet网络的思想中使用单一的二维卷积改进为使用3x3,5x5,7x7卷积核的三个二维卷积操作,同时与本身的特征进行通道融合;不同的卷积核具有不同的感受野,能够捕捉到不同尺度下的信息,在保留不同的尺度特征的同时也能减少信息的损失,此外基于红外热成像的温度信息可能更多包含在低频信息当中,更大的卷积核有助于识别更大范围内的热分布模式信息,从而提高特征提取的效果。In the process of feature extraction, as shown in Figure 5, firstly based on the multi-scale feature extraction block, the ACB module contains three convolution kernels (3x3, 5x5, 7x7), which is improved from the original traditional DenseNet network idea of using a single two-dimensional convolution to three two-dimensional convolution operations using 3x3, 5x5, 7x7 convolution kernels, and at the same time performs channel fusion with its own features; different convolution kernels have different receptive fields, which can capture information at different scales, and reduce information loss while retaining different scale features. In addition, temperature information based on infrared thermal imaging may be more contained in low-frequency information, and larger convolution kernels are helpful to identify thermal distribution pattern information in a larger range, thereby improving the effect of feature extraction.

其次基于非对称卷积块(AC),本实施例中采用了两个一维的非对称卷积及一个传统的二维卷积,通过残差学习来影响传统的3x3二维卷积并丰富特征空间,并通过RELU激活函数转换成非线性特征,使神经网络能够学习和表达复杂的特征关系。具体的,非对称卷积相当于将二维卷积分解成两个一维卷积,通过提取垂直和水平方向的特征,来增强局部关键特征的提取,同时也能在保持有效感受野的同时减少卷积的参数,实现更有效的参数共享,提高模型对复杂特征的表达。Secondly, based on the asymmetric convolution block (AC), this embodiment uses two one-dimensional asymmetric convolutions and a traditional two-dimensional convolution, and uses residual learning to influence the traditional 3x3 two-dimensional convolution and enrich the feature space, and converts it into nonlinear features through the RELU activation function, so that the neural network can learn and express complex feature relationships. Specifically, the asymmetric convolution is equivalent to decomposing the two-dimensional convolution into two one-dimensional convolutions, and enhances the extraction of local key features by extracting features in the vertical and horizontal directions. At the same time, it can also reduce the convolution parameters while maintaining the effective receptive field, achieve more effective parameter sharing, and improve the model's expression of complex features.

在一个实施例中,提供的一种多尺度密集残差网络红外热成像超分辨率重建方法还可以包括进行特征同和的过程,具体过程包括:通过特征融合模块,采用concatenate特征融合操作,对浅层次低频特征、深层次高频特征进行特征融合;通过特征融合模块将不同的特征图进行拼接,获得浅层次、深层次的特征信息。In one embodiment, a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method provided may also include a feature concatenation process, the specific process including: through a feature fusion module, using a concatenate feature fusion operation to perform feature fusion on shallow low-frequency features and deep high-frequency features; through a feature fusion module, different feature maps are spliced to obtain shallow and deep feature information.

在本实施例中,计算机设备采用了concatenate特征融合操作,对不同层次的特征进行融合,将不同的特征图进行拼接,以此获得所有层次的特征信息,并提高模型的性能和鲁棒性。In this embodiment, the computer device adopts a concatenate feature fusion operation to fuse features at different levels and splice different feature maps to obtain feature information at all levels and improve the performance and robustness of the model.

在一个实施例中,提供的一种多尺度密集残差网络红外热成像超分辨率重建方法还可以包括图像重建的过程,具体过程包括:图像重建模块中设置有亚像素卷积模块及卷积层;通过亚像素卷积模块对融合后的特征进行上采样处理,得到处理后的数据;根据处理后的数据,通过卷积层进行图像重建,获得超分辨率图像。In one embodiment, a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method provided may also include an image reconstruction process, and the specific process includes: a sub-pixel convolution module and a convolution layer are provided in the image reconstruction module; the fused features are up-sampled by the sub-pixel convolution module to obtain processed data; based on the processed data, the image is reconstructed by the convolution layer to obtain a super-resolution image.

在本实施例中,图像重建模块中使用了亚像素卷积模块进行上采样操作,最后通过卷积层来实现最终的图像重建来获得高分辨图像。亚像素卷积模块的工作原理如图6所示,亚像素卷积是一种上采样方法,可以对缩小后的特征图进行有效的放大,基本思想是在卷积层之后添加一个像素重排层,该层将通道数进行扩展,并将原始像素重新排列成更高分辨率的图像。通过亚像素卷积,可以有效地提高图像的分辨率并保留更多的细节信息。In this embodiment, a sub-pixel convolution module is used in the image reconstruction module for upsampling operation, and finally the convolution layer is used to realize the final image reconstruction to obtain a high-resolution image. The working principle of the sub-pixel convolution module is shown in FIG6. Sub-pixel convolution is an upsampling method that can effectively amplify the reduced feature map. The basic idea is to add a pixel rearrangement layer after the convolution layer, which expands the number of channels and rearranges the original pixels into a higher-resolution image. Through sub-pixel convolution, the resolution of the image can be effectively improved and more detail information can be retained.

在一个实施例中,提供的一种多尺度密集残差网络红外热成像超分辨率重建方法还可以包括多尺度密集残差超分辨率重建网络模型的训练过程,具体过程包括:采集红外热图像光伏电板数据集图像进行图像退化处理,得到低分辨模糊图像;对低分辨率模糊图像进行标注,将低分辨率图像与高分辨率图像作为图像对;将图像对输入至多尺度密集残差超分辨率重建网络模型中,通过多尺度密集残差超分辨率重建网络模型输出超分辨率重建图像;计算损失函数,并基于超分辨率重建图像进行参数更新,得到最优权重参数,完成多尺度密集残差超分辨率重建网络模型训练。In one embodiment, a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method provided may also include a training process of a multi-scale dense residual super-resolution reconstruction network model, the specific process including: collecting infrared thermal image photovoltaic panel data set images for image degradation processing to obtain a low-resolution blurred image; annotating the low-resolution blurred image, and taking the low-resolution image and the high-resolution image as an image pair; inputting the image pair into the multi-scale dense residual super-resolution reconstruction network model, and outputting a super-resolution reconstructed image through the multi-scale dense residual super-resolution reconstruction network model; calculating the loss function, and updating the parameters based on the super-resolution reconstructed image to obtain the optimal weight parameters, and completing the training of the multi-scale dense residual super-resolution reconstruction network model.

在本实施例中,多尺度密集残差超分辨率重建网络模型的训练过程如图7所示,包括:获取训练数据集图像,输入低分辨率图像(LR)和高分辨率图像(HR)组成的HR-LR图像对,LR作为模型输入;浅层特征提取模块提取浅层低频特征,同时将输入从低维空间映射至高维空间;高频特征提取模块提取深层次高频特征;特征融合模块融合不同层次特征;图像重建模块重建出超分辨率图像SR;输出SR,并通过计算与HR的损失并监督反向传播更新训练参数获取最优权重参数,从而完成多尺度密集残差超分辨率重建网络模型的训练。In this embodiment, the training process of the multi-scale dense residual super-resolution reconstruction network model is shown in Figure 7, including: obtaining a training data set image, inputting an HR-LR image pair consisting of a low-resolution image (LR) and a high-resolution image (HR), and LR as a model input; a shallow feature extraction module extracts shallow low-frequency features, and at the same time maps the input from a low-dimensional space to a high-dimensional space; a high-frequency feature extraction module extracts deep-level high-frequency features; a feature fusion module fuses features at different levels; an image reconstruction module reconstructs a super-resolution image SR; outputs SR, and obtains the optimal weight parameters by calculating the loss with HR and supervising back propagation to update the training parameters, thereby completing the training of the multi-scale dense residual super-resolution reconstruction network model.

在模型训练过程中,训练所采用的损失函数为L1平均绝对误差(Mean AbsoluteError,MAE),用于监督模型的训练,其计算公式为:其中,xi是第i个样本的真实值,yi是第i个样本的预测值,n是样本数量;损失值越小,代表模型的预测结果更接近真实值。During the model training process, the loss function used in the training is the L1 mean absolute error (MAE), which is used to supervise the training of the model. The calculation formula is: Among them, xi is the true value of the i-th sample, yi is the predicted value of the i-th sample, and n is the number of samples; the smaller the loss value, the closer the prediction result of the model is to the true value.

在模型训练过程中,峰值信噪比(Peak Signal-to-Noise Ratio,PSNR)是衡量图像或音频质量的常用指标之一,表示原始信号与经过失真处理后的信号之间的峰值信号功率和噪声功率之比;PSNR的数值越高,表示失真程度越小,图像或音频质量越好。计算公式为: During the model training process, Peak Signal-to-Noise Ratio (PSNR) is one of the commonly used indicators to measure image or audio quality. It represents the ratio of the peak signal power to the noise power between the original signal and the distorted signal. The higher the PSNR value, the smaller the distortion and the better the image or audio quality. The calculation formula is:

在模型训练过程中,结构相似度指数(Structural Similarity Index,SSIM)是一种用于衡量两幅图像之间相似程度的指标,它不仅考虑了亮度信息的相似性,还考虑了对比度和结构信息的相似性,因此更符合人类对图像质量的感知。SSIM更能反映人眼对图像质量的感知,因此在很多情况下被认为是更有效的图像质量评价指标。During the model training process, the Structural Similarity Index (SSIM) is an indicator used to measure the similarity between two images. It not only considers the similarity of brightness information, but also the similarity of contrast and structural information, so it is more in line with human perception of image quality. SSIM can better reflect the human eye's perception of image quality, so it is considered to be a more effective image quality evaluation indicator in many cases.

在一个实施例中,提供的一种多尺度密集残差网络红外热成像超分辨率重建方法还可以包括进行图像退化处理的过程,具体过程包括:对红外热图像光伏电板数据集图像进行双三次插值处理,得到双三次插值处理后的图像;对双三次插值处理后的图像进行缩放处理,得到低分辨模糊图像。In one embodiment, a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method provided may also include a process of image degradation processing, the specific process including: performing bicubic interpolation processing on the infrared thermal image photovoltaic panel data set image to obtain a bicubic interpolation processed image; performing scaling processing on the bicubic interpolation processed image to obtain a low-resolution blurred image.

在本实施例中,采用的数据集是是私有的红外热图像光伏电板数据集,主要由130张热图像组成,其中100张图片当作训练集。其中,关于红外热图像的退化模型主要采用的是双三次线性插值的方法的得到模糊图像,并经过缩放得到指定大小的低分辨率模糊图像,其经缩放大小为x2以及插值处理后的图像与原图对比如图7所示。In this embodiment, the dataset used is a private infrared thermal image photovoltaic panel dataset, which mainly consists of 130 thermal images, of which 100 images are used as training sets. Among them, the degradation model of infrared thermal images mainly uses the bicubic linear interpolation method to obtain a blurred image, and then scales it to obtain a low-resolution blurred image of a specified size. The image after scaling to x2 and interpolation is compared with the original image as shown in Figure 7.

在一个实施例中,提供的一种多尺度密集残差网络红外热成像超分辨率重建方法中,多尺度密集残差超分辨率重建网络模型的框架如图8所示。In one embodiment, in a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method provided, the framework of the multi-scale dense residual super-resolution reconstruction network model is shown in FIG8 .

假定ILR和IHR分别是输入模型中的输入与输出图像,首先第一个卷积从ILR图像提取特征得到F-1,继而第二个卷积提取特征得到F0:F-1=HCONV(ILR);F0=HCONV(F-1)。其中,HCONV(.)代表着3x3卷积运算,F-1用于后续的残差学习,F0用于进一步的深度特征提取,作为多尺度密集非对称模块MDAB的输入。其中假设有N个MDAB模块,因此有:Assuming that I LR and I HR are the input and output images in the input model, the first convolution extracts features from the I LR image to obtain F -1 , and then the second convolution extracts features to obtain F 0 : F -1 = H CONV (I LR ); F 0 = H CONV (F -1 ). Among them, H CONV (.) represents the 3x3 convolution operation, F -1 is used for subsequent residual learning, and F 0 is used for further deep feature extraction as the input of the multi-scale dense asymmetric module MDAB. It is assumed that there are N MDAB modules, so there are:

Fn=HMDAB,n(Fn-1)=HMDAB,n(HMDAB,n-1(...(HMDAB,1(F0))...))F n =H MDAB,n (F n-1 ) =H MDAB,n (H MDAB,n-1 (...(H MDAB,1 (F 0 ))...))

其中,HMDAB,n(.)代表第n个MDAB模块,得到输出Fn,每一个MDAB模块都是渐进依次输入输出的,同时保留了所有层次的局部特征的输出F1,F2...Fn,为后续的全局特征融合提供输入,即Fconcat=Hconcat(F1,F2,...Fn);FRL=Fconcat+F-1。其中,Fconcat(.)代表全局特征融合,经过全局融合得到Fconcat,并经过与F-1的残差学习得到特征FRL,提取到局部和全局特征之后,最后经过重建模块得到最终的高分辨率图像IHR,即IHR=HRB(FRL)=HMDRN(ILR);其中HRB(.)代表网络的重建操作,HMDRN(.)代表整个MDRN的功能。Among them, H MDAB,n (.) represents the nth MDAB module, and the output F n is obtained. Each MDAB module is input and output progressively and sequentially, while retaining the outputs of local features F 1 , F 2 ...F n at all levels, providing input for subsequent global feature fusion, that is, F concat =H concat (F 1 ,F 2 ,...F n ); F RL =F concat +F -1 . Among them, F concat (.) represents global feature fusion, and F concat is obtained after global fusion, and feature F RL is obtained after residual learning with F -1 . After extracting local and global features, the final high-resolution image I HR is obtained after reconstruction module, that is, I HR = HRB (F RL ) =H MDRN (I LR ); among them, H RB (.) represents the reconstruction operation of the network, and H MDRN (.) represents the function of the entire MDRN.

具体的,多尺度密集残差超分辨率重建网络模型的训练主要流程如图9所示,包括:获取红外热图像光伏电板数据集图像,通过图像退化处理得到低分辨率模糊图像;得到低分辨率图像后,通过标注将低分辨率图像与高分辨率图像作为图像对作为训练的基础数据集;通过多尺度密集残差超分辨率重建网络模型进行训练,得到低分辨率图像与高分辨图像映射的最优权重参数;最终通过测试,由低分辨率模糊图像重建出高分辨率清晰图像。Specifically, the main training process of the multi-scale dense residual super-resolution reconstruction network model is shown in Figure 9, including: obtaining infrared thermal image photovoltaic panel data set images, and obtaining low-resolution blurred images through image degradation processing; after obtaining the low-resolution image, annotating the low-resolution image and the high-resolution image as an image pair as the basic data set for training; training through the multi-scale dense residual super-resolution reconstruction network model to obtain the optimal weight parameters for mapping the low-resolution image and the high-resolution image; finally, through testing, reconstructing a high-resolution clear image from the low-resolution blurred image.

在一个实施例中,多尺度密集残差超分辨率重建网络模型采用了8个MDAB模块,以及MDAB模块中采用8个ACB模块,经过在自建的红外光伏数据集的训练完成后,能够将低分辨率图像重建出效果优良的高分辨率图像,对低分辨率图像进行良好的重建,能够清晰的观察出图像重建后的细节特征,包括光斑、边缘纹理等细节信息,同时整体的图像质量得到大幅度提升,对后续的目标检测研究提供了良好的图像基础。In one embodiment, the multi-scale dense residual super-resolution reconstruction network model adopts 8 MDAB modules, and 8 ACB modules are used in the MDAB module. After training on a self-built infrared photovoltaic data set, it can reconstruct low-resolution images into high-resolution images with excellent effects. The low-resolution images can be well reconstructed, and the detailed features of the reconstructed images can be clearly observed, including light spots, edge textures and other detailed information. At the same time, the overall image quality is greatly improved, providing a good image foundation for subsequent target detection research.

在一个实施例中,为了说明本申请区别于其他技术设计了两个实验说明其改进,实验一通过与传统的插值重建算法以及SRCNN、FSRCNN网络进行对比来说明本申请的优越性;实验二通过与深度残差网络RDN以及包含非对称卷积模块的RDN网络进行对比,进一步展示本申请重建图像的优点。具体实验过程如下:In one embodiment, in order to illustrate the difference between the present invention and other technologies, two experiments are designed to illustrate its improvements. Experiment 1 illustrates the superiority of the present invention by comparing it with the traditional interpolation reconstruction algorithm and SRCNN and FSRCNN networks; Experiment 2 further demonstrates the advantages of the present invention in reconstructing images by comparing it with the deep residual network RDN and the RDN network containing an asymmetric convolution module. The specific experimental process is as follows:

实验一:将定量说明本申请图像重建效果的优越性。本申请在与传统的插值等算法的对比下,能够学习复杂的图像特征和高级表示,因此能够更好地捕捉图像之间的相关性和结构信息,从而生成更清晰、更真实的高分辨率图像,而传统的插值算法通常只是简单地通过像素插值来增加分辨率,无法有效提升图像质量。此外与传统的SRCNN、FSRCNN网络模型对比,本申请与以往的三次卷积网络结构不同,其采用了更多的卷积层与特征提取块MDAB,对图像的细节、边缘特征有更好的提取,同时加入了残差连接与特征融合块,充分提取不同层次特征并且保留整体的信息,最后采用亚像素卷积对图像进行上采样重建,达到重建良好高分辨率图像的效果,在整体模型上得到优化,所重建的图像比SRCNN模型重建的图像更加清晰,细节边缘信息更加明显,整体图像质量得到显著提升。Experiment 1: The superiority of the image reconstruction effect of this application will be quantitatively explained. Compared with traditional interpolation algorithms, this application can learn complex image features and high-level representations, so it can better capture the correlation and structural information between images, thereby generating clearer and more realistic high-resolution images, while traditional interpolation algorithms usually simply increase the resolution by pixel interpolation, which cannot effectively improve the image quality. In addition, compared with the traditional SRCNN and FSRCNN network models, this application is different from the previous cubic convolutional network structure. It uses more convolutional layers and feature extraction blocks MDAB, which can better extract the details and edge features of the image. At the same time, residual connections and feature fusion blocks are added to fully extract features at different levels and retain the overall information. Finally, sub-pixel convolution is used to upsample and reconstruct the image to achieve the effect of reconstructing a good high-resolution image. The overall model is optimized, and the reconstructed image is clearer than the image reconstructed by the SRCNN model, and the detailed edge information is more obvious, and the overall image quality is significantly improved.

实验一在自建的红外光伏电板数据集上进行训练、测试,对测试的图片进行分析以及指标上的评估,验证集指标在三种不同模型对比下的结果如下表所示:Experiment 1 trains and tests on a self-built infrared photovoltaic panel dataset, analyzes the test images, and evaluates the indicators. The results of the validation set indicators under the comparison of three different models are shown in the following table:

实验一在三种传统模型算法重建出x2放大倍数的高分辨率图像上进行视觉效果上的对比,如图10、图11所示。Experiment 1 compares the visual effects of three traditional model algorithms on high-resolution images with a magnification of x2, as shown in Figures 10 and 11.

实验二:实验二将与部分结构相似的模型进行对比,进一步说明本申请提出的模块的优越性。其中包含于深度残差网络RDN以及在RDN网络上增加非对称卷积的网络(RDN+AC),通过此次的实验能够证明本申请中MDAB模块优越的性能,更能证明整个MDRN模型整体重建效果的改进。其验证集指标的测试结果如下表所示:Experiment 2: Experiment 2 will compare with some models with similar structures to further illustrate the superiority of the module proposed in this application. It includes the deep residual network RDN and the network with asymmetric convolution added to the RDN network (RDN+AC). Through this experiment, the superior performance of the MDAB module in this application can be proved, and the improvement of the overall reconstruction effect of the entire MDRN model can be proved. The test results of the validation set indicators are shown in the following table:

实验二在与两种结构相似模型重建出x2放大倍数的高分辨率图像上进行视觉效果上的对比,如图12、图13所示。Experiment 2 compares the visual effects on high-resolution images with a magnification of x2 reconstructed from two models with similar structures, as shown in Figures 12 and 13.

本申请中新建的多尺度密集残差超分辨率重建网络模型,重点提出了新的特征提取模块,即多尺度密集非对称模块(MDAB),通过结合深度残差网络思想,由N个非对称卷积块(ACB)作为基础单元,实现对红外热图像的低分率图像的温度信息以及细节信息的有效保留,并实现了从红外低分辨率模糊图像转变为高分辨率清晰图像的过程;通过此模型,能够实现红外热图像往更为清晰的图像的转变,为其他例如图像检测、识别等领域提供良好的图像基础。The newly created multi-scale dense residual super-resolution reconstruction network model in this application focuses on proposing a new feature extraction module, namely the multi-scale dense asymmetric module (MDAB). By combining the idea of deep residual network, N asymmetric convolution blocks (ACB) are used as basic units to effectively retain the temperature information and detail information of low-resolution images of infrared thermal images, and realize the process of transforming infrared low-resolution blurred images into high-resolution clear images. Through this model, the transformation of infrared thermal images into clearer images can be achieved, providing a good image foundation for other fields such as image detection and recognition.

且采用了私有的红外热成像光伏电板数据集,采用的数据集能够覆盖特定的场景、对象,而本申请的场景及对象着重在于工业的红外光伏电板热图像的光斑,通过此数据集,能够使红外热成像图像重建领域中得到优良的提升,同时,能够进一步提升对红外热图像的重建效果,并能在特定场景中得到应用。A private infrared thermal imaging photovoltaic panel data set is used. The data set used can cover specific scenes and objects. The scenes and objects of this application focus on the light spots of industrial infrared photovoltaic panel thermal images. Through this data set, the field of infrared thermal imaging image reconstruction can be greatly improved. At the same time, the reconstruction effect of infrared thermal images can be further improved and can be applied in specific scenes.

本申请的目的是提高低分辨率光伏电板红外热成像图像重建出的高分辨率图像的质量,并应用于后续的光斑检测,提升了重建图像的整体质量,在峰值信噪比PSNR以及结构相似性SSIM两种指标下有明显的提升,同时对图像的细节信息有良好的保留,重建出的图像与原图相比,质量有着明显提升,能够提供出品质更为优良的图像。The purpose of this application is to improve the quality of high-resolution images reconstructed from low-resolution infrared thermal imaging images of photovoltaic panels, and to apply them to subsequent spot detection, thereby improving the overall quality of the reconstructed image, with significant improvements in the two indicators of peak signal-to-noise ratio PSNR and structural similarity SSIM, while retaining good image detail information. The reconstructed image has significantly improved quality compared to the original image, and can provide an image of better quality.

在进行超分辨率图像重建时,准备好模型的训练数据,采用自建的光伏电板数据集经插值算法下采样之后的低分辨率图像以及真实原图像作为图像对来作为训练集,其中100对图像作为训练集,另外30对图片作为验证集;搭建好超分辨率重建算法模型,同时使用Python作为训练的汇编语言;开始训练模型,并打印相应训练的损失函数loss以及分析每个训练迭代数的峰值信噪比PSNR及结构相似性SSIM;打印出每轮训练迭代的权重并保存相应模型;利用训练的权重参数结果对测试图像进行测试,利用评价指标对重建的图像进行评估并打印结果,最后得到高分辨率图像,能提供更加清晰和丰富的图像信息。When performing super-resolution image reconstruction, prepare the training data of the model, use the low-resolution images of the self-built photovoltaic panel data set after downsampling by the interpolation algorithm and the real original images as image pairs as the training set, of which 100 pairs of images are used as the training set and the other 30 pairs of images are used as the verification set; build the super-resolution reconstruction algorithm model, and use Python as the assembly language for training; start training the model, and print the corresponding training loss function loss and analyze the peak signal-to-noise ratio PSNR and structural similarity SSIM of each training iteration number; print out the weights of each round of training iteration and save the corresponding model; use the trained weight parameter results to test the test image, use the evaluation index to evaluate the reconstructed image and print the results, and finally obtain a high-resolution image, which can provide clearer and richer image information.

应该理解的是,虽然上述各个流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,上述各个流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the steps in the above-mentioned flowcharts are shown in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flowcharts may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

在一个实施例中,如图14所示,提供了一种多尺度密集残差网络红外热成像超分辨率重建系统,包括:图像处理单元1410、图像输入单元1420、特征提取单元1430和图像重建单元1440,其中:In one embodiment, as shown in FIG14 , a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction system is provided, comprising: an image processing unit 1410, an image input unit 1420, a feature extraction unit 1430 and an image reconstruction unit 1440, wherein:

图像处理单元1410,用于获取红外热成像图像,并对红外热成像图像进行图像处理,得到高分辨率图像、低分辨率图像;The image processing unit 1410 is used to obtain an infrared thermal imaging image and perform image processing on the infrared thermal imaging image to obtain a high-resolution image and a low-resolution image;

图像输入单元1420,用于将高分辨率图像、低分辨率图像作为图像对输入至多尺度密集残差超分辨率重建网络模型中;多尺度密集残差超分辨率重建网络模型包括浅层特征提取模块、深层特征提取模块、特征融合模块、图像重建模块;The image input unit 1420 is used to input the high-resolution image and the low-resolution image as an image pair into the multi-scale dense residual super-resolution reconstruction network model; the multi-scale dense residual super-resolution reconstruction network model includes a shallow feature extraction module, a deep feature extraction module, a feature fusion module, and an image reconstruction module;

特征提取单元1430,用于通过浅层特征提取模块提取出图像对中的浅层次低频特征,并通过深层特征提取模块提取出图像对中的深层次高频特征;A feature extraction unit 1430, configured to extract shallow low-frequency features in the image pair through a shallow feature extraction module, and to extract deep high-frequency features in the image pair through a deep feature extraction module;

图像重建单元1440,用于基于特征融合模块对浅层次低频特征、深层次高频特征进行特征融合,并将融合后的特征输入至图像重建模块中重建出超分辨率图像。The image reconstruction unit 1440 is used to perform feature fusion on shallow-level low-frequency features and deep-level high-frequency features based on the feature fusion module, and input the fused features into the image reconstruction module to reconstruct a super-resolution image.

在一个实施例中,浅层特征提取模块中设置有卷积神经网络中的二维卷积;特征提取单元1430还用于:浅层特征提取模块通过第一个卷积提取出图像对中的第一特征,通过第二个卷积提取出图像对中的第二特征;将第一特征、第二特征作为浅层次低频特征;第一特征用于残差学习,第二特征用于深层次高频特征提取。In one embodiment, a two-dimensional convolution in a convolutional neural network is provided in the shallow feature extraction module; the feature extraction unit 1430 is also used for: the shallow feature extraction module extracts the first feature in the image pair through the first convolution, and extracts the second feature in the image pair through the second convolution; the first feature and the second feature are used as shallow low-frequency features; the first feature is used for residual learning, and the second feature is used for deep high-frequency feature extraction.

在一个实施例中,深层特征提取模块中设置有若干多尺度密集非对称模块;特征提取单元1430还用于:基于Densenet网络将各个多尺度密集非对称模块进行密集块堆叠;将第二特征作为输入,各个多尺度密集非对称模块渐进依次输入输出,得到各个局部特征。In one embodiment, a plurality of multi-scale dense asymmetric modules are provided in the deep feature extraction module; the feature extraction unit 1430 is also used to: densely stack the multi-scale dense asymmetric modules based on the Densenet network; take the second feature as input, and progressively input and output the multi-scale dense asymmetric modules in sequence to obtain various local features.

在一个实施例中,多尺度密集非对称模块中设置有多尺度密集残差模块、若干非对称卷积模块;非对称卷积模块中设置有不同种类卷积核,用于进行二维卷积操作;非对称卷积模块中包含有若干非对称卷积块,用于将二维卷积分解成两个一维卷积。In one embodiment, a multi-scale dense asymmetric module is provided with a multi-scale dense residual module and several asymmetric convolution modules; the asymmetric convolution module is provided with different types of convolution kernels for performing two-dimensional convolution operations; the asymmetric convolution module includes several asymmetric convolution blocks for decomposing the two-dimensional convolution into two one-dimensional convolutions.

在一个实施例中,图像重建单元1440还用于通过特征融合模块,采用concatenate特征融合操作,对浅层次低频特征、深层次高频特征进行特征融合;通过特征融合模块将不同的特征图进行拼接,获得浅层次、深层次的特征信息。In one embodiment, the image reconstruction unit 1440 is also used to perform feature fusion on shallow low-frequency features and deep high-frequency features through a feature fusion module and a concatenate feature fusion operation; different feature maps are spliced through the feature fusion module to obtain shallow and deep feature information.

在一个实施例中,图像重建单元1440还用于将融合后的特征输入至图像重建模块中重建出超分辨率图像,包括:通过亚像素卷积模块对融合后的特征进行上采样处理,得到处理后的数据;根据处理后的数据,通过卷积层进行图像重建,获得超分辨率图像。In one embodiment, the image reconstruction unit 1440 is also used to input the fused features into the image reconstruction module to reconstruct a super-resolution image, including: upsampling the fused features through a sub-pixel convolution module to obtain processed data; and reconstructing the image through a convolution layer based on the processed data to obtain a super-resolution image.

在一个实施例中,还包括模型训练模块,用于采集红外热图像光伏电板数据集图像进行图像退化处理,得到低分辨模糊图像;对低分辨率模糊图像进行标注,将低分辨率图像与高分辨率图像作为图像对;将图像对输入至多尺度密集残差超分辨率重建网络模型中,通过多尺度密集残差超分辨率重建网络模型输出超分辨率重建图像;计算损失函数,并基于超分辨率重建图像进行参数更新,得到最优权重参数,完成多尺度密集残差超分辨率重建网络模型训练。In one embodiment, a model training module is also included, which is used to collect infrared thermal image photovoltaic panel data set images for image degradation processing to obtain low-resolution blurred images; annotate the low-resolution blurred images, and use the low-resolution images and high-resolution images as image pairs; input the image pairs into a multi-scale dense residual super-resolution reconstruction network model, and output a super-resolution reconstructed image through the multi-scale dense residual super-resolution reconstruction network model; calculate the loss function, and update the parameters based on the super-resolution reconstructed image to obtain the optimal weight parameters, and complete the training of the multi-scale dense residual super-resolution reconstruction network model.

在一个实施例中,模型训练模块还用于对红外热图像光伏电板数据集图像进行双三次插值处理,得到双三次插值处理后的图像;对双三次插值处理后的图像进行缩放处理,得到低分辨模糊图像。In one embodiment, the model training module is also used to perform bicubic interpolation processing on the infrared thermal image photovoltaic panel data set image to obtain a bicubic interpolation processed image; and to perform scaling processing on the bicubic interpolation processed image to obtain a low-resolution blurred image.

在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图15所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种多尺度密集残差网络红外热成像超分辨率重建方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG15. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method is implemented. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

本领域技术人员可以理解,图15中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art will understand that the structure shown in FIG. 15 is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现多尺度密集残差网络红外热成像超分辨率重建方法的步骤。In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, steps of a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method are implemented.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现多尺度密集残差网络红外热成像超分辨率重建方法的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of a multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method are implemented.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims (10)

1. A multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method, characterized in that the method comprises the following steps:
Acquiring an infrared thermal imaging image, and performing image processing on the infrared thermal imaging image to obtain a high-resolution image and a low-resolution image;
Inputting the high-resolution image and the low-resolution image as image pairs into a multi-scale dense residual super-resolution reconstruction network model; the multi-scale dense residual super-resolution reconstruction network model comprises a shallow layer feature extraction module, a deep layer feature extraction module, a feature fusion module and an image reconstruction module;
Extracting shallow secondary low-frequency features in the image pair through the shallow feature extraction module, and extracting deep high-frequency features in the image pair through the deep feature extraction module;
and carrying out feature fusion on the shallow sub-low frequency features and the deep high frequency features based on the feature fusion module, and inputting the fused features into the image reconstruction module to reconstruct a super-resolution image.
2. The multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method according to claim 1, wherein a two-dimensional convolution in a convolution neural network is arranged in the shallow feature extraction module;
Extracting shallow sub-low frequency features in the image pair by the shallow feature extraction module, including:
The shallow feature extraction module extracts first features in the image pair through a first convolution, and extracts second features in the image pair through a second convolution;
taking the first characteristic and the second characteristic as shallow low-frequency characteristics;
the first feature is used for residual learning, and the second feature is used for deep high-frequency feature extraction.
3. The multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method according to claim 2, wherein a plurality of multi-scale dense asymmetric modules are arranged in the deep feature extraction module;
extracting deep high-frequency features in the image pair by the deep feature extraction module, including:
Stacking the multi-scale dense asymmetric modules in a dense block manner based on Densenet networks;
and taking the second characteristic as input, gradually and sequentially inputting and outputting the multi-scale dense asymmetric modules to obtain each local characteristic.
4. The infrared thermal imaging super-resolution reconstruction method of the multi-scale dense residual error network according to claim 3, wherein a multi-scale dense residual error module and a plurality of asymmetric convolution modules are arranged in the multi-scale dense asymmetric modules;
different types of convolution kernels are arranged in the asymmetric convolution module and are used for performing two-dimensional convolution operation;
the asymmetric convolution module comprises a plurality of asymmetric convolution blocks which are used for decomposing two-dimensional convolution into two one-dimensional convolution.
5. The multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method according to claim 1, wherein the feature fusion module performs feature fusion on the shallow sub-low frequency features and the deep high frequency features, and the method comprises:
Performing feature fusion on the shallow secondary low-frequency features and the deep high-frequency features by adopting a concatate feature fusion operation through the feature fusion module;
And splicing different feature graphs through the feature fusion module to obtain shallow-level and deep-level feature information.
6. The multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method according to claim 1, wherein a sub-pixel convolution module and a convolution layer are arranged in the image reconstruction module;
inputting the fused features into the image reconstruction module to reconstruct a super-resolution image, wherein the method comprises the following steps of:
Up-sampling the fused features through the sub-pixel convolution module to obtain processed data;
and carrying out image reconstruction through the convolution layer according to the processed data to obtain a super-resolution image.
7. The multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method according to claim 1, wherein the training process of the multi-scale dense residual super-resolution reconstruction network model comprises:
acquiring an infrared thermal image photovoltaic panel dataset image for image degradation treatment to obtain a low-resolution blurred image;
labeling the low-resolution blurred image, and taking the low-resolution image and the high-resolution image as an image pair;
Inputting the image pair into a multi-scale dense residual super-resolution reconstruction network model, and outputting a super-resolution reconstruction image through the multi-scale dense residual super-resolution reconstruction network model;
And calculating a loss function, and carrying out parameter updating based on the super-resolution reconstructed image to obtain an optimal weight parameter, thereby completing the training of the multi-scale dense residual error super-resolution reconstructed network model.
8. The method for reconstructing a multiscale dense residual network infrared thermal imaging super-resolution according to claim 7, wherein the acquiring an image of an infrared thermal image photovoltaic panel dataset image for image degradation processing to obtain a low-resolution blurred image comprises:
performing bicubic interpolation processing on the infrared thermal image photovoltaic panel dataset image to obtain an image subjected to bicubic interpolation processing;
And performing scaling treatment on the images subjected to bicubic interpolation treatment to obtain low-resolution blurred images.
9. A multi-scale dense residual network infrared thermal imaging super-resolution reconstruction system, the system comprising:
The image processing unit is used for acquiring an infrared thermal imaging image and carrying out image processing on the infrared thermal imaging image to obtain a high-resolution image and a low-resolution image;
The image input unit is used for inputting the high-resolution image and the low-resolution image as image pairs into a multi-scale dense residual error super-resolution reconstruction network model; the multi-scale dense residual super-resolution reconstruction network model comprises a shallow layer feature extraction module, a deep layer feature extraction module, a feature fusion module and an image reconstruction module;
the feature extraction unit is used for extracting shallow secondary low-frequency features in the image pair through the shallow feature extraction module and extracting deep high-frequency features in the image pair through the deep feature extraction module;
And the image reconstruction unit is used for carrying out feature fusion on the shallow secondary low-frequency features and the deep high-frequency features based on the feature fusion module, and inputting the fused features into the image reconstruction module to reconstruct a super-resolution image.
10. The multi-scale dense residual network infrared thermal imaging super-resolution reconstruction system according to claim 9, wherein a two-dimensional convolution in a convolutional neural network is arranged in the shallow feature extraction module; the feature extraction unit is further configured to: the shallow feature extraction module extracts first features in the image pair through a first convolution, and extracts second features in the image pair through a second convolution; taking the first characteristic and the second characteristic as shallow low-frequency characteristics; the first feature is used for residual learning, and the second feature is used for deep high-frequency feature extraction.
CN202411018681.4A 2024-07-29 2024-07-29 Multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method and system Pending CN118822850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411018681.4A CN118822850A (en) 2024-07-29 2024-07-29 Multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411018681.4A CN118822850A (en) 2024-07-29 2024-07-29 Multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method and system

Publications (1)

Publication Number Publication Date
CN118822850A true CN118822850A (en) 2024-10-22

Family

ID=93068287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411018681.4A Pending CN118822850A (en) 2024-07-29 2024-07-29 Multi-scale dense residual network infrared thermal imaging super-resolution reconstruction method and system

Country Status (1)

Country Link
CN (1) CN118822850A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111640060A (en) * 2020-04-30 2020-09-08 南京理工大学 Single image super-resolution reconstruction method based on deep learning and multi-scale residual dense module
CN112017116A (en) * 2020-07-23 2020-12-01 西北大学 Image super-resolution reconstruction network based on asymmetric convolution and its construction method
CN113592718A (en) * 2021-08-12 2021-11-02 中国矿业大学 Mine image super-resolution reconstruction method and system based on multi-scale residual error network
CN113793289A (en) * 2021-09-10 2021-12-14 海南大学 Fuzzy fusion method of multispectral image and panchromatic image based on CNN and NSCT
CN114092330A (en) * 2021-11-19 2022-02-25 长春理工大学 Lightweight multi-scale infrared image super-resolution reconstruction method
US20230036359A1 (en) * 2020-01-07 2023-02-02 Raycan Technology Co., Ltd. (Suzhou) Image reconstruction method, device,equipment, system, and computer-readable storage medium
CN117078516A (en) * 2023-08-11 2023-11-17 济宁安泰矿山设备制造有限公司 Mine image super-resolution reconstruction method based on residual mixed attention
CN118247150A (en) * 2024-05-20 2024-06-25 广东海洋大学 Image super-resolution reconstruction method, device, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230036359A1 (en) * 2020-01-07 2023-02-02 Raycan Technology Co., Ltd. (Suzhou) Image reconstruction method, device,equipment, system, and computer-readable storage medium
CN111640060A (en) * 2020-04-30 2020-09-08 南京理工大学 Single image super-resolution reconstruction method based on deep learning and multi-scale residual dense module
CN112017116A (en) * 2020-07-23 2020-12-01 西北大学 Image super-resolution reconstruction network based on asymmetric convolution and its construction method
CN113592718A (en) * 2021-08-12 2021-11-02 中国矿业大学 Mine image super-resolution reconstruction method and system based on multi-scale residual error network
CN113793289A (en) * 2021-09-10 2021-12-14 海南大学 Fuzzy fusion method of multispectral image and panchromatic image based on CNN and NSCT
CN114092330A (en) * 2021-11-19 2022-02-25 长春理工大学 Lightweight multi-scale infrared image super-resolution reconstruction method
CN117078516A (en) * 2023-08-11 2023-11-17 济宁安泰矿山设备制造有限公司 Mine image super-resolution reconstruction method based on residual mixed attention
CN118247150A (en) * 2024-05-20 2024-06-25 广东海洋大学 Image super-resolution reconstruction method, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
雷鹏程;刘丛;唐坚刚;彭敦陆;: "分层特征融合注意力网络图像超分辨率重建", 中国图象图形学报, no. 09, 16 September 2020 (2020-09-16) *

Similar Documents

Publication Publication Date Title
CN111369440B (en) Model training and image super-resolution processing method, device, terminal and storage medium
WO2021139439A1 (en) Image reconstruction method, apparatus, device, system, and computer readable storage medium
WO2021135773A1 (en) Image reconstruction method, apparatus, device, and system, and computer readable storage medium
Yan et al. Quantifying the impact of Pyramid Squeeze Attention mechanism and filtering approaches on Alzheimer's disease classification
CN111951235A (en) Skin image processing method based on deep learning
CN110782395A (en) Image processing method and apparatus, electronic device and computer-readable storage medium
CN113706388B (en) Image super-resolution reconstruction method and device
CN112070702B (en) Image super-resolution reconstruction system and method for multi-scale residual error characteristic discrimination enhancement
Sun et al. Multiscale generative adversarial network for real‐world super‐resolution
Wei et al. Medical image super-resolution by using multi-dictionary and random forest
Qiu et al. Progressive U-Net residual network for computed tomography images super-resolution in the screening of COVID-19
Chen et al. Double paths network with residual information distillation for improving lung CT image super resolution
Zhang et al. Image super-resolution via a novel cascaded convolutional neural network framework
Bellos et al. A convolutional neural network for fast upsampling of undersampled tomograms in X-ray CT time-series using a representative highly sampled tomogram
Hua et al. Dynamic scene deblurring with continuous cross-layer attention transmission
Wu et al. Deep learning-based image super-resolution restoration for mobile infrared imaging system
Zeng et al. Real-time video super resolution network using recurrent multi-branch dilated convolutions
Wang et al. CD-GAN: A robust fusion-based generative adversarial network for unsupervised remote sensing change detection with heterogeneous sensors
Zhao et al. NFMPAtt-Unet: Neighborhood fuzzy c-means multi-scale pyramid hybrid attention unet for medical image segmentation
Yang et al. Fast multisensor infrared image super-resolution scheme with multiple regression models
Sakurai et al. Restoring aspect ratio distortion of natural images with convolutional neural network
Zhang et al. Multi-scale aggregation networks with flexible receptive fields for melanoma segmentation
Hua et al. Multi kernel cross sparse graph attention convolutional neural network for brain magnetic resonance imaging super-resolution
Huang et al. Deep local-to-global feature learning for medical image super-resolution
Liu et al. CNN-Enhanced graph attention network for hyperspectral image super-resolution using non-local self-similarity

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