A target tracking method fusing RGB / EVENT dual-mode samples
By fusing RGB and EVENT modal feature information through an adaptive temporal attention module and a cross-network fusion module, the problem of insufficient target tracking accuracy and efficiency in complex scenarios is solved, and efficient and high-precision target tracking is achieved.
Patent Information
- Application Number
- CN202410440627.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-12
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2044-04-12
AI Technical Summary
Existing target tracking methods struggle to balance accuracy and efficiency in complex scenarios such as high dynamic range and high-speed target motion. This is mainly due to insufficient spatial information provided by visible images, a lack of absolute light intensity information in event data, and poor ability of spiking neural networks to extract the temporal characteristics of event data.
An adaptive time attention module is designed to integrate effective target information from the event modality. Combined with the SiamRPN++ network, LIF neurons are used to replace ANN neurons to construct the SiamEFT network architecture, which fuses feature information from the RGB and EVENT modalities. The feature information is effectively fused through a cross-network fusion module.
It improves the accuracy and efficiency of target tracking in complex scenarios by utilizing the rich texture information of RGB data and the edge information of EVENT data that is not affected by motion blur, thus achieving efficient and high-precision target tracking.
Smart Images

Figure CN118334078B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a target tracking method that integrates RGB / EVENT dual-modal samples, belonging to the field of computer vision technology. Background Technology
[0002] Target tracking is one of the important research directions in the field of computer vision. It continuously estimates the position and size of the target in subsequent frames based on the target information given in the initial frame. It is widely used in fields such as visual navigation, security monitoring, intelligent manufacturing, and human-computer interaction.
[0003] Currently, mainstream target tracking methods primarily rely on machine learning approaches based on artificial neural networks (ANNs). While these methods perform well in general target tracking tasks, they underperform in complex scenarios involving high dynamic range (HDR) and high-speed target motion. This is mainly because the tracking data input to the network consists of visible images captured by traditional frame sensors with limited frame rates and dynamic ranges. These images can represent rich spatial information within a limited dynamic range but lack high temporal resolution information. Event sensors, on the other hand, work well in HDR scenarios and can achieve very high temporal resolution, but the resulting event data cannot represent absolute light intensity. Therefore, visible images (RGB) can provide rich texture spatial information about the target, while event data can provide temporal information unaffected by motion blur and edge information unaffected by poor lighting. Visible images and event data are complementary; combining these two modalities can more comprehensively represent target information and achieve more reliable tracking.
[0004] Artificial neural networks (ANNs) can effectively extract spatial characteristics from visible data, but they are poor at extracting temporal characteristics from asynchronously input event data, making it difficult to balance accuracy and efficiency in target tracking in complex scenarios. Spiking neural networks (SNNs), on the other hand, can process event data with low power consumption and have excellent temporal characteristic extraction capabilities. Therefore, combining SNNs and ANNs to process multimodal data can simultaneously ensure high accuracy and efficiency in target tracking. The DashNet model uses a temporally complementary filter and attention mechanism to fuse multimodal information features processed by ANNs and SNNs, demonstrating the advantages of combining the two networks. The MCFR model designs unique feature extractors and common feature extractors based on ANNs and SNNs, thereby jointly utilizing complementary information from both the visible and event domains for target tracking.
[0005] The above methods fully demonstrate the great potential of using ANN and SNN in combination for target tracking in both visible and event data modalities. However, the above methods only simply add or fuse the feature information processed by ANN and SNN, without considering the unique spatial feature extraction capabilities of ANN and the unique temporal feature extraction capabilities of SNN. Therefore, when the tracked target is in a high-speed motion or in a high dynamic range environment or other complex real-world application scenarios, the above methods still cannot achieve good tracking performance.
[0006] Since ANN and SNN have different network principles, effectively integrating the unique spatial feature information of RGB processed by ANN and the unique temporal feature information of EVENT processed by SNN is the key to determining the accuracy and efficiency of target tracking in complex scenarios such as high dynamic range and high-speed target movement. Summary of the Invention
[0007] To address the issue of decreased accuracy and efficiency in target tracking under complex scenarios such as high dynamic range and high-speed target movement, this invention aims to provide a target tracking method that integrates RGB / EVENT dual-modal samples. This method designs an adaptive temporal attention module to integrate effective target information from the EVENT modality while eliminating redundant information. Based on the SiamRPN++ network as the tracker, a SiamEFT network architecture is designed using LIF neurons to replace ANN neurons to extract feature information from the RGB and EVENT modalities. A cross-network fusion module is used to effectively fuse spatial and temporal feature information from the visible and event modalities for target tracking, thereby improving the accuracy and efficiency of target tracking in complex scenarios.
[0008] The objective of this invention is achieved through the following technical solution:
[0009] This invention discloses a target tracking method that integrates RGB / EVENT dual-modal samples, comprising the following steps:
[0010] Step 1: Extract the data information of the RGB / EVENT dual-modal samples and preprocess them to obtain RGB template frames and RGB search frames, Events template frame groups and Events search frame groups;
[0011] Step 1.1: First, save the RGB data in the ".aedat4" file containing RGB data and event stream data collected by the event camera as RGB frames in chronological order. Then, extract the event stream data n milliseconds before and after each RGB frame. The event stream data contains 4 dimensions [x, y, t, p], where x and y represent the spatial coordinates of the event; t represents the timestamp when the event occurred; and p represents the polarity of the event, i.e., whether the brightness change is enhanced or weakened, with +1 indicating enhanced brightness and -1 indicating weakened brightness.
[0012] Step 1.2: Select a fixed time window of m milliseconds, and aggregate the extracted event stream data into an event frame within the fixed time window; for the i-th event stream data e i =[x i ,y i ,t i If p = +1, then in the positive polarity channel (x) i ,y i Increment the pixel value at (x) by one; if p = -1, then increment the pixel value at (x) in the negative polarity channel. i ,y i The pixel value at position ) is incremented by one; finally, the cumulative event frame group before and after the RGB frame is 2n / m = T frames. Each event frame in the event frame group has 2 image channels, and the resolution is the same as that of the RGB frame. The tracking target position corresponds to that of the RGB frame.
[0013] Step 1.3: After preprocessing the RGB frames obtained in Step 1.1 by cropping, resizing, and aligning, RGB template frames and RGB search frames are obtained respectively. Similarly, after preprocessing the T-frame event frame group obtained in Step 1.2 by cropping, resizing, and aligning, Events template frame group and Events search frame group are obtained respectively. The tracking process first requires knowing the position and size of the target in the initial frame. The target is cropped from the initial RGB frame and initial T-frame event frame group as template frames for subsequent frame tracking. To better utilize the training data and simultaneously train the neural network's discriminative ability, arbitrary scaling is applied to the cropped initial RGB frame and initial T-frame event frame group to enhance data diversity, thus obtaining RGB template frames and Events template frame groups. After scaling, alignment is required to ensure the target position is the same in both modal representations. Subsequent frames, excluding the initial frame, are used as search frames. After simple scaling to adapt to subsequent network input, RGB search frames and Events search frame groups are obtained.
[0014] Step 2: Adjust the weights of each frame in the Events template frame group and the Events search frame group respectively using the adaptive temporal attention module to obtain new Events template frame groups and Events search frame groups;
[0015] Event streams are generated only when the light intensity change at a pixel reaches a threshold due to the high-speed motion of an object. When the light intensity change in the target environment is small, the generated event stream is sparse, and the accumulated event frames may contain blank frames or frames with very little information. Conversely, when the light intensity change frequency in the target environment is high, the accumulated event frames contain more information. Therefore, given the sparse and uneven nature of the event stream, the generated event frames need to be preprocessed before being input into the subsequent network. First, the spatial information of the Events template frame group and the Events search frame group is extracted through average pooling, and the weight score of each frame is obtained after shaping. During the excitation phase, a fully connected network is used to capture the correlation between the temporal dimensions based on the weight score of each frame, resulting in an adaptive weight tensor for each frame. Finally, the adaptive weight tensor of each frame is multiplied by the corresponding Events template frame group and Events search frame group to obtain new Events template frame groups and Events search frame groups.
[0016] Step 3: Input the RGB template frame and RGB search frame obtained in Step 1, and the new Events template frame group and Events search frame group obtained in Step 2 into the SiamEFT network for feature extraction, to obtain RGB template feature map, RGB search feature map, Event template feature map and Event search feature map with feature map depths of C, 2C and 4C respectively;
[0017] In the SiamEFT network, RGB template frames and RGB search frames are extracted using an ANN, while new Events template frame groups and Events search frame groups are extracted using a SNN. The ANN uses ResNet50 as the backbone network to extract the depth spatial feature information of the RGB template frames and RGB search frames, obtaining RGB template feature maps and RGB search feature maps with depths of C, 2C, and 4C, respectively. The SNN uses LIF neurons to replace the ANN neurons in ResNet50-2stage as the backbone network to extract the temporal and spatial feature information of the new Events template frame groups and Events search frame groups, obtaining Event template feature maps and Event search feature maps. The reason for choosing only ResNet50-2stage for the SNN is to effectively reduce the number of network parameters without sacrificing the accuracy of the results, thereby improving the network speed.
[0018] During network training, the classic ANN network SiamRPN++ is first used as the base tracker, and ResNet is used as the backbone network. RGB template frames and RGB search frames are input to train the network and obtain an initial version of the weight file. The network is then extended to an SNN version while sharing the initial version of the weight file to obtain a SiamEFT network containing both ANN and SNN, along with all weight files. Finally, based on all weight files, RGB template frames, RGB search frames, Events template frame groups, and Events search frame groups are input into the network for retraining, thus achieving distributed training and sharing of network weight information.
[0019] Step 4: Use the cross-network fusion module to fuse the Event template feature map and RGB template feature map, Event search feature map and RGB search feature map obtained in Step 3 respectively, to obtain the target template and search region;
[0020] Step 4.1: First, average the Event template feature map over time to make it an RGB template feature map with size and depth C. Figure 1 The result is H×W×C; then it is rearranged into a two-dimensional matrix H×(W×C), and pooling is performed on the two-dimensional matrix to obtain the attention weights; finally, the two-dimensional matrix is multiplied by the attention weights to obtain the weighted feature map, and then rearranged according to the size of H×W×C to obtain the adjusted Event template feature map.
[0021] Step 4.2: First, combine the RGB template feature map of depth C and the adjusted Event template feature map to obtain a combined feature map; then, perform dimensionality reduction, compression, and transformation on the combined feature map through average pooling and fully connected layer operations to obtain channel weights, with a channel weight size of H×W×C; finally, weight the channel weights with the RGB template feature map of depth C and the adjusted Event template feature map to obtain the output result.
[0022] Step 4.3: Perform multidimensional reset and transpose on the output result, and arrange it again into a new two-dimensional matrix of size H×(W×C). Perform pooling operation on the new two-dimensional matrix to obtain new attention weights. Finally, multiply the new two-dimensional matrix with the new attention weights and combine it with the RGB template feature map of depth 4C to obtain the target template of size H×W×5C.
[0023] Step 4.4: For the search region, except for the different sizes of the input Event search feature map and RGB search feature map, the rest is the same as in steps 4.1-4.3 above, and the final search region with size H'×W'×5C is obtained;
[0024] Step 5: Given the target template and search area, the feature maps of different depths are aggregated in the tracking head module and the outputs of multiple RPN blocks are fused to obtain the final target tracking result, thus achieving high-efficiency and high-precision target tracking in complex environments.
[0025] The SiamEFT network obtains target templates and search regions with different depths in its three stages, representing different feature information. Shallow features mainly focus on low-level information such as color and shape, which are essential for target localization but lack semantic information. Deep features, on the other hand, have rich semantic information and are more beneficial for target localization in challenging scenarios such as motion blur and large deformations. Therefore, the tracking head module uses the RPN module to aggregate feature maps of different depths hierarchically and perform weighted summation. Finally, the cross-correlation layer and fully convolutional layer are combined to calculate the classification score and bounding box regressor. The target template and search region are convolved to obtain the score map, thus obtaining the final target size and position, achieving high-efficiency and high-precision target tracking in complex environments.
[0026] Beneficial effects:
[0027] 1. This invention discloses a target tracking method that integrates RGB / EVENT dual-modal samples. It designs a SiamEFT target tracking fusion network architecture, and uses ANN and SNN to extract feature information of RGB modality and EVENT modality respectively, avoiding insufficient extraction of temporal and spatial information of dual-modal samples by a single network. It uses a cross-modal fusion module to effectively fuse dual-modal feature information according to the characteristics of the processed information, making full use of the feature information processed by the network in various complex scenarios, thereby obtaining the optimal tracking result and improving the tracking accuracy of the tracker.
[0028] 2. This invention discloses a target tracking method that integrates RGB / EVENT dual-modal samples. It uses RGB and EVENT dual-modal data for target tracking. RGB data provides rich low-frequency and high-frequency texture information of the target, while EVENT data provides target edge information unaffected by motion blur and poor lighting. An adaptive temporal attention module is used to aggregate event data into frames, which are then input into the subsequent network according to adaptive weights. This avoids increased computational load in the subsequent network due to sparse and uneven event data, thereby improving the tracker's tracking efficiency. Attached Figure Description
[0029] Figure 1 This is a schematic diagram of the framework of a target tracking method that integrates RGB / EVENT dual-modal samples disclosed in this invention;
[0030] Figure 2 This is a schematic diagram illustrating the principle of the adaptive temporal attention module in the method of the present invention;
[0031] Figure 3 This is a schematic diagram of the SiameEFT network structure in the method of the present invention;
[0032] Figure 4 This paper compares the quantitative tracking results of the method of the present invention with those of conventional target tracking methods on the VisEvent dataset; Figure (a) shows the PR curve of the target tracking evaluation index, and Figure (b) shows the SR curve of the target tracking evaluation index.
[0033] Figure 5 Figure 1 shows a comparison of the quantitative tracking results of the method of the present invention and conventional target tracking methods on the COESOT dataset; Figure 2 shows the target tracking evaluation index PR curve and Figure 3 shows the target tracking evaluation index SR curve.
[0034] Figure 6 Figure 1 shows a qualitative comparison of the tracking results of the method of this invention and conventional target tracking methods on the VisEvent dataset. Figure 2 shows a comparison of the results of the method of this invention and conventional target tracking methods in a complex scene with high-speed target movement, and Figure 3 shows a comparison of the results of the method of this invention and conventional target tracking methods in a complex scene with low illumination.
[0035] Figure 7 Figure 1 shows a qualitative comparison of the tracking results of the method of this invention and conventional target tracking methods on the COESOT dataset. Figure 2 shows a comparison of the results of the method of this invention and conventional target tracking methods in a scenario with extremely small targets, and Figure 3 shows a comparison of the results of the method of this invention and conventional target tracking methods in a complex scenario with high dynamic range. Detailed Implementation
[0036] The method of the present invention will be described in detail below with reference to the accompanying drawings and embodiments. The technical problems solved by the technical solution of the present invention and its beneficial effects are also described. It should be noted that the described embodiments are only intended to facilitate understanding of the present invention and do not constitute any limitation thereof.
[0037] This embodiment discloses a target tracking method that integrates RGB / EVENT dual-modal samples. The experimental device is an RTX 4060Ti graphics card, and the experimental platform is based on Python 3.8 and PyTorch 2.1.2 deep learning API. The proposed SiamEFT network is used as the tracker, and experiments are conducted on the public datasets VisEvent and COESOT. Figure 1 As shown, taking a complex scenario such as a toy car moving at high speed as the target as an example, the experimental process includes the following steps:
[0038] Step 1: Extract data information of RGB / EVENT bimodal samples containing toy cars and preprocess them to obtain RGB template frames and RGB search frames, Events template frame groups and Events search frame groups;
[0039] Step 1.1: First, save the RGB data in the ".aedat4" file containing the RGB data of the toy car and the event stream data collected by the event camera as RGB frames in chronological order. Then, extract the event stream data 40 milliseconds before and after each RGB frame. The event stream data contains 4 dimensions [x, y, t, p], where x and y represent the spatial coordinates of the event; t represents the timestamp when the event occurred; and p represents the polarity of the event, i.e., whether the brightness change is enhanced or weakened, with +1 indicating enhanced brightness and -1 indicating weakened brightness.
[0040] Step 1.2: Select a fixed time window of 2 milliseconds, and aggregate the extracted event stream data into an event frame within the fixed time window; for the i-th event stream data e i =[x i ,y i ,t i If p = +1, then in the positive polarity channel (x) i ,y i Increment the pixel value at (x) by one; if p = -1, then increment the pixel value at (x) in the negative polarity channel. i ,y i The pixel value at position ) is incremented by one; finally, 10 event frames before and after the RGB frame are accumulated to form an event frame group. Each event frame in the event frame group has 2 image channels, the same resolution as the RGB frame, and the tracking target position corresponds to the RGB frame.
[0041] Step 1.3: For the initial frame f0 of the tracking process, the initial RGB frame and initial event frame group obtained in Step 1.1 are preprocessed by cropping, resizing and aligning to obtain an RGB template frame of size 3×127×127 and an Events template frame group of size 2×127×127×10, respectively; For the subsequent frames f1 outside the initial frame that need to be tracked, the corresponding RGB frame and event frame group obtained in Step 1.1 are simply cropped to adapt to the subsequent network input to obtain an RGB search frame of size 3×255×255 and an Events search frame group of size 2×255×255×10.
[0042] Step 2: Adjust the weights of each frame in the Events template frame group and the Events search frame group respectively using the adaptive temporal attention module to obtain new Events template frame groups and Events search frame groups;
[0043] like Figure 2As shown, taking the Events template frame group as an example, the spatial information of the Events template frame group is first extracted through average pooling to obtain a 1×1×1×10 information representation. After shaping, the weight scores V1, V2, V3, ... V for each frame are obtained. 10 During the excitation phase, a fully connected network is used to capture the correlation between time dimensions based on the weight score of each frame, resulting in an adaptive weight tensor of size 1×1×1×10. Finally, the adaptive weight tensor of each frame is multiplied by the Events template frame group to obtain a new Events template frame group of size 2×127×127×10.
[0044] For the Events search frame group, except for the size, the rest are the same as the above steps, and the final size is 2×255×255×10 new Events search frame group;
[0045] Step 3: Input the RGB template frame and RGB search frame obtained in Step 1, and the new Events template frame group and Events search frame group obtained in Step 2 into the SiamEFT network for feature extraction. In the template branch and the search branch, respectively, RGB template feature map and Event template feature map, RGB search feature map and Event search feature map are obtained.
[0046] like Figure 3 As shown, taking the template branch in the SiamEFT network as an example, the RGB template frames are extracted using an ANN, and the new Events template frame group is extracted using an SNN. The ANN uses ResNet50 as the backbone network and extracts the depth spatial feature information of the RGB template frames and RGB search frames in three stages, obtaining RGB template feature maps with depths of 512, 1024, and 2048, respectively. The SNN uses LIF neurons to replace the ANN neurons in ResNet50-2stage as the backbone network to extract the temporal and spatial feature information of the new Events template frame group to obtain the Events template feature map with a depth of 512.
[0047] For RGB search feature maps and Event search feature maps, the steps are the same as above, except for the size.
[0048] During network training, the classic ANN network SiamRPN++ is first used as the base tracker, and ResNet is used as the backbone network. RGB template frames and RGB search frames are input to train the network and obtain the initial version of the weight file. Then, the network is extended to an SNN version while sharing the initial version of the weight file to obtain a SiamEFT network containing both ANN and SNN and all weight files. Finally, based on all weight files, RGB template frames and RGB search frames, Events template frame groups and Events search frame groups are input into the network for retraining.
[0049] Step 4: Use the cross-network fusion module to fuse the Event template feature map and RGB template feature map, Event search feature map and RGB search feature map obtained in Step 3 respectively, to obtain the target template and search region;
[0050] Step 4.1: As Figure 3 As shown, taking the template branch in the SiamEFT network as an example, the Event template feature map is first averaged in the time channels to make it an RGB template feature map with a size and depth of 512. Figure 1 The result is a 512×15×15 matrix; then it is rearranged into a 512×255 two-dimensional matrix, and pooling is performed on the two-dimensional matrix to obtain the attention weights; finally, the two-dimensional matrix is multiplied by the attention weights to obtain the weighted feature map, and then rearranged according to the size of 512×15×15 to obtain the adjusted Event template feature map.
[0051] Step 4.2: First, combine the RGB template feature map with a depth of 512 and the adjusted Event template feature map to obtain a combined feature map; then, perform dimensionality reduction, compression, and transformation on the combined feature map through average pooling and fully connected layer operations to obtain channel weights with a size of 512×15×15; finally, weight the channel weights with the RGB template feature map with a depth of 512 and the adjusted Event template feature map to obtain the output result.
[0052] Step 4.3: Perform multidimensional reset and transpose on the output result, and arrange it again into a new two-dimensional matrix with a size of 512×255. Perform pooling operation on the new two-dimensional matrix to obtain new attention weights. Finally, multiply the new two-dimensional matrix with the new attention weights and combine it with the RGB template feature map with a depth of 2048 to obtain the target template with a size of 2560×15×15.
[0053] Step 4.4: For the search region, except for the different sizes of the input Event search feature map and RGB search feature map, the rest is the same as steps 4.1-4.3 above, and the final search region with a size of 2560×31×31 is obtained;
[0054] Step 5: Given the target template and search area, the feature maps of different depths are aggregated in the tracking head module and the outputs of multiple RPN blocks are fused to obtain the final target tracking result, thus achieving high-efficiency and high-precision target tracking in complex environments.
[0055] In the tracking head module, the RPN module is used to aggregate feature maps of different depths in layers and perform weighted summation. The cross-correlation layer and the fully convolutional layer are combined to calculate the classification score and bounding box regressor. The target template and the search region are convolved to obtain the score map, thereby obtaining the final target size and position, and completing the high-efficiency and high-precision tracking of the target in complex environments.
[0056] Figure 4 This paper compares the quantitative tracking results of the method of this invention with those of five representative conventional target tracking methods on the VisEvent dataset. Analysis of the PR curve in Figure (a) shows that the tracking results of this invention are close to those of the state-of-the-art CMT-MDNet in terms of accuracy. The SR curve in Figure (b) shows that the tracking results of this invention exceed CMT-MDNet by 2.6% in terms of success rate. Meanwhile, CMT-MDNet's tracking rate only reaches 14 FPS; this invention achieves 31.6 FPS in the visible frame domain and 109 FPS in the visible and event dual-modal domain.
[0057] Figure 5 This paper compares the quantitative tracking results of the method of this invention with those of five representative conventional target tracking methods on the COESOT dataset. As can be seen from the PR curve in Figure (a) and the SR curve in Figure (b), the tracking results of this invention outperform the other algorithms in both accuracy and success rate.
[0058] Figure 6 This figure compares the qualitative tracking results of the method of this invention with conventional target tracking methods on the VisEvent dataset. Figure (a) first row visualizes and compares the target tracking performance in complex scenes such as high-speed target movement under the RGB modality. The red box indicates the target position and size tracked by the method of this invention. The analysis of the figure shows that the target tracking results obtained by the method of this invention are more ideal. The second row visualizes the representation corresponding to the EVENT modality. The figure shows that the EVENT frame has a clearer target edge representation than the RGB frame. Figure (b) visualizes and compares the target tracking performance in complex scenes such as low illumination. The analysis of the figure shows that the target tracking results obtained by the method of this invention are more ideal.
[0059] Figure 7Figure 1 compares the qualitative tracking results of the method of this invention with conventional target tracking methods on the COESOT dataset. Figure 2 (a) visualizes and compares the target tracking performance in complex scenarios with small target sizes, where the red box indicates the target position and size tracked by the method of this invention. Analysis of the figure shows that the target tracking results obtained by the method of this invention are more ideal. Figure 3 (b) visualizes and compares the target tracking performance in complex scenarios with high dynamic range backgrounds. Analysis of the figure shows that the target tracking results obtained by the method of this invention are more ideal.
[0060] As demonstrated above, the target tracking method that integrates RGB / EVENT dual-modal samples disclosed in this embodiment can improve the accuracy and efficiency of target tracking in complex scenarios such as high dynamic range and high-speed target movement.
[0061] The above detailed description further illustrates the purpose, technical solution, and beneficial effects of the invention. It should be understood that the above description is merely a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A target tracking method integrating RGB / EVENT dual-modal samples, characterized in that: Includes the following steps, Step 1: Extract the data information of the RGB / EVENT dual-modal samples and preprocess it to obtain RGB template frames and RGB search frames, Events template frame groups and Events search frame groups; Step 2: Adjust the weight of each frame in the Events template frame group and the Events search frame group respectively through the adaptive time attention module to obtain new Events template frame group and Events search frame group; Spatial information of the Events template frame group and the Events search frame group is extracted by average pooling operation, and the weight score of each frame is obtained after shaping. During the activation phase, the correlation between the temporal dimensions is captured by a fully connected network based on the weight score of each frame to obtain the adaptive weight tensor of each frame. The adaptive weight tensor of each frame is multiplied by the corresponding Events template frame group and Events search frame group to obtain new Events template frame group and Events search frame group. Step 3: Input the RGB template frame and RGB search frame obtained in Step 1, and the new Events template frame group and Events search frame group obtained in Step 2 into the SiamEFT network for feature extraction, to obtain RGB template feature map, RGB search feature map, Event template feature map and Event search feature map with feature map depths of C, 2C and 4C respectively; In the SiamEFT network, RGB template frames and RGB search frames are extracted using ANN, while new Events template frame groups and Events search frame groups are extracted using SNN. The ANN uses ResNet50 as the backbone network to extract the depth spatial feature information of the RGB template frames and RGB search frames, obtaining RGB template feature maps and RGB search feature maps with depths of C, 2C, and 4C, respectively. The SNN uses LIF neurons to replace the ANN neurons in ResNet50-2stage as the backbone network, extracting the temporal and spatial feature information of the new Events template frame group and Events search frame group, obtaining Event template feature maps and Event search feature maps. Step 4: Use the cross-network fusion module to fuse the Event template feature map and RGB template feature map, Event search feature map and RGB search feature map obtained in Step 3 respectively, to obtain the target template and search region; Step 4.1: Average the Event template feature map over time to make its size consistent with the RGB template feature map of depth C, i.e., H×W×C; Rearrange it into a two-dimensional matrix form H×(W×C), perform pooling operation on the two-dimensional matrix to obtain attention weights; multiply the two-dimensional matrix with the attention weights to obtain a weighted feature map, and rearrange it according to the size of H×W×C to obtain the adjusted Event template feature map; Step 4.2: Combine the RGB template feature map of depth C and the adjusted Event template feature map to obtain a combined feature map; perform dimensionality reduction, compression and transformation of the combined feature map through average pooling and fully connected layer operations to obtain channel weights with a size of H×W×C; weight the channel weights with the RGB template feature map of depth C and the adjusted Event template feature map to obtain the output result; Step 4.3: Perform multidimensional reset and transpose on the output result, and arrange it again into a new two-dimensional matrix of size H×(W×C). Perform pooling operation on the new two-dimensional matrix to obtain new attention weights. Finally, multiply the new two-dimensional matrix with the new attention weights and combine it with the RGB template feature map of depth 4C to obtain the target template of size H×W×5C. Step 4.4: For the search region, except for the different sizes of the input Event search feature map and RGB search feature map, the rest is the same as in steps 4.1-4.3 above, resulting in a search region with a size of H'×W'×5C; Step 5: Given the target template and search area, feature maps of different depths are aggregated hierarchically in the tracking head module, and the outputs of multiple RPN blocks are fused to obtain the final target tracking result, thus completing high-efficiency and high-precision target tracking in complex environments.
2. The method as described in claim 1, characterized in that: The specific implementation method of step one includes the following steps: Step 1.1: First, save the RGB data in the ".aedat4" file containing RGB data and event stream data collected by the event camera as RGB frames in chronological order. Then, extract the event stream data n milliseconds before and after each RGB frame. The event stream data contains 4 dimensions [x, y, t, p], where x and y represent the spatial coordinates of the event; t represents the timestamp when the event occurred; and p represents the polarity of the event, i.e., whether the brightness change is enhanced or weakened, with +1 indicating enhanced brightness and -1 indicating weakened brightness. Step 1.2: Select a fixed time window of m milliseconds, and aggregate the acquired event stream data into an event frame within the fixed time window; for the i-th event stream data e i =[x i ,y i ,t i If p = +1, then in the positive polarity channel (x) i ,y i Increment the pixel value at (x) by one; if p = -1, then increment the pixel value at (x) in the negative polarity channel. i ,y i The pixel value at position ) is incremented by one; finally, the cumulative event frame group before and after the RGB frame is 2n / m = T frames. Each event frame in the event frame group has 2 image channels, and the resolution is the same as that of the RGB frame. The tracking target position corresponds to that of the RGB frame. Step 1.3: After performing preprocessing operations such as cropping, resizing, and alignment on the RGB frames obtained in Step 1.1, RGB template frames and RGB search frames are obtained respectively; after performing preprocessing operations such as cropping, resizing, and alignment on the T-frame event frame group obtained in Step 1.2, Events template frame group and Events search frame group are obtained respectively.
3. The method as described in claim 1, characterized in that: The SiamEFT network described in step three employs distributed training and shares the network's weight information during the training process. During the training process of the network, the classic ANN network SiamRPN++ is used as the base tracker and ResNet is used as the backbone network. The network is first trained by inputting RGB template frames and RGB search frames to obtain the initial version of the weight file. The network is extended to an SNN version while sharing the weight file of the initial version, resulting in a SiamEFT network containing both ANN and SNN, and all weight files. Based on all weight files, RGB template frames and RGB search frames, Events template frame groups and Events search frame groups are input into the network for retraining, thus achieving distributed training and sharing the network's weight information.
