CN111968067B - Short wave infrared image processing method, device and equipment based on silicon sensor camera - Google Patents

Short wave infrared image processing method, device and equipment based on silicon sensor camera Download PDF

Info

Publication number
CN111968067B
CN111968067B CN201910418875.6A CN201910418875A CN111968067B CN 111968067 B CN111968067 B CN 111968067B CN 201910418875 A CN201910418875 A CN 201910418875A CN 111968067 B CN111968067 B CN 111968067B
Authority
CN
China
Prior art keywords
sub
image
network model
decomposed
conversion
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.)
Active
Application number
CN201910418875.6A
Other languages
Chinese (zh)
Other versions
CN111968067A (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.)
Beihang University
Original Assignee
Beihang 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 Beihang University filed Critical Beihang University
Priority to CN201910418875.6A priority Critical patent/CN111968067B/en
Publication of CN111968067A publication Critical patent/CN111968067A/en
Application granted granted Critical
Publication of CN111968067B publication Critical patent/CN111968067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration using two or more images, e.g. averaging or subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10048Infrared image

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

The application provides a short wave infrared image processing method, a device and equipment based on a silicon sensor camera, wherein the method comprises the following steps: acquiring an original image to be processed, wherein the original image is an infrared image comprising at least two wave bands; decomposing the original image by adopting a pre-trained decomposition network model to obtain decomposition sub-images corresponding to each wave band; converting the decomposition sub-images corresponding to each wave band by adopting a pre-trained conversion network model to obtain conversion sub-images corresponding to each decomposition sub-image; and a pre-trained reconstruction network model is adopted to synthesize the converted sub-images, so that the imaging resolution can be improved, and the cost can be saved.

Description

基于硅传感器相机的短波红外图像处理方法、装置及设备Short-wave infrared image processing method, device and equipment based on silicon sensor camera

技术领域technical field

本申请涉及计算机视觉和图像处理技术领域,尤其涉及一种基于硅传感器相机的短波红外图像处理方法、装置及设备。The present application relates to the technical field of computer vision and image processing, and in particular to a short-wave infrared image processing method, device and equipment based on a silicon sensor camera.

背景技术Background technique

人眼只能感知位于400-700nm的波长范围内的可见光,对于超过可见光范围的,人眼却无法感知,但是现实生活中存在很多情况是人眼无法感知的,例如。表面看起来完好无损的机器,但是其内部的缺陷人眼无法进行感知;再例如,人眼无法感知隐藏在大雾中的物体。The human eye can only perceive the visible light in the wavelength range of 400-700nm, and the human eye cannot perceive the wavelength beyond the visible light range, but there are many situations in real life that the human eye cannot perceive, for example. A machine that looks intact on the surface, but its internal defects cannot be perceived by the human eye; another example, the human eye cannot perceive objects hidden in thick fog.

对于上述的问题,现有的数据相机无法识别,可以采用短波红外成像进行识别,捕获短波红外图像需要特殊的传感器,例如InGaAs传感器最常用,因为它可以在室温下稳定工作,并且还具有功率相对较低,体积小,灵敏度高等优点。尽管如此,与传统传感器相比,InGaAs传感器还存在各种缺点,例如低空间分辨率,高价格和高像素缺陷率,这严重限制了InGaAs传感器的广泛使用。For the above problems, the existing data cameras cannot be identified, and short-wave infrared imaging can be used for identification. Capturing short-wave infrared images requires special sensors, such as InGaAs sensors, which are most commonly used because they can work stably at room temperature and have relatively low power. Low, small size, high sensitivity and other advantages. Nevertheless, InGaAs sensors have various disadvantages compared with conventional sensors, such as low spatial resolution, high price, and high pixel defect rate, which severely limit the widespread use of InGaAs sensors.

发明内容Contents of the invention

本申请提供一种基于硅传感器相机的短波红外图像处理方法、装置及设备,以解决现有技术短波红外成像设备成本高等缺陷。The present application provides a short-wave infrared image processing method, device and equipment based on a silicon sensor camera to solve the defects of high cost of short-wave infrared imaging equipment in the prior art.

本申请第一个方面提供一种基于硅传感器相机的短波红外图像处理方法,包括:The first aspect of the present application provides a short-wave infrared image processing method based on a silicon sensor camera, including:

获取待处理的原始图像,其中,所述原始图像为包括至少两个波段的红外图像;Acquiring an original image to be processed, wherein the original image is an infrared image including at least two bands;

采用预先训练好的分解网络模型,对所述原始图像进行分解,获得各波段对应的分解子图像;Decomposing the original image by using a pre-trained decomposition network model to obtain decomposed sub-images corresponding to each band;

采用预先训练好的转换网络模型,对各波段对应的所述分解子图像进行转换,获得各分解子图像对应的转换子图像;Converting the decomposed sub-images corresponding to each band by using a pre-trained conversion network model to obtain converted sub-images corresponding to each decomposed sub-image;

采用预先训练好的重构网络模型,将各所述转换子图像进行合成,获得红外短波图像。The converted sub-images are synthesized by using a pre-trained reconstructed network model to obtain an infrared short-wave image.

本申请第二个方面提供一种基于硅传感器相机的短波红外图像处理装置,包括:The second aspect of the present application provides a short-wave infrared image processing device based on a silicon sensor camera, including:

获取模块,用于获取待处理的原始图像,其中,所述原始图像为包括至少两个波段的红外图像;An acquisition module, configured to acquire an original image to be processed, wherein the original image is an infrared image including at least two bands;

分解模块,用于采用预先训练好的分解网络模型,对所述原始图像进行分解,获得各波段对应的分解子图像;The decomposition module is used to decompose the original image by using a pre-trained decomposition network model to obtain decomposed sub-images corresponding to each band;

转换模块,用于采用预先训练好的转换网络模型,对各波段对应的所述分解子图像进行转换,获得各分解子图像对应的转换子图像;A conversion module, configured to convert the decomposed sub-images corresponding to each band by using a pre-trained conversion network model, to obtain converted sub-images corresponding to each decomposed sub-image;

重构模块,用于采用预先训练好的重构网络模型,将各所述转换子图像进行合成,获得红外短波图像。The reconstruction module is configured to use a pre-trained reconstruction network model to synthesize the converted sub-images to obtain an infrared short-wave image.

本申请第三个方面提供一种基于硅传感器相机的短波红外图像处理设备,包括:至少一个处理器和存储器;The third aspect of the present application provides a short-wave infrared image processing device based on a silicon sensor camera, including: at least one processor and a memory;

所述存储器存储计算机程序;所述至少一个处理器执行所述存储器存储的计算机程序,以实现第一个方面提供的方法。The memory stores a computer program; and the at least one processor executes the computer program stored in the memory to implement the method provided by the first aspect.

本申请第四个方面提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,所述计算机程序被执行时实现第一个方面提供的方法。A fourth aspect of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the method provided by the first aspect is implemented.

本申请提供的基于硅传感器相机的短波红外图像处理方法、装置及设备,通过对采集的原始图像进行分解网络模型、转换网络模型和重构网络模型的计算,获得短波红外图像,可以提高成像分辨率,还可以节省成本。The short-wave infrared image processing method, device and equipment based on the silicon sensor camera provided by this application can obtain short-wave infrared images through the calculation of decomposing the network model, converting the network model and reconstructing the network model on the collected original images, which can improve the imaging resolution. rates and save costs.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without any creative effort.

图1为本申请一实施例提供的基于硅传感器相机的短波红外图像处理方法的流程示意图;Fig. 1 is a schematic flow chart of a short-wave infrared image processing method based on a silicon sensor camera provided by an embodiment of the present application;

图2为本申请一实施例提供的成像系统的结构示意图;FIG. 2 is a schematic structural diagram of an imaging system provided by an embodiment of the present application;

图3为本申请一实施例提供的多通道成像系统的结构示意图;FIG. 3 is a schematic structural diagram of a multi-channel imaging system provided by an embodiment of the present application;

图4为本申请又一实施例提供的基于硅传感器相机的短波红外图像处理方法的流程示意图;FIG. 4 is a schematic flow diagram of a short-wave infrared image processing method based on a silicon sensor camera provided in another embodiment of the present application;

图5a为本申请一实施例提供的原始图像对应的波长的示意图;Fig. 5a is a schematic diagram of the wavelength corresponding to the original image provided by an embodiment of the present application;

图5b为本申请一实施例提供的分解子图像对应的波长的示意图;Fig. 5b is a schematic diagram of wavelengths corresponding to decomposed sub-images provided by an embodiment of the present application;

图5c为本申请一实施例提供的转换子图像对应的波长的示意图;FIG. 5c is a schematic diagram of wavelengths corresponding to converted sub-images provided by an embodiment of the present application;

图5d为本申请一实施例提供的红外短波图像对应的波长的示意图;Fig. 5d is a schematic diagram of wavelengths corresponding to infrared short-wave images provided by an embodiment of the present application;

图6为本申请再一实施例提供的基于硅传感器相机的短波红外图像处理方法的流程示意图;FIG. 6 is a schematic flow diagram of a short-wave infrared image processing method based on a silicon sensor camera provided in another embodiment of the present application;

图7为本申请又一实施例提供的基于硅传感器相机的短波红外图像处理方法的流程示意图;FIG. 7 is a schematic flow chart of a short-wave infrared image processing method based on a silicon sensor camera provided in another embodiment of the present application;

图8为本申请一实施例提供的基于硅传感器相机的短波红外图像处理装置的结构示意图;FIG. 8 is a schematic structural diagram of a short-wave infrared image processing device based on a silicon sensor camera provided by an embodiment of the present application;

图9为本申请一实施例提供的基于硅传感器相机的短波红外图像处理设备的结构示意图。FIG. 9 is a schematic structural diagram of a short-wave infrared image processing device based on a silicon sensor camera provided by an embodiment of the present application.

通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。By means of the above drawings, specific embodiments of the present application have been shown, which will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the concept of the application for those skilled in the art by referring to specific embodiments.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本发明的实施例进行描述。The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.

本申请一实施例提供一种图像的处理方法,用于在保留硅传感器相机价格低廉、分辨率高等优势的基础上进行短波红外成像。本实施例的执行主体为基于硅传感器相机的短波红外图像处理装置,可以设置在基于硅传感器相机的短波红外图像处理设备上,其中,基于硅传感器相机的短波红外图像处理设备可以是任意的计算机设备,比如PC电脑、笔记本电脑、平板电脑等等。An embodiment of the present application provides an image processing method for short-wave infrared imaging while retaining the advantages of silicon sensor cameras such as low price and high resolution. The executive subject of this embodiment is a short-wave infrared image processing device based on a silicon sensor camera, which can be set on a short-wave infrared image processing device based on a silicon sensor camera, wherein the short-wave infrared image processing device based on a silicon sensor camera can be any computer Devices such as PCs, laptops, tablets, etc.

图1为本实施例提供的基于硅传感器相机的短波红外图像处理方法的流程示意图,如图1所示,该方法包括:Fig. 1 is a schematic flow chart of the short-wave infrared image processing method based on the silicon sensor camera provided in this embodiment, as shown in Fig. 1, the method includes:

S101、获取待处理的原始图像,其中,所述原始图像为包括至少两个波段的红外图像;S101. Acquire an original image to be processed, where the original image is an infrared image including at least two bands;

S102、采用预先训练好的分解网络模型,对所述原始图像进行分解,获得各波段对应的分解子图像;S102. Using a pre-trained decomposition network model, decompose the original image to obtain decomposed sub-images corresponding to each band;

S103、采用预先训练好的转换网络模型,对各波段对应的所述分解子图像进行转换,获得各分解子图像对应的转换子图像;S103. Using a pre-trained conversion network model, convert the decomposed sub-images corresponding to each band, and obtain converted sub-images corresponding to each decomposed sub-image;

S104、采用预先训练好的重构网络模型,将各所述转换子图像进行合成,获得红外短波图像。S104. Synthesize each of the converted sub-images by using a pre-trained reconstructed network model to obtain an infrared short-wave image.

具体地,S101步骤中,获取的原始图像为包含至少两个波段的红外图像,并且获得的原始图像的质量较低,例如,红外波长一般是大于950nm,在本申请实施例中可以根据需要任意选择合适的波段,如选择1000nm-1800nm的红外短波,获取的原始图像至少包括1000nm-1800nm的红外图像。Specifically, in step S101, the acquired original image is an infrared image containing at least two wavebands, and the quality of the acquired original image is low, for example, the infrared wavelength is generally greater than 950nm, and in this embodiment of the application, any Select the appropriate wavelength band, such as selecting the infrared short-wave of 1000nm-1800nm, the acquired original image includes at least the infrared image of 1000nm-1800nm.

S102步骤中,在获取原始的红外图像后,采用预先训练好的分解网络模型,对所述原始的红外图像进行分解,获得不同波段对应的分解子图像,例如,获取的原始图像中的波段为1000nm-1800nm,在这个波段中,可以选择至少两个较窄波段,例如,选择5个较窄波段,如1000nm、1050nm、1100nm、1150nm和1200nm,也就是说原始的红外图像是上述这五个波段成像的结果,在申请实施例中,采用预先训练好的分解网络模型,将原始的红外图像分解成与所述五个波段相对应的分解子图像。In step S102, after acquiring the original infrared image, the pre-trained decomposition network model is used to decompose the original infrared image to obtain decomposed sub-images corresponding to different wave bands. For example, the wave bands in the acquired original image are 1000nm-1800nm, in this band, you can choose at least two narrower bands, for example, choose 5 narrower bands, such as 1000nm, 1050nm, 1100nm, 1150nm and 1200nm, that is to say, the original infrared image is the above five For the results of band imaging, in the embodiment of the application, a pre-trained decomposition network model is used to decompose the original infrared image into decomposed sub-images corresponding to the five bands.

需要说明的是,上述较窄波段1000nm是以1000nm为中心点,前后覆盖一定范围的一个较窄波段,以波段范围为50nm为例,1000nm较窄波段的覆盖范围应为975nm-1025nm,其他的几个也类似。It should be noted that the above-mentioned narrow band 1000nm is a narrow band with 1000nm as the center point and covers a certain range before and after. Taking the band range of 50nm as an example, the coverage of the narrow band of 1000nm should be 975nm-1025nm, other Several are similar.

S103步骤中,在获取到各个波段对应的分解子图像后,采用预先训练好的转换网络模型对获得的分解子图像进行转换,得到与各个分解子图像对应的转换子图像;In step S103, after obtaining the decomposed sub-images corresponding to each band, the pre-trained conversion network model is used to convert the obtained decomposed sub-images to obtain converted sub-images corresponding to each decomposed sub-image;

在上述实施例的基础上,可以获得5个转换子图像,并且与5个不同波段相对应。On the basis of the above-mentioned embodiment, 5 converted sub-images can be obtained and correspond to 5 different bands.

S104步骤中,在获得转换子图像后,采用预先训练好的重构网络模型,对得到的5个转换子图像进行合成,得到高质量的红外短波图像。In step S104, after obtaining the converted sub-images, the pre-trained reconstruction network model is used to synthesize the obtained 5 converted sub-images to obtain a high-quality infrared short-wave image.

本申请提供的基于硅传感器相机的昼夜通用图像处理方法,通过对采集的原始图像进行分解网络模型、转换网络模型和重构网络模型的计算,获得短波红外图像,可以提高成像分辨率,还可以节省成本。The general day and night image processing method based on the silicon sensor camera provided by this application obtains the short-wave infrared image by decomposing the network model, converting the network model and reconstructing the network model on the original image collected, which can improve the imaging resolution and can also cut costs.

本申请又一实施例对上述实施例提供的方法做进一步补充说明。Yet another embodiment of the present application makes further supplementary descriptions to the methods provided in the foregoing embodiments.

可选地,所述原始图像通过增加长通滤光片去除红外滤光片的硅传感器相机获得。Optionally, the original image is obtained by a silicon sensor camera with a long-pass filter removed and an infrared filter removed.

在上述实施例的基础上,图2为本申请一实施例提供的成像系统的结构示意图,如图2所示,在硅传感器相机上去除红外滤光片,即硅传感器相机可以用来接收红外信号,也可以接收可见光信号,在本申请实施例中,需要去除可见光信号,因此,在硅传感器相机上增加长通滤光片,用于滤除可见光信号,从而获得红外波段图像,但质量较低。On the basis of the above-mentioned embodiments, Fig. 2 is a schematic structural diagram of an imaging system provided by an embodiment of the present application. As shown in Fig. 2, the infrared filter is removed from the silicon sensor camera, that is, the silicon sensor camera can be used to receive infrared Signals can also receive visible light signals. In the embodiment of this application, visible light signals need to be removed. Therefore, a long-pass filter is added to the silicon sensor camera to filter out visible light signals, thereby obtaining images in the infrared band, but the quality is relatively low. Low.

示例性地,本申请实施例中采用的是安装有长通滤光片(Thorlabs FELH0950)的普通硅相机(GS3-U3-15S5N-C),选择深度学习神经网络作为短波红外图像合成方法的一个具体实例,从而构建了一个虚拟的短波红外成像系统,能够在保留硅传感器相机价格低廉、分辨率高等优势的基础上进行短波红外成像。Exemplarily, in the embodiment of the present application, an ordinary silicon camera (GS3-U3-15S5N-C) equipped with a long-pass filter (Thorlabs FELH0950) is used, and a deep learning neural network is selected as one of the short-wave infrared image synthesis methods As a specific example, a virtual short-wave infrared imaging system is constructed, which can perform short-wave infrared imaging on the basis of retaining the advantages of silicon sensor cameras such as low price and high resolution.

可选地,所述分解网络模型、所述转换网络模型和所述重构网络模型采用深度学习神经网络计算获得。Optionally, the decomposed network model, the converted network model and the reconstructed network model are obtained by using deep learning neural network calculations.

在上述实施例的基础上,本申请实施例中,采用的所述分解网络模型、所述转换网络模型和所述重构网络模型可以采用神经网络进行训练得到,在本申请实施例中优选地,采用深度学习神经网络进行训练。On the basis of the above-mentioned embodiments, in the embodiments of the present application, the decomposition network model, the conversion network model and the reconstruction network model can be obtained by training with a neural network. In the embodiments of the present application, preferably , using a deep learning neural network for training.

分解子网络包含n个分支,由n个相同的模块构成,用来模拟不同的带通滤光片从长通滤光片信号中进行分离的效果;转换网络与分解网络相似,也包含n个分支,每个分支对当前波段的图像进行转换,模拟专业短波红外相机在该波段内拍摄的图像;重构网络则将转换网络的输出进行合并处理,进而生成最终的短波红外图像。The decomposition sub-network consists of n branches, composed of n identical modules, used to simulate the separation effect of different band-pass filters from the long-pass filter signal; the conversion network is similar to the decomposition network, and also contains n Each branch converts the image of the current band to simulate the image taken by a professional short-wave infrared camera in this band; the reconstruction network combines the outputs of the conversion network to generate the final short-wave infrared image.

示例性地,图3为本申请一实施例提供的多通道成像系统的结构示意图,如图3所示,在训练神经网络模型时,需要建立一套多通道成像系统,包括:额外光源、1个分光片、1台电动旋转机、n个不同波段的带通滤光片、1个长通滤光片、1台硅传感器相机和1台专业短波红外相机;其中,电动旋转机用来保证滤光片的切换不会对图像对齐产生影响,例如在同一场景下的不同滤光片切换,分光片用来保证硅传感器相机和短波红外相机实现物理对齐。Exemplarily, FIG. 3 is a schematic structural diagram of a multi-channel imaging system provided by an embodiment of the present application. As shown in FIG. 3 , when training a neural network model, a multi-channel imaging system needs to be established, including: an additional light source, 1 A beam splitter, an electric rotating machine, n band-pass filters of different bands, a long-pass filter, a silicon sensor camera and a professional short-wave infrared camera; among them, the electric rotating machine is used to ensure The switching of the optical filter will not affect the image alignment. For example, the switching of different optical filters in the same scene, the beam splitter is used to ensure the physical alignment of the silicon sensor camera and the SWIR camera.

具体地,本成像系统的硬件包含:1个额外光源为卤素灯、1个分光片为ThorlabsCCN1-BS015、1个电动旋转机为Thorlabs FW102C、5个不同波段的带通滤光片分别为1000nm,1050nm,1100nm,1150nm和1200nm CWL,Ednund Hard Coated 0D 4 50nm bandpassFilter、1个长通滤光片为Thorlabs FELH0950、1个硅传感器相机GS3-U3-15S5N-C和1个短波红外相机为BK-51IGA。Specifically, the hardware of this imaging system includes: 1 additional light source is a halogen lamp, 1 beam splitter is ThorlabsCCN1-BS015, 1 electric rotating machine is Thorlabs FW102C, 5 bandpass filters of different wavelengths are 1000nm, 1050nm, 1100nm, 1150nm and 1200nm CWL, Ednund Hard Coated 0D 4 50nm bandpassFilter, 1 long pass filter for Thorlabs FELH0950, 1 silicon sensor camera GS3-U3-15S5N-C and 1 shortwave infrared camera for BK-51IGA .

在搭建好多通道成像系统后,利用多通道光学成像系统采集不同波段下硅传感器相机和专业短波红外相机拍摄的对齐的成对图像,为本申请实施例提出的短波红外图像合成方法提供所需的训练数据集,对于每个场景需要采集2n+2张图像,为样本数据,分别为:After building the multi-channel imaging system, use the multi-channel optical imaging system to collect aligned paired images taken by silicon sensor cameras and professional short-wave infrared cameras in different bands, providing the required information for the short-wave infrared image synthesis method proposed in the embodiment of this application. For the training data set, 2n+2 images need to be collected for each scene, which are sample data, respectively:

硅传感器相机拍摄的低质量红外波段图像1张,记为A;1 low-quality infrared band image taken by a silicon sensor camera, denoted as A;

专业短波红外相机拍摄的高质量短波红外图像1张,记为B;1 high-quality short-wave infrared image taken by a professional short-wave infrared camera, denoted as B;

硅传感器相机在n个较窄的不同波段下拍摄的图像n张,记为C;n images taken by the silicon sensor camera in n narrower different bands, denoted as C;

专业短波红外相机在n个较窄的不同波段下拍摄的图像n张,记为D;n images taken by a professional shortwave infrared camera in n narrower different wavebands, denoted as D;

图4为本申请又一实施例提供的基于硅传感器相机的短波红外图像处理方法的流程示意图,如图4所示,在获取到训练样本数据后,对样本数据进行训练,Fig. 4 is a schematic flow chart of a short-wave infrared image processing method based on a silicon sensor camera provided by another embodiment of the present application. As shown in Fig. 4, after obtaining the training sample data, the sample data is trained,

在训练的过程中主要包含三个步骤:There are three main steps in the training process:

(1)分解阶段:将硅传感器相机拍摄的低质量红外波段图像即为上述标记的A分解为类似n个较窄的不同波段下硅传感器相机拍摄的图像即为上述标记的C,该过程可以被视为模拟物理上使用带通滤波器截取来自长通滤波器信号的特定波段信号;(1) Decomposition stage: decompose the low-quality infrared band image captured by the silicon sensor camera, which is the above-mentioned marked A, into n narrower images taken by the silicon sensor camera in different bands, which is the above-mentioned marked C. Treated as analog physically using a bandpass filter to intercept a specific band signal from a longpass filter signal;

具体地,将带有长通滤光片的硅传感器相机拍摄的低质量红外波段图像分解为5张图像,每张图像代表硅传感器相机在5个较窄波段(1000nm,1050nm,1100nm,1150nm和1200nm)的成像结果;其中,图5a为本申请一实施例提供的原始图像对应的波长的示意图,如图5a所示,为低质量的红外波段图像的波长,图5b为本申请一实施例提供的分解子图像对应的波长的示意图,如图5b所示,为将低质量的红外波段图像进行分解后,得到的分解子图像的波长。Specifically, the low-quality infrared band image captured by a silicon sensor camera with a long-pass filter is decomposed into 5 images, and each image represents the silicon sensor camera in 5 narrower bands (1000nm, 1050nm, 1100nm, 1150nm and 1200nm) imaging results; wherein, Figure 5a is a schematic diagram of the wavelength corresponding to the original image provided by an embodiment of the present application, as shown in Figure 5a, is the wavelength of a low-quality infrared band image, and Figure 5b is an embodiment of the present application The provided schematic diagram of the wavelengths corresponding to the decomposed sub-images, as shown in Figure 5b, is the wavelength of the decomposed sub-images obtained after decomposing the low-quality infrared band images.

也就是说,在此阶段,输入为硅传感器相机拍摄的低质量红外波段图像,输出为n张较窄的不同波段下硅传感器拍摄图像的模拟结果,理想情况下,该n张图像应该无限接近于上述标记为C的硅传感器相机拍摄的n张图像。That is to say, at this stage, the input is the low-quality infrared band image taken by the silicon sensor camera, and the output is the simulation result of n narrow images taken by the silicon sensor in different bands. Ideally, the n images should be infinitely close to n images taken with the silicon sensor camera marked C above.

(2)转换阶段:在n个较窄波段内,依次对分解阶段得到的n个较窄的不同波段下硅传感器相机拍摄的图像进行处理,将其转化为接近专业短波红外相机在该波段下拍摄的图像;(2) Conversion stage: within n narrower bands, sequentially process the images taken by silicon sensor cameras in n narrower different bands obtained in the decomposition stage, and convert them into images close to those of professional short-wave infrared cameras in this band captured images;

具体的,学习5个不同波段内硅传感器相机和短波红外相机之间的映射关系,将不同波段的硅传感器相机拍摄的图像转换为相应波段短波红外相机拍摄的图像;Specifically, learn the mapping relationship between silicon sensor cameras and short-wave infrared cameras in five different bands, and convert images captured by silicon sensor cameras in different bands into images captured by short-wave infrared cameras in corresponding bands;

输入分解后的n张较窄的不同波段下硅传感器拍摄图像的模拟结果,输出为n张对应波段专业短波红外相机拍摄图像的模拟结果,理想情况下,该n张图像应该无限接近于上述标记为D的专业短波红外相机拍摄的n张图像,其中,图5c为本申请一实施例提供的转换子图像对应的波长的示意图,如图5c所示,为转换后的子图像的波长。Input the simulation results of n narrower images taken by silicon sensors in different bands after decomposing, and output the simulation results of n images taken by professional short-wave infrared cameras in corresponding bands. Ideally, the n images should be infinitely close to the above marks It is n images taken by D’s professional short-wave infrared camera, wherein FIG. 5c is a schematic diagram of the wavelength corresponding to the converted sub-image provided by an embodiment of the present application. As shown in FIG. 5c, it is the wavelength of the converted sub-image.

(3)重构阶段:将转换阶段得到的n个较窄波段下专业短波红外相机拍摄的图像进行综合,从而合成近似专业短波红外相机拍摄的高质量短波红外波段的图像。(3) Reconstruction stage: Synthesize the images taken by professional shortwave infrared cameras in n narrower bands obtained in the conversion stage, so as to synthesize images in high-quality shortwave infrared bands similar to those taken by professional shortwave infrared cameras.

具体地,根据转换阶段得到的5个不同的短波红外相机模拟图像合成近似专业短波红外相机拍摄的高质量短波红外图像。Specifically, the high-quality short-wave infrared images captured by professional short-wave infrared cameras are synthesized based on the simulated images of five different short-wave infrared cameras obtained in the conversion stage.

输入转换后的子图像的张较窄的不同波段的短波红外相机拍摄图像的模拟结果,输出为专业短波红外相机拍摄的图像的模拟结果,理想情况下,该图像应该无限接近于上述标记为B的专业短波红外相加拍摄的图像,其中,图5d为本申请一实施例提供的红外短波图像对应的波长的示意图,如图5d所示,为最后得到的短波红外图像的波长。The input is the simulation result of a narrower short-wave infrared camera image of different bands of the converted sub-image, and the output is the simulation result of an image captured by a professional short-wave infrared camera. Ideally, the image should be infinitely close to the above-mentioned marked as B The images taken by professional short-wave infrared addition, wherein, Fig. 5d is a schematic diagram of the wavelength corresponding to the infrared short-wave image provided by an embodiment of the present application. As shown in Fig. 5d, it is the wavelength of the finally obtained short-wave infrared image.

作为一种可实施的方式,在上述实施例的基础上,可选地,所述转换网络模型包括n个转换子网络模型,其中,n为大于1的整数;As an implementable manner, on the basis of the foregoing embodiments, optionally, the conversion network model includes n conversion sub-network models, where n is an integer greater than 1;

采用预先训练好的转换网络模型,对各波段对应的所述分解子图像进行转换,获得各分解子图像对应的转换子图像,包括:Using the conversion network model trained in advance, the decomposed sub-image corresponding to each band is converted, and the converted sub-image corresponding to each decomposed sub-image is obtained, including:

采用预先训练好的n个转换子网络模型,对n个不同波段对应的所述分解子图像进行转换,获得n个不同波段下各分解子图像对应的转换子图像。The decomposed sub-images corresponding to n different bands are converted by using n pre-trained conversion sub-network models to obtain converted sub-images corresponding to each decomposed sub-image under n different bands.

具体地,图6为本申请再一实施例提供的基于硅传感器相机的短波红外图像处理方法的流程示意图,如图6所示,具体地:Specifically, FIG. 6 is a schematic flowchart of a short-wave infrared image processing method based on a silicon sensor camera provided in another embodiment of the present application, as shown in FIG. 6 , specifically:

将获取的原始图像进行分解后,得到5个分解子图像,在转换阶段,也包括5个转换子网络模型,具体在训练的过程如下:After decomposing the obtained original image, 5 decomposed sub-images are obtained. In the conversion stage, 5 conversion sub-network models are also included. The specific training process is as follows:

对于第一个转换子网络模型,输入的是第一张分解子图像和第二张分解子图像,输出为第一转换子图像,通过第一转换子图像逐渐逼近专业红外短波相机在该波段下的图像,对所述第一转换子网络模型进行训练。For the first converted sub-network model, the input is the first decomposed sub-image and the second decomposed sub-image, and the output is the first converted sub-image, which gradually approaches the professional infrared short-wave camera in this band through the first converted sub-image The image of the first conversion sub-network model is trained.

对于第二个转换子网络模型,输入的是第一张分解子图像、第二张分解子图像、第三张分解子图像和第一转换子图像,输出为第二转换子图像,通过第二转换子图像逐渐逼近专业红外短波相机在该波段下的图像,对所述第二转换子网络模型进行训练。For the second converted sub-network model, the input is the first decomposed sub-image, the second decomposed sub-image, the third decomposed sub-image and the first converted sub-image, and the output is the second converted sub-image, passed through the second The converted sub-image gradually approaches the image of the professional infrared short-wave camera in this band, and the second converted sub-network model is trained.

对于第三个转换子网络模型,输入的是第二张分解子图像、第三张分解子图像、第四张分解子图像和第二转换子图像,输出为第三转换子图像,通过第三转换子图像逐渐逼近专业红外短波相机在该波段下的图像,对所述第三转换子网络模型进行训练。For the third conversion sub-network model, the input is the second decomposed sub-image, the third decomposed sub-image, the fourth decomposed sub-image and the second converted sub-image, and the output is the third converted sub-image, passed through the third The converted sub-image gradually approaches the image of the professional infrared short-wave camera in this band, and the third converted sub-network model is trained.

对于第四个转换子网络模型,输入的是第三张分解子图像、第四张分解子图像、第五张分解子图像和第三转换子图像,输出为第四转换子图像,通过第四转换子图像逐渐逼近专业红外短波相机在该波段下的图像,对所述第四转换子网络模型进行训练。For the fourth conversion sub-network model, the input is the third decomposed sub-image, the fourth decomposed sub-image, the fifth decomposed sub-image and the third converted sub-image, and the output is the fourth converted sub-image, through the fourth The converted sub-image gradually approaches the image of the professional infrared short-wave camera in this band, and the fourth converted sub-network model is trained.

对于第五个转换子网络模型,输入的是第四张分解子图像、第五张分解子图像和第四转换子图像,输出为第五转换子图像,通过第五转换子图像逐渐逼近专业红外短波相机在该波段下的图像,对所述第五转换子网络模型进行训练。For the fifth conversion sub-network model, the input is the fourth decomposition sub-image, the fifth decomposition sub-image and the fourth conversion sub-image, and the output is the fifth conversion sub-image, gradually approaching the professional infrared through the fifth conversion sub-image The images of the short-wave camera in the band are used to train the fifth conversion sub-network model.

在此训练过程中,将当前波段对应的图像的相邻几张图像及上次训练后的结果作为下一个训练模型的输入,得到的输出结果的精度更高,提高成像的分辨率。In this training process, the adjacent images of the image corresponding to the current band and the results after the previous training are used as the input of the next training model, and the output results obtained have higher accuracy and improve the imaging resolution.

作为另一种可实施的方式,在上述实施例的基础上,可选地,所述转换网络模型包括n个转换子网络模型和n个残差子网络模型,其中,转换子网络模型和残差子网络模型一一对应,n为大于1的整数。As another implementable manner, on the basis of the above-mentioned embodiments, optionally, the conversion network model includes n conversion sub-network models and n residual sub-network models, wherein the conversion sub-network model and the residual sub-network model The difference sub-network models are in one-to-one correspondence, and n is an integer greater than 1.

可选地,所述采用预先训练好的转换网络模型,对各波段对应的所述分解子图像进行转换,获得各分解子图像对应的转换子图像,包括:Optionally, using a pre-trained conversion network model to convert the decomposed sub-images corresponding to each band to obtain converted sub-images corresponding to each decomposed sub-image, including:

采用预先训练好的n个转换子网络模型和n个残差子网络模型,对n个不同波段对应的所述分解子图像进行转换,获得n个不同波段下各分解子图像对应的转换子图像。Using n pre-trained conversion sub-network models and n residual sub-network models, converting the decomposed sub-images corresponding to n different bands to obtain converted sub-images corresponding to each decomposed sub-image under n different bands .

具体地,在上述实施例的基础上,在转换网络模型中增加残差子网络模型,图7为本申请又一实施例提供的基于硅传感器相机的短波红外图像处理方法的流程示意图,如图7所示,具体地:Specifically, on the basis of the above-mentioned embodiments, a residual sub-network model is added to the conversion network model. FIG. 7 is a schematic flow chart of a short-wave infrared image processing method based on a silicon sensor camera provided by another embodiment of the present application, as shown in FIG. 7, specifically:

对于第一个转换子网络模型,输入的是第一张分解子图像和第二张分解子图像,依次经过残差子网络模型和转换子网络模型,输出为第一转换子图像,通过第一转换子图像逐渐逼近专业红外短波相机在该波段下的图像,对所述第一转换子网络模型进行训练。For the first converted sub-network model, the input is the first decomposed sub-image and the second decomposed sub-image, which are sequentially passed through the residual sub-network model and the converted sub-network model, and the output is the first converted sub-image, passed through the first The converted sub-image gradually approaches the image of the professional infrared short-wave camera in this band, and the first converted sub-network model is trained.

对于第二个转换子网络模型,将第一张分解子图像、第二张分解子图像、第三张分解子图像输入到残差子网络模型,将残差子网络的输出和得到的第一转换子图像作为转换子网络模型的输入,输出为第二转换子图像,通过第二转换子图像逐渐逼近专业红外短波相机在该波段下的图像,对所述第二转换子网络模型进行训练。For the second conversion sub-network model, the first decomposed sub-image, the second decomposed sub-image, and the third decomposed sub-image are input to the residual sub-network model, and the output of the residual sub-network is combined with the obtained first The conversion sub-image is used as the input of the conversion sub-network model, and the output is the second conversion sub-image, and the second conversion sub-image is gradually approaching the image of a professional infrared short-wave camera in this band, and the second conversion sub-network model is trained.

对于第三个转换子网络模型,将第二张分解子图像、第三张分解子图像、第四张分解子图像输入到残差子网络模型,将残差子网络的输出和得到的第二转换子图像作为转换子网络模型的输入,输出为第三转换子图像,通过第三转换子图像逐渐逼近专业红外短波相机在该波段下的图像,对所述第三转换子网络模型进行训练。For the third conversion sub-network model, the second decomposed sub-image, the third decomposed sub-image, and the fourth decomposed sub-image are input to the residual sub-network model, and the output of the residual sub-network and the obtained second The conversion sub-image is used as the input of the conversion sub-network model, and the output is the third conversion sub-image, and the third conversion sub-image is gradually approaching the image of a professional infrared short-wave camera in this band, and the third conversion sub-network model is trained.

对于第四个转换子网络模型,将第三张分解子图像、第四张分解子图像、第五张分解子图像输入到残差子网络模型,将残差子网络的输出和得到的第三转换子图像作为转换子网络模型的输入,输出为第四转换子图像,通过第四转换子图像逐渐逼近专业红外短波相机在该波段下的图像,对所述第四转换子网络模型进行训练。For the fourth conversion sub-network model, the third decomposed sub-image, the fourth decomposed sub-image, and the fifth decomposed sub-image are input to the residual sub-network model, and the output of the residual sub-network is combined with the obtained third The conversion sub-image is used as the input of the conversion sub-network model, and the output is the fourth conversion sub-image, and the fourth conversion sub-image is gradually approaching the image of a professional infrared short-wave camera in this band, and the fourth conversion sub-network model is trained.

对于第五个转换子网络模型,将第四张分解子图像、第五张分解子图像输入到残差子网络模型,将残差子网络的输出和得到的第四转换子图像作为转换子网络模型的输入,输出为第五转换子图像,通过第五转换子图像逐渐逼近专业红外短波相机在该波段下的图像,对所述第五转换子网络模型进行训练。For the fifth transformation subnetwork model, the fourth decomposed subimage and the fifth decomposed subimage are input to the residual subnetwork model, and the output of the residual subnetwork and the obtained fourth transformed subimage are used as the transformation subnetwork The input and output of the model are the fifth converted sub-image, and the fifth converted sub-image is gradually approaching the image of a professional infrared short-wave camera in this band, and the fifth converted sub-network model is trained.

在此训练过程中,在转换网络模型中增加残差子网络模型,得到的输出结果的精度更高,提高成像的分辨率。During the training process, the residual sub-network model is added to the conversion network model, and the output result obtained has higher accuracy and improves the imaging resolution.

具体地,在本申请实施例中采用U-Net(转换子网络模型)和Res-Net(残差子网络)作为训练网络的基本元素。对于U-Net模块,使用步长大小为2的卷积层进行下采样,并使用线性放缩的方法进行上采样。设置第一层的特征图通道数为32,后续随着特征图的尺寸减小,特征图的数量加倍。Res-Net模块由卷积层、三个残差块和卷积层堆叠构成。Specifically, U-Net (conversion sub-network model) and Res-Net (residual sub-network) are used as basic elements of the training network in the embodiment of the present application. For the U-Net module, a convolutional layer with a stride size of 2 is used for downsampling and a linear scaling method is used for upsampling. Set the number of feature map channels in the first layer to 32, and then double the number of feature maps as the size of the feature map decreases. The Res-Net module consists of a convolutional layer, three residual blocks, and a stack of convolutional layers.

对于Res-Net模块的每一层,特征图的大小保持与输入相等,特征图通道数均设置为32。对于所有卷积层,使用ReLU作为激活函数,设计卷积核大小为3×3,在进行残差传递的时候,使用沿维度拼接而不是直接相加。For each layer of the Res-Net module, the size of the feature map is kept equal to the input, and the number of feature map channels is set to 32. For all convolutional layers, use ReLU as the activation function, design the convolution kernel size to be 3×3, and use splicing along the dimension instead of direct addition when performing residual transfer.

在本申请实施例中,首先对带有可见光滤光片的W×H×1的图像进行归一化操作,将图像像素值从[0,65535]放缩到[0,1],并将其作为分解子网络的输入。分解子网络包含5个分支,每个分支由1个U-Net模块组成,用来模拟不同的带通滤光片从长通滤光片信号中进行分离的效果。In the embodiment of the present application, the normalization operation is first performed on the W×H×1 image with a visible light filter, and the image pixel value is scaled from [0,65535] to [0,1], and It serves as input to the decomposition sub-network. The decomposition sub-network contains 5 branches, and each branch is composed of 1 U-Net module, which is used to simulate the effect of different band-pass filters separating the long-pass filter signal.

转换子网络也包含五个分支,每个分支由Res-Net和U-Net拼接构成,从而将硅传感器相机捕获的信号转换为短波红外相机捕获的信号。除此之外,使用较短波长区域的模拟结果来指导相邻的波长较长区域的模拟。The conversion sub-network also contains five branches, and each branch is composed of Res-Net and U-Net splicing, so as to convert the signal captured by the silicon sensor camera into the signal captured by the short-wave infrared camera. In addition, the simulation results of the shorter wavelength region are used to guide the simulation of the adjacent longer wavelength region.

重构网络则将转换子网络的输出进行合并,进而生成最终的短波红外图像。首先使用U-Net模块对每个转换分支进行处理,然后将处理结果和转换网络的输出一起送入Res-Net模块中,最后再将Res-Net模块的输出作为U-Net模块的输入,U-Net模块的输出即为最终的短波红外图像,其中,U-Net模块的最后一层的特征图的数量设置为1。The reconstruction network combines the outputs of the transformation sub-networks to generate the final SWIR image. First use the U-Net module to process each conversion branch, then send the processing results and the output of the conversion network to the Res-Net module, and finally use the output of the Res-Net module as the input of the U-Net module, U The output of the -Net module is the final SWIR image, where the number of feature maps of the last layer of the U-Net module is set to 1.

本申请实施例在NVIDIA GPU 1080Ti上进行训练,采用Kears和TensorFlow作为实现框架,在训练过程中,输入图像L经过分解子网络、转换子网络和重构子网络之后得到短波红外图像E,除了将E与目标结果G进行比较之外,还对分解子网络和转换子网络的结果进行约束。使用均方误差(NSE)和SSIN质量评价标准作为网络的Loss函数,然后采用反向传播算法,采用Adan优化方法进行参数更新和训练,初始学习率为0.001,批训练样本数为30。In the embodiment of the present application, training is carried out on NVIDIA GPU 1080Ti, using Kears and TensorFlow as the implementation framework. During the training process, the input image L is decomposed sub-network, converted sub-network and reconstructed sub-network to obtain the short-wave infrared image E. In addition to the In addition to comparing E with the target result G, constraints are also imposed on the results of decomposing sub-networks and transforming sub-networks. Use the mean square error (NSE) and SSIN quality evaluation standard as the Loss function of the network, then use the backpropagation algorithm, and use the Adan optimization method for parameter update and training. The initial learning rate is 0.001, and the number of batch training samples is 30.

使用随机剪裁和数据增强的方法避免网络过拟合,随机剪裁大小为80×80×1。训练过程采用学习率衰减方法,每经过一个epoch,学习率衰减为当前学习率的95%,当Loss不再进行下降时将学习率衰减为当前学习率的50%。当Loss低于一定阈值或者迭代次数达到上限(本实例设定为200)时停止训练,认为网络收敛,保持网络当前的参数。Use random clipping and data enhancement to avoid network overfitting, and the size of random clipping is 80×80×1. The training process adopts the learning rate attenuation method. After each epoch, the learning rate is attenuated to 95% of the current learning rate. When the Loss no longer declines, the learning rate is attenuated to 50% of the current learning rate. When the Loss is lower than a certain threshold or the number of iterations reaches the upper limit (this example is set to 200), the training is stopped, the network is considered to be convergent, and the current parameters of the network are maintained.

需要说明的是,本实施例中各可实施的方式可以单独实施,也可以在不冲突的情况下以任意组合方式结合实施本申请不做限定。It should be noted that each implementable manner in this embodiment may be implemented independently, or may be combined in any combination under the condition that there is no conflict, and the present application is not limited thereto.

本申请又一实施例提供一种基于硅传感器相机的短波红外图像处理装置,用于执行上述实施例的方法。Yet another embodiment of the present application provides a short-wave infrared image processing device based on a silicon sensor camera, which is used to implement the methods of the above-mentioned embodiments.

图8为本申请实施例提供的基于硅传感器相机的短波红外图像处理装置的结构示意图,如图8所示,该图像处理装置包括获取模块10、分解模块20、转换模块30和重构模块40;FIG. 8 is a schematic structural diagram of a short-wave infrared image processing device based on a silicon sensor camera provided in an embodiment of the present application. As shown in FIG. 8 , the image processing device includes an acquisition module 10, a decomposition module 20, a conversion module 30 and a reconstruction module 40 ;

其中,获取模块10用于获取待处理的原始图像,其中,所述原始图像为包括至少两个波段的红外图像;Wherein, the obtaining module 10 is used to obtain the original image to be processed, wherein the original image is an infrared image including at least two bands;

分解模块20用于采用预先训练好的分解网络模型,对所述原始图像进行分解,获得各波段对应的分解子图像;The decomposition module 20 is used to decompose the original image by using a pre-trained decomposition network model to obtain decomposed sub-images corresponding to each band;

转换模块30用于采用预先训练好的转换网络模型,对各波段对应的所述分解子图像进行转换,获得各分解子图像对应的转换子图像;The conversion module 30 is used to convert the decomposed sub-images corresponding to each band by using a pre-trained conversion network model to obtain converted sub-images corresponding to each decomposed sub-image;

重构模块40用于采用预先训练好的重构网络模型,将各所述转换子图像进行合成,获得红外短波图像。The reconstruction module 40 is configured to use a pre-trained reconstruction network model to synthesize the converted sub-images to obtain an infrared short-wave image.

关于本实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in this embodiment, the specific manner in which each module executes operations has been described in detail in the embodiment of the method, and will not be described in detail here.

根据本实施例提供的基于硅传感器相机的昼夜通用图像处理装置,通过对采集的原始图像进行分解网络模型、转换网络模型和重构网络模型的计算,获得短波红外图像,不仅节省成本,还可以提高成像分辨率。According to the day and night general-purpose image processing device based on the silicon sensor camera provided in this embodiment, the short-wave infrared image is obtained by decomposing the network model, converting the network model and reconstructing the network model on the collected original image, which not only saves costs, but also can Improve imaging resolution.

本申请再一实施例对上述实施例提供的装置做进一步补充说明,用于执行上述实施例的方法。Still another embodiment of the present application provides a further supplementary description of the device provided in the above-mentioned embodiment, which is used to execute the method of the above-mentioned embodiment.

可选地,所述原始图像通过增加长通滤光片去除红外滤光片的硅传感器相机获得。Optionally, the original image is obtained by a silicon sensor camera with a long-pass filter removed and an infrared filter removed.

可选地,所述分解网络模型、所述转换网络模型和所述重构网络模型采用深度学习神经网络计算获得。Optionally, the decomposed network model, the converted network model and the reconstructed network model are obtained by using deep learning neural network calculations.

可选地,所述转换网络模型包括n个转换子网络模型,其中,n为大于1的整数;Optionally, the conversion network model includes n conversion sub-network models, where n is an integer greater than 1;

所述转换模块,具体用于:The conversion module is specifically used for:

采用预先训练好的n个转换子网络模型,对n个不同波段对应的所述分解子图像进行转换,获得n个不同波段下各分解子图像对应的转换子图像。The decomposed sub-images corresponding to n different bands are converted by using n pre-trained conversion sub-network models to obtain converted sub-images corresponding to each decomposed sub-image under n different bands.

可选地,所述转换网络模型包括n个转换子网络模型和n个残差子网络模型,其中,转换子网络模型和残差子网络模型一一对应,n为大于1的整数。Optionally, the conversion network model includes n conversion sub-network models and n residual sub-network models, wherein the conversion sub-network model and the residual sub-network model correspond one-to-one, and n is an integer greater than 1.

可选地,所述转换模块,具体用于:Optionally, the conversion module is specifically used for:

采用预先训练好的n个转换子网络模型和n个残差子网络模型,对n个不同波段对应的所述分解子图像进行转换,获得n个不同波段下各分解子图像对应的转换子图像。Using n pre-trained conversion sub-network models and n residual sub-network models, converting the decomposed sub-images corresponding to n different bands to obtain converted sub-images corresponding to each decomposed sub-image under n different bands .

本申请实施例提供的方法或装置可以用于农产品检测,其原理是利用短波红外和可见光的不同性质,透过果皮对农产品进行成像,从而发现农产品完好无损的表皮下可能存在的质量缺陷,进而有助于决策系统做出更加准确、正确的决策。本申请也可广泛用于电路板检测、太阳能电池检测、极端天气条件下视频监控等领域。The method or device provided in the embodiments of the present application can be used for agricultural product detection. The principle is to use the different properties of short-wave infrared and visible light to image agricultural products through the peel, so as to find possible quality defects under the intact skin of agricultural products, and then It helps the decision-making system to make more accurate and correct decisions. The application can also be widely used in the fields of circuit board detection, solar cell detection, video surveillance under extreme weather conditions, and the like.

本申请又一实施例提供一种基于硅传感器相机的短波红外图像处理设备,用于执行上述实施例提供的方法。Yet another embodiment of the present application provides a short-wave infrared image processing device based on a silicon sensor camera, which is used to execute the method provided in the foregoing embodiments.

图9为本实施例提供的基于硅传感器相机的短波红外图像处理设备的结构示意图,如图9所示,该设备包括:至少一个处理器90和存储器91;FIG. 9 is a schematic structural diagram of a short-wave infrared image processing device based on a silicon sensor camera provided in this embodiment. As shown in FIG. 9 , the device includes: at least one processor 90 and a memory 91;

所述存储器存储计算机程序;所述至少一个处理器执行所述存储器存储的计算机程序,以实现上述实施例提供的方法。The memory stores a computer program; and the at least one processor executes the computer program stored in the memory, so as to implement the methods provided in the foregoing embodiments.

本申请实施例的基于硅传感器相机的短波红外图像处理设备,通过对采集的原始图像进行分解网络模型、转换网络模型和重构网络模型的计算,获得短波红外图像,不仅节省成本,还可以提高成像分辨率。The short-wave infrared image processing device based on the silicon sensor camera of the embodiment of the present application obtains short-wave infrared images by decomposing the network model, converting the network model, and reconstructing the network model for the original image collected, which not only saves costs, but also improves Imaging resolution.

本申请再一实施例提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,所述计算机程序被执行时实现上述任一实施例提供的方法。Yet another embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the method provided by any of the foregoing embodiments is implemented.

根据本实施例的计算机可读存储介质,通过对采集的原始图像进行分解网络模型、转换网络模型和重构网络模型的计算,获得短波红外图像,不仅节省成本,还可以提高成像分辨率。According to the computer-readable storage medium of this embodiment, the short-wave infrared image is obtained by decomposing the network model, transforming the network model and reconstructing the network model on the original collected image, which not only saves cost, but also improves the imaging resolution.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.

上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Nenory,RON)、随机存取存储器(Randon Access Nenory,RAN)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units may be stored in a computer-readable storage medium. The above-mentioned software functional units are stored in a storage medium, and include several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) or a processor (processor) execute the methods described in various embodiments of the present application. partial steps. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Nenory, RON), random access memory (Randon Access Nenory, RAN), magnetic disk or optical disk, and other media that can store program codes. .

本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. The internal structure of the system is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.

最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, rather than limiting them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present application. scope.

Claims (8)

1.一种基于硅传感器相机的短波红外图像处理方法,其特征在于,包括:1. A short-wave infrared image processing method based on a silicon sensor camera, characterized in that, comprising: 获取待处理的原始图像,其中,所述原始图像为包括至少两个波段的红外图像,所述原始图像通过增加长通滤光片去除红外滤光片的硅传感器相机获得;Obtaining an original image to be processed, wherein the original image is an infrared image including at least two wavebands, and the original image is obtained by adding a long-pass filter to a silicon sensor camera that removes the infrared filter; 采用预先训练好的分解网络模型,对所述原始图像进行分解,获得各波段对应的分解子图像,其中,各所述分解子图像用于反映硅传感器相机在各对应波段的拍摄图像,所述分解网络模型是通过学习硅传感器相机在各波段内的拍摄图像而得到的;Using a pre-trained decomposition network model, the original image is decomposed to obtain decomposed sub-images corresponding to each band, wherein each decomposed sub-image is used to reflect the image taken by a silicon sensor camera in each corresponding band, and the The decomposition network model is obtained by learning the images captured by the silicon sensor camera in each band; 采用预先训练好的转换网络模型,对各波段对应的所述分解子图像进行转换,获得各分解子图像对应的转换子图像,其中,各转换子图像用于反映短波红外相机在各对应波段的拍摄图像,所述转换网络模型是通过学习各波段内硅传感器相机的拍摄图像和短波红外相机的拍摄图像之间的映射关系而得到的;Using the pre-trained conversion network model, the decomposed sub-image corresponding to each band is converted to obtain the converted sub-image corresponding to each decomposed sub-image, wherein each converted sub-image is used to reflect the short-wave infrared camera in each corresponding band Taking an image, the conversion network model is obtained by learning the mapping relationship between the shooting image of the silicon sensor camera and the shooting image of the short-wave infrared camera in each band; 采用预先训练好的重构网络模型,将各所述转换子图像进行合成,获得红外短波图像。The converted sub-images are synthesized by using a pre-trained reconstructed network model to obtain an infrared short-wave image. 2.根据权利要求1所述的方法,其特征在于,所述分解网络模型、所述转换网络模型和所述重构网络模型采用深度学习神经网络计算获得。2. The method according to claim 1, wherein the decomposed network model, the converted network model and the reconstructed network model are obtained by using deep learning neural network calculations. 3.根据权利要求1所述的方法,其特征在于,所述转换网络模型包括n个转换子网络模型,其中,n为大于1的整数;3. The method according to claim 1, wherein the conversion network model comprises n conversion sub-network models, wherein n is an integer greater than 1; 采用预先训练好的转换网络模型,对各波段对应的所述分解子图像进行转换,获得各分解子图像对应的转换子图像,包括:Using the conversion network model trained in advance, the decomposed sub-image corresponding to each band is converted, and the converted sub-image corresponding to each decomposed sub-image is obtained, including: 采用预先训练好的n个转换子网络模型,对n个不同波段对应的所述分解子图像进行转换,获得n个不同波段下各分解子图像对应的转换子图像。The decomposed sub-images corresponding to n different bands are converted by using n pre-trained conversion sub-network models to obtain converted sub-images corresponding to each decomposed sub-image under n different bands. 4.根据权利要求1所述的方法,其特征在于,所述转换网络模型包括n个转换子网络模型和n个残差子网络模型,其中,转换子网络模型和残差子网络模型一一对应,n为大于1的整数。4. The method according to claim 1, wherein the conversion network model comprises n conversion sub-network models and n residual sub-network models, wherein the conversion sub-network model and the residual sub-network model are one by one Correspondingly, n is an integer greater than 1. 5.根据权利要求4所述的方法,其特征在于,所述采用预先训练好的转换网络模型,对各波段对应的所述分解子图像进行转换,获得各分解子图像对应的转换子图像,包括:5. The method according to claim 4, wherein the conversion network model trained in advance is used to convert the decomposed sub-images corresponding to each band to obtain the converted sub-images corresponding to each decomposed sub-image, include: 采用预先训练好的n个转换子网络模型和n个残差子网络模型,对n个不同波段对应的所述分解子图像进行转换,获得n个不同波段下各分解子图像对应的转换子图像。Using n pre-trained conversion sub-network models and n residual sub-network models, converting the decomposed sub-images corresponding to n different bands to obtain converted sub-images corresponding to each decomposed sub-image under n different bands . 6.一种基于硅传感器相机的短波红外图像处理装置,其特征在于,包括:6. A short-wave infrared image processing device based on a silicon sensor camera, characterized in that it comprises: 获取模块,用于获取待处理的原始图像,其中,所述原始图像为包括至少两个波段的红外图像,所述原始图像通过增加长通滤光片去除红外滤光片的硅传感器相机获得;An acquisition module, configured to acquire an original image to be processed, wherein the original image is an infrared image including at least two bands, and the original image is obtained by adding a long-pass filter to a silicon sensor camera that removes the infrared filter; 分解模块,用于采用预先训练好的分解网络模型,对所述原始图像进行分解,获得各波段对应的分解子图像,其中,各所述分解子图像用于反映硅传感器相机在各对应波段的拍摄图像,所述分解网络模型是通过学习硅传感器相机在各波段内的拍摄图像而得到的;The decomposition module is used to decompose the original image by using a pre-trained decomposition network model to obtain decomposed sub-images corresponding to each band, wherein each decomposed sub-image is used to reflect the silicon sensor camera in each corresponding band Taking images, the decomposed network model is obtained by learning the images taken by silicon sensor cameras in each band; 转换模块,用于采用预先训练好的转换网络模型,对各波段对应的所述分解子图像进行转换,获得各分解子图像对应的转换子图像,其中,各转换子图像用于反映短波红外相机在各对应波段的拍摄图像,所述转换网络模型是通过学习各波段内硅传感器相机的拍摄图像和短波红外相机的拍摄图像之间的映射关系而得到的;The conversion module is used to convert the decomposed sub-images corresponding to each band by using a pre-trained conversion network model to obtain converted sub-images corresponding to each decomposed sub-image, wherein each converted sub-image is used to reflect the short-wave infrared camera In the photographed images of each corresponding band, the conversion network model is obtained by learning the mapping relationship between the photographed images of the silicon sensor camera and the photographed images of the short-wave infrared camera in each band; 重构模块,用于采用预先训练好的重构网络模型,将各所述转换子图像进行合成,获得红外短波图像。The reconstruction module is configured to use a pre-trained reconstruction network model to synthesize the converted sub-images to obtain an infrared short-wave image. 7.根据权利要求6所述的装置,其特征在于,所述分解网络模型、所述转换网络模型和所述重构网络模型采用深度学习神经网络计算获得。7. The device according to claim 6, wherein the decomposed network model, the converted network model and the reconstructed network model are obtained by using deep learning neural network calculations. 8.一种基于硅传感器相机的短波红外图像处理设备,其特征在于,包括:存储器和至少一个处理器;8. A short-wave infrared image processing device based on a silicon sensor camera, comprising: a memory and at least one processor; 存储器;用于存储所述处理器可执行指令的存储器;memory; memory for storing said processor-executable instructions; 其中,所述存储器存储计算机程序;所述至少一个处理器执行所述存储器存储的计算机程序,以实现权利要求1-5中任一项所述的方法。Wherein, the memory stores a computer program; and the at least one processor executes the computer program stored in the memory, so as to realize the method according to any one of claims 1-5.
CN201910418875.6A 2019-05-20 2019-05-20 Short wave infrared image processing method, device and equipment based on silicon sensor camera Active CN111968067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910418875.6A CN111968067B (en) 2019-05-20 2019-05-20 Short wave infrared image processing method, device and equipment based on silicon sensor camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910418875.6A CN111968067B (en) 2019-05-20 2019-05-20 Short wave infrared image processing method, device and equipment based on silicon sensor camera

Publications (2)

Publication Number Publication Date
CN111968067A CN111968067A (en) 2020-11-20
CN111968067B true CN111968067B (en) 2023-08-22

Family

ID=73358227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910418875.6A Active CN111968067B (en) 2019-05-20 2019-05-20 Short wave infrared image processing method, device and equipment based on silicon sensor camera

Country Status (1)

Country Link
CN (1) CN111968067B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911876A (en) * 2015-12-22 2017-06-30 三星电子株式会社 For the method and apparatus of output image
CN108414468A (en) * 2017-02-09 2018-08-17 哈尔滨工业大学 Infrared spectrum wave band feature Enhancement Method based on wavelet transformation and nonlinear transformation
CN109410159A (en) * 2018-09-11 2019-03-01 上海创客科技有限公司 Binocular visible light and infrared thermal imaging complex imaging system, method and medium
CN109741256A (en) * 2018-12-13 2019-05-10 西安电子科技大学 Image super-resolution reconstruction method based on sparse representation and deep learning

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911876A (en) * 2015-12-22 2017-06-30 三星电子株式会社 For the method and apparatus of output image
CN108414468A (en) * 2017-02-09 2018-08-17 哈尔滨工业大学 Infrared spectrum wave band feature Enhancement Method based on wavelet transformation and nonlinear transformation
CN109410159A (en) * 2018-09-11 2019-03-01 上海创客科技有限公司 Binocular visible light and infrared thermal imaging complex imaging system, method and medium
CN109741256A (en) * 2018-12-13 2019-05-10 西安电子科技大学 Image super-resolution reconstruction method based on sparse representation and deep learning

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于小波变换的双色红外图像融合检测方法;孙玉秋等;《红外与激光工程》;20070425(第02期);全文 *

Also Published As

Publication number Publication date
CN111968067A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN111062880B (en) Underwater image real-time enhancement method based on condition generation countermeasure network
CN111402146B (en) Image processing method and image processing apparatus
CN108269244B (en) An Image Dehazing System Based on Deep Learning and Prior Constraints
CN111951195B (en) Image enhancement method and device
CN110880162B (en) Snapshot spectrum depth combined imaging method and system based on deep learning
CN109146831A (en) Remote sensing image fusion method and system based on double branch deep learning networks
CN116977651B (en) Image denoising method based on double-branch and multi-scale feature extraction
CN108604369A (en) A kind of method, apparatus, equipment and the convolutional neural networks of removal picture noise
CN113763231B (en) Model generation method, image perspective determination method, device, equipment and medium
CN110827375B (en) A method and system for true-color coloring of infrared images based on low-light images
CN107977950B (en) Rapid and effective video image fusion method based on multi-scale guide filtering
CN113379658A (en) Unmanned aerial vehicle observation target feature double-light fusion method and system
CN115965559A (en) An integrated aerial image enhancement method for forest scenes
CN117058059A (en) Progressive restoration framework cloud removal method for fusion of optical remote sensing image and SAR image
CN117408916A (en) Image deblurring method based on multi-scale residual Swin transducer and related product
CN111311732B (en) 3D human body grid acquisition method and device
CN108648144B (en) FPM high-resolution color image reconstruction method based on deep learning algorithm
CN116309069A (en) Satellite-borne spectrum remote sensing image super-resolution reconstruction method based on multi-source fusion
CN114627299A (en) Method for detecting and segmenting camouflage target by simulating human visual system
CN111968039B (en) Day and night general image processing method, device and equipment based on silicon sensor camera
CN111968067B (en) Short wave infrared image processing method, device and equipment based on silicon sensor camera
Bhagat et al. Multimodal sensor fusion using symmetric skip autoencoder via an adversarial regulariser
CN116469099A (en) Microscopic hyperspectral image judgment method and framework based on self-supervised spectral regression
CN114638761B (en) Full-color sharpening method, equipment and medium for hyperspectral image
CN116029954A (en) Image fusion method and device

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