A super-resolution spectral image reconstruction method, system and application
Through structured light imaging and super-resolution algorithms, combined with transmissive spatial light modulators and LED light sources, the problem of difficulty in obtaining high-resolution spectral images in the existing technology is solved, and high-quality and efficient super-resolution spectral image reconstruction is achieved. , suitable for rapid detection of living biological samples.
Patent Information
- Application Number
- CN202311568890.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-22
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-11-22
AI Technical Summary
The existing technology is difficult to calculate high-resolution spectral images from compressed images, and cannot meet the demand for high-resolution multi-dimensional images in practical applications, especially in the detection of living biological samples.
Spectral images are obtained through structured light imaging, combined with super-resolution algorithms, using transmissive spatial light modulators and LED light sources to achieve phase structured light irradiation, and combined with pre-trained image reconstruction models and super-resolution synthesis algorithms to reconstruct Super-resolution spectral images.
It achieves video-level super-resolution spectral image reconstruction, improves the imaging quality and frame rate of the reconstructed image, has low phototoxicity and low cost, and is suitable for rapid pathological analysis of living organisms.
Smart Images

Figure CN117522691B
Abstract
Description
Technical Field
[0001] The present application relates to the field of three-dimensional measurement, and in particular to a method, system and application for reconstructing a super-resolution spectral image. Background Art
[0002] Visual information acquisition has always been the most direct and effective way for humans to understand the surrounding objects. People's demand for image acquisition has evolved from the simplest recording of the two-dimensional intensity of the scene space to the perception of information including three-dimensional space, one-dimensional time, and light wave physical quantity dimensions such as spectrum, polarization and phase. The collection of multi-dimensional information has a wide range of applications in modern society. For example, spatial three-dimensional imaging of human tissue is used for accurate positioning and diagnosis of diseases. The acquisition of target spatial information and spectral information can be used to detect food quality and safety. High-speed imaging can obtain transient images of moving targets for physical and chemical process analysis.
[0003] With the development of information theory and the improvement of computer digital processing capabilities, the collection of multi-dimensional image information can be designed based on the coding strategy of the physical model, from compressing and collecting two-dimensional information through dimensionality reduction, and then using the compressed sensing algorithm to restore three-dimensional or multi-dimensional information. Among them, a coded aperture snapshot compressed spectral imaging (CASSI) technology has been proposed to compress high-dimensional image information to low dimensions for collection and reconstruction. Coded Aperture Snapshot Spectral Imaging (CASSI) technology is a technology that compresses high-dimensional information to low dimensions for collection. Specifically, the multi-dimensional data of the spatial distribution information and spectral band information of the object image is compressed into a low-dimensional image after data encoding, and then collected. The low-dimensional image is then solved by the algorithm to restore the high-dimensional information of the object. This compression imaging technology is based on the idea of dimensional conversion, which reduces the bandwidth and space costs in the process of information transmission and storage, improves the image acquisition speed, and provides strong support for long-distance transmission and analysis of target space and spectral information. However, deep learning reconstruction algorithms are generally used for compressed images collected by CASSI. However, due to the limitation of computing resources, it is difficult for deep neural networks to directly train and test data with high resolution in each dimension. In addition, due to the limitation of reconstructed image quality, it cannot meet the demand for high-resolution multi-dimensional images in practical applications, that is, it is difficult to calculate high-resolution spectral images from compressed images.
[0004] In summary, there is an urgent need for a method that can obtain super-resolution spectral images so as to detect living biological samples. Summary of the invention
[0005] The embodiments of the present application provide a method, system and application for reconstructing a super-resolution spectral image, which acquires a spectral image on the surface of an object to be reconstructed through structured light imaging, and acquires a super-resolution spectral image corresponding to the object to be reconstructed in combination with a super-resolution algorithm.
[0006] In a first aspect, an embodiment of the present application provides a method for reconstructing a super-resolution spectral image, the method comprising:
[0007] Using an illumination light source to uniformly illuminate a transmissive spatial light modulator to project a phase-type structured light, wherein the transmissive spatial light modulator is cyclically loaded with a set of different phase-type patterns;
[0008] The phase-type structured light is imaged on the surface of the object to be reconstructed through the first objective lens, the second objective lens reflects the object to be reconstructed with the phase-type structured light on the surface into the first tube lens, and the first tube lens images the object on the mask surface to obtain a mask image, and the mask encodes the mask image to obtain an encoded image;
[0009] The coded image is imaged on a dispersion prism through a third objective lens to obtain a dispersion image, and the dispersion image is imaged in a camera through a second tube lens to obtain a two-dimensional compressed image, and the camera generates a corresponding two-dimensional compressed image according to each different phase pattern, wherein the dispersion image is an image of different spectral bands with spatial dislocation;
[0010] A pre-trained image reconstruction model is used to reconstruct each two-dimensional compressed image into at least two spectral images in different spectral channels. A super-resolution synthesis algorithm is used to perform super-resolution synthesis on all spectral images in each spectral channel to obtain a super-resolution spectral image. All super-resolution spectral images are integrated to obtain a super-resolution spectral image set.
[0011] In a second aspect, an embodiment of the present application provides a super-resolution spectral image reconstruction system, comprising:
[0012] The spectral three-dimensional imaging device comprises an LED light source, a Kohler illumination module, a transmission type spatial light modulator, a first objective lens, a second objective lens, a first reflector, a second reflector, a first tube lens, a mask, a third objective lens, a dispersion prism, a second tube lens and a camera arranged along an optical path, wherein a three-dimensional imaging space for accommodating an object to be reconstructed is formed between the first objective lens and the second objective lens, an illumination light source is used to evenly illuminate the transmission type spatial light modulator to project a phase type structured light, the transmission type spatial light modulator cyclically loads a group of different phase type patterns; the phase type structured light is imaged through the first objective lens on the object to be reconstructed The object surface is reconstructed, the second objective lens reflects the object to be reconstructed with phase-type structured light on the surface into the first tube lens through the first reflector and the second reflector, and the first tube lens images the object on the mask surface to obtain a mask image, and the mask encodes the mask image to obtain an encoded image; the encoded image is imaged on the dispersion prism through the third objective lens to obtain a dispersion image, and the dispersion image is imaged in the camera through the second tube lens to obtain a two-dimensional compressed image, and the camera generates a corresponding two-dimensional compressed image according to each different phase-type pattern, wherein the dispersion image is an image of different spectral bands with spatial dislocation;
[0013] An image reconstruction unit is used to reconstruct a two-dimensional compressed image into a super-resolution spectral image, wherein each two-dimensional compressed image is reconstructed into at least two spectral images of different spectral channels using a pre-trained image reconstruction model, all spectral images in each spectral channel are super-resolution synthesized using a super-resolution synthesis algorithm to obtain a super-resolution spectral image, and all super-resolution spectral images are integrated to obtain a super-resolution spectral image set.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute a method for reconstructing a super-resolution spectral image.
[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, in which a computer program is stored. The computer program includes a program code for controlling a process to execute a process, and the process includes a method for reconstructing a super-resolution spectral image.
[0016] The main contributions and innovations of the present invention are as follows:
[0017] This scheme uses a transmissive spatial light modulator and an LED light source to achieve phase structured light irradiation of the object to be reconstructed, and performs real-time acquisition for reconstruction to achieve video-level super-resolution spectral image reconstruction; the phase structured light in this scheme can quickly capture and analyze the microscopic behavior and pathological structure of organisms, and has low phototoxicity and photobleaching properties to living organisms, ensuring that the samples are not harmed during the observation process and do not affect the life activities of living samples, and greatly improves the imaging quality and reconstruction frame rate of the reconstructed image, thereby achieving low-cost pathological analysis of biological samples; this scheme reconstructs each two-dimensional compressed image through snapshot compression imaging technology to quickly and efficiently compress the dispersion image to improve the acquisition speed of the two-dimensional compressed image. This scheme uses an FPGA chip to control the triggering of the projector and the camera to ensure the accuracy of the projector and the camera, and can correct the accuracy in time when deviations occur; this scheme uses a dispersion prism to obtain different spectral images with spatial dislocations and images them through integration to obtain a two-dimensional compressed image containing spectral information.
[0018] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0020] Figure 1 is a flow chart of a method for reconstructing a super-resolution spectral image according to an embodiment of the present application;
[0021] Figure 2 is a structural diagram of a device for acquiring a two-dimensional compressed image according to an embodiment of the present application;
[0022] Figure 3 is a schematic diagram of a method for acquiring a super-resolution spectral image mask according to an embodiment of the present application;
[0023] Figure 4 is a structural block diagram of a super-resolution spectral image reconstruction device according to an embodiment of the present application;
[0024] Figure 5 It is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0025] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of this specification. Instead, they are merely examples of devices and methods consistent with some aspects of one or more embodiments of this specification as detailed in the appended claims.
[0026] It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the steps included in the method may be more or less than those described in this specification. In addition, a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may be combined into a single step for description in other embodiments.
[0027] Embodiment 1
[0028] Structured light: Structured light is a light wave with a special distribution of phase, amplitude or polarization information. In the field of optics, structured light is often used to illuminate living biological samples. The collected object light information is calculated and synthesized through CCD / CMOS to reconstruct the microscopic imaging information in the biological sample and achieve super-resolution imaging. The common method of using structured light illumination to achieve image super-resolution is to reconstruct a single super-resolution image by synthesizing the frequency spectrum of multiple structured light illumination images.
[0029] The present application embodiment provides a method for reconstructing a super-resolution spectral image. Specifically, referring to Figure 1 , the method comprising:
[0030] Using an illumination light source to uniformly illuminate a transmissive spatial light modulator to project a phase-type structured light, wherein the transmissive spatial light modulator is cyclically loaded with a set of different phase-type patterns;
[0031] The phase-type structured light is imaged on the surface of the object to be reconstructed through the first objective lens, the second objective lens reflects the object to be reconstructed with the phase-type structured light on the surface into the first tube lens, and the first tube lens images the object on the mask surface to obtain a mask image, and the mask encodes the mask image to obtain an encoded image;
[0032] The coded image is imaged on a dispersion prism through a third objective lens to obtain a dispersion image, and the dispersion image is imaged in a camera through a second tube lens to obtain a two-dimensional compressed image, and the camera generates a corresponding two-dimensional compressed image according to each different phase pattern, wherein the dispersion image is an image of different spectral bands with spatial dislocation;
[0033] A pre-trained image reconstruction model is used to reconstruct each two-dimensional compressed image into at least two spectral images in different spectral channels. A super-resolution synthesis algorithm is used to perform super-resolution synthesis on all spectral images in each spectral channel to obtain a super-resolution spectral image. All super-resolution spectral images are integrated to obtain a super-resolution spectral image set.
[0034] In this solution, in the step of "using an illumination light source to uniformly illuminate the transmissive spatial light modulator to project a phase-type structured light", the illumination light source is an LED light source modulated by a Kohler illumination module.
[0035] In this scheme, the device for obtaining the two-dimensional compressed image is as follows Figure 2 As shown, the device includes: an LED light source arranged along the optical path, a Kohler illumination module, a transmissive spatial light modulator, a first objective lens, a second objective lens, a first reflector, a second reflector, a first tube lens, a mask, a third objective lens, a dispersion prism, a second tube lens and a camera, and a three-dimensional imaging space for accommodating an object to be reconstructed is formed between the first objective lens and the second objective lens.
[0036] The LED light source is a light source with a broadband spectrum, and the phase-type pattern is a grating pattern that changes continuously in a sinusoidal distribution manner.
[0037] In this solution, the first objective lens reduces the phase-type structured light so as to better image it on the surface of the object to be reconstructed.
[0038] The objective lens and tube lens in this solution are all optical imaging devices, which can magnify / reduce the image under certain circumstances.
[0039] In this solution, the mask is a static optical quartz slice made by photolithography technology, and the image formed on the mask is modulated by the binary randomly distributed mask information on the mask to become a coded image with coded information.
[0040] In this solution, the dispersion prism disperses the encoded image into images of different spectral bands with spatial dislocation.
[0041] In the step of "the second objective lens reflects the object to be reconstructed with phase-type structured light on the surface into the first tube lens and the first tube lens forms an image on the mask surface to obtain a mask image", this scheme uses two reverse mirrors to reflect the object to be reconstructed with phase-type structured light into the first tube lens. The purpose of using two reflecting mirrors is to ensure that the optical path structure is compact and convenient for later practical use.
[0042] In the step of "imaging the dispersion image through a tube mirror to obtain a two-dimensional compressed image in a camera", the spectral dimension in the dispersion image is integrated by a CCD / CMOS photosensitive chip in the camera to obtain the two-dimensional compressed image.
[0043] Specifically, CCD and CMOS are both camera imaging elements. CCD is a charge-coupled device, and its working method is to use the light from the lens to make the capacitor of each photodiode accumulate a certain amount of charge, and the amount of charge is proportional to the incident light intensity at that location; while CMOS is a complementary metal oxide semiconductor, and each pixel's photodiode is connected to an amplifier and ADC circuit to read out the value of the pixel.
[0044] This solution uses an FPGA chip to control the triggering of a transmissive spatial light modulator and a camera, and the refresh rate of the transmissive spatial light modulator is the same as the refresh rate of the camera.
[0045] Specifically, the FPGA chip is used to control the triggering of the transmissive spatial light modulator and the camera to ensure that the transmissive spatial light modulator and the camera run simultaneously, and the accuracy of the transmissive spatial light modulator and the camera can be guaranteed, and when the accuracy deviates, it can be corrected in time.
[0046] Specifically, the refresh rate of the transmissive spatial light modulator is the same as the refresh rate of the camera. The purpose is that the camera can accurately obtain the image of each phase-type pattern imaged on the object to be reconstructed, thereby improving the accuracy of subsequent super-resolution reconstruction. This is because the more images of different phase-type patterns imaged on the object to be reconstructed captured by the camera, the more information is obtained, which is more conducive to the operation of the super-resolution algorithm.
[0047] In this scheme, in the step of "using a pre-trained image reconstruction model to reconstruct each two-dimensional compressed image into at least two spectral images of different spectral channels", the image reconstruction model uses snapshot compression imaging technology to reconstruct each two-dimensional compressed image to obtain spectral images of different spectral channels.
[0048] Specifically, this scheme uses a deep learning-based snapshot compression imaging (SCI) system image reconstruction method to construct an image reconstruction model. The snapshot compression imaging system image reconstruction method has powerful feature extraction capabilities to obtain fast and high-quality images.
[0049] Exemplarily, the image reconstruction model architecture in this solution can be the following:
[0050] End-to-End Deep Neural Network
[0051] Deep-unfolding
[0052] Plug-and-Play algorithm framework (PnP)
[0053] Specifically, the algorithm formula of the model is as follows:
[0054] y=Ax+g
[0055] Among them, A is the sensing matrix, g is the observation noise, x represents the input two-dimensional compressed image, and y is the output spectral image.
[0056] Specifically, in this solution, a large number of two-dimensional compressed images and their corresponding spectral images are used as training samples to train the image reconstruction model to obtain a pre-trained image reconstruction model.
[0057] It is worth mentioning that the construction method of the image reconstruction model in this scheme is not limited to the above deep learning algorithm, and all algorithms that can reconstruct spectral images such as unified iterative algorithms can also be used.
[0058] Specifically, the super-resolution spectral image is obtained as follows: Figure 3 As shown, the spectral images of the same spectral channel are super-resolution synthesized by a super-resolution algorithm to obtain a super-resolution spectral image mask.
[0059] Exemplarily, taking the number of two-dimensional compressed images as 9 and the number of spectral channels as 60 as an example, that is, 9 two-dimensional compressed images are reconstructed into 60 images of 1, 2, 3, ..., 60 spectral channels through the image reconstruction model, so 9 two-dimensional compressed images can reconstruct 9 groups of spectral image sets, each group of spectral image sets contains 60 spectral images. In the super-resolution reconstruction algorithm, there is often a method of synthesizing a single super-resolution spectral image mask using 3, 6, 9 or other low-resolution spectral images. For the convenience of explanation, the method of synthesizing 9 images is selected for introduction in this article. The present invention is not limited to this synthesis method, and other methods that can synthesize super-resolution spectral images can be used.
[0060] First, the intensity distribution of the phase structured light is obtained as shown in Formula 1:
[0061]
[0062] Among them, r is the two-dimensional spatial coordinate, I0 is the maximum light intensity, pθ is the sinusoidal frequency, φ is the phase, m is the modulation factor, and θ is the rotation angle of the sinusoidal structured light.
[0063] Assuming that the transmittance distribution of the object to be reconstructed is S(r), the object illumination distribution Dθ,φ(r) of the object to be reconstructed with phase-type structured light is as shown in Formula 2:
[0064]
[0065] where H(r) is the point spread function of the optical system, is the convolution symbol, N(r) is Gaussian white noise. According to the convolution principle, Formula 2 can be expressed as Formula 3:
[0066]
[0067] in, is the optical transfer function of the optical system, and k is the coordinate in the frequency domain. As can be seen from Formula 3, There are three frequency domain regions A linear combination of one at the center of the frequency domain and the other two are shifted by -p relative to the center. θ and p θ Therefore, the three phases φ1 = 0°, φ1 = 120° and φ1 = 240° lead to three different structured light illumination patterns - D θ,φ1 (r), D θ,φ2 (r) and D θ,φ3 (r), then nine different structured light illumination patterns are generated in the three directions. These nine different structured light illumination patterns are synthesized using frequency shift, combination, filtering, and inverse Fourier transform operations to obtain a super-resolution spectral image.
[0068] In this solution, since the camera refresh rate in this solution is the same as the refresh rate of the transmissive spatial light modulator, the number of the two-dimensional compressed images is the same as the number of phase-type patterns in the transmissive spatial light modulator.
[0069] In this solution, nine different phase-type patterns are obtained by rotating the three-phase sinusoidal grating patterns in the transmissive spatial light modulator by different angles.
[0070] This solution uses structured light to reconstruct images, which has low phototoxicity and photobleaching properties to living organisms, ensuring that the samples are not harmed during the observation process and does not affect the life activities of the living samples. It can quickly capture and analyze the microscopic behavior and pathological structure of the organism, greatly improving the imaging quality and reconstruction frame rate of the reconstructed image, and realizing low-cost pathological analysis of biological samples.
[0071] In this solution, in the step of "integrating all super-resolution spectral images to obtain a super-resolution spectral image set", the number of super-resolution spectral images is the same as the number of spectral channels, and the number of spectral images in each spectral channel is the same as the number of two-dimensional compressed images.
[0072] In some embodiments, the spectral band of the LED light source in this solution is 400nm-760nm, and the image reconstruction model reconstructs a two-dimensional compressed image into 60 spectral images, and each spectral image of a two-dimensional compressed image has a different spectral channel.
[0073] Embodiment 2
[0074] Based on the same idea, refer to Figure 4 , the present application also proposes a super-resolution spectral image reconstruction system, comprising:
[0075] The spectral three-dimensional imaging device comprises an LED light source, a Kohler illumination module, a transmission type spatial light modulator, a first objective lens, a second objective lens, a first reflector, a second reflector, a first tube lens, a mask, a third objective lens, a dispersion prism, a second tube lens and a camera arranged along an optical path, wherein a three-dimensional imaging space for accommodating an object to be reconstructed is formed between the first objective lens and the second objective lens, an illumination light source is used to evenly illuminate the transmission type spatial light modulator to project a phase type structured light, the transmission type spatial light modulator cyclically loads a group of different phase type patterns; the phase type structured light is imaged through the first objective lens on the object to be reconstructed The object surface is reconstructed, the second objective lens reflects the object to be reconstructed with phase-type structured light on the surface into the first tube lens through the first reflector and the second reflector, and the first tube lens images the object on the mask surface to obtain a mask image, and the mask encodes the mask image to obtain an encoded image; the encoded image is imaged on the dispersion prism through the third objective lens to obtain a dispersion image, and the dispersion image is imaged in the camera through the second tube lens to obtain a two-dimensional compressed image, and the camera generates a corresponding two-dimensional compressed image according to each different phase-type pattern, wherein the dispersion image is an image of different spectral bands with spatial dislocation;
[0076] An image reconstruction unit is used to reconstruct a two-dimensional compressed image into a super-resolution spectral image, wherein each two-dimensional compressed image is reconstructed into at least two spectral images of different spectral channels using a pre-trained image reconstruction model, all spectral images in each spectral channel are super-resolution synthesized using a super-resolution synthesis algorithm to obtain a super-resolution spectral image, and all super-resolution spectral images are integrated to obtain a super-resolution spectral image set.
[0077] Embodiment 3
[0078] This embodiment also provides an electronic device, referring to Figure 5 , comprising a memory 404 and a processor 402, wherein the memory 404 stores a computer program, and the processor 402 is configured to run the computer program to execute the steps in any one of the above-mentioned super-resolution spectral image reconstruction methods.
[0079] Specifically, the processor 402 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0080] Among them, the memory 404 may include a large capacity memory 404 for data or instructions. By way of example and not limitation, the memory 404 may include a hard disk drive (HDD), a floppy disk drive, a solid state drive (SSD), a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 404 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 404 may be inside or outside the data processing device. In a specific embodiment, the memory 404 is a non-volatile memory. In a specific embodiment, the memory 404 includes a read-only memory (ROM) and a random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, PROM for short), an erasable PROM (Erasable Programmable Read-Only Memory, EPROM for short), an electrically erasable PROM (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), an electrically alterable ROM (Electrically Alterable Read-Only Memory, EAROM for short) or a flash memory (FLASH) or a combination of two or more of these. Under appropriate circumstances, the RAM can be a static random access memory (Static Random-Access Memory, abbreviated as SRAM) or a dynamic random access memory (Dynamic Random Access Memory, abbreviated as DRAM), wherein the DRAM can be a fast page mode dynamic random access memory 404 (Fast Page Mode Dynamic Random Access Memory, abbreviated as FPMDRAM), an extended data output dynamic random access memory (Extended Date Out Dynamic Random Access Memory, abbreviated as EDODRAM), a synchronous dynamic random access memory (Synchronous Dynamic Random-Access Memory, abbreviated as SDRAM), etc.
[0081] The memory 404 may be used to store or cache various data files required for processing and / or communication, as well as possible computer program instructions executed by the processor 402 .
[0082] The processor 402 reads and executes computer program instructions stored in the memory 404 to implement any one of the super-resolution spectral image reconstruction methods, systems, and applications in the above-mentioned embodiments.
[0083] Optionally, the electronic device may further include a transmission device 406 and an input / output device 408 , wherein the transmission device 406 is connected to the processor 402 , and the input / output device 408 is connected to the processor 402 .
[0084] The transmission device 406 can be used to receive or send data via a network. The specific examples of the above-mentioned network may include a wired or wireless network provided by a communication provider of the electronic device. In one example, the transmission device includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 406 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0085] The input / output device 408 is used to input or output information. In this embodiment, the input information may be a phase pattern, etc., and the output information may be a super-resolution spectrum image, etc.
[0086] Optionally, in this embodiment, the processor 402 may be configured to perform the following steps through a computer program:
[0087] S101, using an illumination light source to uniformly illuminate a transmissive spatial light modulator to project a phase-type structured light, wherein the transmissive spatial light modulator cyclically loads a set of different phase-type patterns;
[0088] S102, the phase-type structured light is imaged on the surface of the object to be reconstructed through the first objective lens, the second objective lens reflects the object to be reconstructed with the phase-type structured light on the surface into the first tube lens, and the first tube lens images the object on the mask surface to obtain a mask image, and the mask encodes the mask image to obtain an encoded image;
[0089] S103, the coded image is imaged on a dispersion prism through a third objective lens to obtain a dispersion image, the dispersion image is imaged in a camera through a second tube lens to obtain a two-dimensional compressed image, the camera generates a corresponding two-dimensional compressed image according to each different phase pattern, wherein the dispersion image is an image of different spectral bands with spatial dislocation;
[0090] S104, using a pre-trained image reconstruction model to reconstruct each two-dimensional compressed image into at least two spectral images of different spectral channels, using a super-resolution synthesis algorithm to perform super-resolution synthesis on all spectral images in each spectral channel to obtain a super-resolution spectral image, and integrating all super-resolution spectral images to obtain a super-resolution spectral image set.
[0091] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0092] In general, various embodiments may be implemented in hardware or dedicated circuits, software, logic, or any combination thereof. Some aspects of the invention may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device, but the invention is not limited thereto. Although various aspects of the invention may be shown and described as block diagrams, flow charts, or using some other graphical representation, it should be understood that, as non-limiting examples, the boxes, devices, systems, techniques, or methods described herein may be implemented in hardware, software, firmware, dedicated circuits or logic, general-purpose hardware or controllers or other computing devices, or some combination thereof.
[0093] Embodiments of the present invention may be implemented by computer software that is executable by a data processor of a mobile device, such as in a processor entity, or by hardware, or by a combination of software and hardware. Computer software or programs (also referred to as program products) including software routines, applets and / or macros may be stored in any device-readable data storage medium, and they include program instructions for performing specific tasks. A computer program product may include one or more computer executable components configured to perform an embodiment when the program is run. One or more computer executable components may be at least one software code or a portion thereof. In addition, at this point, it should be noted that, for example, Figure 5 Any block of the logic flow in the program may represent program steps, or interconnected logic circuits, blocks and functions, or a combination of program steps and logic circuits, blocks and functions. The software may be stored on physical media such as memory chips or storage blocks implemented within a processor, magnetic media such as hard disks or floppy disks, and optical media such as, for example, DVDs and data variants thereof, CDs, etc. Physical media are non-transitory media.
[0094] Those skilled in the art should understand that the technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0095] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for reconstructing a super-resolution spectral image, characterized in that: The following steps are involved: Using an illumination light source to uniformly illuminate a transmissive spatial light modulator to project a phase-type structured light, wherein the transmissive spatial light modulator is cyclically loaded with a set of different phase-type patterns; The phase-type structured light is imaged on the surface of the object to be reconstructed through the first objective lens, the second objective lens reflects the object to be reconstructed with the phase-type structured light on the surface into the first tube lens, and the first tube lens images the object on the mask surface to obtain a mask image, and the mask encodes the mask image to obtain an encoded image; The coded image is imaged on a dispersion prism through a third objective lens to obtain a dispersion image, and the dispersion image is imaged in a camera through a second tube lens to obtain a two-dimensional compressed image, and the camera generates a corresponding two-dimensional compressed image according to each different phase pattern, wherein the dispersion image is an image of different spectral bands with spatial dislocation; A pre-trained image reconstruction model is used to reconstruct each two-dimensional compressed image into at least two spectral images of different spectral channels, and a super-resolution synthesis algorithm is used to perform super-resolution synthesis on all spectral images in each spectral channel to obtain a super-resolution spectral image, and all super-resolution spectral images are integrated to obtain a super-resolution spectral image set, wherein spectral images of the same spectral channel are super-resolution synthesized using a super-resolution algorithm to obtain a super-resolution spectral image mask, the number of super-resolution spectral images is the same as the number of spectral channels, and the number of spectral images in each spectral channel is the same as the number of two-dimensional compressed images.
2. The method for reconstructing a super-resolution spectral image according to claim 1, characterized in that: In the step of "using an illumination light source to uniformly illuminate the transmissive spatial light modulator to project a phase-type structured light", the illumination light source is an LED light source modulated by a Kohler illumination module.
3. The method for reconstructing a super-resolution spectral image according to claim 1, characterized in that: In the step of "imaging the dispersion image through the second tube lens to obtain a two-dimensional compressed image in the camera", the spectral dimension in the dispersion image is integrated by the CCD / CMOS photosensitive chip in the camera to obtain the two-dimensional compressed image.
4. The method for reconstructing a super-resolution spectral image according to claim 1, characterized in that: The transmissive spatial light modulator and the triggering of the camera are controlled by an FPGA chip, and the refresh rate of the transmissive spatial light modulator is the same as the refresh rate of the camera.
5. The method for reconstructing a super-resolution spectral image according to claim 1, characterized in that: In the step of "using a pre-trained image reconstruction model to reconstruct each two-dimensional compressed image into at least two spectral images of different spectral channels", the image reconstruction model uses snapshot compression imaging technology to reconstruct each two-dimensional compressed image to obtain spectral images of different spectral channels.
6. The method for reconstructing a super-resolution spectral image according to claim 1, characterized in that: The mask is a static optical quartz slice made by photolithography.
7. A super-resolution spectral image reconstruction system, characterized in that: include: A spectral three-dimensional imaging device, comprising an LED light source, a Kohler illumination module, a transmissive spatial light modulator, a first objective lens, a second objective lens, a first reflector, a second reflector, a first tube lens, a mask, a third objective lens, a dispersion prism, a second tube lens and a camera arranged along an optical path, a three-dimensional imaging space for accommodating an object to be reconstructed is formed between the first objective lens and the second objective lens, an illumination light source is used to uniformly illuminate the transmissive spatial light modulator to project a phase-type structured light, and the transmissive spatial light modulator cyclically loads a set of different phase-type patterns; The phase-type structured light is imaged on the surface of the object to be reconstructed through the first objective lens, the second objective lens reflects the object to be reconstructed with the phase-type structured light on the surface into the first tube lens through the first reflector and the second reflector, and the first tube lens images the object on the mask surface to obtain a mask image, and the mask encodes the mask image to obtain an encoded image; the encoded image is imaged on the dispersion prism through the third objective lens to obtain a dispersion image, and the dispersion image is imaged in the camera through the second tube lens to obtain a two-dimensional compressed image, and the camera generates a corresponding two-dimensional compressed image according to each different phase-type pattern, wherein the dispersion image is an image of different spectral bands with spatial dislocation; An image reconstruction unit is used to reconstruct a two-dimensional compressed image into a super-resolution spectral image, wherein a pre-trained image reconstruction model is used to reconstruct each two-dimensional compressed image into at least two spectral images of different spectral channels, a super-resolution synthesis algorithm is used to perform super-resolution synthesis on all spectral images in each spectral channel to obtain a super-resolution spectral image, and all super-resolution spectral images are integrated to obtain a super-resolution spectral image set, wherein spectral images of the same spectral channel are super-resolution synthesized by a super-resolution algorithm to obtain a super-resolution spectral image mask, the number of the super-resolution spectral images is the same as the number of spectral channels, and the number of spectral images in each spectral channel is the same as the number of the two-dimensional compressed images.
8. An electronic device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to run the computer program to execute the method for reconstructing a super-resolution spectral image according to any one of claims 1 to 6.
9. A readable storage medium, characterized in that: The readable storage medium stores a computer program, wherein the computer program includes a program code for controlling a process to execute a process, wherein the process includes a method for reconstructing a super-resolution spectral image according to any one of claims 1-6.
