Snapshot compression imaging method, device and system based on distributed reconstruction

The distributed reconstruction method separates the common information of multiple frames and the unique information of each frame, and uses the residual block and convolution layer to perform snapshot compression imaging reconstruction, which solves the problem of poor reconstruction flexibility in the existing technology and achieves more efficient and Flexible refactoring effects.

CN118587301APending Publication Date: 2024-09-03NANJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202410730632.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing snapshot compression imaging reconstruction methods based on deep learning have poor reconstruction flexibility, and the deep network needs to be redesigned and trained when the sampling rate changes, resulting in low reconstruction efficiency and poor flexibility.

Method used

A snapshot compression imaging method based on distributed reconstruction is used to observe the frame sequence using masks, separate the common information of multiple frames and the unique information of each frame for reconstruction, and use multiple residual blocks and convolution layers for reconstruction. The mean square error is used as the loss function for end-to-end training.

Benefits of technology

The reconstruction flexibility and quality are improved, the dependence on sampling rate changes is reduced, and the reconstruction efficiency and flexibility are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587301A
    Figure CN118587301A
Patent Text Reader

Abstract

The invention discloses a snapshot compression imaging method, device and system based on distributed reconstruction, and the method comprises the steps: observing a to-be-imaged frame sequence through a mask, and obtaining an observation value; preprocessing the observation value to obtain an estimated observation value of multi-frame common information and an estimated observation value of each frame specific information; reconstructing the estimated observation value of the multi-frame common information to obtain reconstructed multi-frame common information; and reconstructing the estimated observation value of the specific information of each frame and the reconstructed multi-frame common information to obtain each reconstructed frame. According to the method, overall reconstruction of the frame sequence is split, distributed reconstruction is carried out, good reconstruction quality can be obtained, reconstruction flexibility is improved, and the method is suitable for high-speed video imaging and hyperspectral imaging.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of computational imaging and image processing, and relates to a snapshot compression imaging method, device and system based on distributed reconstruction. Background Art

[0002] Multidimensional imaging technology is an image acquisition method that can capture and analyze multidimensional data beyond two-dimensional spatial images. These data include three-dimensional space, one-dimensional time, and dimensions of light wave physical quantities such as spectrum, phase and polarization. The amount of information is huge and cannot be fully perceived by the human eye. These data are widely used in remote sensing, medical treatment, food safety and other fields, and also play an important role in computer vision and pattern recognition. Therefore, multidimensional imaging technology has become a key technology for realizing the future intelligent society.

[0003] Traditional multi-dimensional imaging systems usually use multiple cameras or mechanical scanning for data acquisition, but there are problems such as slow speed, high system complexity and high cost. In recent years, with the development of computational imaging and compressed sensing theory, snapshot compression imaging technology has emerged. This technology uses hardware encoding and software decoding methods to obtain multi-dimensional information of the scene through only two-dimensional observation, which greatly improves the data acquisition speed and reduces the complexity of the system. Snapshot compression imaging has broad application prospects, mainly including high-speed video snapshot compression imaging and hyperspectral snapshot compression imaging.

[0004] Traditional snapshot compression imaging reconstruction algorithms use iterative optimization problem solving to reconstruct videos. However, their reconstruction efficiency is low and it is difficult to meet the needs of real-time application scenarios. Recently, snapshot compression imaging reconstruction algorithms based on deep learning have attracted widespread attention from researchers. By constructing a deep network with learnable parameters, the mapping of observation values ​​to video frame sequences is learned. The snapshot compression imaging reconstruction method based on deep learning has high reconstruction efficiency and good reconstruction quality, which can meet the needs of real-time applications. However, existing methods all use an overall reconstruction framework, which is highly coupled with the sampling rate. As a result, when the sampling rate changes, the deep network must be redesigned according to the sampling rate and the data training must be reprepared, which requires a lot of additional reconstruction time and poor reconstruction flexibility. Summary of the invention

[0005] The purpose of the present invention is to solve the problem of poor reconstruction flexibility in the existing snapshot compression imaging reconstruction method based on deep learning, and propose a snapshot compression imaging method, device and system based on distributed reconstruction. To achieve the above solution, the present invention adopts the following technical solutions:

[0006] A snapshot compression imaging method based on distributed reconstruction comprises the following steps:

[0007] The mask is used to observe the frame sequence to be imaged and obtain the observation value;

[0008] Preprocess the observation values ​​to obtain estimated observation values ​​of common information of multiple frames and estimated observation values ​​of unique information of each frame;

[0009] Reconstructing the estimated observation values ​​of the multi-frame common information to obtain the reconstructed multi-frame common information;

[0010] The estimated observation value of each frame-specific information and the reconstructed multi-frame common information are reconstructed to obtain each reconstructed frame.

[0011] Furthermore, the step of observing the frame sequence to be imaged by using a mask includes:

[0012] Using B random masks For B frame images Encode and then perform two-dimensional compression observation to obtain the observation value. The specific calculation formula is:

[0013]

[0014] Where y∈R w×h represents the observed value, c k ∈R w×h is the kth random mask, x k ∈R w×h is the kth image frame, w and h are the width and height of the image frame respectively, and ☉ represents the Hadamard product operation.

[0015] Furthermore, the specific calculation formula for obtaining the estimated observation value of the common information of multiple frames and the estimated observation value of the unique information of each frame is:

[0016]

[0017]

[0018] Among them, y c ∈R w×h represents the estimated observation value of the common information of multiple frames, represents the estimated observation value of the unique information of the kth frame.

[0019] Furthermore, the reconstructing the estimated observation value of the multi-frame common information includes:

[0020] The estimated observation value y of the common information of multiple frames c Input the multi-frame common information reconstruction module to obtain the reconstructed multi-frame common information x c ∈R w×h ;

[0021] The multi-frame common information reconstruction module includes a plurality of residual blocks, wherein each residual block is composed of a convolutional layer and an activation function.

[0022] Furthermore, the reconstructing the estimated observation value of each frame-specific information and the reconstructed multi-frame common information includes:

[0023] The estimated observation value y of each frame-specific information k s and the reconstructed multi-frame common information x c Input into each frame reconstruction module together to connect in the channel dimension;

[0024] The concatenated results are input into the subsequent residual block to obtain the reconstructed frames

[0025] Each frame reconstruction module includes a plurality of residual blocks, wherein each residual block is composed of a convolutional layer and an activation function.

[0026] Furthermore, each frame reconstructs the network, uses mean square error as a loss function, and uses a gradient descent algorithm to perform end-to-end training on the network.

[0027] A snapshot compression imaging device based on distributed reconstruction, comprising:

[0028] A random mask encoding module is used to encode the B frame image and perform two-dimensional compression observation to obtain observation values;

[0029] A snapshot compression imaging reconstruction network is used to reconstruct the encoded image;

[0030] The dataset construction module is used to store the constructed data pairs.

[0031] Furthermore, the data set construction module includes data pairs at different sampling rates, wherein the data pairs include: a frame sequence and observation values ​​of the frame sequence.

[0032] Furthermore, the snapshot compression imaging reconstruction network includes:

[0033] An observation value preprocessing module is used to obtain estimated observation values ​​of common information of multiple frames and estimated observation values ​​of unique information of each frame;

[0034] A multi-frame common information reconstruction module, used to obtain reconstructed multi-frame common information;

[0035] Each frame reconstruction module is used to input the estimated observation value of each frame's unique information and the reconstructed multi-frame common information together to obtain the reconstructed frames.

[0036] A snapshot compression imaging system based on distributed reconstruction comprises: a memory and a processor coupled to the memory, wherein the processor is configured to execute any one of the above-mentioned snapshot compression imaging methods based on distributed reconstruction based on instructions stored in the memory.

[0037] Compared with the prior art, the present invention has the following beneficial effects:

[0038] 1. In view of the problem that the existing method is highly coupled with the sampling rate and needs to be redesigned and trained when the sampling rate changes, the method of the present invention splits the overall reconstruction of the frame sequence and performs distributed reconstruction, which can effectively improve the reconstruction flexibility.

[0039] 2. In order to solve the problem that the existing methods do not fully utilize the spatiotemporal correlation of videos, resulting in low reconstruction quality, the method of the present invention first reconstructs the common information of multiple frames, and then reconstructs the unique information of each frame, making full use of the spatiotemporal correlation of videos, and can effectively improve the reconstruction quality while improving the flexibility of reconstruction. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0041] Figure 1 It is the overall system framework of the specific embodiment of the present invention;

[0042] Figure 2 A reconstructed network framework for a specific embodiment of the present invention;

[0043] Figure 3 A multi-frame common information reconstruction module according to a specific embodiment of the present invention;

[0044] Figure 4 is the residual block used in the specific embodiment of the present invention;

[0045] Figure 5 It is each frame reconstruction module of a specific embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0047] It should be noted here that in order to avoid obscuring the present invention due to unnecessary details, only structures and / or processing steps closely related to the scheme of the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.

[0048] In addition, it should be noted that the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus that includes 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 apparatus.

[0049] The embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings.

[0050] Example 1

[0051] like Figure 1 As shown, the method of the present invention specifically includes obtaining observation values, network construction process, data set construction and training process, and the steps are as follows:

[0052] 1. Get observations

[0053] In this embodiment, B random masks are used. For B frame images Encode and then perform two-dimensional compression observation to obtain the observation value. The specific calculation formula is:

[0054]

[0055] Where y∈R w×h represents the observed value, c k ∈R w×h is the kth random mask, x k ∈R w×h is the kth image frame (w and h are width and height respectively), ☉ represents the Hadamard product operation.

[0056] 2. Build a network

[0057] In this embodiment, the observation value is input into the observation value preprocessing module to obtain the estimated observation value y of the common information of multiple frames c ∈R w×h and the estimated observations of each frame-specific information

[0058]

[0059]

[0060] The estimated observation value y of the common information of multiple frames c Input the multi-frame common information reconstruction module to obtain the reconstructed multi-frame common information x c .

[0061] First, the estimated observations of each frame’s unique information are and the reconstructed multi-frame common information x cThe concatenated frames are input together and concatenated in the channel dimension. Then, the concatenated result is input into the subsequent residual block to obtain the reconstructed frames x k .

[0062] 3. Dataset Construction

[0063] The dataset contains data pairs at different sampling rates, and a data pair consists of a frame sequence and its observations.

[0064] 4. Training the network

[0065] In this embodiment, the mean square error is used as the loss function L, and the gradient descent algorithm is used to perform end-to-end training on the network:

[0066]

[0067] in, represents the square of the 2-norm.

[0068] like Figure 2 As shown, a snapshot compression imaging device based on distributed reconstruction includes:

[0069] A random mask encoding module is used to encode the B frame image and perform two-dimensional compression observation to obtain observation values;

[0070] A snapshot compression imaging reconstruction network is used to reconstruct the encoded image;

[0071] The dataset construction module is used to store the constructed data pairs.

[0072] The data set construction module includes data pairs at different sampling rates, wherein the data pairs include: a frame sequence and observation values ​​of the frame sequence.

[0073] The snapshot compression imaging reconstruction network comprises:

[0074] An observation value preprocessing module is used to obtain estimated observation values ​​of common information of multiple frames and estimated observation values ​​of unique information of each frame;

[0075] A multi-frame common information reconstruction module, used to obtain reconstructed multi-frame common information;

[0076] Each frame reconstruction module is used to input the estimated observation value of each frame's unique information and the reconstructed multi-frame common information together to obtain the reconstructed frames.

[0077] like Figure 3-Figure 5As shown in the figure, the multi-frame common information reconstruction module consists of 3 residual blocks (RB), each of which consists of a convolutional layer (Conv) (number of convolution kernels: 32, convolution kernel size: 3×3, step size: 1, padding: same) and a Relu activation function; each frame reconstruction module consists of 4 residual blocks (RB), each of which consists of a convolutional layer (Conv) (number of convolution kernels: 32, convolution kernel size: 3×3, step size: 1, padding: same) and a Relu activation function. Through residual connections, the gradient vanishing problem in deep neural networks can be alleviated. Its core idea is to construct a direct path by passing the input of the network directly to the output of the network, making it easier for the gradient to propagate through the entire network. This helps to avoid the problem of gradient vanishing or gradient exploding when training deep networks.

[0078] The computer-readable storage medium of this embodiment may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal; the computer-readable storage medium of this embodiment may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card, a secure digital card, a flash memory card, etc. equipped on the terminal; further, the computer-readable storage medium may also include both an internal storage unit of the terminal and an external storage device.

[0079] In this embodiment, the processor may be a central processing unit, or other general-purpose processors, digital signal processors, application-specific integrated circuits, readily available programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.

[0080] Those skilled in the art will appreciate that the disclosed content of the embodiments may be provided as methods, systems, or computer program products. Therefore, the present solution may adopt the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Moreover, the present solution may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program codes.

[0081] The present solution is described with reference to the flowchart and / or block diagram of the method and computer program product according to the embodiment of the present solution. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions; these computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0082] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0083] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0084] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0085] The examples described in the present invention are merely descriptions of the preferred implementation modes of the present invention, and are not intended to limit the concept and scope of the present invention. Without departing from the design concept of the present invention, various modifications and improvements made to the technical solutions of the present invention by engineers and technicians in this field should all fall within the protection scope of the present invention.

Claims

1. A snapshot compression imaging method based on distributed reconstruction, characterized in that: The following steps are involved: The mask is used to observe the frame sequence to be imaged and obtain the observation value; Preprocess the observation values ​​to obtain estimated observation values ​​of common information of multiple frames and estimated observation values ​​of unique information of each frame; Reconstructing the estimated observation values ​​of the multi-frame common information to obtain the reconstructed multi-frame common information; The estimated observation value of each frame-specific information and the reconstructed multi-frame common information are reconstructed to obtain each reconstructed frame.

2. The method according to claim 1, characterized in that The method of observing the frame sequence to be imaged by using a mask comprises: Using B random masks For B frame images Encode and then perform two-dimensional compression observation to obtain the observation value. The specific calculation formula is: Where y∈R w×h represents the observed value, c k ∈R w×h is the kth random mask, x k ∈R w×h is the kth image frame, w and h are the width and height of the image frame respectively, and ☉ represents the Hadamard product operation.

3. The method according to claim 1, characterized in that: The specific calculation formula for obtaining the estimated observation value of the common information of multiple frames and the estimated observation value of the unique information of each frame is: Among them, y c ∈R w×h represents the estimated observation value of the common information of multiple frames, represents the estimated observation value of the unique information of the kth frame.

4. The method according to claim 1, characterized in that The reconstructing the estimated observation value of the multi-frame common information includes: The estimated observation value y of the common information of multiple frames c Input the multi-frame common information reconstruction module to obtain the reconstructed multi-frame common information x c ∈R w×h ; The multi-frame common information reconstruction module includes a plurality of residual blocks, wherein each residual block is composed of a convolutional layer and an activation function.

5. The method according to claim 1, characterized in that The reconstructing the estimated observation value of each frame-specific information and the reconstructed multi-frame common information includes: The estimated observation value y of each frame-specific information k s and the reconstructed multi-frame common information x c Input into each frame reconstruction module together to connect in the channel dimension; The concatenated results are input into the subsequent residual block to obtain the reconstructed frames Each frame reconstruction module includes a plurality of residual blocks, wherein each residual block is composed of a convolutional layer and an activation function.

6. The method according to claim 1, characterized in that The frame reconstruction network uses mean square error as the loss function and uses a gradient descent algorithm to train the network.

7. A snapshot compression imaging device based on distributed reconstruction, characterized in that: include: A random mask encoding module is used to encode the B frame image and perform two-dimensional compression observation to obtain observation values; A snapshot compression imaging reconstruction network is used to reconstruct the encoded image; The dataset construction module is used to store the constructed data pairs.

8. The device according to claim 7, characterized in that The data set construction module includes data pairs at different sampling rates, wherein the data pairs include: a frame sequence and observation values ​​of the frame sequence.

9. The device according to claim 8, characterized in that The snapshot compression imaging reconstruction network comprises: An observation value preprocessing module is used to obtain estimated observation values ​​of common information of multiple frames and estimated observation values ​​of unique information of each frame; A multi-frame common information reconstruction module, used to obtain reconstructed multi-frame common information; Each frame reconstruction module is used to input the estimated observation value of each frame's unique information and the reconstructed multi-frame common information together to obtain the reconstructed frames.

10. A snapshot compression imaging system based on distributed reconstruction, characterized in that: include: A memory and a processor coupled to the memory, wherein the processor is configured to execute the snapshot compression imaging method based on distributed reconstruction according to any one of claims 1 to 6 based on instructions stored in the memory.

Citation Information

Cited By

  • Microscopic imaging device

    CN120102542A

  • A microscope imaging device

    CN120102542B

  • Video snapshot compression imaging method, device and system based on motion consistency verification

    CN122093579A

  • Adaptive video snapshot compression imaging method and system based on inter-group correlation, medium and computer device

    CN122179675A

  • An adaptive video snapshot compression imaging method, system, medium and computer device based on inter-group correlation

    CN122179675B