Single exposure compressed hyperspectral imaging system and method

Through the combination of grating dispersion elements and aperture diaphragms, combined with the Unet neural network of the Transformer module, the hardware and algorithm problems in single-exposure compression hyperspectral imaging technology are solved, and imaging with high spectral resolution and high compression ratio is achieved, which is suitable for real-time Hyperspectral video imaging solves the problems of slow reconstruction speed and poor image quality in the existing technology.

CN116183522BActive Publication Date: 2024-10-22WEST LAKE INTELLIGENT VISION TECH (HANGZHOU) CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202310199441.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2024-10-22
Estimated Expiration
2043-02-24

AI Technical Summary

Technical Problem

Existing single-exposure compressed hyperspectral imaging technology has problems such as low compression ratio, low spectral resolution, and uneven hardware. The algorithm reconstruction speed is slow and the image quality is poor. It is difficult to achieve high compression ratio imaging with high spectral resolution and wide spectral range. .

Method used

Using a combination of grating dispersion elements and aperture diaphragms, images of multiple spectral channels are acquired through a single exposure measurement, and the Unet neural network based on the Transformer module is used for efficient reconstruction to achieve high spectral resolution and high compression ratio imaging.

Benefits of technology

It achieves three-dimensional hyperspectral image reconstruction with small data volume, fast reconstruction speed, high image quality, and uniform spectral resolution. It is suitable for real-time hyperspectral video imaging, can save memory and transmission bandwidth, has fast reconstruction speed and high image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116183522B_ABST
    Figure CN116183522B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a single-exposure compressed hyperspectral imaging system and method. The system includes: a first imaging element, which forms a first spectral image of a target scene; an aperture stop, which limits the size of the first spectral image; a coded aperture, which performs code modulation on the first spectral image; a grating dispersion element, which disperses the light signal after code modulation; a second imaging element, which collects the light signal after code modulation and dispersion to form a plurality of second spectral images corresponding to a plurality of spectral channels; and a two-dimensional detector, which measures and obtains a compressed measurement result after superposition of a plurality of second spectral images; and a processor, which reconstructs a hyperspectral image of the target scene using a Unet neural network based on a Transformer module. Thus, a three-dimensional hyperspectral image of the target scene can be restored through a single-exposure measurement, with a small amount of data, a high compression ratio, a fast reconstruction speed, a high image quality, a high spectral resolution, and a uniform spectral resolution within the measured spectral range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of spectral imaging, and more particularly to a single-exposure compressed hyperspectral imaging system and method. Background Art

[0002] Hyperspectral imaging technology can not only obtain the two-dimensional spatial information of the target scene, but also obtain spectral information at the same time. The characteristic structure and difference in the spectrum increase the accuracy of target recognition. Hyperspectral imaging has a wide range of applications in scientific research and industrial application scenarios such as remote sensing detection, national defense and military industry, life sciences, food testing, recycling and waste disposal industries, pharmaceutical analysis, color detection, material analysis, and mineral exploration.

[0003] Traditional spectral imaging technology solutions generally use a slit to collect light signals at a single point or a line in the target scene. After being split by a dispersion element, a one-dimensional or two-dimensional detector collects multiple spectra at a single point or a line. That is, only one-dimensional or two-dimensional data can be obtained in one measurement, so it is necessary to scan and measure multiple times in at least one dimension to obtain three-dimensional spectral image data of the target scene. Other solutions include using a single detector in a partition or directly using multiple detectors to improve the detection speed to a certain extent, but the former will reduce the spatial resolution and field of view, and the latter will increase the equipment cost and complicate the optical path.

[0004] The scanning scheme used in traditional spectral imaging technology does not have temporal resolution and is not applicable to dynamic scenes. Although the scheme of using a single detector in a partition or directly using multiple detectors can improve the detection speed to a certain extent, the former will reduce the spatial resolution and field of view, and the latter will increase the equipment cost and complicate the optical path. In addition, the data volume of hyperspectral images in traditional spectral imaging technology is extremely large, the data transmission speed is slow, and the storage space required is large.

[0005] The introduction of compressed sensing theory provides a new idea for solving the above problems. The theory points out that any sparse signal can be projected from high-dimensional space to low-dimensional space using an appropriate sensor matrix, and the original signal can be reconstructed by solving an underdetermined inverse problem. Natural images have natural sparse characteristics, so various compressed imaging technologies have been developed based on this. The existing single-exposure compressed spectral imaging technology scheme first encodes the optical signal of the target scene in hardware, then passes through a dispersive element to achieve different coded modulations for different spectral channels, and finally uses a two-dimensional detector to collect the encoded and dispersed optical signal. The three-dimensional data is compressed to two dimensions, that is, compressed measurement, and then the original three-dimensional spectral image is reversely solved by an iterative algorithm or a deep learning algorithm. This scheme can not only obtain three-dimensional data through a single measurement, but also reduce the requirements for the sensor sampling frequency, saving storage resources and transmission bandwidth.

[0006] However, the existing single-exposure compressed spectral imaging technology has disadvantages such as low compression ratio, low spectral resolution, and uneven spectral resolution in hardware, and has disadvantages such as slow reconstruction speed at high compression ratio and poor reconstructed image quality in algorithm. The reason for the uneven spectral resolution and low spectral resolution is that most single-exposure compressed spectral imaging technologies use prisms as dispersion elements. However, the angular dispersion ability of prisms is small. When there is a demand for high compression ratio or high spectral resolution, the dispersion distance required by the prism is very long, which will cause the system size to become larger and inconvenient to use. Therefore, under the condition of limited size, the spectral resolution of the prism-based single-exposure compressed spectral imaging system is low, and it has a low compression ratio in wide-spectral imaging. In addition, the angular dispersion ability of the prism changes nonlinearly with the wavelength, resulting in uneven spectral resolution within the measurement band, making it difficult to achieve high spectral resolution in the entire spectral range. Although the use of gratings as dispersion elements can solve the problems of uneven spectral resolution and low spectral resolution, different diffraction orders of the grating will produce spectral overlap, so the existing single-exposure compressed spectral imaging system based on gratings can only be used in a very narrow spectral range. Although the compression ratio and spectral resolution can be improved within a narrow spectral range, their application in wide-spectral imaging is limited, and high-compression ratio imaging with a wide spectral range and high spectral resolution cannot be achieved. Secondly, the reconstruction of spectral images with a wide spectral range, high spectral resolution, and high compression ratio also presents huge algorithmic challenges, and it is necessary to design an efficient reconstruction algorithm to achieve fast, high-quality spectral image reconstruction.

[0007] Therefore, the existing technology needs to be improved in both hardware and algorithms to solve the problems of traditional spectral imaging technology requiring multiple exposures, slow acquisition speed, and large data volume to collect three-dimensional hyperspectral images, as well as the problems of low compression ratio, low spectral resolution, and uneven spectral resolution of existing single-exposure compressed hyperspectral imaging devices, and slow reconstruction speed and poor reconstructed image quality in the algorithm. Summary of the invention

[0008] The present disclosure is provided to solve the above-mentioned problems existing in the prior art.

[0009] The present invention provides a single-exposure compressed hyperspectral imaging system and method, which can restore a three-dimensional hyperspectral image of a target scene through a single-exposure measurement, with a small amount of data, a high compression ratio, a fast reconstruction speed, high image quality, and a high spectral resolution, and the spectral resolution is uniform within the measured spectral range.

[0010] In a first scheme of the present disclosure, a single-exposure compressed hyperspectral imaging system is provided, which includes: a first imaging element, which is configured to collect optical signals of a target scene and form a first spectral image of the target scene on a first imaging plane; an aperture stop, which is configured to limit the size of the first spectral image; a coded aperture, which is configured to perform code modulation on the first spectral image; a grating dispersion element, which is configured to disperse the optical signal after code modulation to generate a dispersion shift; a second imaging element, which is configured to collect the optical signal after code modulation and dispersion, and form a plurality of second spectral images corresponding to a plurality of spectral channels on a second imaging plane; and a two-dimensional detector, which is configured to measure and obtain a compressed measurement result after superposition of the plurality of second spectral images; and a processor, which is configured to reconstruct a hyperspectral image of the target scene based on the compressed measurement result using a Unet neural network based on a Transformer module.

[0011] In another embodiment of the present disclosure, a single-exposure compressed hyperspectral imaging method using the single-exposure compressed hyperspectral imaging system in the first embodiment is provided. The single-exposure compressed hyperspectral imaging method includes: collecting light signals from the target scene, acquiring the first spectral image of the target scene on the first imaging plane; adjusting the aperture stop to limit the size of the first spectral image; encoding and modulating the first spectral image; dispersing the light signal after encoding and modulation to generate the dispersion shift; collecting the light signal after encoding and modulation and dispersion to form the multiple second spectral images corresponding to the multiple spectral channels on the second imaging plane; measuring and obtaining the compressed measurement results after superposition of the multiple second spectral images; and reconstructing the hyperspectral image of the target scene based on the compressed measurement results using a Unet neural network based on a Transformer module.

[0012] According to the single-exposure compressed hyperspectral imaging system and method in the above-mentioned scheme provided by the present disclosure, only one image needs to be exposed and measured, and the spectral images of multiple spectral channels can be reconstructed without shooting the same scene multiple times. Therefore, it is suitable for real-time hyperspectral video imaging, and can obtain spectral information of dynamic scenes. The time resolution is only determined by the frame rate of the two-dimensional detector; at the same time, it also has the advantages of small data volume, which can save memory and transmission bandwidth; it has the advantages of high compression ratio and high spectral resolution, and uniform spectral resolution; exposing and measuring one image can reconstruct images of at least 382 spectral channels; in addition, the reconstruction algorithm has fast reconstruction speed and high reconstruction quality under high compression ratio. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In the drawings, which are not necessarily drawn to scale, the same reference numerals may describe similar parts in different views. Similar reference numerals with letter suffixes or different letter suffixes may represent different examples of similar components. The accompanying drawings generally illustrate various embodiments by way of example and not by way of limitation, and together with the description and claims, are used to illustrate the disclosed embodiments. Such embodiments are illustrative and exemplary and are not intended to be exhaustive or exclusive embodiments of the present method, apparatus, system, or non-transitory computer-readable medium having instructions for implementing the method.

[0014] In the attached picture:

[0015] Figure 1 A schematic diagram showing the configuration of a single-exposure compressed hyperspectral imaging system according to an embodiment of the present disclosure;

[0016] Figure 2 A working principle diagram of a single-exposure compressed hyperspectral imaging system according to an embodiment of the present disclosure is shown;

[0017] Figure 3 and Figure 4 An example of a configuration of a single-exposure compressed hyperspectral imaging system according to an embodiment of the present disclosure is shown;

[0018] Figure 5 A flow chart of a single-exposure compressed hyperspectral imaging method according to an embodiment of the present disclosure is shown.

[0019] Figure 6 A schematic diagram of the structure of a Transformer-based Unet neural network according to an embodiment of the present disclosure is shown;

[0020] Figure 7 shows spatial and spectral resolution analysis and reconstruction results using a single exposure compressed hyperspectral imaging system according to an embodiment of the present disclosure; and

[0021] Figure 8 and Fig. 9 The results of imaging and reconstructing a target scene using a single-exposure compressed hyperspectral imaging system according to an embodiment of the present disclosure are shown. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the present disclosure is described in detail below in conjunction with the drawings and specific implementation methods. The embodiments of the present disclosure are further described in detail below in conjunction with the drawings and specific implementation methods, but are not intended to limit the present disclosure.

[0023] The words "first", "second" and similar words used in this disclosure do not indicate any order, quantity or importance, but are only used to distinguish. Words such as "include" or "comprise" and similar words mean that the elements before the word include the elements listed after the word, and do not exclude the possibility of including other elements. The order of the steps shown by arrows in the drawings of this disclosure is only an example, and does not mean that the steps must be executed in the order shown by the arrows. If not otherwise specified, the steps can be combined or the order of execution can be swapped to execute in an order different from that shown by the arrows, as long as the logical relationship between the steps is not affected.

[0024] Figure 1 Schematic diagram of the structure of the single-exposure compressed hyperspectral imaging system disclosed in the present invention. Figure 1 In the embodiment, the single-exposure compressed hyperspectral imaging system 100 (shown in a dotted box) includes: a first imaging element 104, which is configured to collect the optical signal of the target scene 102 and form a first spectral image of the target scene 102 on a first imaging plane; an aperture stop 106, which is configured to adjust the size of the first spectral image; a coded aperture 108, which is arranged on the first imaging plane and is configured to perform code modulation on the first spectral image; a grating dispersion element 112, which is configured to disperse the coded modulated optical signal to generate a dispersion shift; a second imaging element 113, which is configured to collect the coded modulated and dispersed optical signal and form a plurality of second spectral images corresponding to a plurality of spectral channels of the target scene 102 on a second imaging plane; a two-dimensional detector 116, which is arranged on the second imaging plane and is configured to measure and obtain a compressed measurement result after superposition of the plurality of second spectral images; and a processor 118, which is configured to reconstruct the hyperspectral image of the target scene based on the compressed measurement result using a Unet neural network based on a Transformer module.

[0025] In one embodiment, in this configuration, the target scene 102 may vary according to the actual application scenario, and may be self-luminous or reflective, and its spectral range may cover all or part of the ultraviolet to near infrared range.

[0026] In one embodiment, the first imaging element 104 performs primary imaging on the target scene 102, which may be a single camera lens or a combination of multiple camera lenses. Optionally, the camera lens of the first imaging element 104 may be a fixed-focus lens or a zoom lens.

[0027] In one embodiment, the coded aperture 108 can be a unique coded modulation of different spectral channels of the optical signal through binary coding, gray coding or random coding; in another embodiment, the coded aperture 108 can be a substrate manufactured by micro-machining, or a reflector controlled by a microcomputer. In addition, the coded aperture 108 is a reflective coded aperture or a transmissive coded aperture.

[0028] In one embodiment, the grating dispersive element 112 may be a transmissive grating or a reflective grating.

[0029] In one embodiment, the second imaging element 113 performs secondary imaging on the optical signal after coding modulation and dispersion to form a second spectral image of the target scene on a second imaging plane. Figure 1 As shown, the second imaging element 113 includes a first element 110 and a second element 114, wherein the first element 110 is arranged between the coded aperture 108 and the grating dispersion element 112, and is configured to collect the optical signal of the target scene after coding modulation, and the second element 114 is arranged between the grating dispersion element 112 and the two-dimensional detector 116, and is configured to match the first element 110 to collect the optical signal after coding modulation and dispersion, and obtain a plurality of the second spectral images. Alternatively, the first element 110 and the second element 114 can be combined into a single element, arranged between the coded aperture 108 and the grating dispersion element 112.

[0030] In addition, the two-dimensional detector 116 is configured to receive the target scene light signal after coding modulation and dispersion, convert it into an electrical signal, a digital signal, and output it to a processor 118 (such as a computer). After receiving the compression measurement result of the two-dimensional detector 116, the processor 118 reconstructs the hyperspectral image of the target scene 102 using a Transformer-based Unet neural network (described in detail below). Preferably, the two-dimensional detector 116 includes a charge-coupled device (CCD) or a complementary metal oxide semiconductor (CMOS).

[0031] In the present disclosure, a grating is used as a dispersion element. However, when the spectral range is wide, the spectra of different diffraction orders of the grating will overlap. The addition of the aperture stop 106 widens the free spectral range of the grating dispersion element 112, so that single-exposure compressed spectral imaging with high compression ratio, high resolution, and uniform spectral resolution can be performed within a wider free spectral range. In this case, the secondary imaging field of view is also limited by the aperture stop 106. Therefore, when the opening size of the aperture stop and the required spectral range are limited, the field of view of the primary imaging can be controlled by adjusting the focal length of the first imaging element 104 (such as a camera lens) of the primary imaging (the first imaging element 104 is a zoom lens in this case) or the object distance of the primary imaging.

[0032] In one embodiment, the aperture stop 106 may be a circular through hole, or a slit perpendicular to the dispersion direction.

[0033] In one embodiment, the aperture stop 106 and the coded aperture 108 may be two separate entities or may be combined together.

[0034] Figure 3 and Figure 4 An example of a single exposure compressed hyperspectral imaging system 100 of the present disclosure is shown.

[0035] exist Figure 3 In the figure, the first imaging element 104 is a combination of multiple lenses; the aperture stop 106 is a circular hole with adjustable diameter, which is placed closely in front of the coded aperture 108; the coded aperture 108 encodes and modulates the optical signal through binary coding, and the coded aperture 108 is a transmission coded aperture, which is a substrate made by micromachining; the grating dispersion element 112 is a transmission grating; the first element 110 and the second element 114 are two separate elements; and the two-dimensional detector 116 is a CMOS.

[0036] exist Figure 4 In the figure, the first imaging element 104 is a combination of multiple lenses; the aperture stop 106 is a slit with a fixed width, which is processed to be combined with the coded aperture 108; the coded aperture 108 encodes and modulates the optical signal through binary coding, and the coded aperture 108 is a transmission coded aperture and is a substrate made by micromachining; the grating dispersion element 112 is a reflective grating; the first element 110 and the second element 114 are two separate elements; and the two-dimensional detector 116 is a CMOS.

[0037] In the single exposure compressed hyperspectral imaging method 500 provided in the present disclosure based on the above-mentioned single exposure compressed hyperspectral imaging system 100, as Figure 5 As shown, the single exposure compressed hyperspectral imaging method 500 includes the following steps:

[0038] S510, collecting light signals from a target scene, and acquiring a first spectral image of the target scene 102 on a first imaging plane;

[0039] S520, adjusting the aperture stop to limit the size of the first spectrum image;

[0040] S530, performing coding modulation on the first spectrum image;

[0041] S540, dispersing the coded modulated optical signal to generate a dispersion shift;

[0042] S550, collecting the coded modulated and dispersed optical signals, and forming a plurality of second spectral images corresponding to a plurality of spectral channels of the target scene on a second imaging plane;

[0043] S560, measuring and obtaining a compression measurement result after the plurality of second spectral images are superimposed; and

[0044] S570: Reconstruct a hyperspectral image of the target scene based on the compressed measurement result using a Unet neural network based on a Transformer module.

[0045] Reference Figure 2 In S530, the coded aperture T(x, y) on the hardware is used to code and modulate the spectral image f0(x, y, λ) of the target to be measured; before coding and modulating, the coded aperture needs to be calibrated; in S540, the light field after coding and modulating is offset after passing through the grating dispersion element 112 (the dispersion offset of the grating dispersion element 112 needs to be calibrated in advance). Since the dispersion offset of different wavelengths is different, it is set to Among them, λ c is the central wavelength of the spectrum, which is equivalent to obtaining different coded modulations for images with different wavelengths (Assume that the dispersion direction is along the x dimension); In S560, a two-dimensional detector (such as CCD) is used to measure the coded modulated and shifted light field, and the spectral dimension is compressed to obtain a two-dimensional compressed measurement result, which is expressed as:

[0046]

[0047] Since the measurement result of the two-dimensional detector is discretized, the formula (1) is discretized to obtain:

[0048]

[0049] Where mn represents the pixel coordinate of the mth row and nth column of the detector, l represents the lth spectral channel, L represents the total number of spectral channels, that is, the compression ratio, H is the compressed sensing matrix, and Z mnis the noise; finally, in S470, the spectral image is reconstructed, that is, by using the given or calibrated compressed sensing matrix H and the compressed measurement result g mn Reversely solve the target f0 to be measured.

[0050] Next, we will combine Figure 6 The spectral image reconstruction process ( S570 ) in the single-exposure compressed hyperspectral imaging method 500 is described in detail.

[0051] like Figure 6 As shown in the figure, the spectral image reconstruction process is completed using the Transformer-based Unet neural network. In this paper, a Transformer-based Unet hyperspectral reconstruction network is constructed by utilizing the powerful model capacity of the Transformer and its ability to establish long-term temporal dependencies. Since the multi-head self-attention mechanism in the original Transformer is directly used for spatial correlation calculation, not only can the correlation between spectra not be well established, but the computational complexity of the model will also increase dramatically, which will eventually cause the reconstruction process to consume a lot of running memory and running time. In order to reduce the computational complexity of the model and better establish the correlation between hyperspectra, in this paper, multi-head self-attention calculations are only performed along the spectral dimension, and a 3×3 depth-separable convolution is introduced in the process of generating queries, keys, and values ​​to better establish local spatial correlations.

[0052] like Figure 6 As shown in the figure, first, the dispersion process is reversed to obtain the blurred initial hyperspectral signal. Then, a 3×3 convolution matrix (first convolution matrix) is used to perform a convolution operation on the initial hyperspectral signal to output the deep feature information (high-dimensional feature information) of the hyperspectral image to map the input space to the high-dimensional feature space. However, the spectral correlation and local spatial correlation of the hyperspectral image cannot be well established by only one convolution matrix, so next, a Unet neural network containing a multi-layer codec is used to output the deep features of the hyperspectral image. At this time, the deep features have established good spectral correlation and local spatial correlation through the Unet neural network, which can be used to reconstruct a clear hyperspectral image.

[0053] Here, there are also certain restrictions on the number of layers of the codec in the Unet neural network, because it is necessary to achieve a good balance between model complexity and reconstruction quality. Preferably, the Unet neural network includes 4 layers of codecs to achieve a good balance between model complexity and reconstruction quality. Less than 4 layers will cause the model reconstruction quality to deteriorate severely, and more than 4 layers will cause the model complexity to increase sharply. Each layer of the multi-layer codec branch contains 2 (N1=N2=N3=N4=2) Transformer modules, namely the Transformer module on the encoder side and the Transformer module on the decoder side, among which the bottom layer (4th layer) Transformer module can adopt a codec sharing method, which contains encoding and decoding processes, or it can be divided into two independent encoding and decoding modules. Each Transformer module is like Figure 6 As shown in (a), it includes the first normalization layer (Layer Normalization, LN), the multi-head transposed attention layer (Multi-Dconv head Transposed Attention, MDTA) with deep separable convolution, the feed-forward network (Feed-Forward Network, FFN) and the second normalization layer in sequence. The MDTA layer mainly enables the model to efficiently establish the correlation between the local space and the hyperspectral spectrum. The FFN is mainly composed of two fully connected layers, which can effectively promote the interaction between channels and further improve the model capacity. The LN layer mainly standardizes the input, which can effectively improve the model convergence speed and the generalization ability of the model. The first normalization layer normalizes (normalizes) the input of the current Transformer module. After the MDTA layer, the output is added element by element to the original input of the first normalization layer as the input of the second normalization layer. The second normalization layer normalizes the input. After the feed-forward network, the output is added element by element to the input of the second normalization layer as the output of the current Transformer module.

[0054] In order to better utilize the encoder features and reduce the loss of local details, the output features of the Transformer module of the encoder in each layer are reduced in dimension through a 1×1 convolution matrix (the third convolution matrix), and concatenated with the output features of the decoder Transformer module in the previous layer of the layer along the channel dimension as the input of the corresponding Transformer module of the decoder of the layer. Finally, another 3×3 convolution (the second convolution matrix) is used to output the feature information in the hyperspectral image to map the feature space to the hyperspectral space, and then the output feature information is summed with the initialized hyperspectrum to obtain the desired hyperspectral signal, so that the reconstructed hyperspectral image becomes clear.

[0055] Figure 7 The spectral resolution reconstruction results and analysis using the high compression ratio single exposure compressed hyperspectral imaging system 100 according to some embodiments of the present disclosure are shown. The central wavelength spectral accuracy is about 2nm. Please check Figure 7 The spectral curve in (c) is shown in FIG. The spectral resolution is close to 4 nm, but this value is limited by the line width of the light source. The theoretical spectral resolution of the device in this embodiment is about 1.5 nm, and a light source with a narrower line width is required for verification.

[0056] Figure 8 The results and analysis of spatial resolution reconstruction using a high compression ratio single exposure compressed hyperspectral imaging system 100 according to some embodiments of the present disclosure are shown; the reconstructed image has high contrast and spatial resolution, and the line pair that can be clearly distinguished is "element 4 in group -1". Considering that the printed 1951 USAF resolution target is reduced to 0.98 times, the actual spatial resolution is about 0.72 line pairs per millimeter.

[0057] Fig. 9 The image shows the results of imaging and reconstructing a target using a high-compression ratio single-exposure compressed hyperspectral imaging system according to some embodiments of the present disclosure; it displays 96 of the 382 spectral channels with a step size of 4; its compression ratio is 382; after being trained using the NVIDIA RTX 8000 GPU, the reconstruction time only takes 18 seconds, which is very fast; its shooting target is plants in nature, including a red flower and a green leaf.

[0058] Therefore, using the high-compression ratio single-exposure compressed hyperspectral imaging system and method proposed in the present invention, it is possible to restore a three-dimensional hyperspectral image of the target scene through a single exposure measurement, with a small amount of data, a high compression ratio, a fast reconstruction speed, high image quality, and a high spectral resolution, and the spectral resolution is uniform within the measured spectral range.

[0059] In some embodiments, various RISC (reduced instruction set computer) processor IPs purchased from ARM and the like can be used as processors of the single exposure compression hyperspectral imaging system of the present disclosure to perform corresponding functions, and an embedded system (such as but not limited to SOC) can be used to realize the processing of the compression measurement results. Specifically, there are many modules on the modules (IP) available on the market, such as but not limited to memory (the memory can be a memory or an external expansion memory on the IP), various communication modules (such as Bluetooth modules), codecs, buffers, etc. The interface can be used to obtain the compression measurement results on the two-dimensional detector. Users can build ASICs (application-specific integrated circuits) based on purchased IPs or self-developed modules to realize various communication modules, codecs, and various steps of the method of the present disclosure, etc., so as to reduce power consumption and cost. The processing performed by the processor can be implemented as executable instructions executed by a RISC processor, or can be formed as different hardware circuit modules, or can be formed as a firmware combining software and hardware, which will not be repeated here.

[0060] In addition, although exemplary embodiments have been described herein, the scope includes any and all embodiments based on the present disclosure with equivalent elements, modifications, omissions, combinations (e.g., various embodiments intersecting schemes), adaptations or changes. The elements in the claims will be interpreted broadly based on the language adopted in the claims, and are not limited to the examples described in this specification or during the implementation of the present disclosure, and the examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered as examples only, and the true scope and spirit are indicated by the following claims and the full scope of their equivalents.

[0061] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. For example, a person of ordinary skill in the art can use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features can be grouped together to simplify the present disclosure. This should not be interpreted as a feature of an application that does not require protection being an essential intention for any claim. On the contrary, the subject matter of the present disclosure may be less than all the features of the embodiments of a specific application. Thus, the claims are incorporated into the specific embodiments as examples or embodiments, wherein each claim is independently used as a separate embodiment, and it is considered that these embodiments can be combined with each other in various combinations or arrangements. The scope of the present invention should be determined with reference to the full scope of the equivalent forms of the attached claims and these claims.

[0062] The above embodiments are only exemplary embodiments of the present disclosure and are not intended to limit the present invention. The protection scope of the present invention is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present invention within the essence and protection scope of the present disclosure, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present invention.

Claims

1. A single-exposure compressed hyperspectral imaging system, It is characterized in that include: A first imaging element, which is configured to collect a light signal of a target scene once and form a first spectral image of the target scene on a first imaging plane; an aperture stop configured to limit the size of the first spectral image and to control the spectral range of the single exposure compressed hyperspectral imaging system; a coded aperture configured to code-modulate the first spectral image by binary coding, grayscale coding, or random coding; A grating dispersive element configured to disperse the coded modulated optical signal to generate a dispersion shift; A second imaging element is configured to collect the optical signal after coding, modulation and dispersion, and form a plurality of second spectral images corresponding to a plurality of spectral channels on a second imaging plane; as well as A two-dimensional detector configured to obtain a two-dimensional compressed single measurement result after superimposing the plurality of second spectral images by a single measurement, wherein the spectral dimension is compressed in the two-dimensional compressed single measurement result; as well as A processor configured to reconstruct a hyperspectral image of the target scene using a Unet neural network based on a Transformer module based on the two-dimensional compressed single measurement result; The hyperspectral image obtained by the single-exposure compressed hyperspectral imaging system includes at least 382 spectral channels; The opening size of the aperture stop is configured to limit the field of view size of the second imaging element to control the spectral range and avoid the overlap of spectra of the grating of the grating dispersion element at different diffraction orders; the aperture stop is a slit perpendicular to the dispersion direction; The Unet neural network based on the Transformer module includes a 4-layer codec to output high-dimensional feature information with spectral correlation and local spatial correlation; Each layer in the 4-layer codec includes 2 Transformer modules, and the Transformer module includes a first normalization layer, a multi-head transposed attention layer, a second normalization layer, and a forward network in sequence, wherein the input of the first normalization layer is added element by element to the output of the multi-head transposed attention layer as the input of the second normalization layer, and the input of the second normalization layer is added element by element to the output of the forward network as the output of the Transformer module; Each layer in the 4-layer codec is configured as follows: the output features of the Transformer module of the encoder of the current layer are reduced in dimension through the third convolution matrix, and are concatenated with the output features of the Transformer module of the decoder of the previous layer of the current layer along the channel dimension as the input of the Transformer module of the decoder of the current layer.

2. The single-exposure compressed hyperspectral imaging system according to claim 1, It is characterized in that The second imaging element is a single element disposed between the coded aperture and the grating dispersive element; or The second imaging element is two separate elements, including: a first element, which is arranged between the coded aperture and the grating dispersion element and is configured to collect the optical signal of the target scene after coding and modulation; and A second element is arranged between the grating dispersion element and the two-dimensional detector and is configured to match the first element to collect the coded modulated and dispersed optical signal and form a plurality of the second spectral images on the second imaging plane; Wherein, either the first element or the second element is a single lens or a combination of multiple lenses.

3. The single-exposure compressed hyperspectral imaging system according to claim 1 or 2, It is characterized in that The opening size of the aperture stop has a preset fixed size, or can be adjusted according to the field of view size and spectral range.

4. The single-exposure compressed hyperspectral imaging system according to claim 1 or 2, It is characterized in that The first imaging element is a single lens or a combination of multiple lenses.

5. The single-exposure compressed hyperspectral imaging system according to claim 1 or 2, It is characterized in that The coded aperture is a reflective coded aperture or a transmissive coded aperture.

6. The single-exposure compressed hyperspectral imaging system according to claim 1 or 2, It is characterized in that The coded aperture is a substrate made by micromachining, or a reflector controlled by a microcomputer.

7. The single-exposure compressed hyperspectral imaging system according to claim 1 or 2, It is characterized in that The grating dispersion element includes a transmission grating and a reflection grating.

8. The single-exposure compressed hyperspectral imaging system according to claim 1 or 2, It is characterized in that The two-dimensional detector is a charge coupled device or a complementary metal oxide semiconductor.

9. A single exposure compressed hyperspectral imaging method using the single exposure compressed hyperspectral imaging system according to any one of claims 1 to 8, It is characterized in that The single-exposure compressed hyperspectral imaging method comprises: Collecting light signals from the target scene once, and acquiring the first spectral image of the target scene on the first imaging plane; adjusting the aperture stop to limit the size of the first spectral image and control the spectral range of the single exposure compressed hyperspectral imaging system; Code-modulate the first spectral image by binary coding, grayscale coding or random coding; Dispersing the coded modulated optical signal to generate the dispersion offset; Collecting the coded, modulated and dispersed optical signals, and forming the plurality of second spectral images corresponding to the plurality of spectral channels on the second imaging plane; A two-dimensional compressed single measurement result is obtained by superimposing the plurality of second spectral images through a single measurement, wherein the spectral dimension is compressed in the two-dimensional compressed single measurement result; and Based on the two-dimensional compressed single measurement result, a hyperspectral image of the target scene is reconstructed using a Unet neural network based on a Transformer module, wherein the obtained hyperspectral image includes at least 382 spectral channels; The single exposure compressed hyperspectral imaging method further comprises: The aperture diaphragm is adjusted to limit the field of view of the second imaging element, so as to control the spectral range and avoid the overlap of spectra of the grating of the grating dispersion element at different diffraction orders; the aperture diaphragm is a slit perpendicular to the dispersion direction; The Unet neural network based on the Transformer module includes a 4-layer codec to output high-dimensional feature information with spectral correlation and local spatial correlation; Each layer in the 4-layer codec includes 2 Transformer modules, and the Transformer module includes a first normalization layer, a multi-head transposed attention layer, a second normalization layer, and a forward network in sequence, wherein the input of the first normalization layer is added element by element to the output of the multi-head transposed attention layer as the input of the second normalization layer, and the input of the second normalization layer is added element by element to the output of the forward network as the output of the Transformer module; The single-exposure compressed hyperspectral imaging method also includes: in each layer of the four-layer codec, reducing the dimension of the output features of the Transformer module of the encoder of the current layer through a third convolution matrix, and splicing them with the output features of the Transformer module of the decoder of the previous layer of the current layer along the channel dimension as the input of the Transformer module of the decoder of the current layer.

10. The single-exposure compressed hyperspectral imaging method according to claim 9, It is characterized in that Based on the two-dimensional compressed single measurement result, a hyperspectral image of the target scene is reconstructed using a Unet neural network based on a Transformer module, including: Performing inverse shift dispersion on the two-dimensional compressed single measurement result to obtain an initial hyperspectral image; Based on the initial hyperspectral image, a first convolution matrix is ​​used for processing to obtain high-dimensional feature information; Based on the high-dimensional feature information, using the Unet neural network including the 4-layer codec, outputting high-dimensional feature information with spectral correlation and local spatial correlation; and Based on the output of the Unet neural network, a second convolution matrix is ​​used for processing, and the output feature information is summed with the initial hyperspectral image to obtain a reconstructed hyperspectral image.

11. The single-exposure compressed hyperspectral imaging method according to claim 9 or 10, It is characterized in that Also includes: The two-dimensional compressed single measurement result is discretized.

Citation Information

Patent Citations

  • Coding method of coded aperture spectral imager

    CN104036463A

  • Spectral imaging system, imaging equipment and data processing method

    CN106768336A

  • A reconstruction method of a spectral imaging system based on an optimized heuristic neural network

    CN109697697A

  • Method for restoring and reconstructing damaged image based on spectral imaging technology of compressed sensing

    CN114638758A

  • Miniature snapshot type compressed spectral imaging detection device and detection method

    CN114659634A