Image sparse reconstruction method based on attention mechanism

Through the sparse image reconstruction method based on the attention mechanism, the image saliency map and the random measurement matrix are used for multi-scale compression measurement, which solves the problems of low image reconstruction quality and waste of resources in the existing technology, and achieves efficient target detection and background distinction. .

CN114820850BActive Publication Date: 2024-09-13NAT UNIV OF DEFENSE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210415002.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-20
Publication Date
2024-09-13
Estimated Expiration
2042-04-20

AI Technical Summary

Technical Problem

Existing image sparse reconstruction methods based on optimization and greedy algorithms are time-consuming and have poor image quality at low measurement rates. Deep learning-based methods fail to effectively utilize visual salience features, resulting in a waste of resources, and cannot be used in the compression reconstruction process. Extract the distinction between the target of interest and the background.

Method used

An image sparse reconstruction method based on the attention mechanism is adopted, by extracting the image saliency map, segmenting it into slices and classifying the image slices according to the saliency map number, using a random measurement matrix for multi-scale compression measurement and reconstruction, and combining the visual attention model to extract the sense Target location of interest.

Benefits of technology

It improves the quality of image reconstruction, reduces the amount of calculation and resource consumption, realizes target detection during the reconstruction process, and can effectively distinguish the target of interest from the background.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114820850B
    Figure CN114820850B
Patent Text Reader

Abstract

The present invention discloses an image sparse reconstruction method based on an attention mechanism, comprising: obtaining an original image, extracting an area where an object of interest exists, and generating an image saliency map; dividing the image saliency map into a plurality of saliency map slices of preset pixel size and non-overlapping, and numbering the saliency map slices; dividing the original image into a plurality of original image slices of preset pixel size and non-overlapping, numbering the original image slices, and classifying the original image slices; performing multi-scale compression measurement on the original image slices using a random measurement matrix, and obtaining measurement vectors of the original image slices; reconstructing the measurement vectors of the original image slices, and obtaining reconstructed image slices; splicing the reconstructed image slices, and obtaining a reconstructed image; extracting the position of the object of interest in the reconstructed image according to the saliency map slices. The present invention can reduce the amount of calculation and resource consumption while improving the overall image reconstruction quality, and realize target detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to an image sparse reconstruction method based on an attention mechanism. Background Art

[0002] With the continuous development of satellite-borne imaging systems, the ability of satellite-borne imaging systems to acquire data is constantly improving. While satellite-borne imaging systems pursue higher spatial resolution, spectral resolution, and temporal resolution, the amount of image data to be processed is also large due to the large range of imaging systems, and higher-resolution image data will also increase exponentially.

[0003] Traditionally, image data processing is performed using a data sampling method based on the Nyquist sampling theorem. However, according to the Nyquist sampling theorem, the data sampling rate must not be less than twice the signal bandwidth. This will undoubtedly place higher requirements on the processing capabilities of remote sensing signals and also pose a great challenge to the corresponding onboard equipment. In order to overcome the problem of sampling rate limitation in the traditional data sampling method based on Nyquist sampling theorem, a compressed sensing theory has been proposed. For example, the compressed sensing theory proposed in the prior art document "EJ Candes. Compressive sampling [C]. International Congress of Mathematicians, Madrid, Spain, 2006, 3: 1433-1452. DL Donoho. Compressed sensing [J]. IEEE Trans. on Information Theory. 2006, 52 (4): 1289-1306" points out that as long as the signal is compressible or sparse in a certain transform domain, then a measurement matrix unrelated to the transform basis can be used to project the transformed high-dimensional signal onto a low-dimensional space, and then the original signal can be reconstructed with high probability from these small number of projections by solving an optimization problem. It can be proved that such projections contain sufficient information for reconstructing the signal. Moreover, the compressed sensing theory can realize the compression of the signal while the signal is being sampled, combining the compression and sampling processes into one, which greatly saves the storage space of the collected signal.

[0004] At present, the methods of target reconstruction using compressed sensing theory are mainly divided into two categories, including: image sparse reconstruction methods based on optimization and greedy algorithms and image sparse reconstruction methods based on deep learning. However, the existing image sparse reconstruction methods based on optimization and greedy algorithms require complex iterative operations, which have high time consumption and computational complexity. At a low measurement rate, the quality of the reconstructed image is relatively poor, and the memory required in the application process is large. It has certain limitations in the remote sensing field that requires fast image acquisition. Although the image sparse reconstruction method based on deep learning method has better performance than the image sparse reconstruction method based on optimization and greedy algorithms in data experimental comparison, the image sparse reconstruction method based on deep learning method uses the same measurement rate to sample and compress the entire image during the application process, and then reconstructs the entire image without considering visual saliency features, which will seriously cause a waste of resources. In addition, both existing methods cannot extract the target of interest in the image during the compression reconstruction process, and cannot effectively distinguish the target of interest from the background in the image. Summary of the invention

[0005] In order to solve some or all of the technical problems existing in the above-mentioned prior art, the present invention provides an image sparse reconstruction method based on an attention mechanism.

[0006] The technical solution of the present invention is as follows:

[0007] A method for image sparse reconstruction based on an attention mechanism is provided, the method comprising:

[0008] Get the original image, extract the area where the target of interest is located, and generate an image saliency map;

[0009] Dividing the image saliency map into a plurality of saliency map slices of preset pixel size and non-overlapping, and numbering the saliency map slices according to a preset numbering method;

[0010] The original image is divided into a plurality of original image slices of the preset pixel size and non-overlapping, the original image slices are numbered according to the preset numbering method, the original image slices are classified according to the numbers of the saliency map slices containing the object of interest, and the original image slices containing the object of interest and the original image slices containing only background information are determined;

[0011] For the original image slices containing the object of interest and the original image slices containing only background information, a random measurement matrix is ​​set, and the random measurement matrix is ​​used to perform multi-scale compression measurement on the original image slices to obtain a measurement vector of each of the original image slices;

[0012] Reconstructing the measurement vector of the original image slice to obtain a reconstructed image slice;

[0013] splicing the reconstructed image slices to obtain a reconstructed image;

[0014] The position of the object of interest in the reconstructed image is extracted according to the position of the saliency map slice containing the object of interest in the image saliency map.

[0015] In some possible implementations, a visual attention model is used in combination with global information to extract regions where objects of interest exist.

[0016] In some possible implementations, dividing the image saliency map into a plurality of saliency map slices having a preset pixel size and not overlapping each other, and numbering the saliency map slices according to a preset numbering method, includes:

[0017] The image saliency map is divided into a plurality of saliency map slices with a pixel size of n×n and no overlap, and the saliency map slices are numbered in a left-to-right and bottom-to-top order according to their positions in the image saliency map.

[0018] In some possible implementations, dividing the original image into a plurality of original image slices having the preset pixel size and not overlapping each other, and numbering the original image slices according to the preset numbering method, includes:

[0019] The original image is divided into a plurality of original image slices with a pixel size of n×n and non-overlapping, and the original image slices are numbered in a sequence from left to right and from bottom to top according to positions of the original image slices in the original image.

[0020] In some possible implementations, the classifying the original image slices according to the serial numbers of the saliency map slices containing the object of interest to determine the original image slices containing the object of interest and the original image slices containing only background information includes:

[0021] According to the number of the saliency map slice containing the target of interest, when the number of the original image slice is the same as the number of the saliency map slice containing the target of interest, the current original image slice is determined as the original image slice containing the target of interest; when the number of the original image slice is different from the number of the saliency map slice containing the target of interest, the current original image slice is determined as the original image slice containing only background information.

[0022] In some possible implementations, performing multi-scale compression measurement on the original image slices using the random measurement matrix to obtain a measurement vector of each of the original image slices includes:

[0023] Each of the original image slices is transformed into a column vector by matrix vectorization processing, and the following formula is used to perform multi-scale compression measurement on the original image slice to obtain a measurement vector of each of the original image slices;

[0024]

[0025] Among them, y i represents the measurement vector of the original image slice, Φ1 represents the random measurement matrix corresponding to the original image slice containing the target of interest, and Φ2 represents the random measurement matrix corresponding to the original image slice containing only background information. R represents a real number set, N represents the number of pixels of the original image slice, M1 and M2 represent the size of the measurement vector, M1>M2, x i Column vector representing the original image slices.

[0026] In some possible implementations, the random measurement matrix is ​​a Gaussian random matrix.

[0027] In some possible implementations, when the reconstructed image slices are stitched together, an image denoising algorithm is used to remove block artifacts.

[0028] In some possible implementations, the image denoising algorithm includes a three-dimensional block matching algorithm.

[0029] In some possible implementations, extracting the position of the object of interest in the reconstructed image according to the position of the saliency map slice containing the object of interest in the image saliency map includes:

[0030] According to the position of the saliency map slice containing the target of interest in the image saliency map, the two-dimensional coordinate data included in the saliency map slice containing the target of interest in the set image two-dimensional coordinate system is determined, and the area with the same two-dimensional coordinate data in the reconstructed image is extracted to obtain the position area of ​​the target of interest in the reconstructed image.

[0031] The main advantages of the technical solution of the present invention are as follows:

[0032] The image sparse reconstruction method based on the attention mechanism of the present invention classifies the original image slices according to the extracted image saliency map, and measures and reconstructs the original image slices using a multi-scale measurement matrix. It can balance the reconstruction level of each image slice and improve the overall image reconstruction quality. It can reduce the amount of calculation and reduce resource consumption without affecting the subsequent image interpretation. At the same time, according to the image saliency map, the target location area in the reconstructed image can be directly extracted, and target detection can be achieved while reconstructing the original image, so as to obtain a reconstructed image containing the target detection result. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The drawings described herein are used to provide a further understanding of the embodiments of the present invention and constitute a part 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 an improper limitation of the present invention. In the drawings:

[0034] Figure 1 This is a flowchart of an image sparse reconstruction method based on an attention mechanism according to an embodiment of the present invention.

[0035] Figure 2 The present invention is a schematic diagram of extracting a region of interest in an image according to an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0037] The technical solution provided by the embodiments of the present invention is described in detail below with reference to the accompanying drawings.

[0038] See also Figure 1 An embodiment of the present invention provides an image sparse reconstruction method based on an attention mechanism, the method comprising the following steps:

[0039] S1, obtain the original image, extract the area where the object of interest exists, and generate the image saliency map;

[0040] S2, dividing the image saliency map into a plurality of saliency map slices of preset pixel size and non-overlapping, and numbering the saliency map slices according to a preset numbering method;

[0041] S3, dividing the original image into a plurality of original image slices of preset pixel size and non-overlapping, numbering the original image slices according to a preset numbering method, classifying the original image slices according to the numbers of the saliency map slices containing the object of interest, and determining the original image slices containing the object of interest and the original image slices containing only background information;

[0042] S4, for the original image slices containing the object of interest and the original image slices containing only background information, a random measurement matrix is ​​set, and the original image slices are subjected to multi-scale compression measurement using the random measurement matrix to obtain a measurement vector of each original image slice;

[0043] S5, reconstructing the measurement vector of the original image slice to obtain a reconstructed image slice;

[0044] S6, stitching the reconstructed image slices to obtain a reconstructed image;

[0045] S7, extracting the position of the object of interest in the reconstructed image according to the position of the saliency map slice containing the object of interest in the image saliency map.

[0046] An image sparse reconstruction method based on an attention mechanism provided by an embodiment of the present invention classifies original image slices according to the extracted image saliency map, measures and reconstructs the original image slices using a multi-scale measurement matrix, can balance the reconstruction level of each image slice, improve the overall image reconstruction quality, and reduce the amount of calculation and resource consumption without affecting subsequent image interpretation; at the same time, according to the image saliency map, the target location area in the reconstructed image can be directly extracted, and target detection can be achieved while reconstructing the original image, thereby obtaining a reconstructed image containing the target detection result.

[0047] The following is a detailed description of the steps and principles of the image sparse reconstruction method based on the attention mechanism provided by one embodiment of the present invention.

[0048] Step S1, obtain the original image, extract the area where the object of interest exists, and generate an image saliency map.

[0049] In many resource-constrained applications, we may only be interested in certain contents of the image scene, and the processing of the image is also targeted at a specific target in the image, such as "where is a specific object in the image" or "what the person in the image is doing", rather than the exact value of all pixels in the image. In this case, we hope to obtain as few measurements as possible while still being able to recover an image that retains enough information about the scene target of interest. Especially for large-size images, the target often only occupies a small part of the image, and most of the rest is background. In practical applications, a higher measurement rate can be given to the target and a smaller measurement rate can be given to the background. Therefore, if different measurement rates can be used to sample the target and background in the image separately when acquiring the image, storage resources can be saved and subsequent workload can be reduced while providing high-quality reconstruction useful for image interpretation tasks.

[0050] The visual attention mechanism originates from the study of human vision and is the guarantee of efficiency and reliability in the process of human visual perception. In cognitive science, due to the bottleneck of information processing, humans selectively focus on and keep the useful parts of a large amount of external input information, while ignoring other useless information. In the field of computer vision, the attention mechanism is introduced to process visual information. Attention is a mechanism or methodology, and there is no strict mathematical definition. For example, traditional local image feature extraction, saliency detection, sliding window method, etc. can all be regarded as an attention mechanism.

[0051] In one embodiment of the present invention, for the acquired original image, a visual attention model can be used in combination with global information to extract the area where the object of interest exists, so as to generate an image saliency map.

[0052] For how to use the visual attention model combined with global information to extract the area where the target of interest exists, the corresponding processing algorithm can refer to the existing technical literature: Feng M, Lu H, Ding E. Attentive Feedback Network for Boundary-Aware Salient Object Detection[C] / / 2019IEEE / CVF Conference on Computer Vision and Pattern Recognition(CVPR).IEEE,2020.

[0053] Step S2: Segment the image saliency map into a plurality of saliency map slices of preset pixel size and non-overlapping, and number the saliency map slices according to a preset numbering method.

[0054] Specifically, the image saliency map is divided into a plurality of saliency map slices of preset pixel size and non-overlapping, and the saliency map slices are numbered according to a preset numbering method, including:

[0055] The image saliency map is divided into multiple saliency map slices with a pixel size of n×n and no overlap, and the saliency map slices are numbered from left to right and from bottom to top according to their positions in the image saliency map.

[0056] The pixel size of the saliency map slice can be specifically set according to the actual pixel size of the original image. For example, when the pixel size of the original image is 256×256, the pixel size of the saliency map slice can be set to 32×32. At this time, the image saliency map can be divided into 64 saliency map slices, and the corresponding saliency map slices are numbered from 1 to 64.

[0057] Step S3, dividing the original image into a plurality of original image slices of preset pixel size and non-overlapping, numbering the original image slices according to a preset numbering method, classifying the original image slices according to the numbers of the saliency map slices containing the target of interest, and determining the original image slices containing the target of interest and the original image slices containing only background information.

[0058] Specifically, the original image is divided into a plurality of original image slices of preset pixel size and non-overlapping, and the original image slices are numbered according to a preset numbering method, including:

[0059] The original image is divided into a plurality of original image slices with a pixel size of n×n and which do not overlap each other, and the original image slices are numbered in a sequence from left to right and from bottom to top according to their positions in the original image.

[0060] In one embodiment of the present invention, in order to facilitate the subsequent classification of original image slices according to the numbers of salient map slices containing targets of interest, so as to determine original image slices containing targets of interest and original image slices containing only background information, when segmenting the original image, the pixel size of the segmented original image slices is the same as that of the salient map slices, and both use the same numbering method.

[0061] Furthermore, when the saliency map slices and the original image slices are obtained by the same segmentation method, the original image slices are classified according to the numbers of the saliency map slices containing the target of interest, and the original image slices containing the target of interest and the original image slices containing only the background information are determined, including:

[0062] According to the number of the saliency map slice containing the target of interest, when the number of the original image slice is the same as the number of the saliency map slice containing the target of interest, the current original image slice is determined as the original image slice containing the target of interest; when the number of the original image slice is different from the number of the saliency map slice containing the target of interest, the current original image slice is determined as the original image slice containing only background information.

[0063] Step S4, for the original image slices containing the object of interest and the original image slices containing only background information, a random measurement matrix is ​​set, and the original image slices are subjected to multi-scale compression measurement using the random measurement matrix to obtain a measurement vector of each original image slice.

[0064] In the process of compression measurement, more measurements can be performed on the target area of ​​interest to achieve better reconstruction, while fewer measurements are required for useless background information. In one embodiment of the present invention, by adaptively allocating the number of measurements of each original image slice, the reconstruction level of each original image slice can be balanced, which can improve the overall image reconstruction quality and reduce resource consumption.

[0065] Specifically, for the original image slice containing the object of interest and the original image slice containing only background information, two random observation matrices are set: and Among them, Φ1 is the random measurement matrix corresponding to the original image slice containing the target of interest, Φ2 is the random measurement matrix corresponding to the original image slice containing only background information, R represents a real number set, N represents the number of pixels of the original image slice, M1 and M2 represent the size of the measurement vector, M1>M2. According to the above settings, the random measurement matrix Φ1 has more measurement values ​​than Φ2.

[0066] Based on the above setting, in one embodiment of the present invention, using a random measurement matrix to perform multi-scale compression measurement on the original image slice to obtain a measurement vector of each original image slice may include:

[0067] Each original image slice is transformed into a column vector by matrix vectorization processing, and the original image slice is subjected to multi-scale compression measurement using the following formula to obtain a measurement vector of each original image slice;

[0068]

[0069] Among them, y i represents the measurement vector of the original image slice, x i Column vector representing the original image slices.

[0070] In one embodiment of the present invention, the random measurement matrix may adopt a theoretically optimal Gaussian random matrix. For how to determine the Gaussian random matrix, reference may be made to the prior art document: Candès EJ, Wakin M B. An introduction to compressive sampling [J]. IEEE signal processing magazine, 2008, 25 (2): 21-30.

[0071] Step S5, reconstructing the measurement vector of the original image slice to obtain a reconstructed image slice.

[0072] In an embodiment of the present invention, any existing reconstruction algorithm may be used to reconstruct the measurement vector of the original image slice to obtain the reconstructed image slice.

[0073] The existing reconstruction algorithm may be, for example, the matching pursuit algorithm OMP disclosed in the prior art document “Greed is good: algorithmic results for sparse approximation [J]. IEEE Transactions on Information Theory, 2004, 50 (10): 2231-2242”, or the stacked autoencoder SDA method for recovering structured signals from undersampled measurements disclosed in the prior art document “A deep learning approach to structured signal recovery [C] / / 2015 53rd Annual Allerton Conference on Communication, Control, and Computing (Allerton). IEEE, 2015: 1336-1343”.

[0074] Optionally, in one embodiment of the present invention, a sparse reconstruction method based on deep learning is used to reconstruct the measurement vector of the original image slice to obtain a reconstructed image slice.

[0075] Specifically, a sparse reconstruction method based on deep learning is used to reconstruct the measurement vector of the original image slice to obtain the reconstructed image slice, including:

[0076] Acquire multiple training data, build and initialize a deep convolutional neural network sparse reconstruction model, design an objective function for optimizing network model parameters, train the deep convolutional neural network sparse reconstruction model using multiple training data to fit the mapping relationship between the measurement vector of the original image slice and the reconstructed image slice, and obtain the reconstructed image slice using the trained deep convolutional neural network sparse reconstruction model according to the measurement vector of the original image slice.

[0077] The training data includes the measurement vector of the image slice and its corresponding reconstructed image slice. The training data can be real data or simulation data obtained through various means.

[0078] Step S6, stitching the reconstructed image slices to obtain a reconstructed image.

[0079] Specifically, in order to further improve the quality of the acquired reconstructed image, when the reconstructed image slices are spliced, an image denoising algorithm may be used to remove block artifacts.

[0080] Optionally, the image denoising algorithm includes a three-dimensional block matching algorithm.

[0081] For how to use image denoising algorithm to remove block artifacts, please refer to the existing technical literature: Image Denoising by Sparse 3-D Transform-Domain Collaborative Filtering [J]. IEEE Transactions on Image Processing, 2007, 16 (8): 2080-2095.

[0082] Step S7: extracting the position of the object of interest in the reconstructed image according to the position of the saliency map slice containing the object of interest in the image saliency map.

[0083] Specifically, according to the position of the saliency map slice containing the object of interest in the image saliency map, the position of the object of interest in the reconstructed image is extracted, including:

[0084] According to the position of the saliency map slice containing the target of interest in the image saliency map, the two-dimensional coordinate data included in the saliency map slice containing the target of interest in the set image two-dimensional coordinate system is determined, and the area with the same two-dimensional coordinate data in the reconstructed image is extracted to obtain the position area of ​​the target of interest in the reconstructed image.

[0085] See also Figure 2 , taking the original image as a square image, the image is divided into 64 image slices, and the 64 image slices are numbered in order from left to right and from bottom to top. For example, a corner point of the image can be used as the origin, and the two intersecting boundary lines in the image are used as the x-axis and the y-axis to construct an image two-dimensional coordinate system. When the target of interest is an airplane, the salient map slices containing the target of interest are numbered 28, 29, 30, 36, 37, 38, 44, 45, and 46. The two-dimensional coordinate data included in these salient map slices in the constructed image two-dimensional coordinate system are determined, and the area with the same two-dimensional coordinate data in the reconstructed image in the same image two-dimensional coordinate system is extracted to obtain the position area of ​​the target of interest in the reconstructed image.

[0086] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In addition, "front", "back", "left", "right", "upper" and "lower" in this article are all referenced to the placement state shown in the accompanying drawings.

[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for image sparse reconstruction based on attention mechanism, characterized in that: The method comprises: Get the original image, extract the area where the target of interest is located, and generate an image saliency map; Dividing the image saliency map into a plurality of saliency map slices of preset pixel size and non-overlapping, and numbering the saliency map slices according to a preset numbering method; The original image is divided into a plurality of original image slices of the preset pixel size and non-overlapping, the original image slices are numbered according to the preset numbering method, the original image slices are classified according to the numbers of the saliency map slices containing the object of interest, and the original image slices containing the object of interest and the original image slices containing only background information are determined; For the original image slices containing the object of interest and the original image slices containing only background information, a random measurement matrix is ​​set, and the random measurement matrix is ​​used to perform multi-scale compression measurement on the original image slices to obtain a measurement vector of each of the original image slices; Reconstructing the measurement vector of the original image slice to obtain a reconstructed image slice; splicing the reconstructed image slices to obtain a reconstructed image; The position of the object of interest in the reconstructed image is extracted according to the position of the saliency map slice containing the object of interest in the image saliency map.

2. The image sparse reconstruction method based on the attention mechanism according to claim 1, characterized in that: The visual attention model is combined with global information to extract the area where the object of interest exists.

3. The image sparse reconstruction method based on the attention mechanism according to claim 1, characterized in that: The step of dividing the image saliency map into a plurality of saliency map slices having a preset pixel size and not overlapping each other, and numbering the saliency map slices according to a preset numbering method, comprises: The image saliency map is divided into a plurality of saliency map slices with a pixel size of n×n and no overlap, and the saliency map slices are numbered in a left-to-right and bottom-to-top order according to their positions in the image saliency map.

4. The image sparse reconstruction method based on the attention mechanism according to claim 3 is characterized in that: The step of dividing the original image into a plurality of original image slices having the preset pixel size and not overlapping each other, and numbering the original image slices according to the preset numbering method, comprises: The original image is divided into a plurality of original image slices with a pixel size of n×n and non-overlapping, and the original image slices are numbered in a sequence from left to right and from bottom to top according to positions of the original image slices in the original image.

5. The image sparse reconstruction method based on the attention mechanism according to claim 4, characterized in that: The method of classifying the original image slices according to the serial numbers of the saliency map slices containing the target of interest and determining the original image slices containing the target of interest and the original image slices containing only background information includes: According to the number of the saliency map slice containing the target of interest, when the number of the original image slice is the same as the number of the saliency map slice containing the target of interest, the current original image slice is determined as the original image slice containing the target of interest; when the number of the original image slice is different from the number of the saliency map slice containing the target of interest, the current original image slice is determined as the original image slice containing only background information.

6. The image sparse reconstruction method based on the attention mechanism according to claim 1, characterized in that: The using the random measurement matrix to perform multi-scale compression measurement on the original image slices to obtain a measurement vector of each original image slice includes: Each of the original image slices is transformed into a column vector by matrix vectorization processing, and the following formula is used to perform multi-scale compression measurement on the original image slice to obtain a measurement vector of each of the original image slices; Among them, y i represents the measurement vector of the original image slice, Φ1 represents the random measurement matrix corresponding to the original image slice containing the target of interest, and Φ2 represents the random measurement matrix corresponding to the original image slice containing only background information. R represents a real number set, N represents the number of pixels of the original image slice, M1 and M2 represent the size of the measurement vector, M1>M2, x i Column vector representing the original image slices.

7. The image sparse reconstruction method based on the attention mechanism according to claim 6, characterized in that: The random measurement matrix is ​​a Gaussian random matrix.

8. The image sparse reconstruction method based on the attention mechanism according to any one of claims 1 to 7, characterized in that: When the reconstructed image slices are stitched together, an image denoising algorithm is used to remove block artifacts.

9. The image sparse reconstruction method based on the attention mechanism according to claim 8, characterized in that: The image denoising algorithm includes a three-dimensional block matching algorithm.

10. The image sparse reconstruction method based on the attention mechanism according to any one of claims 1 to 9, characterized in that: The step of extracting the position of the object of interest in the reconstructed image according to the position of the saliency map slice containing the object of interest in the image saliency map comprises: According to the position of the saliency map slice containing the target of interest in the image saliency map, the two-dimensional coordinate data included in the saliency map slice containing the target of interest in the set image two-dimensional coordinate system is determined, and the area with the same two-dimensional coordinate data in the reconstructed image is extracted to obtain the position area of ​​the target of interest in the reconstructed image.