Light field microscope three-dimensional image reconstruction system and method integrated with event camera
Through integrated event cameras and deep learning technology, the image authenticity and data set problems of light field microscopes in high dynamic range and high speed scenes are solved, efficient three-dimensional image reconstruction is achieved, resolution and signal-to-noise ratio are improved, and the resolution is improved, and the signal-to-noise ratio is reduced. Artifacts and axial deformation improve reconstruction speed.
Patent Information
- Application Number
- CN202411358588.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2044-09-27
AI Technical Summary
The existing light field microscopy technology is difficult to obtain images with high authenticity in high dynamic range and high speed scenarios, and the lack of large-scale event data and corresponding ground truth image data sets, resulting in insufficient quality and resolution of 3D reconstruction.
The three-dimensional image reconstruction system of light field microscope integrated event cameras is used to generate training samples through data simulation modules, combined with event cameras and deep learning technology, and use optical flow prediction deep networks and image reconstruction deep networks for 3D reconstruction, bypassing the traditional CMOS system Frame rate limiting, realizes asynchronous reading and efficient data processing.
The reconstruction imaging resolution and signal-to-noise ratio are significantly improved, artifacts and axial deformation are reduced, and three-dimensional image reconstruction throughput with high video rates is achieved, which improves reconstruction speed and image authenticity.
Smart Images

Figure CN119313813A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of optical technology, relates to the intersection of microscope technology and computational imaging technology, and specifically relates to a light field microscope three-dimensional image reconstruction system and method integrated with an event camera. Background Art
[0002] Optical imaging methods using fluorescent indicators can convert biophysical changes into fluorescence changes, thereby directly monitoring cellular activities in living organisms with high spatial resolution and non-invasively, and realizing the visualization of complex dynamic biological processes. Therefore, in recent years, three-dimensional rapid microscopy technology has become an indispensable means for biological dynamic observation and medical research.
[0003] Light field microscopy (LFM) is a new type of optical microscopy imaging technology. LFM records the distribution of light in free space through a pinhole array or a microlens array, encodes three-dimensional information into two-dimensional multi-channel measurements, and can capture the scene information of the incident light from a single snapshot. Then, the three-dimensional structure of the object space is reconstructed by calculation, thereby realizing scanless imaging of the target three-dimensional area at video frame rate. However, LFM is a single-lens three-dimensional (3D) wide-field technology, which is limited by the synchronous readout of traditional CMOS cameras, resulting in an inherent trade-off between maintaining high resolution and high data throughput at limited frame rates. In addition, due to the high-dimensional data perception of light field signals, the computational post-processing of signals faces the contradiction between effective data perception and computational efficiency. Existing LFM techniques usually operate below 100 Hz at full frame resolution, a limitation that hinders their application in capturing ultrafast dynamic biological processes that may exceed kilohertz, such as voltage signals, hemodynamics, and muscle tissue contraction in the mammalian brain. Ultrafast imaging strategies can address these technical limitations. As a novel biomimetic visual sensor, event cameras have ultra-high temporal resolution, can provide measurements with latency as low as 1 microsecond, record ultrafast signal changes at speeds exceeding 10 kHz (Hz), and can be flexibly integrated with various platforms. They can capture high-quality data under challenging visual conditions such as extreme lighting or high-speed motion, and have great potential in the reconstruction and recovery of high dynamic range images and high frame rate videos. They provide a new model for high dynamic range, low latency image sensors, and show promise in various applications such as autonomous driving, gesture recognition, and single-molecule localization microscopy. Currently, a large amount of research work focuses on the performance optimization of light field microscopy. The combination of light field microscopy and event cameras has the potential to overcome the limitations of frame-based cameras in light field microscopy imaging.
[0004] In 2006, Levoy et al. placed a microlens array at the natural image plane of a widefield microscope to create the first light-field microscope. The original light-field microscope sacrificed lateral resolution in order to capture sufficient angular information, and there were inherent artifact problems in the focal plane. In 2013, Broxton et al. proposed a wave optics model of light-field microscopy and the Richardson-Lucy (RL) 3D deconvolution algorithm for reconstructing 3D volumes from 2D light-field images. In 2019, Guo et al. introduced a Fourier lens in the optical path and proposed the Fourier light-field microscope (Fourier LFM), which transfers various physical transformations of the optical system from the time domain to the frequency domain, which can increase the reconstruction speed and effectively reduce artifacts caused by angular crosstalk caused by sample redundancy or scattering. In 2021, Wang et al. combined the View-Channel-Depth (VCD) deep neural network with a light-field microscope and designed a high-speed real-time 3D reconstruction algorithm that does not require an R–L deconvolution step. In 2023, Guo et al. creatively combined an event camera with a Fourier light field microscope to launch a simple and economical system, EventLFM. EventLFM operates on a novel asynchronous readout architecture, thereby bypassing the inherent frame rate limitations of traditional CMOS systems and significantly alleviating the low SBR challenges commonly encountered in scattering environments. It has the potential to become a tool for visualizing complex and dynamic 3D biological phenomena in various biomedical applications. However, Guo et al. used a simple light field refocusing algorithm for 3D reconstruction, which easily resulted in artifacts and axial elongation in the results. In recent years, data-driven algorithms have been widely used in various signal and image processing tasks, and have shown excellent image reconstruction capabilities in the field of neuroimaging. Deep neural networks are able to model ambiguous or even unknown physical systems, and their universal approximation capabilities are suitable for solving highly complex functions. Using deep neural networks to perform reconstruction can significantly improve the reconstructed imaging resolution and signal-to-noise ratio. Parallel computing also greatly improves the reconstruction speed and has stronger fitting capabilities.
[0005] Aiming at the quality and resolution issues of 3D reconstruction in EventLFM, we proposed a new 3D reconstruction method for target areas based on EventLFM combined with LFM of event cameras. We proposed a new deep learning method combining neural networks SSL-E2VID and VCD-Net, which trains the network with 2-dimensional (2D) light field image events generated by original 3D events and recovers intensity information from event data to achieve reconstruction. The latest progress in deep learning relies on training with simulated data, and the network requires training data in the form of event sequences to match the corresponding real image sequences. However, there is currently no large-scale event data and corresponding ground-truth image datasets. In addition, in high dynamic range and high-speed scenes, the image authenticity obtained by traditional cameras is poor. Summary of the invention
[0006] In order to solve the problem that there is currently no large-scale event data and corresponding ground-truth image data set, and at the same time to solve the problem that the image authenticity acquired by traditional cameras in high dynamic range and high-speed scenes is poor, the present invention provides a light field microscope three-dimensional image reconstruction system and method with an integrated event camera.
[0007] The technical solution of the light field microscope three-dimensional image reconstruction system and method integrated with an event camera of the present invention is:
[0008] A light field microscope 3D image reconstruction system with an integrated event camera includes a data simulation module for simulating event data for training a network through raw light field data, an event image reconstruction network module capable of converting a continuous event stream into an image, and a 3D image reconstruction network module for reconstructing an image into a 3D scene.
[0009] A further improvement of the technical solution of the present invention is that: the data simulation module generates event stream data of image sequences with different moving paths based on a random process, and provides training samples for the event image reconstruction network module; the data simulation module uses an event simulator based on a random process, that is, a dynamic visual sensor voltmeter to obtain the event sequence, and the specific steps are as follows:
[0010] S1. Observe the three-dimensional area of the target with a light field microscope, intercept the moving trajectory of the target within a certain time period, obtain two-dimensional light field images of the same three-dimensional area at different times, and determine the timestamp of each image;
[0011] S2, input the two-dimensional light field image with time stamp obtained in S1 into the dynamic vision sensor voltmeter, detect its spatiotemporal brightness changes in the form of asynchronous "event" stream when the intensity occurs, and output the corresponding event sequence;
[0012] S3, encapsulating the event sequence and the light field image to obtain the training samples required for the optical flow prediction deep network unit and the reconstruction deep neural network training unit;
[0013] S4, repeat S1, S2 and S3, capture images in multiple three-dimensional areas with different motion trajectories, and obtain a large amount of event training data.
[0014] The further improvement of the above technical solution of the present invention is that the specific process of step S2 is:
[0015] The event camera samples light when each pixel brightness L changes, and each event with index i can be encoded as e i =(x i ,t i ,p i), where x i =(h i ,l i ) T Represents the horizontal and vertical coordinates of the pixel, t i Record timestamp, polarity p i ∈{+,-} records the increase or decrease of brightness; the kth time window Δt k The brightness increase ΔL k can be coded as:
[0016]
[0017] Where x represents the set of pixel horizontal and vertical coordinates, and C represents the contrast sensitivity threshold.
[0018] A further improvement of the above technical solution of the present invention is that: the event image reconstruction network module includes an optical flow prediction deep network unit for performing optical flow estimation from event data, and an image reconstruction deep network unit for performing three-dimensional reconstruction through learning; the optical flow prediction deep network unit and the image reconstruction deep network unit are jointly trained.
[0019] The above technical solution of the present invention is further improved in that: the optical flow prediction deep network unit uses contrast maximization proxy loss to learn to estimate the optical flow by compensating for motion blur in the input event; the image reconstruction deep network unit learns to perform image reconstruction through image registration
[0020] A further improvement of the above technical solution of the present invention is that the optical flow prediction deep network unit uses contrast maximization proxy loss to learn to estimate the optical flow by compensating for motion blur in the input event, and the specific process is:
[0021] On the Lambert surface, constant illumination, Δt k Under smaller assumptions, the event-based luminosity constant is expressed as:
[0022]
[0023] In the formula, x represents the set of horizontal and vertical coordinates of pixels, u k (x) represents the pixel in the kth time window Δt k The optical flow vector inside, The brightness signal L k As the optical flow vector u=(u h ,u l ) T The spatial gradient of movement, δ h L k , δ l L k Respectively represent L k The partial gradient in the horizontal and vertical directions, ≈ means approximately equal to;
[0024] The input of the optical flow prediction deep network unit is a voxel grid E with B time windows. k , each time window is filled with an event stream contiguous non-overlapping partitions of N events each; for each partition, each event e i Its polarity p i Assigned to the two closest windows as follows:
[0025]
[0026] κ(a)=max(0,1-|a|) (4)
[0028]
[0029] Where b is the window index, κ(a) is the maximum function operator, and a is a scalar value. To normalize event timestamps;
[0030] The optical flow prediction deep network unit retrieves the accurate pixel-by-pixel optical flow u(x i ), the event is propagated to the reference time t in the following way ref :
[0031] x′ i =x i +(t ref -t i )u(x i ) (6)
[0033] x′ i For x i Optical flow propagation at t ref The position after the moment;
[0034] By bilinear interpolation at each propagation t ref The deblurring quality is evaluated by generating an image with the average timestamp at each pixel of polarity p′ after time:
[0035]
[0037] in, is the normalized t ref Timestamp, j = {i|p i =p′}, p′∈{+,-}, parameter∈≈0;
[0038] Contrast maximization proxy loss Defined as:
[0039]
[0040] The total loss for training FlowNet is:
[0041]
[0042] in, is the Charbonnier smoothing prior, and λ1 is a scalar that balances the impact of the two losses.
[0043] A further improvement of the above technical solution of the present invention is that the image reconstruction deep network unit learns to perform image reconstruction through image registration, and the specific process is:
[0044] The input of the image reconstruction deep network unit is the same as that of the optical flow prediction deep network unit. The reconstruction problem uses the incremental reference image ΔL and the predicted The difference between the input event and the is the brightness after reconstruction; ΔL and The two incremental images are warped to a common time frame*, yielding ΔL * and
[0045] Defined as:
[0046]
[0047] Where x represents the pixel position, u is the optical flow vector, and G + and G - The definition is as follows:
[0048]
[0049] Where P is a two-channel image containing the number of pixel positions of the image H that received the event during the event warping process;
[0050] The spatial gradient after warping to the current time instance is defined as:
[0051]
[0052] in, is the time window Δt k Reconstructed optical flow within The warping function of
[0053] The photometric reconstruction loss is defined as:
[0054]
[0055] The resulting unbounded brightness estimate is first obtained by Transformed to intensity space, exp() represents the exponential function, is in the time window Δt k The reconstruction results within the reconstruction time period; the final reconstruction It is expressed as:
[0056]
[0057] Among them, m and M are The 1% and 99% percentiles, Clipped to the range [0,1];
[0058] The temporal loss is defined as the photometric error between two consecutive reconstructed frames:
[0059]
[0060] ‖‖1 represents the L1 norm;
[0061] The total loss for training ReconNet is:
[0062]
[0063] Among them, S represents the number of steps of expanding the recurrent network during training, is the smooth total variation constraint, and λ2 and λ3 are scalars that balance the effects of the three losses.
[0064] A further improvement of the technical solution of the present invention is that the three-dimensional image reconstruction network module is trained based on a three-dimensional reference image and a light field image synthesized by convolving the three-dimensional reference image with a point spread function calculated based on a wave optics model, and the network input of the three-dimensional image reconstruction network module is the output of the event image reconstruction network module.
[0065] A method for reconstructing a three-dimensional image of a light field microscope with an integrated event camera, using the above-mentioned reconstruction system, comprises the following steps:
[0066] S1, the original light field image and its corresponding timestamp simulation are packaged into a series of event data for subsequent network training;
[0067] S2, the event image reconstruction network module reconstructs the continuous event stream into an intensity image and inputs it into the three-dimensional image reconstruction network module;
[0068] S3. The three-dimensional image reconstruction network module reconstructs the event light field image reconstructed by the event image reconstruction network module into a three-dimensional scene.
[0069] Due to the adoption of the above technical solution, the technical advances achieved by the present invention include:
[0070] 1. The present invention proposes a neural network driven light field microscope 3D image reconstruction system integrated with an event camera. By replacing the CMOS camera of the traditional light field microscope with an event camera, the inherent frame rate limitation of the traditional CMOS system is bypassed. At the same time, the event camera of the present invention adopts a novel asynchronous readout architecture. Instead of recording intensity frames at fixed time intervals, it realizes dynamic sampling of light by asynchronously measuring the brightness change of each pixel. Therefore, the sparse event stream encoding can perceive the polarity of the change. This mode change enables the event camera to maintain a high signal-to-background ratio data throughput at a limited frame rate compared to traditional frame-based cameras.
[0071] 2. The present invention uses a deep neural network to perform event reconstruction, combines the estimated optical flow and the event-based photometric constant to train the neural network, and uses the trained network to reconstruct the spatiotemporal measurement data into a light field event image. The self-supervised method used improves the reconstruction performance and significantly improves the reconstructed imaging resolution and signal-to-noise ratio.
[0072] 3. The present invention uses a visual field depth (VCD) neural network to reliably reconstruct rapidly changing three-dimensional scenes from two-dimensional light field event images; the VCD network uses high-resolution three-dimensional scenes and two-dimensional light field images as training data, and iteratively reduces the loss of spatial resolution by integrating rich structural information from the training data; this reconstruction method has uniform spatial resolution, and the generated three-dimensional image sequence effectively avoids artifacts and axial deformation, and uses parallel computing to achieve high video rate reconstruction throughput, thereby improving the speed of reconstruction. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] Figure 1 It is a schematic diagram of the SSL-E2VID network architecture of a light field microscope three-dimensional image reconstruction system and method integrated with an event camera of the present invention;
[0074] Figure 2 It is a training diagram of VCD-Net of a light field microscope three-dimensional image reconstruction system and method integrated with an event camera of the present invention. DETAILED DESCRIPTION
[0075] In order to make the purpose, technical solution and advantages of the present invention more clear, the present invention is further described in detail below in combination with specific implementation methods and with reference to the accompanying drawings. In the following description, the description of the public structure and technology is omitted to avoid unnecessary confusion of the concept of the present invention.
[0076] The light field microscope three-dimensional image reconstruction system with integrated event camera in the present invention includes a data simulation module that simulates event data for training a network through original light field data, an event image reconstruction network module that can convert a continuous event stream into a series of intensity images, and a three-dimensional image reconstruction network module that reconstructs an image into a high-resolution three-dimensional scene. The three-dimensional image reconstruction network module is trained based on a three-dimensional reference image and a light field image synthesized by convolving the three-dimensional reference image with a point spread function calculated based on a wave optics model, and the network input of the three-dimensional image reconstruction network module is the output of the event image reconstruction network module.
[0077] The data simulation module generates event stream data of image sequences with different moving paths based on a random process, and provides training samples for the event image reconstruction network module; the data simulation module uses an event simulator based on a random process, namely a dynamic vision sensor voltmeter (DVS-Voltmeter), to obtain the event sequence, and the specific steps are as follows:
[0078] S1. Use a light field microscope to observe the three-dimensional area of the target, intercept the movement trajectory of the target within a certain time period, obtain two-dimensional light field images of the same three-dimensional area at different times, and determine the timestamp of each image.
[0079] S2, input the two-dimensional light field image with timestamp obtained in S1 into DVS-Voltmeter, detect its spatiotemporal brightness change in the form of asynchronous "event" stream when the intensity occurs, and output the corresponding event sequence; the specific process is: the event camera samples the light when each pixel brightness L changes, and each event with index i can be encoded as e i =(x i ,t i ,p i ), where x i =(h i ,l i ) T Represents the horizontal and vertical coordinates of the pixel, t i Record timestamp, polarity p i ∈{+,-} records the increase or decrease of brightness; each pixel x i In response to the change of the brightness signal L(t), when the brightness change reaches the contrast sensitivity threshold C(C>0), at the pixel point x i and timestamp t i Trigger event e i Therefore, the kth time window Δt k The brightness increase ΔL k It can be encoded in the event data by pixel-by-pixel accumulation, ΔL kcan be coded as:
[0080]
[0081] Where x represents the set of pixel horizontal and vertical coordinates, and C represents the contrast sensitivity threshold.
[0082] S3. Encapsulate the event sequence and the light field image to obtain the training samples required for the optical flow prediction deep network unit and the reconstruction deep neural network training unit.
[0083] S4, repeat S1, S2 and S3, capture images in multiple three-dimensional areas with different motion trajectories, and obtain a large amount of event training data.
[0084] The above-mentioned event image reconstruction network module includes an optical flow prediction deep network unit for performing optical flow estimation from event data, and an image reconstruction deep network unit for performing three-dimensional reconstruction through learning; at the same time, the optical flow prediction deep network unit and the image reconstruction deep network unit are jointly trained.
[0085] The above optical flow prediction deep network unit uses contrast maximization proxy loss to learn to estimate optical flow by compensating for motion blur in input events. The specific process is:
[0086] On the Lambert surface, constant illumination, Δt k Under the assumption of smaller , equation (1) can be linearized to obtain the event-based luminosity constant, which is expressed as:
[0087]
[0088] In the formula, x represents the set of horizontal and vertical coordinates of pixels, u k (x) represents the pixel in the kth time window Δt k The optical flow vector inside The brightness signal L k As the optical flow vector u=(u h ,u l ) T The spatial gradient of movement, which triggers the encoding event, δ h L k ,δ l L k Respectively represent L k In the horizontal and vertical directions, the deviation gradient is approximately equal to. indicates a vertical relationship and no events will occur; When , it indicates a parallel relationship and events will be generated at the highest rate.
[0089] The above events encode the time, position and polarity of the brightness change. In theory, the event stream contains the entire visual signal in a highly compressed form, so it can be decompressed to recover any high frame rate and high resolution video. We select the original 3D dataset, perform data augmentation operations such as cropping, rotation and mirroring, and then simulate the light field image through the point spread function proposed by Broxton. Then determine the event duration and use DVS-Voltmeter to generate a series of 2D light field events as training data for the network.
[0090] The neural network SSL-E2VID converts a continuous event stream into a series of intensity images in a self-supervised learning (SSL) manner, where two neural networks are jointly trained to perform optical flow estimation and image reconstruction from event data using a contrast maximization proxy loss and an event-based photometric constant, respectively. Figure 1 As shown in Figure 2, the optical flow network (FlowNet) learns to estimate optical flow by compensating for motion blur in the input events, and the reconstruction network (ReconNet) learns to perform image reconstruction by learning to use event-based photometric constants.
[0091] The input of the optical flow prediction deep network unit is a voxel grid E with B time windows. k , each time window is filled with an event stream contiguous non-overlapping partitions of N events each; for each partition, each event e i Its polarity p i Assigned to the two closest windows as follows:
[0092]
[0093] κ(a)=max(0,1-|a|) (4)
[0095]
[0096] Where b is the window index, κ(a) is the maximum function operator, and a is a scalar value. Normalize event timestamps. This representation adaptively normalizes the time dimension of the input based on the timestamp of each event partition.
[0097] L is reconstructed by learning the photometric constant in equation (2), which depends on the optical flow u in addition to the spatiotemporal derivatives of the brightness itself. This ill-posed problem can be solved using the ground truth of the optical flow. The training of FlowNet performs flow estimation in a self-supervised manner, and the use of a contrast maximization proxy loss for motion compensation can address the problem of the lack of event camera datasets with accurate real data. When there is spatiotemporal misalignment between events, events generated by the same part of a motion edge are captured by different timestamps and pixel locations. The optical flow prediction deep network unit retrieves the exact pixel-by-pixel optical flow u(x i ), the event is propagated to the reference time t in the following way ref :
[0098] x′ i =x i +(t ref -t i )u(x i ) (6)
[0100] x′ i For x i Optical flow propagation at t ref The position after the moment.
[0101] The deblurring quality metric is judged by the pixel-by-pixel and polarity-by-polarity average timestamps of the image H of the distorted event. The lower the metric, the better the deblurring effect. ref The deblurring quality is evaluated by generating an image with the average (normalized) timestamp at each pixel of polarity p′ after time instant:
[0102]
[0103] in, is the normalized t ref Timestamp, j = {i|p i =p′}, p′∈{+,-}, parameter∈≈0.
[0104] Minimize the sum of squared images produced by forward and backward warping events To address the scaling problem during back-propagation, the contrast maximization proxy loss Defined as:
[0105]
[0106] The total loss for training FlowNet is:
[0107]
[0108] in, is the Charbonnier smoothing prior, and λ1 is a scalar that balances the impact of the two losses.
[0109] At the same time, the above image reconstruction deep network unit learns to perform image reconstruction through image registration. The specific process is:
[0110] The input of the image reconstruction deep network unit is the same as that of the optical flow prediction deep network unit. The reconstruction problem uses the incremental reference image ΔL and the predicted The difference between the input event and the is the brightness after reconstruction; ΔL and The two incremental images are warped to a common time frame (indicated by the superscript *), yielding ΔL * and
[0111] Defined as:
[0112]
[0113] in, It is defined as, x represents the pixel position, u is the optical flow vector, G + and G - The definition is as follows:
[0114]
[0115] Where P is a two-channel image containing the number of pixel positions that receive events during the event warping process. is a deblurred representation of the contrast changes encoded in the input events.
[0116] On the other hand, using event-based luminosity constants, the reconstructed image is transformed into The spatial gradient of is warped to the current time instance, that is:
[0117]
[0118] in, is the time window Δt k Reconstructed optical flow within The warping function, Means defined as.
[0119] According to the maximum likelihood method, the photometric reconstruction loss is defined as the square of the L2 norm of the difference between the warped brightness increments:
[0120]
[0121] The contrast threshold C is unknown. To relax the dependence on this parameter, ReconNet uses linear activation in its last layer. The obtained unbounded brightness estimate is first Transformed to intensity space, exp() represents the exponential function, is in the time window Δt k The reconstruction results within the reconstruction time period; the final reconstruction It is expressed as:
[0122]
[0123] Among them, m and M are The 1% and 99% percentiles, is clipped to the range [0,1]. This min / max normalization allows training with any value of C as long as the ratio of the positive and negative contrast thresholds is similar to the ratio of the evaluation sequences. We assume that most event camera datasets are trained with C + / C - ≈1 record, C + , C - are the signal thresholds for the positive and negative directions, which are set to 1, and ≈ means approximately equal. The absence of input events can be vaguely understood as the lack of obvious motion or the lack of spatial image gradients. This problem can be solved by introducing an explicit temporal consistency loss based on the frame-based photometric constant formula. The temporal loss is defined as the photometric error between two consecutive reconstructed frames:
[0124]
[0125] ‖‖1 represents the L1 norm.
[0126] The total loss for training ReconNet is:
[0127]
[0128] Among them, S represents the number of steps of expanding the recurrent network during training, is the smooth total variation constraint, and λ2 and λ3 are scalars that balance the effects of the three losses.
[0129] FlowNet uses a self-supervised deep learning network EV-FlowNet for event-based camera optical flow estimation. Input voxel grid E kAfter four strided convolutional layers, the output channels start at 64 and double at each layer. The resulting activations pass through two residual blocks and four decoding layers that perform bilinear upsampling and convolution. After each decoding layer there is a cascaded skip connection from the corresponding encoder, and another depthwise convolution to produce a lower-scale flow estimate, which is then concatenated with the activation of the previous decoder. EV-FlowNet has no convolution kernels and ReLU (rectified linear unit) activations, except for the flow prediction layer, which uses tanh (hyperbolic tangent function) activations.
[0130] ReconNet uses a recurrent network E2VID that reconstructs intensity images from an event stream. Input voxel grid E k A convolutional head layer and three recurrent encoding layers perform cross-row convolutions, followed by bilinear upsampling through ConvLSTM (Convolutional Long Short-Term Memory Network), two residual modules, three decoding layers, and then convolution and depth-wise convolution prediction layers. There are serial skip connections between symmetric encoding and decoding layers, and the number of output channels in the head layer is 32, which doubles after each encoder. The head layer, encoder and decoder layers use 5*5 kernels, and the remaining layers use 3*3 kernels. All layers use ReLU activation except the last prediction layer, which uses linear activation.
[0131] The 2D images reconstructed by SSL-E2VID can be reconstructed into 3D images by VCD-Net. Compared with traditional reconstruction methods, VCD-Net can image transient biological dynamics with higher spatial resolution, minimal reconstruction artifacts and higher reconstruction throughput. It is robust, versatile and widely applicable. The training process of this method is as follows Figure 2 As shown. It requires using a confocal microscope to obtain high-resolution three-dimensional reference images from static samples or synthetic data, and then convolving them with a point spread function calculated based on a wave optics model to synthesize a light field image. After the data is prepared, the view channel deep neural network is trained on the training data set to reconstruct the input original light field into a three-dimensional image. The VCD neural network is trained by setting an appropriate loss function and iteratively minimizing the loss between its intermediate output and the reference image. When the network is well trained, the light field image can be converted into an image stack on a millisecond time scale through the network forward process. Since high-resolution three-dimensional images have strong priors, this method can remove artifacts caused by traditional deconvolution algorithms and obtain uniform spatial resolution along the depth.
[0132] In the above embodiment, the present invention provides a light field microscope three-dimensional image reconstruction system and method with an integrated event camera, which bypasses the inherent frame rate limitation of the traditional CMOS system by replacing the CMOS camera of the traditional light field microscope with an event camera; at the same time, the event camera of the present invention adopts a novel asynchronous readout architecture, which does not record intensity frames at fixed time intervals, but realizes dynamic sampling of light by asynchronously measuring the brightness change of each pixel, so that the sparse event stream encoding can perceive the polarity of the change. This mode change enables the event camera to maintain a high signal-to-background ratio data throughput at a limited frame rate compared to traditional frame-based cameras; at the same time, the present invention uses a visual field depth (VCD) neural network to reliably reconstruct a high-speed changing three-dimensional scene from a two-dimensional light field event image; the VCD network uses high-resolution three-dimensional scenes and two-dimensional light field images as training data, and iteratively reduces the loss of spatial resolution by integrating rich structural information from the training data; this reconstruction method has uniform spatial resolution, and the generated three-dimensional image sequence effectively avoids artifacts and axial deformation, and uses parallel computing to achieve high video rate reconstruction throughput, thereby improving the speed of reconstruction.
[0133] The above-described embodiments are merely descriptions of preferred implementations of the present invention, and are not intended to limit the concept and scope of the present invention. Without departing from the design concept of the present invention, various modifications and improvements made by ordinary persons in the art to the technical solution of the present invention should fall within the protection scope of the present invention, and the technical contents for which protection is sought in the present invention have been fully recorded in the claims.
Claims
1. A light field microscope 3D image reconstruction system with integrated event camera, characterized in that: It includes a data simulation module for simulating event data for training the network through original light field data, an event image reconstruction network module capable of converting a continuous event stream into an image, and a three-dimensional image reconstruction network module for reconstructing an image into a three-dimensional scene.
2. The light field microscope 3D image reconstruction system with integrated event camera according to claim 1, characterized in that: The data simulation module generates event stream data of image sequences with different moving paths based on a random process, and provides training samples for the event image reconstruction network module; the data simulation module uses an event simulator based on a random process, namely a dynamic visual sensor voltmeter, to obtain the event sequence, and the specific steps are as follows: S1. Observe the three-dimensional area of the target with a light field microscope, intercept the moving trajectory of the target within a certain time period, obtain two-dimensional light field images of the same three-dimensional area at different times, and determine the timestamp of each image; S2, input the two-dimensional light field image with time stamp obtained in S1 into the dynamic vision sensor voltmeter, detect its spatiotemporal brightness change in the form of asynchronous "event" stream when the intensity occurs, and output the corresponding event sequence; S3, encapsulating the event sequence and the light field image to obtain the training samples required for the optical flow prediction deep network unit and the reconstruction deep neural network training unit; S4, repeat S1, S2 and S3, capture images in multiple three-dimensional areas with different motion trajectories, and obtain a large amount of event training data.
3. The light field microscope 3D image reconstruction system with integrated event camera according to claim 2, characterized in that: The specific process of step S2 is: The event camera samples light when each pixel brightness L changes, and each event with index i can be encoded as e i =(x i ,t i ,p i ), where x i =(h i ,l i ) T Represents the horizontal and vertical coordinates of the pixel, t i Record timestamp, polarity p i ∈{+,-} records the increase or decrease of brightness; the kth time window Δt k The brightness increase ΔL k can be coded as: Where x represents the set of pixel horizontal and vertical coordinates, and C represents the contrast sensitivity threshold.
4. The light field microscope 3D image reconstruction system with integrated event camera according to claim 3, characterized in that: The event image reconstruction network module includes an optical flow prediction deep network unit for performing optical flow estimation from event data, and an image reconstruction deep network unit for performing three-dimensional reconstruction through learning; the optical flow prediction deep network unit and the image reconstruction deep network unit are jointly trained.
5. The light field microscope 3D image reconstruction system with integrated event camera according to claim 4, characterized in that: The optical flow prediction deep network unit learns to estimate optical flow by compensating for motion blur in input events using a contrast maximization proxy loss; the image reconstruction deep network unit learns to perform image reconstruction through image registration.
6. The light field microscope 3D image reconstruction system with integrated event camera according to claim 5, characterized in that: The optical flow prediction deep network unit uses contrast maximization proxy loss to learn to estimate optical flow by compensating for motion blur in input events. The specific process is: On the Lambert surface, constant illumination, Δt k Under smaller assumptions, the event-based luminosity constant is expressed as: In the formula, x represents the set of horizontal and vertical coordinates of pixels, u k (x) represents the pixel in the kth time window Δt k The optical flow vector inside, The brightness signal L k As the optical flow vector u=(u h ,u l ) T The spatial gradient of movement, δ h L k , δ l L k Respectively represent L k The partial gradient in the horizontal and vertical directions, ≈ means approximately equal to; The input of the optical flow prediction deep network unit is a voxel grid E with B time windows. k , each time window is filled with an event stream contiguous non-overlapping partitions of N events each; for each partition, each event e i Its polarity p i Assigned to the two closest windows as follows: Where b is the window index, κ(a) is the maximum function operator, and a is a scalar value. To normalize event timestamps; The optical flow prediction deep network unit retrieves the accurate pixel-by-pixel optical flow u(x i ), the event is propagated to the reference time t in the following way ref : x′ i =x i +(t ref -t i )u(x i ) (6) x′ i For x i Optical flow propagation at t ref The position after the moment; By bilinear interpolation at each propagation t ref The deblurring quality is evaluated by generating an image with the average timestamp at each pixel of polarity p′ after time: in, is the normalized t ref Timestamp, j = {i|p i =i′}, p′∈ {+,-}, parameter ∈≈0; Contrast maximization proxy loss Defined as: The total loss for training FlowNet is: in, is the Charbonnier smoothing prior, and λ1 is a scalar that balances the impact of the two losses.
7. The light field microscope 3D image reconstruction system integrated with an event camera according to claim 5, characterized in that: The image reconstruction deep network unit learns to perform image reconstruction through image registration, and the specific process is as follows: The input of the image reconstruction deep network unit is the same as that of the optical flow prediction deep network unit. The reconstruction problem uses the incremental reference image ΔL and the predicted The difference between the input event and the is the brightness after reconstruction; ΔL and The two incremental images are warped to a common time frame*, yielding ΔL * and Defined as: Where x represents the pixel position, u is the optical flow vector, and G + and G - The definition is as follows: Where P is a two-channel image containing the number of pixel positions of the image H that received the event during the event warping process; The spatial gradient after warping to the current time instance is defined as: in, is the time window Δt k Reconstructed optical flow within The warping function of The photometric reconstruction loss is defined as: The resulting unbounded brightness estimate is first obtained by Transformed to intensity space, exp() represents the exponential function, is in the time window Δt k The reconstruction results within the reconstruction time period; the final reconstruction It is expressed as: Among them, m and M are The 1% and 99% percentiles, Clipped to the range [0,1]; The temporal loss is defined as the photometric error between two consecutive reconstructed frames: ‖‖1 represents the L1 norm; The total loss for training ReconNet is: Among them, S represents the number of steps of expanding the recurrent network during training, is the smooth total variation constraint, and λ2 and λ3 are scalars that balance the effects of the three losses.
8. The light field microscope 3D image reconstruction system with integrated event camera according to claim 1, characterized in that: The three-dimensional image reconstruction network module is trained based on a three-dimensional reference image and a light field image synthesized by convolving the three-dimensional reference image with a point spread function calculated based on a wave optics model, and the network input of the three-dimensional image reconstruction network module is the output of the event image reconstruction network module.
9. A method for three-dimensional image reconstruction of a light field microscope with an integrated event camera, characterized in that: Use of the reconstruction system according to any one of claims 1 to 8, comprising the following steps: S1, the original light field image and its corresponding timestamp simulation are packaged into a series of event data for subsequent network training; S2, the event image reconstruction network module reconstructs the continuous event stream into an intensity image and inputs it into the three-dimensional image reconstruction network module; S3. The three-dimensional image reconstruction network module reconstructs the event light field image reconstructed by the event image reconstruction network module into a three-dimensional scene.
Citation Information
Patent Citations
Simulation system and method of high-dimensional light field event camera
CN115730423A
Event camera image reconstruction method based on brightness constancy
CN118485735A
Method, medium and apparatus for enhancing reconstructed images of an event camera that fuses visible light images
JP7425276B1
Systems and methods for 3-d reconstruction and scene segmentation using event cameras
US20230084807A1
Cited By
High-time-resolution Shack-Hartmann wavefront sensor based on event camera
CN120499522A
Event camera image reconstruction method of multi-frame fusion network based on optical flow guidance
CN121903863A
In-pixel event data generation method and event vision sensor
CN122227095A