Event image deblurring method and system based on multi-modal information fusion

The event image deblurring method through multi-modal information fusion combines event data and initial image frames for feature fusion, which solves the problem of poor image deblurring effects of deep learning convolutional networks in complex scenes, and achieves high-speed motion scenes High-performance image deblurring in.

CN118570101APending Publication Date: 2024-08-30INST OF MICROELECTRONICS CHINESE ACAD OF SCI LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410680714.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Convolutional networks based on deep learning have poor image deblurring effects when faced with complex real-life scenes characterized by fast motion, and cannot meet high-performance requirements.

Method used

The event image deblurring method based on multi-modal information fusion is adopted, and the event data and the initial image frame are combined through the rough fusion module and the fine fusion module to perform feature extraction and feature fusion to obtain clear image frames. The rough fusion module uses event data and initial image frames to perform feature fusion, and the fine fusion module performs feature fusion on adjacent rough fusion image frames to make full use of the spatiotemporal information of event data.

Benefits of technology

It improves the imaging quality of image deblurring in high-speed motion scenes and achieves clearer image reconstruction effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570101A
    Figure CN118570101A
Patent Text Reader

Abstract

The invention provides an event image deblurring method and system based on multi-modal information fusion, and the method comprises the steps: obtaining event data and an initial image frame, inputting the event data and the initial image frame into a deblurring model, and obtaining a clear image frame corresponding to the initial image frame. The deblurring model comprises a rough fusion module and a fine fusion module, the rough fusion module performs feature extraction and feature fusion on the event data and the initial image frame to obtain a plurality of rough fusion image frames with a time sequence, and the fine fusion module performs feature fusion on the plurality of rough fusion image frames adjacent in the time sequence to obtain a plurality of rough fusion image frames; and clear image frames are obtained. Therefore, the time-space information of the event data is effectively utilized through a comprehensive fusion process from coarse to fine, so that the event data can be utilized to the greatest extent, image deblurring in a high-speed motion scene is realized, and the imaging quality of image deblurring is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to an event image deblurring method and system based on multimodal information fusion. Background Art

[0002] When shooting with electronic devices, images may be blurred. Image blur is usually caused by factors such as the motion of the object being photographed, the shaking of the electronic device, and the change in the depth of field of the electronic device. A convolutional network based on deep learning can be used to deblur the image to obtain a clear image.

[0003] However, the image deblurring performance of deep learning-based convolutional networks still cannot meet the requirements when faced with complex real-life scenes characterized by rapid motion.

[0004] Therefore, how to improve the image deblurring effect and obtain a clear image is an urgent problem to be solved. Summary of the invention

[0005] In view of this, the purpose of the present application is to provide an event image deblurring method and system based on multimodal information fusion, which fully combines event data and initial image frames to obtain clear image frames, thereby achieving high-performance image deblurring.

[0006] To achieve the above purpose, this application has the following technical solutions:

[0007] The present application provides an event image deblurring method based on multimodal information fusion, which is characterized by comprising:

[0008] Acquire event data and an initial image frame, input the event data and the initial image frame into a deblurring model to obtain a clear image frame corresponding to the initial image frame, wherein the deblurring model includes a coarse fusion module and a fine fusion module;

[0009] The rough fusion module performs feature extraction and feature fusion on the event data and the initial image frame to obtain a plurality of rough fusion image frames in time sequence;

[0010] The fine fusion module performs feature fusion on a plurality of coarse fusion image frames adjacent in time sequence to obtain the clear image frame.

[0011] Optionally, the rough fusion module extracts features from the event data and the initial image frame respectively to obtain event features and image features respectively;

[0012] The rough fusion module uses the event feature as a query vector and the image feature as a key vector and a value vector, performs feature fusion on the event feature and the image feature, and obtains a first fusion feature;

[0013] The rough fusion module uses the image feature as a query vector and the event feature as a key vector and a value vector, performs feature fusion on the event feature and the image feature, and obtains a second fusion feature;

[0014] The rough fusion module splices the first fusion feature and the second fusion feature to obtain a plurality of rough fusion image frames in time sequence.

[0015] Optionally, the rough fusion module includes a first event image fusion module and a second event image fusion module;

[0016] The first event image fusion module uses the event feature as a query vector and the image feature as a key vector and a value vector to perform feature fusion on the event feature and the image feature to obtain a first fusion feature;

[0017] The second event image fusion module uses the image feature as a query vector and the event feature as a key vector and a value vector, performs feature fusion on the event feature and the image feature, and obtains a second fused feature.

[0018] Optionally, the first event image fusion module includes a layer normalization layer, a convolution layer, a first element-by-element dot product layer, a second element-by-element dot product layer, and a channel attention module;

[0019] The layer normalization layer and the convolution layer process the event features and the initial fusion features, and obtain the processing results as the query vector;

[0020] The layer normalization layer and the convolution layer process the image features, and obtain the processing results as the key vector and the value vector;

[0021] Using the first element-by-element dot product layer to combine the query vector and the key vector to obtain a first dot product result, and using the second element-by-element dot product layer to combine the first dot product result and the value vector to obtain a second dot product result;

[0022] Concatenate the second dot product result and the event feature to obtain the initial fusion feature;

[0023] The initial fused features are input into the channel attention module to obtain the first fused features.

[0024] Optionally, the rough fusion module further includes a supervised attention module;

[0025] The supervised attention module calculates the loss based on the first fusion feature or the second fusion feature combined with the true value, and obtains the accurate first fusion feature or the second fusion feature based on the loss.

[0026] Optionally, the acquiring event data and the initial image frame, and inputting the event data and the initial image frame into a deblurring model comprises:

[0027] Acquire an initial image frame, where the initial image frame is a blurred image;

[0028] Acquire event data corresponding to the initial image frame;

[0029] Averaging the event data to N time points according to time intervals, accumulating the event data from the intermediate image frame to the N time points, and obtaining N event voxel blocks; N is a positive integer greater than 0;

[0030] The N event voxel blocks and the initial image frame are input to a deblurring model.

[0031] Optionally, the coarse fusion image frames adjacent in time sequence include the i-th coarse fusion image frame and the (i+1)-th coarse fusion image frame; the fine fusion module includes a bidirectional frame fusion module;

[0032] The bidirectional frame fusion module performs feature fusion on the first part of the i-th rough fusion image frame and the i+1-th rough fusion image frame to obtain a forward propagation fusion result;

[0033] The bidirectional frame fusion module performs feature fusion on the second part of the i+1th rough fusion image frame and the ith rough fusion image frame to obtain a back-propagation fusion result;

[0034] The fine fusion module obtains the clear image frame according to the forward propagation fusion result and the backward propagation fusion result.

[0035] Optionally, the bidirectional frame fusion module includes a forward propagation module and a backward propagation module;

[0036] The forward propagation module performs feature fusion on the first part of the i-th rough fusion image frame and the i+1-th rough fusion image frame to obtain a forward propagation fusion result;

[0037] The back propagation module performs feature fusion on the second part of the (i+1)th rough fusion image frame and the i-th rough fusion image frame to obtain a back propagation fusion result.

[0038] Optionally, the fine fusion module includes a simple gate;

[0039] The simple gate multiplies the forward propagation fusion result and the backward propagation fusion result to obtain a product result, and obtains the clear image frame according to the product result.

[0040] The present application provides an event image deblurring system based on multimodal information fusion, comprising:

[0041] A deblurring unit, used to obtain event data and an initial image frame, input the event data and the initial image frame into a deblurring model, and obtain a clear image frame corresponding to the initial image frame, wherein the deblurring model includes a coarse fusion module and a fine fusion module;

[0042] The rough fusion module performs feature extraction and feature fusion on the event data and the initial image frame to obtain a plurality of rough fusion image frames in time sequence;

[0043] The fine fusion module performs feature fusion on a plurality of coarse fusion image frames adjacent in time sequence to obtain the clear image frame.

[0044] The present application provides an event image deblurring method based on multimodal information fusion, the method comprising: obtaining event data and an initial image frame, inputting the event data and the initial image frame into a deblurring model, and obtaining a clear image frame corresponding to the initial image frame, that is, the present application combines the event data and the initial image frame, and uses the deblurring model to process the event data and the initial image frame, thereby obtaining a clear image frame corresponding to the initial image frame. Among them, the deblurring model includes a coarse fusion module and a fine fusion module, that is, by performing two-stage deblurring of the blurred initial image frame in a coarse stage and a fine stage, a clear image frame is finally obtained. The coarse fusion module extracts and fuses features from the event data and the initial image frame to obtain a plurality of coarse fused image frames with a time sequence. The coarse fusion module can make full use of the event data associated with the initial image frame, thereby providing more data for obtaining a clearer clear image frame. The fine fusion module performs feature fusion on a plurality of coarse fused image frames adjacent in the time sequence to obtain a clear image frame. It can be seen that the present application effectively utilizes the temporal and spatial information of event data through a comprehensive fusion process from coarse to fine, which can make maximum use of event data, realize image deblurring in high-speed motion scenes, and improve the imaging quality of image deblurring. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0046] Figure 1A schematic diagram of a process of an event image deblurring method based on multimodal information fusion provided in an embodiment of the present application is shown;

[0047] Figure 2 A schematic diagram showing a correspondence relationship between event data and picture frames provided in an embodiment of the present application is shown;

[0048] Figure 3 A schematic diagram of the image deblurring process provided by an embodiment of the present application is shown;

[0049] Figure 4 A schematic diagram of the structure of a deblurring model provided in an embodiment of the present application is shown;

[0050] Figure 5 A schematic diagram of the structure of an event image fusion module provided in an embodiment of the present application is shown;

[0051] Figure 6 A schematic diagram of the structure of a bidirectional frame fusion module provided in an embodiment of the present application is shown;

[0052] Figure 7 A structural schematic diagram of an event image deblurring system based on multimodal information fusion provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0053] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below with reference to the accompanying drawings.

[0054] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present application. Therefore, the present application is not limited to the specific embodiments disclosed below.

[0055] This application is described in detail with reference to schematic diagrams. When describing the embodiments of this application in detail, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of this application. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0056] Traditional image deblurring methods can be divided into blind deblurring and non-blind deblurring. Blind deblurring lacks prior information and usually uses regularization techniques to constrain the solution space. This is a non-convex optimization problem and the algorithm may fall into a local optimal solution instead of a global optimal solution. Solving the blind deblurring problem is a challenging task that requires a comprehensive consideration of the robustness and performance of the algorithm. In contrast, non-blind deblurring assumes that the blur kernel is known and relies on the classical deconvolution algorithm for image restoration. However, its efficacy is greatly affected by the properties of the blur kernel. With the advent of neural networks, convolutional networks using deep learning have become the main approach to solve this problem. By training on a wide range of datasets to discern the mapping relationship between blurred and sharp images, deep learning-based convolutional networks can produce better results than traditional image deblurring methods. However, despite significant improvements over traditional image deblurring methods, the performance of deep learning-based convolutional networks is still unsatisfactory when faced with complex real-world scenes characterized by fast motion.

[0057] Therefore, how to improve the performance of image deblurring and obtain a clear image is an urgent problem to be solved.

[0058] Currently, an event camera can be used to capture the object being photographed, and the event data generated by the event camera can be used to assist in image deblurring. Event cameras are a new type of camera inspired by biology, which differs from traditional cameras in the way they obtain visual information. Traditional RGB cameras capture each frame at a fixed rate and are easily affected by the motion of objects during the exposure time. Instead of sampling images regularly, event cameras only generate output when the pixel value changes. This feature enables event cameras to capture images with nanosecond temporal resolution, so event cameras are suitable for fast-moving and high-dynamic scenes. However, the asynchronous digital signals output by event cameras are not easy to process, and coupled with the noise and threshold uncertainty of the event camera itself, some traditional computer vision methods are not very applicable. Although there have been a lot of studies on event-based image enhancement, such as directly fusing all events and images into a single frame to achieve image deblurring, the fusion of these studies is not sufficient, and the potential of event data to provide additional information has not been fully utilized.

[0059] It can be seen that the traditional image-based deblurring method only uses image data, which results in poor image reconstruction. The method that inputs both image and event data performs better, while most current event-based image deblurring methods directly fuse all events and images into a single frame, which results in the loss of temporal information in the event data. The event data is not fully utilized, resulting in poor image deblurring results.

[0060] Based on this, the present application provides an event image deblurring method based on multimodal information fusion, the method comprising: obtaining event data and an initial image frame, inputting the event data and the initial image frame into a deblurring model, and obtaining a clear image frame corresponding to the initial image frame, that is, the present application combines the event data and the initial image frame, and uses the deblurring model to process the event data and the initial image frame, thereby obtaining a clear image frame corresponding to the initial image frame. Among them, the deblurring model includes a coarse fusion module and a fine fusion module, that is, by performing two-stage deblurring of the blurred initial image frame in the coarse stage and the fine stage, a clear image frame is finally obtained. The coarse fusion module extracts and fuses features from the event data and the initial image frame to obtain a plurality of coarse fused image frames with a time sequence. The coarse fusion module can make full use of the event data associated with the initial image frame, thereby providing more data for obtaining a clearer clear image frame. The fine fusion module performs feature fusion on a plurality of coarse fused image frames adjacent in the time sequence to obtain a clear image frame. It can be seen that the present application effectively utilizes the temporal and spatial information of event data through a comprehensive fusion process from coarse to fine, which can make maximum use of event data, realize image deblurring in high-speed motion scenes, and improve the imaging quality of image deblurring.

[0061] In order to better understand the technical solution and technical effects of the present application, specific embodiments will be described in detail below with reference to the accompanying drawings.

[0062] refer to Figure 1 FIG. 1 is a flow chart of an event image deblurring method based on multimodal information fusion provided in an embodiment of the present application, the method comprising the following steps:

[0063] S101, acquiring event data and an initial image frame, inputting the event data and the initial image frame into a deblurring model, and obtaining a clear image frame corresponding to the initial image frame.

[0064] In an embodiment of the present application, the initial image frame is a blurred image, and the initial image frame and event data are both acquired by using an event camera.

[0065] Event cameras do not have a fixed exposure time and respond asynchronously to changes in the logarithmic brightness of pixels. Figure 1 As shown, the event camera can generate image frames and event data simultaneously. Within the exposure time T, the image frame B and the corresponding event points ε can be obtained. When the change in pixel intensity exceeds the predefined threshold c, the pixel generates an output in the form of I(x, y, t, p), where x and y represent the horizontal and vertical coordinates of the pixel in the imaging plane, t records the time when the event occurs, and p∈(-1, +1) represents the polarity, indicating the direction of the intensity change, as shown below:

[0066]

[0067] Wherein, the threshold c is user-defined and varies from sensor to sensor, I(t) represents the image intensity at time point (x, y), and Δt represents the time interval between adjacent events, which is determined by the rate and amplitude of change of pixel intensity.

[0068] set up From t to The event integral of , and I(t) and The relationship between:

[0069]

[0070] The relationship between the blurred image B and the clear frame L can be described by the double integral (EDI) model. If the capture starts at time s and lasts for exposure time T, the resulting blurred image B can be obtained by averaging the integral of the clear image L over time period T:

[0071]

[0072] It is very difficult to deal with direct integration of consecutive images. Therefore, assume that the blurred image B consists of N images taken within a period of time T:

[0073]

[0074] If we consider a fixed reference time point r and the exposure starts at time s, we get:

[0075]

[0076] The mapping relationship between the blurred image B and the clear image L can be obtained:

[0077]

[0078] It can be observed that if a pixel point has a small number of events, it indicates that the intensity change of the point is small and it may be a clear point. On the contrary, if a pixel point has a large number of events, it may be a blurred point.

[0079] Based on the mapping relationship between the blurred image and the clear image and the fact that the blurred image can be composed of multiple images taken within a time period, the present application constructs a deblurring model, and by inputting the event data and the initial image frame into the deblurring model, a clear image frame corresponding to the initial image frame can be obtained. In other words, the present application combines the event data and the initial image frame, and processes the event data and the initial image frame using the deblurring model, thereby obtaining a clear image frame corresponding to the initial image frame.

[0080] The specific structure of the deblurring model is introduced below:

[0081] The deblurring model includes a coarse fusion module and a fine fusion module, that is, by performing two-stage deblurring of a coarse stage and a fine stage on the blurred initial image frame, a clear image frame is finally obtained.

[0082] The rough fusion module performs feature extraction and feature fusion on the event data and the initial image frame to obtain a plurality of rough fusion image frames with a time sequence, and the fine fusion module performs feature fusion on a plurality of rough fusion image frames adjacent in the time sequence to obtain a clear image frame.

[0083] refer to Figure 3 and Figure 4 As shown, the event stream refers to the event data arranged according to the time data, and the coarse fused image frame can also be called a coarse-grained map or a coarse frame. The coarse fusion module can make full use of the event data associated with the initial image frame, thereby providing more data for obtaining a clearer and clearer image frame. The present application effectively utilizes the spatiotemporal information of the event data through a comprehensive fusion process from coarse to fine, which can maximize the utilization of the event data, realize image deblurring in high-speed motion scenes, and improve the imaging quality of image deblurring.

[0084] In the embodiment of the present application, event data and image frames represent two different data types, and effectively fusing their features in the deblurring process is a crucial step. Directly inputting each event into the deblurring model will require a lot of computing resources, so the event data can be formed into multiple event voxel blocks, and the voxel blocks are used to reduce the amount of data.

[0085] Specifically, we can first obtain the initial image frame and its corresponding event data. Taking into account the characteristics of asynchronous sparse data, we can average the event data to N time points according to the time interval, accumulate the event data from the intermediate image frame to N time points, and obtain N event voxel blocks, where N is a positive integer greater than 0. The N event voxel blocks and the initial image frame are input into the deblurring model to obtain a clear image frame.

[0086] As an example, N is 6.

[0087] In practical applications, event data may also be accumulated from the start image frame to N time points. Compared with the start image frame, it is more convenient to calculate N event voxel blocks from the intermediate image frames.

[0088] In the embodiment of the present application, image deblurring includes two stages, namely, coarse fusion and fine fusion, which are processed by a coarse fusion module and a fine fusion module respectively. The coarse fusion module and the fine fusion module are specifically introduced below:

[0089] The rough fusion module can adopt an encoder-decoder structure similar to UNet, and extract multi-scale features through a stacked UNet structure. The event data and the initial image frame are input into the encoder, and features are extracted and multi-scale information is obtained by downsampling. The cross-attention mechanism can be used to effectively fuse the details of the two modalities of event data and initial image frame. The rough fusion stage includes two paths, and the inputs of both paths are the initial image frame and event data. In the image branch, the initial image frame is the query vector, and the event data provides the key vector and the value vector. In the event branch, the event data is the query vector, and the initial image frame provides the key vector and the value vector, so that the event data and the initial image frame are effectively fused using the cross-attention mechanism. The upsampled features of the decoder are spliced ​​with the output results of the encoder of the same scale through the channel attention module included in the decoder and then output. After splicing the features of the two paths after the supervised attention module, the output of the decoder produces a coarse fused image frame with a coherent temporal order.

[0090] That is to say, reference Figure 4 (a) is a schematic diagram of the rough fusion stage. When the rough fusion module performs rough fusion, feature extraction can be performed on the event data and the initial image frame respectively to obtain event features and image features respectively. The rough fusion module uses the event feature as the query vector and the image feature as the key vector and the value vector to perform feature fusion on the event feature and the image feature to obtain the first fusion feature. The rough fusion module uses the image feature as the query vector and the event feature as the key vector and the value vector to perform feature fusion on the event feature and the image feature to obtain the second fusion feature, that is, the inputs of the two paths in the rough fusion stage are both the initial image frame and the event data. After the initial image frame and the event data are fused, the rough fusion module splices the first fusion feature and the second fusion feature obtained by the two paths to obtain multiple rough fusion image frames with a time sequence.

[0091] Specifically, the rough fusion module may include a first event image fusion module (EIFB) and a second event image fusion module. The first event image fusion module and the second event image fusion module correspond to two paths of the rough fusion stage, that is, the inputs of the first event image fusion module and the second event image fusion module are both event data and initial image frames.

[0092] The first event image fusion module uses the event feature as a query vector and the image feature as a key vector and a value vector, performs feature fusion on the event feature and the image feature, and obtains a first fused feature.

[0093] The second event image fusion module uses the image feature as the query vector and the event feature as the key vector and the value vector, performs feature fusion on the event feature and the image feature to obtain the second fused feature.

[0094] refer to Figure 5 , which is a schematic diagram of the structure of the first event image fusion module or the second event image fusion module. Figure 5 The input 1 illustrated in the figure is the feature of the query vector, and the input 2 is the feature of the key vector and the value vector. Therefore, by adjusting the features of input 1 and input 2, the first event image fusion module or the second event image fusion module can be switched.

[0095] As an example, the first event image fusion module includes a layer normalization layer, a convolution layer, a first element-by-element dot product layer, a second element-by-element dot product layer, and a channel attention module (CAB). Among them, the layer normalization layer and the convolution layer process the event features and the initial fusion features, and the obtained processing results are used as the query vector. The layer normalization layer and the convolution layer can also process the image features, and the obtained processing results are used as the key vector and the value vector. The query vector and the key vector are combined by the first element-by-element dot product layer to obtain the first dot product result, and the first dot product result and the value vector are combined by the second element-by-element dot product layer to obtain the second dot product result. The second dot product result and the event feature are concatenated to obtain the initial fusion feature, and the initial fusion feature is input into the channel attention module to obtain the first fusion feature.

[0096] The channel attention module can also include multiple operations, see Figure 5 As shown, the channel attention module includes an activation function layer, a convolution layer, an average pooling layer, a Sigmoid function layer, an element-by-element point product layer, and a concatenation layer.

[0097] As an example, similar to the first event image fusion module, the second event image fusion module includes a layer normalization layer, a convolution layer, a first element-by-element dot product layer, a second element-by-element dot product layer, and a channel attention module (CAB). Among them, the layer normalization layer and the convolution layer process the image features and the start fusion features, and the obtained processing results are used as the query vector. The layer normalization layer and the convolution layer can also process the event features, and the obtained processing results are used as the key vector and the value vector. The query vector and the key vector are combined with the first element-by-element dot product layer to obtain the third dot product result, and the third dot product result and the value vector are combined with the second element-by-element dot product layer to obtain the fourth dot product result. The fourth dot product result and the image feature are concatenated to obtain the start fusion feature, and the start fusion feature is input into the channel attention module to obtain the second fusion feature.

[0098] In an embodiment of the present application, the rough fusion module also includes a supervised attention module (SAM), which calculates the loss based on the first fusion feature or the second fusion feature in combination with the true value, and obtains the accurate first fusion feature or the second fusion feature based on the loss. That is, SAM propagates useful features from the current stage to the next stage, and at the same time accelerates the image deblurring process by calculating the loss in combination with the true value.

[0099] In an embodiment of the present application, in addition to the first event image fusion module and the second event image fusion module including a channel attention module, the rough fusion module also includes a channel attention module, which includes an activation function layer and a residual block formed by a residual connection layer, and feature extraction can be realized. Considering that the rough fusion module adopts an encoder-decoder structure with UNet, both the decoder and the encoder can use the residual block for feature extraction, and the residual block can include two 3×3 convolutions with LeakyReLU activation functions and a residual connection using 1×1 convolution. The size of the residual block is set to 256×256. The encoder uses 4×4 convolution for two downsamplings with a stride of 2 to obtain feature maps of sizes 128×128 and 64×64, respectively. The decoder fuses the lower-scale features with the features of the same scale through the jump connection of the channel attention module by upsampling. The first event image fusion module and the second event image fusion module using the UNet structure have multi-head attention of 3 scales, and the number of heads corresponds to the number of channels of the feature (1, 2, 4). The decoder outputs a rough fused image frame of the same scale as the initial image frame.

[0100] In the embodiment of the present application, since the event voxel block corresponds to the event integral from the intermediate image frame to different time points, it represents the mapping from the intermediate image frame to the image frame at different time points. In the rough fusion stage, a plurality of rough fused image frames with a time sequence are obtained, and a bidirectional frame fusion block can be designed in the fine fusion module to effectively utilize the spatiotemporal information in the plurality of rough fused image frames, that is, the fine fusion module includes a bidirectional frame fusion module, reference Figure 4 shown.

[0101] The adjacent rough fusion image frames in time sequence include the i-th rough fusion image frame and the i+1-th rough fusion image frame, where i is a positive integer greater than 0. The bidirectional frame fusion module performs feature fusion on the first part of the i-th rough fusion image frame and the i+1-th rough fusion image frame to obtain a forward propagation fusion result. The bidirectional frame fusion module performs feature fusion on the second part of the i+1-th rough fusion image frame and the i-th rough fusion image frame to obtain a backward propagation fusion result. The fine fusion module obtains a clear image frame based on the forward propagation fusion result and the backward propagation fusion result. In other words, the bidirectional frame fusion module exchanges and fuses part of adjacent rough fusion image frames, that is, half of the channels in the rough fusion image frame are used to provide effective information exchange between adjacent rough fusion image frames, thereby reducing the number of parameters and computational load of the deblurring model.

[0102] The bidirectional frame fusion module can include a forward propagation module and a backward propagation module. Figure 4 and Figure 6 As shown. That is, the forward propagation module performs feature fusion on the first part of the i-th rough fusion image frame and the i+1-th rough fusion image frame to obtain the forward propagation fusion result. The backward propagation module performs feature fusion on the second part of the i+1-th rough fusion image frame and the i-th rough fusion image frame to obtain the backward propagation fusion result.

[0103] Figure 6 The red dashed line in the figure represents the forward propagation, and the blue solid line represents the backward propagation. The i-th rough fused image frame is evenly divided into the first part f4 5 and the second part f4 6 , the i+1th rough fused image frame is evenly divided into the first part and Part II f4 5 After being processed by the convolutional layer, the feature fusion is spliced ​​with the i+1th rough fusion image frame to obtain the forward propagation fusion result. After being processed by the convolutional layer, the feature fusion is spliced ​​with the i-th rough fusion image frame to obtain the back-propagation fusion result. In other words, f4 is evenly divided into f4 5 and f4 6 , one of the branches is related to f 4,7 Connect in the channel dimension to obtain the initial fusion features. Correspondingly, f 4,7 Divided evenly and One of the branches is connected to f4 in the channel dimension to obtain the initial fused features. In this way, by repeatedly stacking the forward propagation module and the backward propagation module, each rough fused image frame learns rich information from the adjacent rough fused image frames, thereby achieving a clearer image frame with higher definition.

[0104] The bidirectional frame fusion module can also include multiple operations, refer to Figure 6 As shown, the bidirectional frame fusion module may include an activation function layer, a convolution layer, a simple gate, an average normalization layer, a Sigmoid function layer, an element-by-element point multiplication layer, and an addition layer, wherein the simple gate multiplies the forward propagation fusion result and the backward propagation fusion result to obtain a product result, and a clear image frame is obtained according to the product result. The fused forward propagation fusion result and the backward propagation fusion result are stacked through convolution layers and simple gates, and the simple gate replaces the nonlinear activation function by the product of two features, thereby simplifying the deblurring model and reducing the computational consumption.

[0105] The bidirectional frame fusion module can also be used as a part of a channel attention module, so that the output of the bidirectional frame fusion module ends with an efficient channel attention module to capture global information and fuse spatiotemporal information between previous and next frames.

[0106] The fine fusion module includes not only the bidirectional frame fusion module but also a channel attention module. The channel attention module is used to receive and process a plurality of rough fusion image frames from the rough fusion module, and transmit the processed plurality of rough fusion image frames to the bidirectional frame fusion module.

[0107] It can be seen that the event image deblurring method based on multimodal information fusion provided in the embodiment of the present application decomposes image deblurring into two stages from coarse to fine, and realizes end-to-end learning direct deblurring. The provided deblurring model includes a coarse fusion module and a fine fusion module, the coarse fusion module includes an image feature fusion module, and the fine fusion module includes a bidirectional frame fusion module, which effectively utilizes the additional information in the event data and greatly improves the imaging quality of image deblurring.

[0108] Based on the event image deblurring method based on multimodal information fusion provided in the above embodiments, the present application also provides an event image deblurring system based on multimodal information fusion, referring to Figure 7 , which is a schematic diagram of the structure of an event image deblurring system based on multimodal information fusion provided in an embodiment of the present application. The event image deblurring system 700 based on multimodal information fusion provided in an embodiment of the present application includes:

[0109] A deblurring unit 710 is used to obtain event data and an initial image frame, input the event data and the initial image frame into a deblurring model, and obtain a clear image frame corresponding to the initial image frame, wherein the deblurring model includes a coarse fusion module and a fine fusion module;

[0110] The rough fusion module performs feature extraction and feature fusion on the event data and the initial image frame to obtain a plurality of rough fusion image frames in time sequence;

[0111] The fine fusion module performs feature fusion on a plurality of coarse fusion image frames adjacent in time sequence to obtain the clear image frame.

[0112] Optionally, the rough fusion module extracts features from the event data and the initial image frame respectively to obtain event features and image features respectively;

[0113] The rough fusion module uses the event feature as a query vector and the image feature as a key vector and a value vector, performs feature fusion on the event feature and the image feature, and obtains a first fusion feature;

[0114] The rough fusion module uses the image feature as a query vector and the event feature as a key vector and a value vector, performs feature fusion on the event feature and the image feature, and obtains a second fusion feature;

[0115] The rough fusion module splices the first fusion feature and the second fusion feature to obtain a plurality of rough fusion image frames in time sequence.

[0116] Optionally, the rough fusion module includes a first event image fusion module and a second event image fusion module;

[0117] The first event image fusion module uses the event feature as a query vector and the image feature as a key vector and a value vector to perform feature fusion on the event feature and the image feature to obtain a first fusion feature;

[0118] The second event image fusion module uses the image feature as a query vector and the event feature as a key vector and a value vector, performs feature fusion on the event feature and the image feature, and obtains a second fused feature.

[0119] Optionally, the first event image fusion module includes a layer normalization layer, a convolution layer, a first element-by-element dot product layer, a second element-by-element dot product layer, and a channel attention module;

[0120] The layer normalization layer and the convolution layer process the event features and the initial fusion features, and obtain the processing results as the query vector;

[0121] The layer normalization layer and the convolution layer process the image features, and obtain the processing results as the key vector and the value vector;

[0122] Using the first element-by-element dot product layer to combine the query vector and the key vector to obtain a first dot product result, and using the second element-by-element dot product layer to combine the first dot product result and the value vector to obtain a second dot product result;

[0123] Concatenate the second dot product result and the event feature to obtain the initial fusion feature;

[0124] The initial fused features are input into the channel attention module to obtain the first fused features.

[0125] Optionally, the rough fusion module further includes a supervised attention module;

[0126] The supervised attention module calculates the loss based on the first fusion feature or the second fusion feature combined with the true value, and obtains the accurate first fusion feature or the second fusion feature based on the loss.

[0127] Optionally, the deblurring unit 710 is configured to:

[0128] Acquire an initial image frame, where the initial image frame is a blurred image;

[0129] Acquire event data corresponding to the initial image frame;

[0130] Averaging the event data to N time points according to time intervals, accumulating the event data from the intermediate image frame to the N time points, and obtaining N event voxel blocks; N is a positive integer greater than 0;

[0131] The N event voxel blocks and the initial image frame are input to a deblurring model.

[0132] Optionally, the coarse fusion image frames adjacent in time sequence include the i-th coarse fusion image frame and the (i+1)-th coarse fusion image frame; the fine fusion module includes a bidirectional frame fusion module;

[0133] The bidirectional frame fusion module performs feature fusion on the first part of the i-th rough fusion image frame and the i+1-th rough fusion image frame to obtain a forward propagation fusion result;

[0134] The bidirectional frame fusion module performs feature fusion on the second part of the i+1th rough fusion image frame and the ith rough fusion image frame to obtain a back-propagation fusion result;

[0135] The fine fusion module obtains the clear image frame according to the forward propagation fusion result and the backward propagation fusion result.

[0136] Optionally, the bidirectional frame fusion module includes a forward propagation module and a backward propagation module;

[0137] The forward propagation module performs feature fusion on the first part of the i-th rough fusion image frame and the i+1-th rough fusion image frame to obtain a forward propagation fusion result;

[0138] The back propagation module performs feature fusion on the second part of the (i+1)th rough fusion image frame and the i-th rough fusion image frame to obtain a back propagation fusion result.

[0139] Optionally, the fine fusion module includes a simple gate;

[0140] The simple gate multiplies the forward propagation fusion result and the backward propagation fusion result to obtain a product result, and obtains the clear image frame according to the product result.

[0141] Based on the event image deblurring method based on multimodal information fusion provided in the above embodiment, the embodiment of the present application further provides an event image deblurring device based on multimodal information fusion, and the event image deblurring device based on multimodal information fusion includes:

[0142] The processor and the memory may be one or more processors. In some embodiments of the present application, the processor and the memory may be connected via a bus or other means.

[0143] The memory may include a read-only memory and a random access memory, and provides instructions and data to the processor. A portion of the memory may also include an NVRAM. The memory stores an operating system and operating instructions, executable modules or data structures, or a subset thereof, or an extended set thereof, wherein the operating instructions may include various operating instructions for implementing various operations. The operating system may include various system programs for implementing various basic services and processing hardware-based tasks.

[0144] The processor controls the operation of the terminal device and may also be referred to as a CPU.

[0145] The method disclosed in the above embodiment of the present application can be applied to a processor or implemented by a processor. The processor can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor can be combined to perform. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0146] The embodiment of the present application also provides a computer-readable storage medium for storing program code, where the program code is used to execute any one of the methods of the aforementioned embodiments.

[0147] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0148] It should be noted that the computer-readable medium mentioned above in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0149] When introducing elements of various embodiments of the present application, the articles "a," "an," "the," and "said" are intended to mean that there are one or more elements. The words "comprising," "including," and "having" are all inclusive and mean that there may be additional elements in addition to the listed elements.

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

[0151] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0152] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The system embodiment described above is merely schematic, and the units and modules described as separate components may or may not be physically separated. In addition, some or all of the units and modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0153] The above is only a preferred implementation of the present application. Although the present application has been disclosed as a preferred embodiment, it is not intended to limit the present application. Any technician familiar with the art can use the above disclosed methods and technical contents to make many possible changes and modifications to the technical solution of the present application without departing from the scope of the technical solution of the present application, or modify it into an equivalent embodiment of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application still falls within the scope of protection of the technical solution of the present application.

Claims

1. An event image deblurring method based on multimodal information fusion, characterized in that: include: Acquire event data and an initial image frame, input the event data and the initial image frame into a deblurring model to obtain a clear image frame corresponding to the initial image frame, wherein the deblurring model includes a coarse fusion module and a fine fusion module; The rough fusion module performs feature extraction and feature fusion on the event data and the initial image frame to obtain a plurality of rough fusion image frames in time sequence; The fine fusion module performs feature fusion on a plurality of coarse fusion image frames adjacent in time sequence to obtain the clear image frame.

2. The method according to claim 1, characterized in that The rough fusion module extracts features from the event data and the initial image frame to obtain event features and image features respectively; The rough fusion module uses the event feature as a query vector and the image feature as a key vector and a value vector, performs feature fusion on the event feature and the image feature, and obtains a first fusion feature; The rough fusion module uses the image feature as a query vector and the event feature as a key vector and a value vector, performs feature fusion on the event feature and the image feature, and obtains a second fusion feature; The rough fusion module splices the first fusion feature and the second fusion feature to obtain a plurality of rough fusion image frames in time sequence.

3. The method according to claim 2, characterized in that The rough fusion module includes a first event image fusion module and a second event image fusion module; The first event image fusion module uses the event feature as a query vector and the image feature as a key vector and a value vector to perform feature fusion on the event feature and the image feature to obtain a first fusion feature; The second event image fusion module uses the image feature as a query vector and the event feature as a key vector and a value vector, performs feature fusion on the event feature and the image feature, and obtains a second fused feature.

4. The method according to claim 3, characterized in that The first event image fusion module includes a layer normalization layer, a convolution layer, a first element-by-element dot product layer, a second element-by-element dot product layer, and a channel attention module; The layer normalization layer and the convolution layer process the event features and the initial fusion features, and obtain the processing results as the query vector; The layer normalization layer and the convolution layer process the image features, and obtain the processing results as the key vector and the value vector; Using the first element-by-element dot product layer to combine the query vector and the key vector to obtain a first dot product result, and using the second element-by-element dot product layer to combine the first dot product result and the value vector to obtain a second dot product result; Concatenate the second dot product result and the event feature to obtain the initial fusion feature; The initial fused features are input into the channel attention module to obtain the first fused features.

5. The method according to claim 1, characterized in that: The rough fusion module also includes a supervised attention module; The supervised attention module calculates the loss based on the first fusion feature or the second fusion feature combined with the true value, and obtains the accurate first fusion feature or the second fusion feature based on the loss.

6. The method according to claim 1, characterized in that The acquiring event data and the initial image frame, and inputting the event data and the initial image frame into the deblurring model comprises: Acquire an initial image frame, where the initial image frame is a blurred image; Acquire event data corresponding to the initial image frame; Averaging the event data to N time points according to time intervals, accumulating the event data from the intermediate image frame to the N time points, and obtaining N event voxel blocks; N is a positive integer greater than 0; The N event voxel blocks and the initial image frame are input to a deblurring model.

7. The method according to claim 1, characterized in that The coarse fusion image frames adjacent in time sequence include the i-th coarse fusion image frame and the i+1-th coarse fusion image frame; the fine fusion module includes a bidirectional frame fusion module; The bidirectional frame fusion module performs feature fusion on the first part of the i-th rough fusion image frame and the i+1-th rough fusion image frame to obtain a forward propagation fusion result; The bidirectional frame fusion module performs feature fusion on the second part of the i+1th rough fusion image frame and the ith rough fusion image frame to obtain a back-propagation fusion result; The fine fusion module obtains the clear image frame according to the forward propagation fusion result and the backward propagation fusion result.

8. The method according to claim 7, characterized in that The bidirectional frame fusion module includes a forward propagation module and a backward propagation module; The forward propagation module performs feature fusion on the first part of the i-th rough fusion image frame and the i+1-th rough fusion image frame to obtain a forward propagation fusion result; The back propagation module performs feature fusion on the second part of the (i+1)th rough fusion image frame and the i-th rough fusion image frame to obtain a back propagation fusion result.

9. The method according to claim 7, characterized in that: The fine fusion module includes a simple gate; The simple gate multiplies the forward propagation fusion result and the backward propagation fusion result to obtain a product result, and obtains the clear image frame according to the product result.

10. An event image deblurring system based on multimodal information fusion, characterized in that: include: A deblurring unit, used to obtain event data and an initial image frame, input the event data and the initial image frame into a deblurring model, and obtain a clear image frame corresponding to the initial image frame, wherein the deblurring model includes a coarse fusion module and a fine fusion module; The rough fusion module performs feature extraction and feature fusion on the event data and the initial image frame to obtain a plurality of rough fusion image frames in time sequence; The fine fusion module performs feature fusion on a plurality of coarse fusion image frames adjacent in time sequence to obtain the clear image frame.

Citation Information

Cited By

  • Fuzzy video space-time super-resolution method, system and device and storage medium

    CN118898543A