Block reconstruction method suitable for coded aperture spectrum polarization imaging system
Through the combination of periodic block coding and deep learning network, the edge blur and splicing discontinuity problems of the dual-dispersion spectral polarization imaging system in large-size image reconstruction are solved, high-quality four-dimensional data reconstruction is achieved, and detection is improved. performance.
Patent Information
- Application Number
- CN202410749071.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-10
AI Technical Summary
Existing dual-dispersion spectral polarization imaging systems have edge blurring and splicing discontinuity problems when reconstructing large-size images, and the introduction of polarization information increases the information dimension, making it difficult to effectively reconstruct.
Periodic block coding and deep learning network are used for image reconstruction, and through averaging and splicing of multiple reconstructions, combined with segmentation and interpolation of polarization sub-images, the spectral and polarization information in the four-dimensional data cube is extracted.
The image reconstruction quality is improved, edge blur and splicing discontinuity are reduced, and the detection capability and application value of the detection system are improved.
Smart Images

Figure CN118628343A
Abstract
Description
Technical Field
[0001] The present invention proposes a block reconstruction method suitable for a coded aperture spectral polarization imaging system, specifically relates to a dual-dispersion spectral polarization imaging system based on a coded aperture, a periodic block coding suitable for the system, a deep learning network for reconstructing image blocks, and a method for overlapping and splicing image blocks. Background Art
[0002] With the continuous breakthroughs and progress in remote sensing science and technology, spectral polarization imaging detection has become a new research hotspot in the field of imaging detection. The traditional imaging process only obtains the intensity component of the electromagnetic wave, which is a subset of the more complete spectral information and polarization information. Spectral polarization imaging technology combines imaging technology, polarization technology and spectral technology to simultaneously obtain a four-dimensional data cube with two-dimensional spatial information, one-dimensional spectral information and one-dimensional polarization information of the target object, which has important application value.
[0003] Coded Aperture Snapshot Spectral Imaging (CASSI) is a computational optical imaging technology based on the principle of snapshot compression imaging. It introduces a two-dimensional coding template to spatially modulate the information at the aperture, and introduces a spectral modulation device to convert the spatial modulation into spectral modulation, and then uses a certain reconstruction algorithm to restore the original information. The CASSI measurement hardware system can be combined with reconstruction algorithms such as compressed sensing and deep learning to break through the limitations of the Nyquist-Shannon sampling theorem, greatly reduce the number of measurement signals required, and even recover most of the target information from a single snapshot measurement. As an important branch of current computational optical imaging technology, CASSI has shown great potential in spectral imaging systems. Introducing polarization detection devices into the CASSI system, combining CASSI technology with polarization detection, and realizing a CASSI system with polarization imaging detection capabilities have important research value.
[0004] The quality of the reconstruction algorithm directly affects the detection capability of such systems. As deep learning has increasingly demonstrated impressive performance in the field of image processing, in recent years, people have begun to study CASSI system data reconstruction based on deep learning. One of its important features is that the trained deep network can be easily and quickly called, with a speed of seconds or even sub-seconds, and the reconstruction effect is excellent, which has important application value. However, this method also faces some challenges. First, due to the limitations of network depth and scale, it is difficult to directly reconstruct large-size images in practical applications, and block reconstruction is required. Secondly, there are problems such as blurred edges in the reconstructed image blocks and obvious discontinuities at the edges of adjacent image blocks when directly spliced, which leads to a decrease in image reconstruction quality and affects the detection capability and practical application capability of the detection system. In addition, the introduction of polarization information increases the dimension of the information to be reconstructed, and it is necessary to establish a reconstruction network and reconstruction process that is compatible with it. Summary of the invention
[0005] The problem solved by the present invention is: for a dual-dispersion spectral polarization imaging system, a suitable periodic block encoding and reconstruction network is established, the system measurement results are reconstructed in blocks, and the reconstruction results are overlapped and spliced, so as to obtain a reconstructed image of a larger size, and spectral information and polarization information are extracted therefrom, so as to improve the detection capability of the system.
[0006] In order to achieve the above object of the invention, the present invention adopts the following steps to achieve it.
[0007] Step 1: Establish a mapping relationship between a coding template and a coding aperture based on system calibration parameters;
[0008] Step 2, establish a periodic block coding aperture and calculate its corresponding coding template;
[0009] Step 3, according to the used block coding aperture, four deep learning reconstruction networks are established and the networks are trained;
[0010] Step 4, extracting a polarization sub-image from the compressed measurement image, interpolating it to restore the original resolution, and then segmenting the polarization sub-image;
[0011] Step 5, reconstruct the image blocks using the four established deep learning networks;
[0012] Step 6, overlapping, averaging and splicing the reconstructed image blocks to complete the splicing of the large-size image;
[0013] Step 7: extract the reconstructed spectral curve and polarization information to complete the reconstruction of multi-dimensional data including target space, spectrum, and polarization information.
[0014] Compared with other existing methods, the calibration and analysis method of the dual-dispersion spectral linear polarization imaging system provided by the present invention has the following advantages:
[0015] 1. The periodic block encoding method is used for block reconstruction, which reduces the depth and parameter amount of the deep learning reconstruction network, makes the network easier to train and deploy, and improves the practical application value.
[0016] 2. The segmentation and interpolation methods of polarization sub-images are combined with the spatial and spectral reconstruction networks, so that the network can reconstruct four-dimensional information including two-dimensional space, one-dimensional spectrum, and one-dimensional polarization, which increases the dimension of network reconstruction information and improves the detection performance of the detector.
[0017] 3. By taking the average of multiple reconstructions, the problem of poor edge clarity and blurriness of image blocks reconstructed by the deep learning network is improved, so that the clarity at different positions of the reconstruction results is more balanced, the reconstruction quality is improved, and the discontinuity at the edges of the stitching process is reduced, thereby improving the stitching quality of the image blocks. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Attached Figure 1 The overall flowchart of block reconstruction.
[0019] Attached Figure 2 This is a structural diagram of a dual-dispersion spectral linear polarization imaging system.
[0020] Attached Figure 3 Schematic diagram of the design of the coded aperture in the reference band.
[0021] Attached Figure 4 Schematic diagram of dataset generation and deep learning network training.
[0022] Attached Figure 5 Flowchart for detection image segmentation, reconstruction, and stitching.
[0023] The specific numbers in the figure are as follows:
[0024] 1. Target 2. Imaging lens 3. Filter
[0025] 4. Primary image plane 5. Collimating lens group A 6. Beam splitter grating
[0026] 7. Imaging lens group A 8. DMD 9. Collimating lens group B
[0027] 10. Light combining grating 11. Imaging lens group B 12. DoFP detector
[0028] 13. Micro polarizer 14. Coded aperture block a 15. Coded aperture block b
[0029] 16. Coded aperture block c 17. Coded aperture block d DETAILED DESCRIPTION
[0030] In order to explain more clearly the block reconstruction method applicable to the coded aperture spectral polarization imaging system provided by the present invention, the following is attached. Figure 1 The overall process of the invention is shown, and the specific steps are described as follows in conjunction with the accompanying drawings:
[0031] 1) For a typical dual-dispersion spectral linear polarization imaging system, its structure is as shown in the attached Figure 2 As shown in the figure, the system contains three imaging planes, namely the primary image plane, the digital micromirror device (DMD) plane and the division of focal plane (DoFP) polarization detector plane. The DMD and DoFP polarization detectors each have their own discrete coordinate systems, which can be defined as P: (m, n) and Q: (u, v) respectively. The transformation relationship between these two coordinate systems can be expressed as:
[0032]
[0033] in, Represents the transformation matrix between coordinate systems, which defines the mapping from the coding template to the coded aperture and can be obtained through system calibration.
[0034] 2) The coding template refers to the template loaded on the coding device, and the coding aperture represents the transmittance function corresponding to the signals of different bands at different positions in the compression measurement, which can be expressed as T(u,v,l), where l represents the band. Since the deep learning network can establish the mapping relationship between the measurement results obtained by a specific coding aperture and the original multidimensional data through learning, and changing different codes requires retraining the network, the present invention proposes to use a block coding aperture for periodic extension, so that different image blocks in the measurement can be reconstructed using the same network without retraining the network.
[0035] Assume that the deep learning network can reconstruct an image block of size M×N in a single pass, and generally take M=N=2 k , k is a constant. The design of the coding aperture in the reference band is as follows: Figure 3 As shown in the figure, there are 4 types of coded aperture blocks, and the entire coded aperture is generated by periodically extending these 4 coded aperture blocks. The height and width of each coded aperture block are M / 2 and N / 2 respectively. Every 2×2 coded aperture blocks are combined into a coded aperture block of size M×N, and there are 4 combinations in total.
[0036] After the coding aperture is obtained, the coding template that needs to be loaded on the coding device is calculated according to the mapping relationship in step 1).
[0037] 3) For the four M×N coded aperture block combinations obtained in step 2, deep learning networks are established for training. Each network corresponds to a coded aperture block combination. In the network training phase, a hyperspectral image dataset is required. The simulated compression measurement generated according to the coded aperture in step 3 is used as the dataset used in the training process. The process of dataset generation and deep learning network training is as follows: Figure 4 As shown in the figure, for each coded aperture block, there is a corresponding code in each band. After the Hadamard product is calculated between the original signal of each band and the corresponding code, the measurement result is synthesized as the input of the deep learning network, and the deep learning network learns the fitting from the measurement result to the original signal. Assuming that the system can detect L spectral bands in total, and the reference band is the first band, the generation process of this measurement can be expressed as:
[0038]
[0039] Among them, r l represents the response function of the detector to the lth band, T(u,v,l) is the coded aperture, and ω represents the noise in the measurement process.
[0040] In the deep learning network training process, the mean square error (MSE) is used as the loss function to measure the error between the reconstruction result and the original signal. Represent the reconstruction result and the original signal respectively, then the calculation method of MSE is:
[0041]
[0042] 4) The compressed measurement image obtained using the DoFP polarization detector contains micro-polarizers with transmission directions of 0°, 45°, 90° and 135°. These micro-polarizers are combined in a 2×2 manner to detect the polarization sub-images at the corresponding transmission angles, and then the original image resolution is restored through bicubic interpolation. Since the relevant technology is relatively mature, it will not be described in detail here.
[0043] 5) Since the edges of image blocks reconstructed using deep learning networks often have low clarity, and when reconstructed image blocks are directly spliced, there is often a more obvious discontinuity at the splicing position, the present invention uses 4 different coded aperture blocks, and each pixel participates in 4 reconstructions. Figure 3As shown in the figure, each coded aperture block with a height of M / 2 and a width of N / 2 is combined into 4 different coded apertures through different combinations, which are input into the corresponding network for reconstruction, and the reconstruction results are averaged as the reconstruction result of the original signal corresponding to this coded aperture block. In this way, the center and edge of each image block have a more balanced clarity, and the continuity of the edges when different image blocks are spliced is guaranteed.
[0044] The above process can be used Figure 5 After obtaining the compressed polarization sub-image and completing the interpolation in step 4, the image is divided into image blocks with a height of M / 2 and a width of N / 2 respectively. Each image block is represented by Figure 3 In the manner shown, the other three image blocks among its eight adjacent image blocks are combined into image blocks with a height of M and a width of N respectively for reconstruction. There are four combinations in total. These four image blocks are respectively input into the corresponding reconstruction network for reconstruction. The above process is repeated at each image block until all image blocks are reconstructed. Finally, the four reconstruction results of each image block are averaged.
[0045] The purpose of the above reconstruction steps is to solve the problem of poor edge clarity of the image block reconstructed by the reconstruction network. In the reconstruction of a certain combination, the image point located at the edge is located at the center of the reconstruction result in the reconstruction of other combinations. In this way, after averaging the reconstruction results, the reconstruction results at different positions have a more balanced clarity.
[0046] 6) The image block reconstruction results obtained in step 5 are stitched together to obtain a large-size reconstructed image. During the reconstruction process, each image block and each of its upper, lower, left, and right adjacent image blocks jointly participate in two of the four reconstructions, and the reconstruction result of a single reconstruction retains the continuity of features such as texture and edges. Therefore, the averaged reconstruction result also maintains good continuity with the reconstruction results of its adjacent image blocks, which improves the effect of image block stitching.
[0047] 7) Extract spectral information such as spectral curve from the reconstructed image, and obtain polarization information such as polarization degree diagram and polarization angle diagram. Polarization information can be represented by Stokes vector, and the acquisition process of its first three components can be expressed as
[0048]
[0049] Where I1, I2, I3 and I4 represent the light intensities detected along the transmission direction of 0°, 45°, 90° and 135° respectively.
[0050] In addition, through the polarization sub-images obtained by the system, the degree of linear polarization (DoLP) and angle of polarization (AoP) of the target can also be obtained. DoLP represents the ratio of the intensity of linear polarized light and can be expressed as:
[0051]
[0052] AoP represents the angle between the polarization direction of linearly polarized light and the reference 0° direction and can be written as:
[0053]
[0054] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention. The contents not described in detail in the specification of the present invention belong to the prior art known to professional and technical personnel in the field.
Claims
1. A calibration analysis method for a dual-dispersion spectral linear polarization imaging system, characterized in that: Includes the following parts: Step 1: Establish a mapping relationship between a coding template and a coding aperture based on system calibration parameters; Step 2, establish a periodic block coding aperture and calculate its corresponding coding template; Step 3, according to the used block coding aperture, four deep learning reconstruction networks are established and the networks are trained; Step 4, extracting a polarization sub-image from the compressed measurement image, interpolating it to restore the original resolution, and then segmenting the polarization sub-image; Step 5, reconstruct the image blocks using the four established deep learning networks; Step 6, overlapping, averaging and splicing the reconstructed image blocks to complete the splicing of the large-size image; Step 7: extract the reconstructed spectral curve and polarization information to complete the reconstruction of multi-dimensional data including target space, spectrum, and polarization information.
2. The method for extracting, segmenting, reconstructing and splicing polarization sub-images of a spectral polarization measurement image according to claim 1, characterized in that: In step 2, 4 coded aperture blocks are designed, and the entire coded aperture is generated by periodically extending these 4 coded aperture blocks. The height and width of each coded aperture block are M / 2 and N / 2 respectively. Every 2×2 coded aperture blocks are combined into a coded aperture block of M×N size, and there are 4 combinations in total. In step 5, the image is divided into image blocks with a height and a width of M / 2 and N / 2 respectively. Each image block is combined with the other 3 image blocks among its 8 adjacent image blocks in the manner shown in Figure 3 to form an image block participating in reconstruction with a height and a width of M and N respectively. There are 4 combinations in total, and four deep learning reconstruction networks are used for reconstruction. Each network reconstructs an image block of M×N size at a time for a combination of coded aperture blocks. Each image block with a height and a width of M / 2 and N / 2 respectively participates in 4 reconstructions, and the four reconstruction results are averaged.
