Spectral imaging acceleration method and device

Neural network technology uses the temporal redundancy and spectral domain redundancy of the spectral imaging system to infer the missing parts of the spectral image, solving the problem of difficulty in balancing spectral imaging speed and spatial resolution, and achieving efficient spectral imaging acceleration.

CN114972290BActive Publication Date: 2024-10-29BEIJING INST OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210662162.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-13
Publication Date
2024-10-29
Estimated Expiration
2042-06-13

AI Technical Summary

Technical Problem

Spectral imaging faces the dilemma of being unable to balance spatial resolution, temporal resolution and system cost. It is difficult for existing technologies to maintain high spatial resolution when increasing imaging speed.

Method used

Using neural network technology, based on the sequence of spectral images corresponding to the spectral segments obtained at different times by the spectral imaging system, the time domain redundancy and spectral domain redundancy are used to infer the missing moments of each spectral segment or the target scene spectral image of the missing spectral segments at each moment. , construct a spectral image generation network to achieve spectral imaging acceleration.

Benefits of technology

The speed of spectral imaging is significantly improved without losing spatial resolution, and rapid generation of spectral imaging is achieved through parallel operations and efficient inference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114972290B_ABST
    Figure CN114972290B_ABST
Patent Text Reader

Abstract

The present invention proposes a spectral imaging acceleration method and device, wherein the method includes: obtaining a scene data set to be trained; constructing a spectral image generation network, inputting a moment reference map and a spectral reference map into the spectral image generation network, and outputting a spectral image corresponding to the moment reference map and a spectral segment corresponding to the spectral reference map; training the spectral image generation network according to the scene data set to be trained until convergence, and obtaining a trained spectral image generation network; obtaining a spectral image sequence corresponding to the spectral segment of the target scene at different moments, combining the spectral images corresponding to the spectral segment of the target scene at different moments in pairs, and inputting them into the trained spectral image generation network, and obtaining a full-time full-spectral image group to achieve spectral imaging acceleration. The spectral imaging acceleration method of the present invention effectively improves the spectral imaging speed without losing spatial resolution, and the present invention can achieve a maximum acceleration multiple of spectral imaging equal to the number of spectral channels of the spectral camera used.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of computational photography. Background Art

[0002] Traditional RGB three-channel cameras mainly collect scene information in the red, green, and blue bands based on the characteristics of human vision. Spectral cameras can collect more detailed wide-spectrum information to form multiple spectral channel images. Since spectral images contain much more scene information than images taken by traditional cameras, spectral imaging has a wide range of applications and great development potential in agriculture, biology, materials, medicine, military and other fields.

[0003] Spectral cameras are generally based on CMOS or CCD sensors, and use spatial scanning, spectral scanning or compressed snapshot methods to collect scene information of multiple spectral channels.

[0004] Spatial scanning can be divided into point scanning and line scanning modes. Point scanning captures the full spectrum information on one pixel at a time, while line scanning captures one line at a time. Its imaging speed is faster than point scanning and is the most commonly used spatial scanning method. The advantage of spatial scanning is high spectral resolution, but since it needs to scan a two-dimensional plane in the form of points or lines, it has high requirements for spatial positioning accuracy and low imaging speed for high-resolution images.

[0005] Spectral scanning uses filters or adjustable filters to filter specific spectral channel information, and collects information of a single spectral channel at a time through the sensor. Spectral scanning hyperspectral imaging generally has a high spatial resolution, but requires high filter accuracy and requires the target scene to remain stationary when collecting multiple spectral images, otherwise aliasing will occur.

[0006] The compressed snapshot method compresses and reuses multiple spectral information, collects compressed information within one exposure time, and decouples and restores multi-channel information through a compressed sensing algorithm or a deep learning network. The compressed snapshot method has high requirements for the imaging system. It needs to use a mask to modulate the light source or scene information, and use a dispersion device to shift and superimpose multiple spectral channel images, and finally use a camera to collect them. The compressed snapshot method has a faster imaging speed, but the imaging system is complex and the cost is high. At present, the compressed snapshot method is in the laboratory stage and has not yet entered the large-scale commercial stage.

[0007] Currently, spectral imaging faces the dilemma of being unable to strike a balance between spatial resolution, temporal resolution and system cost. Summary of the invention

[0008] The present invention aims to solve one of the technical problems in the related art at least to a certain extent.

[0009] To this end, a first object of the present invention is to provide a spectral imaging acceleration method for improving the spectral imaging speed without sacrificing spatial resolution.

[0010] The second objective of the present invention is to provide a spectral imaging acceleration device.

[0011] A third object of the present invention is to provide a computer device.

[0012] A fourth object of the present invention is to provide a computer-readable storage medium.

[0013] To achieve the above object, a first aspect of the present invention provides a spectral imaging acceleration method, comprising:

[0014] Acquire a scene data set to be trained, wherein two spectral images corresponding to spectral segments at different times in the scene data set to be trained are used as a time reference image and a spectral reference image;

[0015] Constructing a spectral image generation network, inputting the moment reference image and the spectral reference image into the spectral image generation network, and outputting a spectral image at a time corresponding to the moment reference image and a spectral segment corresponding to the spectral reference image;

[0016] Training the spectral image generation network according to the scene data set to be trained until convergence, to obtain a trained spectral image generation network;

[0017] A spectral image sequence of spectral segments corresponding to the target scene at different times is obtained, and the spectral images of the target scene at different times are combined in pairs, and input into the trained spectral image generation network to obtain a full-spectral image group at all times, thereby realizing spectral imaging acceleration.

[0018] In addition, the spectral imaging acceleration method according to the above embodiment of the present invention may also have the following additional technical features:

[0019] Further, in one embodiment of the present invention, the spectral image recorded at each moment in the sequence of spectral images corresponding to spectral bands at different moments corresponds to a specific spectral band.

[0020] Further, in one embodiment of the present invention, training the spectral image generation network according to the spectral image dataset until convergence includes:

[0021] The spectral images in the spectral image sequence corresponding to the spectral bands at different moments in the scene to be trained are respectively combined in pairs, and input into the spectral image generation network as the moment reference image and the spectral reference image. The spectral image generation network outputs an image at the moment corresponding to the moment reference image and the spectral band corresponding to the spectral reference image.

[0022] Furthermore, in one embodiment of the present invention, the spectral image sequence corresponding to the spectral band of the target scene at different times is input into the trained spectral image generation network to obtain a full-spectral image group at all times to achieve spectral imaging acceleration, including:

[0023] The spectral image sequence of the spectral segments corresponding to the target scene at different moments is used to infer the moment when each spectral segment is missing or the spectral image of the target scene corresponding to the missing spectral segment at each moment, thereby realizing spectral imaging acceleration.

[0024] Furthermore, in an embodiment of the present invention, the moment reference image and the spectrum reference image are any two different spectrum images in a spectrum image sequence corresponding to spectrum bands at different moments.

[0025] To achieve the above object, a second aspect of the present invention provides a spectral imaging acceleration device, comprising the following modules:

[0026] An acquisition module is used to acquire a scene data set to be trained, wherein two spectral images corresponding to spectral segments at different times in the scene data set to be trained are used as a time reference image and a spectral reference image;

[0027] A construction module is used to construct a spectral image generation network, input the moment reference image and the spectral reference image into the spectral image generation network, and output a spectral image at a moment corresponding to the moment reference image and a spectral segment corresponding to the spectral reference image;

[0028] A training module, used for training the spectral image generation network according to the scene data set to be trained until convergence, to obtain a trained spectral image generation network;

[0029] The imaging module is used to obtain a spectral image sequence of corresponding spectral segments of the target scene at different times, combine the spectral images of the target scene at different times in pairs, input the trained spectral image generation network, obtain a full-spectral image group at all times, and realize spectral imaging acceleration.

[0030] Furthermore, in one embodiment of the present invention, the training module is also used to:

[0031] The spectral images in the spectral image sequence corresponding to the spectral bands at different moments are respectively combined in pairs, and input into the spectral image generation network as the moment reference image and the spectral reference image. The spectral image generation network outputs an image at the moment corresponding to the moment reference image and the spectral band corresponding to the spectral reference image.

[0032] Furthermore, in one embodiment of the present invention, the imaging module is also used for:

[0033] The spectral image sequence of the spectral segments corresponding to the target scene at different moments is used to infer the moment when each spectral segment is missing or the spectral image of the target scene corresponding to the missing spectral segment at each moment, thereby realizing spectral imaging acceleration.

[0034] To achieve the above-mentioned purpose, the third aspect of the present invention proposes a computer device, characterized in that it includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the spectral imaging acceleration method as described above is implemented.

[0035] To achieve the above objectives, a fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the spectral imaging acceleration method as described above when executed by a processor.

[0036] The spectral imaging acceleration method and device proposed in the embodiment of the present invention is based on the temporal redundancy and spectral redundancy between each image in the spectral image sequence collected by the spectral imaging system, and according to the spectral image sequence corresponding to the spectral segments at different times acquired by the spectral imaging system, a neural network is used to infer the spectral image of the target scene corresponding to the missing spectral segment at each time, thereby realizing spectral imaging acceleration. The present invention benefits from the characteristics of parallel operation and high inference efficiency of the neural network, and based on the temporal redundancy and spectral redundancy of the spectral image sequence, effectively improves the spectral imaging speed without losing spatial resolution. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0038] Figure 1 A schematic flow chart of a spectral imaging acceleration method provided in an embodiment of the present invention.

[0039] Figure 2 A schematic diagram of a sequence of spectral images corresponding to spectral bands at different times acquired by the spectral imaging system provided in an embodiment of the present invention.

[0040] Figure 3 A schematic diagram of a spectral image generation network provided in an embodiment of the present invention.

[0041] Figure 4 A schematic diagram of a full-spectrum image group at all times provided by an embodiment of the present invention.

[0042] Figure 5 A schematic diagram of a process of a spectral imaging acceleration device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0043] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0044] The spectral imaging acceleration method and device according to the embodiments of the present invention will be described below with reference to the accompanying drawings.

[0045] Example 1

[0046] Figure 1 A schematic flow chart of a spectral imaging acceleration method provided in an embodiment of the present invention.

[0047] like Figure 1 As shown, the spectral imaging acceleration method includes the following steps:

[0048] S101: Acquire a scene data set to be trained, wherein two spectral images corresponding to spectral segments at different times in the scene data set to be trained are used as a time reference image and a spectral reference image;

[0049] S102: constructing a spectral image generation network, inputting a moment reference image and a spectral reference image into the spectral image generation network, and outputting a spectral image at a moment corresponding to the moment reference image and a spectral segment corresponding to the spectral reference image;

[0050] S103: training the spectral image generation network according to the scene data set to be trained until convergence, to obtain a trained spectral image generation network;

[0051] S104: Obtain a spectral image sequence corresponding to the spectral bands of the target scene at different times, combine the spectral images corresponding to the spectral bands of the target scene at different times in pairs, input the spectral image generation network that has been trained, obtain a full-spectral image group at all times, and realize spectral imaging acceleration.

[0052] In addition, the spectral imaging acceleration method according to the above embodiment of the present invention may also have the following additional technical features:

[0053] Further, in one embodiment of the present invention, the spectral image recorded at each moment in the sequence of spectral images corresponding to spectral bands at different moments corresponds to a specific spectral band.

[0054] Further, in one embodiment of the present invention, training a spectral image generation network according to the spectral image dataset until convergence includes:

[0055] The spectral images in the spectral image sequence corresponding to the spectral bands at different moments in the scene to be trained are combined in pairs respectively, and input into the spectral image generation network as the moment reference image and the spectral reference image. The spectral image generation network outputs the image of the moment corresponding to the moment reference image and the spectral band corresponding to the spectral reference image.

[0056] Furthermore, in one embodiment of the present invention, a spectral image sequence of a target scene corresponding to a spectral band at different times is input into a trained spectral image generation network to obtain a full-time full-spectral image group, thereby realizing spectral imaging acceleration, including:

[0057] The spectral image sequence of the corresponding spectral bands of the target scene at different times is used to infer the spectral image of the target scene corresponding to the missing time of each spectral band or the missing spectral band at each time, so as to achieve spectral imaging acceleration.

[0058] Furthermore, in one embodiment of the present invention, the moment reference image and the spectrum reference image are any two different spectrum images in a spectrum image sequence corresponding to spectrum bands at different moments.

[0059] Example 2

[0060] Obtain a full-spectrum image dataset of the scene to be trained at all times, wherein any two spectral images corresponding to different times in the full-spectrum image dataset are used as a time reference image and a spectral reference image. Construct a spectral image generation network, and input the time reference image I of the training scene in the dataset to the spectral image generation network. ii Spectral Reference Figure I jj , the network outputs the image I corresponding to the time reference image at time i and the spectral band j corresponding to the spectral reference image ij , train the spectral image generation network according to the spectral image dataset until convergence. When training the spectral image generation network, input the spectral image sequence corresponding to the spectral bands at different times of the training scene in the spectral image dataset to infer the spectral image at the missing time of each spectral band or the missing spectral band at each time. Compare the spectral image output by the spectral image generation network with the real spectral image in the spectral image dataset, and convergence is determined when the error reaches a certain threshold.

[0061] like Figure 2 As shown in FIG, a spectral imaging system is used to shoot the target scene to obtain a spectral image sequence corresponding to the spectral band at different times. Specifically, Figure 1 As shown in the figure, the spectral camera takes a spectral image of the nth spectral segment at the nth time, takes N times in total, and records image I nn The purpose of the present invention is to utilize the N spectral images I of the spectral image sequence according to the inherent temporal redundancy and spectral redundancy of the spectral image sequence taken by the spectral camera to obtain the spectral image sequence of N spectral images I nn (n=1→N) Reconstruct the full-spectrum image set I at all times mn(m=1→N, n=1→N), that is, the spectral image group of all N spectral segments at all N moments.

[0062] like Figure 3 As shown, the spectral images in the spectral image sequence corresponding to the spectral band of the target scene at different times are used as the time reference image I mm and spectral reference image I nn Input the spectral image generation network in pairs to obtain the spectral image I corresponding to the time reference image at time m and the spectral reference image corresponding to the spectral segment n. mn . Take I 11 with I 22 For example, when input I 11 As a reference diagram at the moment, I 22 As the spectral reference image, the network outputs the image I of the spectral segment 2 at time 1 12 .When input I 22 As a reference diagram at the moment, I 11 As the spectral reference image, the network outputs the image I of the spectral segment 1 at time 2 21 . The corresponding spectrum image I at the corresponding time 12 with I 21 The position in the full-spectrum image set at all times is as follows Figure 4 As shown in the figure, the neural network can be operated in parallel, has high inference efficiency and fast running speed, and can efficiently execute this method to accelerate spectral imaging.

[0063] like Figure 4 As shown, all spectral images in the spectral image sequence corresponding to the spectral band of the target scene at different times collected by the spectral imaging system are traversed as the moment reference image I mm (m=1→N) and spectral reference image I nn (n=1→N) Input spectral image generation network, all networks output image I mn (m=1→N, n=1→N) is a full-spectrum image set at all times. The full-spectrum image set at all times includes N 2 The present invention accelerates the imaging speed of the traditional spectral camera by N times.

[0064] The spectral imaging acceleration method and device proposed in the embodiment of the present invention is based on the temporal redundancy and spectral redundancy between each image in the spectral image sequence collected by the spectral imaging system, and according to the spectral image sequence corresponding to the spectral segments at different times acquired by the spectral imaging system, a neural network is used to infer the spectral image of the target scene corresponding to the missing spectral segment at each time, thereby realizing spectral imaging acceleration. The present invention benefits from the characteristics of parallel operation and high inference efficiency of the neural network, and based on the temporal redundancy and spectral redundancy of the spectral image sequence, effectively improves the spectral imaging speed without losing spatial resolution.

[0065] In order to implement the above embodiment, the present invention also proposes a spectral imaging acceleration method and device.

[0066] Figure 5 A schematic diagram of the structure of a spectral imaging acceleration method device provided by an embodiment of the present invention.

[0067] like Figure 5 As shown, the spectral imaging acceleration method device includes: an acquisition module 100, a construction module 200, a training module 300, and an imaging module 400;

[0068] The acquisition module is used to acquire the scene data set to be trained, wherein two spectral images corresponding to spectral segments at different moments in the scene data set to be trained are used as a moment reference image and a spectral reference image;

[0069] A construction module is used to construct a spectral image generation network, input the moment reference image and the spectral reference image into the spectral image generation network, and output a spectral image at a time corresponding to the moment reference image and a spectral segment corresponding to the spectral reference image;

[0070] A training module, used for training the spectral image generation network according to the scene data set to be trained until convergence, to obtain a trained spectral image generation network;

[0071] The imaging module is used to obtain the spectral image sequence of the corresponding spectral bands of the target scene at different times, combine the spectral images of the corresponding spectral bands of the target scene at different times in pairs, input the trained spectral image generation network, obtain the full-spectral image group at all times, and realize spectral imaging acceleration.

[0072] Furthermore, in one embodiment of the present invention, the training module is also used to:

[0073] The spectral images in the spectral image sequence corresponding to spectral bands at different moments are combined in pairs and input into the spectral image generation network as moment reference images and spectral reference images. The spectral image generation network outputs an image corresponding to the moment reference image and the spectral band corresponding to the spectral reference image.

[0074] Furthermore, in one embodiment of the present invention, the imaging module is also used for:

[0075] The spectral image sequence of the corresponding spectral bands of the target scene at different times is used to infer the spectral image of the target scene corresponding to the missing time of each spectral band or the missing spectral band at each time, so as to achieve spectral imaging acceleration.

[0076] To achieve the above-mentioned purpose, a third aspect of the present invention proposes a computer device, characterized in that it includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the spectral sensor calibration method as described above is implemented.

[0077] To achieve the above-mentioned purpose, a fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the spectral sensor calibration method as described above when executed by a processor.

[0078] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0079] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0080] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. A spectral imaging acceleration method, It is characterized in that The following steps are involved: Acquire a scene data set to be trained, wherein two spectral images corresponding to spectral segments at different times in the scene data set to be trained are used as a time reference image and a spectral reference image; Constructing a spectral image generation network, inputting the moment reference image and the spectral reference image into the spectral image generation network, and outputting a spectral image at a time corresponding to the moment reference image and a spectral segment corresponding to the spectral reference image; Training the spectral image generation network according to the scene data set to be trained until convergence, to obtain a trained spectral image generation network; Acquire a spectral image sequence of the spectral segments corresponding to the target scene at different times, combine the spectral images of the target scene at different times in pairs, input the trained spectral image generation network, obtain a full-spectral image group at all times, and realize spectral imaging acceleration; The step of training the spectral image generation network according to the spectral image dataset until convergence comprises: The spectral images in the spectral image sequence corresponding to the spectral bands at different moments in the scene to be trained are respectively combined in pairs, and input into the spectral image generation network as the moment reference image and the spectral reference image. The spectral image generation network outputs an image at the moment corresponding to the moment reference image and the spectral band corresponding to the spectral reference image.

2. The method according to claim 1, It is characterized in that The spectral image recorded at each moment in the sequence of spectral images corresponding to spectral bands at different moments corresponds to a specific spectral band.

3. The method according to claim 1, It is characterized in that The step of inputting the spectral image sequence corresponding to the spectral band of the target scene at different times into the trained spectral image generation network to obtain a full-spectral image group at all times to realize spectral imaging acceleration includes: The spectral image sequence of the spectral segments corresponding to the target scene at different moments is used to infer the moment when each spectral segment is missing or the spectral image of the target scene corresponding to the missing spectral segment at each moment, thereby realizing spectral imaging acceleration.

4. The method according to claim 1, It is characterized in that The moment reference image and the spectrum reference image are any two different spectrum images in a spectrum image sequence corresponding to spectrum segments at different moments.

5. A spectral imaging acceleration device, It is characterized in that Includes the following modules: An acquisition module is used to acquire a scene data set to be trained, wherein two spectral images corresponding to spectral segments at different times in the scene data set to be trained are used as a time reference image and a spectral reference image; A construction module is used to construct a spectral image generation network, input the moment reference image and the spectral reference image into the spectral image generation network, and output a spectral image at a moment corresponding to the moment reference image and a spectral segment corresponding to the spectral reference image; A training module, used for training the spectral image generation network according to the scene data set to be trained until convergence, to obtain a trained spectral image generation network; An imaging module is used to obtain a spectral image sequence corresponding to the spectral bands of the target scene at different times, combine the spectral images corresponding to the spectral bands of the target scene at different times in pairs, input the trained spectral image generation network, obtain a full-spectral image group at all times, and realize spectral imaging acceleration; The training module is also used for: The spectral images in the spectral image sequence corresponding to the spectral bands at different moments are respectively combined in pairs, and input into the spectral image generation network as the moment reference image and the spectral reference image. The spectral image generation network outputs an image at the moment corresponding to the moment reference image and the spectral band corresponding to the spectral reference image.

6. The device according to claim 5, It is characterized in that The imaging module is further used for: The spectral image sequence of the spectral segments corresponding to the target scene at different moments is used to infer the moment when each spectral segment is missing or the spectral image of the target scene corresponding to the missing spectral segment at each moment, thereby realizing spectral imaging acceleration.

7. A computer device, It is characterized in that The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the spectral imaging acceleration method as claimed in any one of claims 1 to 4 is implemented.

8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the spectral imaging acceleration method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • An intelligent recognition method and a system for multi-spectral imaging

    CN109271921A

  • Deep Learning based Methods to Accelerate Multi-Spectral Imaging

    US20200011951A1