A method and system for compressive sensing image reconstruction with multi-position feature enhancement
By introducing the method of multi-position feature enhancement in compressed sensing image reconstruction, using lightweight recursive reconstruction blocks and global feature fusion modules, the problems of high computational complexity and low reconstruction quality of traditional algorithms are solved, and efficient and accurate images are achieved. Image reconstruction.
Patent Information
- Application Number
- CN202410888157.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-04
AI Technical Summary
Traditional compressed sensing image reconstruction algorithms have problems such as high computational complexity and lack of prior information, resulting in low image reconstruction quality. Especially at low sampling rates, it is difficult to achieve real-time reconstruction, which limits the application of compressed sensing.
A multi-location feature enhanced compressed sensing image reconstruction method is designed. By introducing multiple lightweight recursive reconstruction blocks in the depth reconstruction module, combined with the global feature fusion module, the intra-block recursive idea and feature splicing are used to reduce the network The number of layers makes full use of sampling and high-frequency features to improve reconstruction accuracy.
It effectively reduces the amount of calculation, saves image reconstruction time, improves reconstruction accuracy, and significantly improves the performance of image reconstruction, especially at low sampling rates.
Smart Images

Figure CN118433396B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular to a compressed sensing image reconstruction method and system with multi-position feature enhancement. Background Art
[0002] Compressed sensing (CS) can effectively compress signals while sampling them. The theory of compressed sensing points out that if a signal is sparse after a certain transformation, the signal can be sampled with sampling points far lower than those required by the Nyquist sampling theorem, and then the original signal can be reconstructed from a small number of observations with high quality by solving the optimization problem. Compressed sensing transfers the computational overhead of the encoding end to the receiving end (reconstruction end) of the signal. Compared with traditional video image coding technology, it can effectively improve the sampling speed and has broad application prospects in video image processing. However, traditional compressed sensing reconstruction algorithms have problems such as lack of use of prior information and high computational complexity, which will result in low image reconstruction quality and difficulty in real-time reconstruction of images. Especially at low sampling rates, these problems are more serious, which restricts the application of compressed sensing.
[0003] With the promotion and application of deep learning in the field of computer vision images, there are compressed sensing reconstruction methods based on deep unfolding networks in the existing technology. Combining compressed sensing with deep neural networks, compared with traditional compressed sensing methods, the deep compressed sensing reconstruction method combined with deep unfolding networks has greatly improved the reconstruction quality and efficiency. However, there are still some common problems. On the one hand, each layer in the deep unfolding network corresponds to an iteration process of the algorithm, and each layer of the network has the same structure, which has the defects of excessive network redundancy and high computational cost; on the other hand, the existing deep unfolding network does not pay enough attention to the characteristics of the sampling stage and the high-frequency characteristics in the entire network, ignoring their impact on the final reconstruction accuracy. Summary of the invention
[0004] In order to solve at least one of the deficiencies of the prior art, an object of the present invention is to provide a compressed sensing image reconstruction method and system with multi-position feature enhancement, so as to improve the reconstruction accuracy while reducing the amount of calculation.
[0005] In order to achieve the above object, according to some embodiments, a first aspect of the present invention provides a compressed sensing image reconstruction method with multi-position feature enhancement, comprising:
[0006] Get the original image;
[0007] The original image is input into the image reconstruction model for reconstruction to obtain a reconstructed image;
[0008] Among them, the image reconstruction model includes a sampling module, an initialization reconstruction module and a deep reconstruction module connected in sequence; the deep reconstruction module includes a plurality of light recursive reconstruction blocks connected in sequence; each light recursive reconstruction block connects the reconstruction features output by the previous light recursive reconstruction block with the sampling features output by the sampling module to obtain a connection feature, and after recursively reconstructing the connection feature several times, a recursive reconstruction feature is obtained, and then the recursive reconstruction feature is connected to the connection feature to obtain the reconstruction feature of the light recursive reconstruction block.
[0009] A second aspect of the present invention provides a compressed sensing image reconstruction system with multi-position feature enhancement, comprising:
[0010] An image acquisition module is configured to acquire an original image;
[0011] A reconstruction module is configured to input the original image into the image reconstruction model for reconstruction to obtain a reconstructed image;
[0012] Among them, the image reconstruction model includes a sampling module, an initialization reconstruction module and a deep reconstruction module connected in sequence; the deep reconstruction module includes a plurality of light recursive reconstruction blocks connected in sequence; each light recursive reconstruction block connects the reconstruction features output by the previous light recursive reconstruction block with the sampling features output by the sampling module to obtain a connection feature, and after recursively reconstructing the connection feature several times, a recursive reconstruction feature is obtained, and then the recursive reconstruction feature is connected to the connection feature to obtain the reconstruction feature of the light recursive reconstruction block.
[0013] Compared with the prior art, the present invention has the following beneficial effects:
[0014] The present invention provides a method and system for compressed sensing image reconstruction with multi-position feature enhancement. A plurality of light recursive reconstruction blocks are set in the deep reconstruction module of the image reconstruction model. Compared with the general deep expansion network, the idea of intra-block recursion is added, that is, several recursive reconstructions are performed in each light recursive reconstruction block, so that multiple ordinary reconstruction processes can be effectively compressed, the number of network layers is reduced, the amount of calculation is reduced, and the image reconstruction time is saved. The input feature of each light recursive reconstruction block is the splicing feature of the output of the previous module and the sampling feature of the sampling module, and the reconstruction feature output by the light recursive reconstruction block is the result of the recursive reconstruction feature after recursive reconstruction and the splicing feature being connected. The features of different stages are fused at each position, and the sampling features of the sampling stage, the high-frequency features in the network (that is, the output of each light recursive reconstruction block input from the previous light recursive reconstruction block) and the process features (that is, the reconstruction features from each light recursive reconstruction block fused by the global feature fusion module) are fully utilized to improve the reconstruction accuracy.
[0015] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0017] Figure 1 is a schematic diagram of an image reconstruction model in Embodiment 1 of the present invention;
[0018] Figure 2 Schematic diagram of lightweight recursive reconstruction block;
[0019] Figure 3 Schematic diagram of the global feature fusion module;
[0020] Figure 4 Schematic diagram of the image reconstruction effect of the image reconstruction model provided by the present invention and other representative image compression sensing networks. DETAILED DESCRIPTION
[0021] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0022] Embodiment 1
[0023] Embodiment 1 of the present invention provides a method for compressive sensing image reconstruction with multi-position feature enhancement, comprising:
[0024] Get the original image;
[0025] The original image is input into the image reconstruction model for reconstruction to obtain a reconstructed image;
[0026] Among them, the image reconstruction model includes a sampling module, an initialization reconstruction module and a deep reconstruction module connected in sequence; the deep reconstruction module includes a plurality of light recursive reconstruction blocks connected in sequence; each light recursive reconstruction block connects the reconstruction features output by the previous light recursive reconstruction block with the sampling features output by the sampling module to obtain a connection feature, and after recursively reconstructing the connection feature several times, a recursive reconstruction feature is obtained, and then the recursive reconstruction feature is connected to the connection feature to obtain the reconstruction feature of the light recursive reconstruction block.
[0027] In order to improve the reconstruction accuracy in compressed sensing image reconstruction, reduce network redundancy, and improve computing efficiency, this embodiment designs a new image reconstruction model (lightweight image compressed sensing network model), named MPFA-Net. Figure 1As shown in the figure, the overall structure of the model is the same as the common depth expansion image compression sensing model, which includes three parts: sampling module, initialization reconstruction module and depth reconstruction module.
[0028] The sampling module and the initial reconstruction module are used to sample and initially reconstruct the input original image x to be reconstructed. Based on block compressed sensing (BCS), the original image of size H×W is divided into non-overlapping image blocks, the size of each image block is In the sampling and initialization reconstruction process, the operation is not based on the entire image, but on each non-overlapping image block after segmentation, which can greatly reduce the amount of calculation.
[0029] The sampling module is a convolutional neural network, which implements the sampling process on 32*32 blocks through two-dimensional convolution. The sampling module samples the input original image x and outputs the sampling result. The sampling process can be expressed as:
[0030] ;
[0031] Among them, y represents the sampling features output by the sampling module, represents the sampling matrix, and x represents the original image.
[0032] The initial reconstruction module is a convolutional neural network, and the initial reconstruction process is realized through the convolution transpose operation. The purpose of the initial reconstruction is to obtain the initial reconstruction result X0 for the subsequent deep reconstruction stage. The initial reconstruction process can be expressed as:
[0033] ;
[0034] Among them, X0 represents the initialization reconstruction result, represents the transpose of the sampling matrix, and y represents the sampling features output by the sampling module. After the initial reconstruction, it enters the deep reconstruction part.
[0035] The deep reconstruction module includes multiple light recursive reconstruction blocks connected in sequence. In the prior art, the deep unfolding network corresponds one iteration in the optimization process of the traditional optimization algorithm to a layer in the network. Usually, multiple network layers are stacked (i.e., the number of optimization iterations is increased) to enhance the reconstruction quality. However, a large number of network layers will increase the network computing cost and hardware burden. In order to reduce the amount of calculation, this embodiment designs a light recursive reconstruction block (LRM) in the deep reconstruction module, and adds an additional recursive reconstruction process within each light recursive reconstruction block.
[0036] like Figure 1 , Figure 2As shown in , the deep reconstruction module uses k light recursive reconstruction blocks to achieve deep reconstruction. The light recursive reconstruction block includes a Concat connection layer and several multi-dimensional reconstruction layers. Taking the kth light recursive reconstruction block as an example, Figure 2 As shown, the kth lightweight recursive reconstruction block LRM k The input is the previous (k-1th) lightweight recursive reconstruction block LRM k-1 The k-1th reconstructed feature X of the output k-1 (The first light recursive reconstruction block LRM1 uses the initial reconstruction result X0 as input) and the sampled feature y, and reconstructs the k-1th reconstructed feature X k-1 After gradient descent and proximal mapping, the sampled feature y after feature enhancement using a 3*3 convolutional network is connected through a Concat operation to obtain the kth connected feature X km , and input it into the multidimensional reconstruction layer for multidimensional residual reconstruction. Use several multidimensional reconstruction layers to perform multidimensional residual reconstruction on the connection features several times to obtain recursive reconstruction features, and convert the kth connection feature X km The k-th reconstructed feature X is skip-connected with the recursive reconstruction feature as the output of the k-th light recursive reconstruction block k .
[0037] In the lightweight recursive reconstruction block LRM, the simpler sampling feature y is reduced in dimension through the convolution operation, and the reconstructed features obtained by the upper network are enhanced while maintaining their dimensions. A learnable parameter is introduced so that the two can be adaptively spliced together for subsequent multidimensional reconstruction operations. Multidimensional reconstruction is achieved by residual blocks, and each multidimensional reconstruction layer is a residual block.
[0038] After each light recursive reconstruction block LRM performs a double feature (sampling feature and reconstruction feature output by the upper network) supplementation, it recursively performs multiple reconstruction operations. At the same time, in order to maintain the stability of the entire recursive neural network, recursive supervision is implemented in the light recursive reconstruction block. The supervision process is to pay attention to the similarity trend between the reconstruction result and the original image in the normal range during the recursive reconstruction process, and promptly correct the unstable factors of the network to prevent gradient explosion or gradient disappearance. The number of recursions (GT) in each light recursive reconstruction block is randomly determined and recorded, and the same number of recursions GT is specified for testing when testing model performance. The light recursive reconstruction block proposed in this embodiment improves the disadvantage of high computational complexity caused by only one reconstruction operation per layer of the existing deep expansion network. After feature enhancement through double feature supplementation, multiple reconstruction operations within the block are performed to make full use of the connection features, while improving the reconstruction accuracy, reducing the number of network layers and reducing the computational cost.
[0039] This embodiment also designs a global feature fusion module (GFFM) in the deep reconstruction module. The global feature fusion module is located after the light recursive reconstruction block and fuses the reconstruction results of each level.
[0040] After the initial reconstruction result X0 undergoes k light recursive reconstruction blocks, it is obtained There are k reconstruction features in total, and then the initial reconstruction result X0 is combined with the reconstruction features output by each light recursive reconstruction block They are input together into the global feature fusion module GFFM for global feature fusion.
[0041] In the existing deep expansion network, the intermediate results of each layer of the reconstruction network (the results of each iteration) are not fully utilized and are only used as transition input to the next layer of the network for further reconstruction. In order to enhance the utilization of high-frequency information in the reconstruction process and further improve the reconstruction accuracy, this embodiment designs a global feature fusion module GFFM to adaptively fuse features at different levels. Figure 3 As shown, the initial reconstruction result X0 and the reconstruction features output by each lightweight recursive reconstruction block are They are transmitted to the global feature fusion module GFFM together. At this time, the size of each input feature is H × W. The block idea is used for feature fusion to better capture the local detail features in the features.
[0042] Among all the features input into the global feature fusion module GFFM, the kth (i.e. the last) lightweight recursive reconstruction block LRM k The k-th reconstructed feature X of the output k The reconstruction accuracy is the best, and the k-th reconstruction feature X k As the benchmark for feature fusion, we can directly use other input features (initialized reconstruction result X0, and the reconstructed features output by the first k-1 light recursive reconstruction blocks) ) Maintain the original dimension for feature enhancement and reconstruct the kth feature X k The enhancement effect is not significant, and the improvement of the final reconstruction accuracy is not obvious. Therefore, this embodiment uses other input features ( ) to obtain the first fusion feature, and then combine the first fusion feature with the kth reconstruction feature X k The fusion is performed to obtain the second fusion feature as the reconstructed image output by the model.
[0043] Other input features ( ) is divided into non-overlapping blocks. The size of the blocks is selected according to actual needs and the impact on the results. A 3*3 convolution is used to extract the high-dimensional features of each block. After obtaining the high-dimensional features of each block, the corresponding blocks are fused block by block, that is, the high-dimensional features corresponding to each block are fused block by block to obtain other input features ( ) is called the first fusion feature, and the dimension and size of the first fusion feature are equal to those of each input feature.
[0044] Set the learnable weight parameter α to combine the first fusion feature with the kth reconstruction feature X k The k-th reconstructed feature X is weightedly fused to obtain the second fused feature, which is the reconstructed image output by the model. k The enhanced features are the k-th reconstruction features X k After convolution enhancement, the reconstructed image acquisition process can be expressed as:
[0045] ;
[0046] in, It represents the second fusion feature, that is, the output reconstructed image, Conv represents the convolution operation, α is the learnable weighting parameter, and E is the first fusion feature.
[0047] The global feature fusion module GFFM can adaptively fuse feature maps of each level and adaptively weight them according to the features of the local area, thereby improving the feature representation ability and making full use of the intermediate reconstruction results. It reduces the network memory burden while further improving the reconstruction accuracy and improving the performance of the model.
[0048] The image reconstruction model needs to be trained before use. This embodiment uses the BSD500 dataset (containing 400 images) to train the model. In the test phase, the Set11 dataset is used first and then the BSD68 dataset is used to avoid the possibility of inaccurate results due to the small number of test images. The performance of the model is measured by calculating the peak noise ratio (PSNR) and structural similarity (SSIM) of the reconstructed image. During the training process, the values of Batch_size (the size of the dataset input when training the network once) and Block_size (the block size in the sampling phase) need to be manually set according to the specific situation (training results and time on different devices). The number of network layers (that is, the number of light recursive reconstruction blocks) is set to 6 by default. The number of recursive reconstructions in each light recursive reconstruction block LRM is randomly selected from [1,4], and the model training rounds are set to 100 by default.
[0049] Table 1 and Table 2 are comparisons between the method of this embodiment and other methods. The results fully demonstrate the superiority of the method of this embodiment in the image reconstruction task.
[0050] Table 1 compares the peak noise ratio (PSNR) and structural similarity (SSIM) of the reconstructed images of the method of this embodiment and other representative image compression sensing networks (CS-Net+, SCS-Net, AMP-Net, and MSCRLNet are used for comparison here) in the Set5, Set11, and Urban100 datasets when the sampling rates are 0.05, 0.1, 0.2, 0.3, and 0.5, respectively, where the underline indicates the best effect.
[0051] Table 1. Comparison of image reconstruction results under different data sets and different sampling rates
[0052]
[0053] Table 2 shows the comparison results of the method of this embodiment and other representative image compression sensing networks (six networks, CS-Net+, SCS-Net, AMP-Net, COAST, FSOINet, and R-COAST, are used for comparison here) in terms of overall parameter quantity Para and storage space Size.
[0054] Table 2. Comparison results of different network models in terms of overall parameter quantity and storage space
[0055]
[0056] Figure 4 A schematic diagram showing the comparison of the image reconstruction effect of the image reconstruction model provided in this embodiment and other representative image compression sensing networks, as shown in FIG. Figure 4 As shown, the model provided in this embodiment can achieve good reconstruction effects, and has significantly improved processing of image edges and image details compared to other representative networks.
[0057] Embodiment 2
[0058] This embodiment provides a compressed sensing image reconstruction system with multi-position feature enhancement, including:
[0059] An image acquisition module is configured to acquire an original image;
[0060] A reconstruction module is configured to input the original image into the image reconstruction model for reconstruction to obtain a reconstructed image;
[0061] Among them, the image reconstruction model includes a sampling module, an initialization reconstruction module and a deep reconstruction module connected in sequence; the deep reconstruction module includes a plurality of light recursive reconstruction blocks connected in sequence; each light recursive reconstruction block connects the reconstruction features output by the previous light recursive reconstruction block with the sampling features output by the sampling module to obtain a connection feature, and after recursively reconstructing the connection feature several times, a recursive reconstruction feature is obtained, and then the recursive reconstruction feature is connected to the connection feature to obtain the reconstruction feature of the light recursive reconstruction block.
[0062] It should be noted here that the various modules in this embodiment correspond one-to-one to the steps of the method in Example 1, and the specific implementation process is the same, which will not be repeated here.
[0063] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. 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.
Claims
1. A compressed sensing image reconstruction method with multi-position feature enhancement, characterized in that: include: Get the original image; The original image is input into the image reconstruction model for reconstruction to obtain a reconstructed image; The image reconstruction model includes a sampling module, an initialization reconstruction module and a depth reconstruction module connected in sequence; the depth reconstruction module includes a plurality of light recursive reconstruction blocks connected in sequence; each light recursive reconstruction block connects the reconstruction features output by the previous light recursive reconstruction block with the sampling features output by the sampling module to obtain a connection feature, recursively reconstructs the connection feature several times to obtain a recursive reconstruction feature, and then connects the recursive reconstruction feature with the connection feature to obtain a reconstruction feature of the light recursive reconstruction block; The deep reconstruction module also includes a global feature fusion module, which is used to fuse the initialization reconstruction result output by the initialization reconstruction module with the reconstruction features output by each light recursive reconstruction block to obtain a reconstructed image; The process of obtaining the reconstructed image includes: when there are k light recursive reconstruction blocks connected in sequence, the initialization reconstruction result is fused with the reconstruction features output by the first k-1 light recursive reconstruction blocks to obtain a first fused feature, and then the first fused feature is fused with the kth reconstruction feature output by the kth light recursive reconstruction block to obtain a reconstructed image.
2. The method for compressive sensing image reconstruction with multi-position feature enhancement according to claim 1, characterized in that: The light recursive reconstruction block includes a connection layer and several multidimensional reconstruction layers. The connection layer is used to connect the reconstructed features output by the previous light recursive reconstruction block with the sampled features after feature enhancement after gradient descent and proximal mapping, and input them into the multidimensional reconstruction layer for reconstruction.
3. The method for compressive sensing image reconstruction with multi-position feature enhancement according to claim 2, characterized in that: The multi-dimensional reconstruction layer is a residual block.
4. The method for compressive sensing image reconstruction with multi-position feature enhancement according to claim 1, characterized in that: The process of fusing the initialization reconstruction result with the reconstruction features output by the first k-1 light recursive reconstruction blocks to obtain the first fused features includes: dividing the initialization reconstruction result and the reconstruction features output by the first k-1 light recursive reconstruction blocks into blocks, extracting high-dimensional features of each block respectively, and then fusing the high-dimensional features corresponding to each block block by block to obtain the first fused features.
5. A compressed sensing image reconstruction system with multi-position feature enhancement, characterized in that: include: An image acquisition module is configured to acquire an original image; A reconstruction module is configured to input the original image into the image reconstruction model for reconstruction to obtain a reconstructed image; The image reconstruction model includes a sampling module, an initialization reconstruction module and a depth reconstruction module connected in sequence; the depth reconstruction module includes a plurality of light recursive reconstruction blocks connected in sequence; each light recursive reconstruction block connects the reconstruction features output by the previous light recursive reconstruction block with the sampling features output by the sampling module to obtain a connection feature, recursively reconstructs the connection feature several times to obtain a recursive reconstruction feature, and then connects the recursive reconstruction feature with the connection feature to obtain a reconstruction feature of the light recursive reconstruction block; The deep reconstruction module also includes a global feature fusion module, which is used to fuse the initialization reconstruction result output by the initialization reconstruction module with the reconstruction features output by each light recursive reconstruction block to obtain a reconstructed image; The process of obtaining the reconstructed image includes: when there are k light recursive reconstruction blocks connected in sequence, the initialization reconstruction result is fused with the reconstruction features output by the first k-1 light recursive reconstruction blocks to obtain a first fused feature, and then the first fused feature is fused with the kth reconstruction feature output by the kth light recursive reconstruction block to obtain a reconstructed image.
6. The compressed sensing image reconstruction system with multi-position feature enhancement as claimed in claim 5, characterized in that: The light recursive reconstruction block includes a connection layer and several multidimensional reconstruction layers. The connection layer is used to connect the reconstructed features output by the previous light recursive reconstruction block with the sampled features after feature enhancement after gradient descent and proximal mapping, and input them into the multidimensional reconstruction layer for reconstruction.
Citation Information
Patent Citations
Distributed compression sensing method based on dynamic clustering in wireless sensor network
CN101841932A
Image super-resolution reconstruction system based on multi-stage recursive feature fusion and method thereof
CN109978785A
Multitask image reconstruction convolutional network model based on function module
CN111899165A
Image compressed sensing reconstruction method based on structure group sparse network
CN114821100A
Underwater block compressed sensing imaging method
CN114841880A
