Physics-guided super-resolution compressed coded spectral imaging method
By combining the dual optical path encoding spectral imaging system and DCT transformation with the deep learning network, the image quality problem of the Hadamard transform imaging spectrometer under under-sampling conditions is solved, efficient hyperspectral image imaging is achieved, and the imaging quality and resolution are improved.
Patent Information
- Application Number
- CN202410624831.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-10-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When increasing the imaging speed of existing Hadamard transform imaging spectrometers, the sampling rate must be reduced, resulting in a greatly reduced quality of reconstructed hyperspectral images under under-sampling conditions, making it impossible to balance imaging speed and imaging quality.
A dual-optical path encoding spectral imaging system is used, the DCT encoding matrix is used to encode hyperspectral information, and the RGB image and preliminary hyperspectral image are fused through the SSAM-Unet network to improve image quality and resolution, and a self-supervised learning framework is built using a deep learning framework. , improve imaging quality.
While ensuring the imaging speed, the quality and resolution of hyperspectral images are significantly improved. Through the combination of DCT transformation and deep learning network, the low-frequency information retention ability of the image is improved, and the physical guidance of the image is enhanced.
Smart Images

Figure CN118212536B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a physically guided super-resolution compression coding spectral imaging method, belonging to the technical field of spectral imaging. Background Art
[0002] Hyperspectral imaging technology can simultaneously collect two-dimensional spatial information and spectral feature information of hundreds of bands. Compared with multispectral images (MSI), hyperspectral images (HSI) have higher spectral resolution, so hyperspectral imaging technology is widely used in hyperspectral image classification, anomaly detection, remote sensing, target tracking, and medical image processing. A variety of spectral imaging methods have been developed, including scanning hyperspectral imaging technology, multiplexed spectral imaging technology, and coded aperture snapshot compressed spectral imaging (CASSI) based on compressed sensing theory. Among them, the typical representative of multiplexed spectral imaging technology is the Hadamard transform imaging spectrometer (Hadamard Transform Spectrometer, HTS). Later, the emergence of digital micromirrors (DMD) brought technological innovation to Hadamard transform spectrometers. In the prior art, someone proposed a programmable multi-channel Hadamard transform spectrometer based on DMD, which uses DMD for coded modulation and transmission grating for dispersion, and the collected hyperspectral images are as high as more than 100 bands. However, if the Hadamard transform imaging spectrometer needs to increase the imaging speed, the sampling rate must be reduced. However, the quality of the hyperspectral image reconstructed under under-sampling conditions will be greatly reduced.
[0003] Therefore, a physically guided super-resolution compressed coded spectral imaging method is needed to solve the above problems. Summary of the invention
[0004] Purpose of the invention: In view of the problems existing in the prior art, the present invention provides a physically guided super-resolution compressed encoding spectral imaging method.
[0005] A physically guided super-resolution compressed coded spectral imaging method adopts a dual-light path coded spectral imaging system, wherein the dual-light path coded spectral imaging system comprises an objective lens and a beam splitter, wherein the objective lens faces the object, and the beam splitter divides the light beam into a first light path and a second light path, wherein an RGB camera is arranged on the first light path, and a digital micromirror device (DMD), a collimating lens, a dispersion grating, a focusing lens, and a grayscale camera are arranged in sequence on the second light path;
[0006] The following steps are involved:
[0007] Step 1: Use an RGB camera and a grayscale camera to simultaneously acquire the RGB image and hyperspectral information of the object;
[0008] Step 2: Using the DCT encoding matrix as an encoding template, encoding the hyperspectral information of the object to obtain the encoded hyperspectral information;
[0009] Step 3: reconstruct the encoded hyperspectral information obtained in step 2 using an inverse solution algorithm to obtain a preliminary hyperspectral image;
[0010] Step 4: Use the SSAM-Unet network to fuse the RGB image obtained in step 1 and the preliminary hyperspectral image obtained in step 3 to obtain the final hyperspectral image. The SSAM-Unet network adopts the U-Net network framework with a spatial spectral attention module SSAM.
[0011] Furthermore, the beam splitter is a semi-transparent and semi-reflective mirror.
[0012] Furthermore, in step 2, the DCT encoding matrix is used as the encoding template to encode the hyperspectral information of the object as shown in the following formula:
[0013] ,
[0014] In the formula, represents the encoded hyperspectral information, D is the DCT encoding matrix, and Z is the hyperspectral information;
[0015] Among them, the DCT matrix is expressed by the following formula:
[0016]
[0017] Where D is the DCT coding matrix, N is the side length of the image, and the image size is N×N.
[0018] Furthermore, in step 3, the hyperspectral information obtained in step 2 is reconstructed using an inverse solution algorithm, that is, the encoded hyperspectral information obtained in step 2 is reconstructed using the inverse matrix of the DCT matrix as a solution matrix, which is expressed by the following formula:
[0019] ,
[0020] In the formula, It represents the hyperspectral information encoded in step 2, D is the DCT encoding matrix, This is a preliminary hyperspectral image.
[0021] Furthermore, the SSAM-Unet network includes an encoder, a third spatial spectral attention module SSAM and a decoder, and the encoder is connected to the decoder via the third spatial spectral attention module SSAM;
[0022] The encoder comprises two inputs, a bicubic interpolation module, a first spatial spectral attention module SSAM, a first downsampling module, a second spatial spectral attention module SSAM and a second downsampling module,
[0023] The two inputs are low-resolution hyperspectral image LR-HSI and high-resolution multispectral image HR-MSI;
[0024] The bicubic interpolation module upsamples the low-resolution hyperspectral image LR-HSI to obtain a coarse high-resolution hyperspectral image HR-HSI, wherein the resolution of the coarse high-resolution hyperspectral image HR-HSI is the same as the resolution of the high-resolution multispectral image HR-MSI;
[0025] The first spatial spectral attention module SSAM processes the splicing result of the coarse high-resolution hyperspectral image HR-HSI and the high-resolution multispectral image HR-MSI;
[0026] The first downsampling module downsamples the result output by the first spatial spectral attention module SSAM to obtain a first downsampling result;
[0027] The second spatial spectral attention module SSAM processes the splicing result of the first downsampling result and the high-resolution multispectral image HR-MSI;
[0028] The second downsampling module downsamples the result output by the second spatial spectral attention module SSAM to obtain a second downsampling result;
[0029] The third spatial spectral attention module SSAM processes the second downsampling result and inputs the processing result into the decoder;
[0030] The decoder comprises a fourth upsampling module, a fourth spatial spectral attention module SSAM, a fifth upsampling module, a fifth spatial spectral attention module SSAM, a discrete cosine transform module and a point-by-point addition layer,
[0031] The fourth upsampling module upsamples the processing result of the third spatial spectrum attention module SSAM to obtain a first upsampling result;
[0032] The fourth spatial spectral attention module SSAM processes the first upsampling result;
[0033] The fifth upsampling module upsamples the processing result of the fourth spatial spectral attention module SSAM to obtain a second upsampling result;
[0034] The fifth spatial spectral attention module SSAM processes the second upsampling result;
[0035] The discrete cosine transform module performs discrete cosine transform on the high-resolution multispectral image HR-MSI to obtain high-frequency information;
[0036] The point-by-point addition layer adds the processing result of the fifth spatial spectral attention module SSAM and the high-frequency information to obtain an output result.
[0037] Furthermore, the first downsampling module and the second downsampling module both use a 4×4 convolution module for downsampling.
[0038] Furthermore, the fourth upsampling module and the fifth upsampling module both use a 2×2 deconvolution module for upsampling.
[0039] Furthermore, the spatial spectral attention module SSAM includes a first 1×1 convolution module, a first 3×3 convolution module and a residual structure arranged in sequence, the residual structure includes three spatial spectral modules SSB connected in series, the spatial spectral module SSB includes a spatial residual module and a spectral attention residual module, the spatial residual module uses a second 3×3 convolution module to extract spatial features, and the spectral attention residual module linearly combines spectral bands.
[0040] Furthermore, the spectral attention residual module uses the following formula to linearly combine the spectral bands:
[0041] ,
[0042] In the formula, , is the spectral band, is the weight.
[0043] Furthermore, the SSAM-Unet network first adopts The loss function is used for constraint training to obtain a rough model, and then the The loss function is used for constrained training to obtain the final model;
[0044] in, The loss function is expressed as follows:
[0045] ,
[0046] In the formula, For the mapping process of SSAM-UNet network, and They represent the low-resolution hyperspectral image LR-HSI and the high-resolution multispectral image HR-MSI at the input, respectively. represents the HR-HSI at the output, M is the total number of samples;
[0047] The loss function is expressed as follows:
[0048] ,
[0049] In the formula, For the mapping process of SSAM-UNet network, To simulate the physical process of under-sampling compressed coded spectral imaging, It represents the process of simulating the mapping from HR-HSI to HR-MSI using the quantum efficiency of the color camera. and They represent the low-resolution hyperspectral image LR-HSI and high-resolution multispectral image HR-MSI at the input respectively, and M is the total number of samples.
[0050] Principle of the invention: In order to balance imaging speed and imaging quality, the present invention uses a discrete cosine transform (DCT) matrix as a coding template to encode the scene. Since DCT has the characteristic of energy concentration, most of the signal energy is mainly concentrated in the low-frequency components, while the energy of the high-frequency components is relatively small, and the human eye has a stronger perception of the low-frequency components in the image and a weaker perception of the high-frequency components. This allows the low-frequency part of the DCT matrix to be used as the coding template in the process of under-sampling coded spectral imaging, and the high-frequency part is discarded to retain important information. Through theoretical analysis and experiments, it is proved that compared with the Hadamard transform imaging spectrometer (HTS), under under-sampling conditions, the high-spectral image quality collected by the imaging spectrometer based on DCT transform (DCTS) is higher.
[0051] The imaging quality of the DCT transform-based imaging spectrometer (DCTS) is proportional to the sampling rate. When a higher quality hyperspectral image is required, the sampling rate must be increased, but this will increase the sampling time and slow down the imaging speed. In order to quickly obtain high-quality spectral images, the SSAM-UNet network of the present invention solves this problem by fusing low-resolution hyperspectral images LR-HSI and high-resolution multispectral images HR-MSI.
[0052] Beneficial effects: The physically guided super-resolution compressed coding spectral imaging method of the present invention improves the imaging quality while ensuring the imaging speed, and constructs a deep learning framework to fuse RGB images and hyperspectral images, thereby improving the resolution of hyperspectral images. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 It is a schematic diagram of the process flow of the physically guided super-resolution compression coding spectral imaging system of the present invention;
[0054] Figure 2It is a structural schematic diagram of the dual-light-path coded spectral imaging system of the present invention;
[0055] Figure 3 The simulation experiment results of CAVE data set under 0.5 times sampling rate;
[0056] Figure 4 It is a mathematical process schematic diagram of the dual-light-path coded spectral imaging system of the present invention;
[0057] Figure 5 This is a schematic diagram of the structure of the deep learning image fusion network SSAM-UNet;
[0058] Figure 6 It is a self-supervised learning framework based on the physical process of encoded spectral imaging. DETAILED DESCRIPTION
[0059] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings to more clearly and completely illustrate the technical solutions of the present invention.
[0060] See also Figure 1 and Figure 2 As shown, the physically guided super-resolution compressed coded spectral imaging method of the present invention adopts a dual-light path coded spectral imaging system, which includes an objective lens and a beam splitter. The objective lens faces the object, and the beam splitter divides the light beam into a first light path and a second light path. An RGB camera is arranged on the first light path, and a digital micromirror device DMD, a collimating lens, a dispersion grating, a focusing lens and a grayscale camera are arranged in sequence on the second light path. A TIR prism is also arranged on the second light path, and the TIR prism is arranged between the beam splitter and the digital micromirror device DMD, which can realize the deflection of the second light path and reduce the space occupation of the system. In the present invention, the beam splitter adopts a semi-transparent and semi-reflective mirror. After the light beam passes through the objective lens, a semi-transparent and semi-reflective mirror is used to split the beam, so that the image information of one light path is collected by the RGB camera, and the other light beam is encoded by the digital micromirror device DMD. In the experiment, the digital micromirror device DMD is controlled to flip to generate a coding template to encode the scene spatial information, which is then dispersed by a dispersion grating. The encoded spectral information is then collected by a grayscale camera, and the hyperspectral image is reconstructed using an inverse solution algorithm. Figure 3 Results of simulating encoded spectral imaging on the CAVE dataset.
[0061] The reverse solution algorithm process is as follows Figure 4 As shown, Figure 4 Part a is the mathematical process of the coded spectral imaging acquisition process. Figure 4 Part b is the mathematical process of the reconstruction process of coded spectral imaging. Assume that there is an existing coding matrix D:
[0062] ,
[0063] The encoding process is as follows Figure 4 Part a shows a set of measured data The measured spectrum data can be divided into , first Shift row by row to get , and then multiply the encoding matrix D on the left. The mathematical process can be expressed as:
[0064] ,
[0065] After n measurements, all encoded spectral data can be obtained .
[0066] The reconstruction process of the coded spectral imaging system is as follows: Figure 4 As shown in part b. Just take out along the y-axis , multiply it by the inverse encoding matrix get :
[0067] ,
[0068] Then restore the displacement row by row, and repeat n times to obtain the measured hyperspectral data Z.
[0069] Invention principle: The present invention adopts a dual-path coded spectral imaging system. The light beam passes through the objective lens and reaches the semi-transparent and semi-reflective mirror to be split. One beam of light is collected by the RGB camera to obtain the RGB information of the scene; the other beam of light is encoded by the digital micromirror device DMD, then dispersed by the dispersion grating, and then collected by the grayscale camera to obtain the coded spectral information of the scene. Finally, the inverse solution algorithm is used to reconstruct the hyperspectral image. On this basis, the deep learning framework SSAM-UNet network is used to further improve the image quality and resolution of the hyperspectral image.
[0070] Figure 5 Part a in the middle is the structure diagram of the spatial spectral attention module SSAM. Figure 5 Part c is the name of each module. The input of SSAM-UNet network is HR-MSI and LR-HSI. Assume that HR-MSI is , LR-HSI is ,first Upsampled to , then a rough HR-HSI with the same resolution as HR-MSI is obtained, expressed as , then spliced with HR-MSI along the spectral dimension, and then sent to the spatial spectral attention module (SSAM), and then downsampled the output of SSAM. Then a 4×4 convolution is used as a downsampling method to reduce the spatial resolution of the image by half and double the number of channels. Then it is spliced with HR-MSI again and sent to the SSAM module, and then downsampled to form the encoder part. In the bottleneck part, the spatial detail features are still injected by splicing HR-MSI, and then reach the decoder part through the SSAM module. Based on the symmetric design of U-Net, a 2×2 deconvolution is used as the upsampling module, and the same SSAM module as the encoder is used in the decoder part. It is worth noting that a high-pass component of HR-MSI is superimposed at the output of the network. This is because in the process of undersampling compression coding spectral imaging, in order to improve the imaging speed and imaging quality, the DCT matrix is selected as the encoding template, which is equivalent to transforming the image into the DCT frequency domain, and the high-frequency information of the image is lost in the DCT frequency domain, and only the low-frequency information with more concentrated energy is retained. Therefore, at the end of the network, the HR-MSI is discretely transformed and converted to the DCT frequency domain to separate the high-frequency information of the HR-MSI, which is then superimposed on the output of the network as high-frequency compensation. When the image is sent to the SSAM module, a 1×1 convolution is first performed to transform the number of channels of the data into , and then undergoes 3×3 convolution for preliminary feature extraction, followed by a residual structure that uses three serially connected spatial spectrum modules SSB. The structure of the spatial spectrum module SSB is as follows Figure 5 As shown in part b, the module consists of two parts, namely the spatial residual module and the spectral attention residual module. For the spatial residual module, 3×3 convolution is used to extract spatial features, and the skip connection structure can well extract the spatial features of the image. The spectral attention residual module is designed for the high correlation between adjacent bands of hyperspectral images. This module can linearly combine the original spectral bands. Assuming that the original spectral bands are , the linear combination of them through the spectral attention residual module can be expressed as:
[0071] ,
[0072] in, As a result, the learning of the similarity of adjacent bands of hyperspectral images is transformed into learning a set of weights , making the spectral information of HR-HSI more accurate. Mathematically, these learning processes are implemented using 1×1 convolution.
[0073] Table 1 provides the test results of the CAVE dataset at four different sampling rates and two upsampling ratios. The left side shows the results when the upsampling ratio is 4, and the right side shows the results when the upsampling ratio is 8. It can be clearly seen that under the conditions of 0.5 times sampling rate and upsampling ratio of 4, the average PSNR of the test results is as high as 48.9893dB. Even if the sampling rate is reduced to 0.0625 times, the average PSNR of the test results can reach 41.2984dB. Figure 3 As shown in the figure, the image in the yellow box is selected for testing. The sampling rate of the encoded spectral imaging is 0.5, and the super-resolution upsampling rate is 4 times. The result image inferred by the model is compared with the reference image for spatial information error. Five representative wavelengths are selected to draw the error image, and three different pixel positions are selected to analyze and compare the difference between the spectral curve of the test result and the reference spectral curve. It can be concluded from the figure that whether it is spatial information or spectral information, the test results are basically consistent with the reference image, which fully verifies the excellent performance of the SSAM-Unet network.
[0074] Table 1
[0075]
[0076] The deep learning model in this invention is a self-supervised learning framework based on the physical process of encoded spectral imaging. Its overall structure is as follows: Figure 6 As shown in the figure. The low-resolution hyperspectral image and high-resolution RGB image collected and reconstructed by the coded spectral imaging system are used as the input of the SSAM-UNet network. After the two images are fused to obtain a high-resolution hyperspectral image, three loss functions are designed to construct a self-supervised learning framework based on the physical process of coded spectral imaging. The following will explain these three parts of the loss function in detail.
[0077] 1) function
[0078] The MSE of HR-HSI and target HR-HSI was calculated as , the process is shown as follows. For the mapping process of SSAM-UNet, and Respectively represent the HR-MSI and LR-HSI at the input end, represents the HR-HSI at the output, and N is the total number of samples.
[0079]
[0080] 2) function
[0081] In order to improve the generalization of neural network learning, the physical process of compressed coding spectral imaging is designed as a Loss function to constrain the learning of the neural network. The HR-HSI output by the neural network is analyzed as follows: Figure 4 The physical process of undersampling compression coding spectral imaging shown in Assumptions , To simulate the physical process of under-sampling compressed coded spectral imaging, and They represent the HR-MSI and LR-HSI at the input, respectively, and their mathematical representations are as follows:
[0082] ,
[0083] 3) function
[0084] In order to avoid spectral distortion, the imaging process of the simulated color camera is used as , which can be understood as using the quantum efficiency of the color camera to simulate the mapping process from HR-HSI to HR-MSI, which can be expressed as So we can get Mathematical representation of:
[0085] ,
[0086] In many previous Loss function design methods, multiple Losses are ultimately weighted to form an integrated Loss function, thereby constraining the neural network training process. However, the magnitudes and convergence trends of different Losses are different. Blind superposition will make the model difficult to converge or lead to local optimality. In order to avoid these situations, the previous strategy of superposing different Loss functions is abandoned, and different Loss functions are used in stages to constrain the training of the neural network. In the first stage, Constraints are applied to obtain a rough model, and in the second stage, and The weights of the superimposed strategies are all set to 0.5, and we can get:
[0087] .
Claims
1. A physically guided super-resolution compressed coding spectral imaging method, characterized in that: A dual-light-path coded spectral imaging system is used, which includes an objective lens and a beam splitter, wherein the objective lens faces the object, and the beam splitter divides the light beam into a first light path and a second light path, wherein an RGB camera is arranged on the first light path, and a digital micromirror device DMD, a collimating lens, a dispersion grating, a focusing lens, and a grayscale camera are arranged in sequence on the second light path; The following steps are involved: Step 1: Use an RGB camera and a grayscale camera to simultaneously acquire the RGB image and hyperspectral information of the object; Step 2: Using the DCT encoding matrix as an encoding template, encoding the hyperspectral information of the object to obtain the encoded hyperspectral information; Step 3: reconstruct the encoded hyperspectral information obtained in step 2 using an inverse solution algorithm to obtain a preliminary hyperspectral image; Step 4: Use the SSAM-Unet network to fuse the RGB image obtained in step 1 and the preliminary hyperspectral image obtained in step 3 to obtain the final hyperspectral image. The SSAM-Unet network adopts a U-Net network framework with a spatial spectral attention module SSAM; The SSAM-Unet network includes an encoder, a third spatial spectral attention module SSAM and a decoder, wherein the encoder is connected to the decoder via the third spatial spectral attention module SSAM; The encoder comprises two inputs, a bicubic interpolation module, a first spatial spectral attention module SSAM, a first downsampling module, a second spatial spectral attention module SSAM and a second downsampling module, The two inputs are low-resolution hyperspectral image LR-HSI and high-resolution multispectral image HR-MSI; The bicubic interpolation module upsamples the low-resolution hyperspectral image LR-HSI to obtain a coarse high-resolution hyperspectral image HR-HSI, wherein the resolution of the coarse high-resolution hyperspectral image HR-HSI is the same as the resolution of the high-resolution multispectral image HR-MSI; The first spatial spectral attention module SSAM processes the splicing result of the coarse high-resolution hyperspectral image HR-HSI and the high-resolution multispectral image HR-MSI; The first downsampling module downsamples the result output by the first spatial spectral attention module SSAM to obtain a first downsampling result; The second spatial spectral attention module SSAM processes the splicing result of the first downsampling result and the high-resolution multispectral image HR-MSI; The second downsampling module downsamples the result output by the second spatial spectral attention module SSAM to obtain a second downsampling result; The third spatial spectral attention module SSAM processes the second downsampling result and inputs the processing result into the decoder; The decoder comprises a fourth upsampling module, a fourth spatial spectral attention module SSAM, a fifth upsampling module, a fifth spatial spectral attention module SSAM, a discrete cosine transform module and a point-by-point addition layer, The fourth upsampling module upsamples the processing result of the third spatial spectrum attention module SSAM to obtain a first upsampling result; The fourth spatial spectral attention module SSAM processes the first upsampling result; The fifth upsampling module upsamples the processing result of the fourth spatial spectral attention module SSAM to obtain a second upsampling result; The fifth spatial spectral attention module SSAM processes the second upsampling result; The discrete cosine transform module performs discrete cosine transform on the high-resolution multispectral image HR-MSI to obtain high-frequency information; The point-by-point addition layer adds the processing result of the fifth spatial-spectral attention module SSAM and the high-frequency information to obtain an output result; The spatial spectral attention module SSAM includes a first 1×1 convolution module, a first 3×3 convolution module and a residual structure arranged in sequence, the residual structure includes three spatial spectral modules SSB connected in series, the spatial spectral module SSB includes a spatial residual module and a spectral attention residual module, the spatial residual module uses a second 3×3 convolution module to extract spatial features, and the spectral attention residual module linearly combines spectral bands.
2. The physically guided super-resolution compressed coding spectral imaging method according to claim 1, characterized in that: The beam splitter is a semi-transparent and semi-reflective mirror.
3. The physically guided super-resolution compressed coding spectral imaging method according to claim 1, characterized in that: In step 2, the DCT encoding matrix is used as the encoding template to encode the hyperspectral information of the object through the following formula: In the formula, represents the encoded hyperspectral information, D is the DCT encoding matrix, and Z is the hyperspectral information; Among them, the DCT matrix is expressed by the following formula: , Where D is the DCT coding matrix, N is the side length of the image, and the image size is N×N.
4. The physically guided super-resolution compressed coding spectral imaging method according to claim 1, characterized in that: In step 3, the hyperspectral information obtained in step 2 is reconstructed using an inverse solution algorithm, that is, the encoded hyperspectral information obtained in step 2 is reconstructed using the inverse matrix of the DCT encoding matrix as a solution matrix, which is expressed by the following formula: In the formula, It is represented as the hyperspectral information encoded in step 2, D is the encoding matrix, This is a preliminary hyperspectral image.
5. The physically guided super-resolution compressed coding spectral imaging method according to claim 1, characterized in that: The first downsampling module and the second downsampling module both use a 4×4 convolution module for downsampling.
6. The physically guided super-resolution compressed coding spectral imaging method according to claim 1, characterized in that: The fourth up-sampling module and the fifth up-sampling module both use a 2×2 deconvolution module for up-sampling.
7. The physically guided super-resolution compressed coding spectral imaging method according to claim 1, characterized in that: The spectral attention residual module uses the following formula to linearly combine the spectral bands: , In the formula, , is the spectral band, is the weight.
8. The physically guided super-resolution compressed coding spectral imaging method according to claim 1, characterized in that: The SSAM-Unet network first adopts The loss function is used for constraint training to obtain a rough model, and then the The loss function is used for constrained training to obtain the final model; in, The loss function is expressed as follows: , In the formula, For the mapping process of SSAM-UNet network, and They represent the low-resolution hyperspectral image LR-HSI and the high-resolution multispectral image HR-MSI at the input, respectively. represents the HR-HSI at the output, M is the total number of samples; The loss function is expressed as follows: , In the formula, For the mapping process of SSAM-UNet network, To simulate the physical process of under-sampling compressed coded spectral imaging, It represents the process of simulating the mapping from HR-HSI to HR-MSI using the quantum efficiency of the color camera. and They represent the low-resolution hyperspectral image LR-HSI and high-resolution multispectral image HR-MSI at the input respectively, and M is the total number of samples.
