A real-time target tracking method for missile-borne platform
By combining kernel correlation filtering and multi-scale target detection technology on an embedded platform, the problem of insufficient real-time performance in complex background and long-term target tracking is solved, and efficient and accurate real-time target tracking is achieved, which is suitable for military applications.
Patent Information
- Application Number
- CN202210099550.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-27
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-01-27
AI Technical Summary
The existing technology has insufficient real-time performance in complex background and long-term target tracking. Deep learning algorithms are difficult to achieve real-time robust detection on embedded platforms. Traditional algorithms have low tracking accuracy under complex background interference and are difficult to effectively use in military applications. .
A real-time target tracking method based on kernel correlation filtering is adopted, combined with a multi-scale, single-stage target detector, using hog-lbp-Fourier descriptor feature fusion, adding a target tracking confidence discriminator and a single-stage target detector, and introducing scale The filter and secondary tracking confidence discrimination mechanism realize a long-term target tracking system that focuses on tracking and is supplemented by detection.
It improves the detection accuracy while ensuring the detection speed, realizes real-time target tracking on the embedded platform, enhances the robustness and anti-interference ability of the algorithm, and is suitable for military applications on missile-borne platforms.
Smart Images

Figure CN114743124B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of image processing, and in particular relates to a real-time target tracking method for a missile-borne platform. Background Art
[0002] Traditional tracking algorithms are widely used in practical scenarios in the industry, but they have shortcomings in complex background interference and long-term target tracking. The intelligent target tracking algorithm based on the twin network performs well under complex background and similar interference, but the algorithm has poor real-time performance and cannot be applied to embedded mobile platforms.
[0003] Classic target tracking algorithms are mainly divided into two categories: generative and discriminative, depending on whether the algorithm has the function of target background classification. The former is based on the construction of the target feature subspace, and the latter is based on classification or regression to discriminate the target / background. Classic generative tracking algorithms include Kalman filtering, particle filtering, mean-shift, etc. Classic discriminative tracking algorithms include MOSSE algorithm. In 2012, Henriques et al. proposed the CSK method, which introduced the circulant matrix based on the MOSSE algorithm and performed calculations in the Fourier transform domain, greatly improving the real-time performance of the algorithm. In 2014, the DSST algorithm proposed by Martin Danelljan combined the translation filter with the scale filter algorithm for the first time, and then a series of accelerated versions fDSST appeared. In 2015, Henriques et al. proposed the KCF algorithm.
[0004] Tracking algorithms based on deep learning can be said to have crushed a large number of classic target tracking algorithms in terms of accuracy. In 2015, BohyungHan's team designed a neural network (MDNet) with a multi-domain structure, which has excellent performance, but the speed is only 1 frame / s. In 2016, the pioneering work based on the twin network, the SINT algorithm, was proposed, and the Siam-FC algorithm was proposed in the same year. The Siamse-RPN network applies the RPN module in target detection to tracking, and the RPN subnetwork is divided into two submodules: classification target and regression target position. The DaSiamRPN method is a further optimization and improvement of the Siamese-RPN. The SiamMask algorithm introduces the target segmentation task into target tracking, achieves optimal performance in video tracking tasks, and achieves the fastest speed in video target segmentation. Although this type of method has achieved good performance on public databases, it needs to rely on large-scale data to ensure the robustness of the trained tracking model, and the powerful representation ability of the deep network is obtained by relying on huge computational workloads at the expense of real-time performance. Therefore, there is still a long way to go in the actual engineering application stage.
[0005] The deep convolutional network used in the single-stage detection algorithm based on deep learning has a strong ability to represent target features. Intelligent algorithms with high recognition rates will inevitably replace traditional algorithms in military technology in the future. However, their huge back-propagation parameter calculations and intricate network models, coupled with the limited data storage, power consumption, computing power and other resources of the missile-borne platform, make it difficult to implement them on embedded platforms and achieve real-time robust detection effects.
[0006] The traditional kernel correlation filter tracking algorithm is fast but has poor long-term tracking effect, while the detection algorithm based on deep learning is highly accurate but time-consuming.
[0007] Early CPU-based correlation filter tracking algorithms had strong real-time performance and were widely used in engineering, but had low tracking accuracy in the case of complex background interference, similar object occlusion, etc. The deep convolutional network used in the single-stage detection algorithm based on deep learning has a strong target feature representation ability, but its embedded implementation has high power consumption and low real-time performance, resulting in the failure to exert good performance of intelligent detection in engineering applications such as actual military operations. In order to ensure detection speed while taking into account detection accuracy, we strive to develop and research real-time target precision detection and tracking technology that can be used on missile-borne GPU platforms.
[0008] Therefore, the present application proposes a real-time target tracking method for a missile-borne platform. Summary of the invention
[0009] In order to overcome the above-mentioned deficiencies in the prior art, the present invention provides a real-time target tracking method for a missile-borne platform.
[0010] In order to achieve the above object, the present invention provides the following technical solutions:
[0011] A real-time target tracking method for a missile-borne platform comprises the following steps:
[0012] Step 1: The target tracker extracts the search area of the current image frame based on the target position of the first frame;
[0013] Step 2: extract features from the search area extracted from the first frame, use the samples and features to train the classifier, and generate an initial position filter;
[0014] Step 3: In subsequent image frames, the target tracker performs regional circular sampling to obtain positive and negative samples according to the target position in the previous frame, and extracts sample features to update the filter parameters;
[0015] Step 4: Calculate the correlation between the filter and the newly input image frame, and the area with the maximum response is the target position.
[0016] Preferably, the step 1 specifically includes:
[0017] Step 11: Automatically detect targets on the video frames captured by the missile-borne platform through a multi-scale, single-stage target detector, and use the output of the detector as the initialization of the tracker;
[0018] Step 12: The target tracker extracts the search area of the current image frame according to the target position of the first frame.
[0019] 11. Preferably, the step 2 specifically includes:
[0020] Step 21, after hog-lbp-Fourier descriptor feature fusion is performed on the search area extracted from the first frame, fusion feature extraction is performed;
[0021] Step 22: Use the above samples and features to train a classifier and generate an initial position filter;
[0022] Step 23: In subsequent image frames, the target tracker performs regional circular sampling according to the target position of the previous frame; at the same time, the target center position is used as the target center, and the candidate samples to be tested are scaled to obtain a scale pool space;
[0023] Step 24: After hog-lbp-Fourier descriptor feature fusion is performed on the extracted regional samples, fusion feature extraction is performed.
[0024] Preferably, the step 4 specifically includes:
[0025] Step 41, training a position filter based on positive and negative samples, the area with the maximum response of the position filter is the current target position; at the same time, the algorithm extracts the target features in the scale space to perform scale-related filter detection, and obtains a response matrix, and the corresponding maximum peak is the current target scale;
[0026] Step 42: during the tracking process, a secondary tracking confidence determination mechanism is used to solve the current confidence score and determine whether the tracking state of each frame image is stable;
[0027] Step 43: The confidence score is passed to the detector to determine whether to start the detector, and is also passed to the tracker to determine whether to update the target template.
[0028] Preferably, before performing target detection, the collected images need to be preprocessed.
[0029] Preferably, the target sample size selection principle is:
[0030]
[0031] Where W and H represent the width and height of the target in the current frame, respectively, λ is the scale factor, and S is the total number of scale levels.
[0032] Preferably, the kernel correlation filtering algorithm specifically includes:
[0033] The kernel correlation filtering algorithm maps the ridge regression in the linear space to the nonlinear space through the kernel function, and solves the dual problem and common constraints in the nonlinear space. At the same time, the algorithm uses the multi-channel histogram of directional gradients (HOG) to better characterize the target features.
[0034] Assume that the training sample set is (x i ,y i ), the error function is
[0035] min||Xw-y|| 2 +λ||w|| 2
[0036] Where X represents the input sample circulation matrix, w is the coefficient matrix to be solved, and λ is used to control the structural complexity of the system;
[0037] In order to minimize the error function, take the derivative of the above formula and set the derivative to 0 to obtain:
[0038] w=(X H X+λI) -1 X H y
[0039] Represent w as a linear combination of samples:
[0040]
[0041] in is a nonlinear mapping function, the solution of ridge regression in kernel space is:
[0042]
[0043] in It means that x is autocorrelated in the Fourier domain, and the output response equation obtained by the fast detection process is as follows:
[0044]
[0045] It can be deduced from the above formula that in the process of updating the tracker, only the template training parameter α and the training sample set x need to be updated, and the template update factor η is set using the linear interpolation method. The specific update formula is as follows:
[0046] x t =ηx t-1 +(1-η)x t
[0047] α t =ηαt-1 +(1-η)α t .
[0048] Preferably, the feature fusion specifically includes:
[0049] For a single visual feature f i (i=1,2,3), establish a target single feature sub-model M with good versatility fi , and use the adaptive weighted fusion strategy I to construct the target model M based on multi-feature fusion;
[0050]
[0051] Preferably, the scale filter performing scale-related filtering detection comprises:
[0052] First, a position-related filter is used in a new frame of image to determine the new position of the target;
[0053] Then take the current target center position as the target center and move the candidate sample X i , after scaling, we get the scale pool space {S 1 ,S 2 ,S 3 ,S 4 ,S 5};
[0054] Extract features for scale-related filtering detection and obtain the response matrix m i , the corresponding maximum peak is the current target scale.
[0055] Preferably, the judgment principle for judging whether the tracking state of each frame image is stable is:
[0056] The first-level discrimination is based on the maximum peak value of the filter, and the second-level discrimination introduces the average peak-related energy index to measure the tracking response effect; Fmax p is the maximum peak value of the P-th frame image, APCE p is the average peak correlation energy of the P-th frame image, if the following conditions are met:
[0057] Fmax p <|u 1 ±γσ 1 | 2
[0058] APCE p <|u 2 ±γσ 2 | 2
[0059] If the tracking is stable, it means the tracking is stable; otherwise, the tracking fails.
[0060] The real-time target tracking method for a missile-borne platform provided by the present invention has the following beneficial effects:
[0061] The present invention establishes a long-term target tracker integrating target tracking and detection based on an embedded platform, while ensuring both the detection speed of the algorithm and the detection accuracy.
[0062] The invention adds a target tracking confidence discriminator and a single-stage target detector based on the KCF kernel correlation filter. When the target is judged to be lost, the detector is started to relocate the target, and an excellent long-term target tracker with tracking as the main and detection as the auxiliary is obtained, which ensures the robustness of the algorithm and takes into account the detection frame rate.
[0063] The present invention intends to adopt a method of tracking as the main and detection as the auxiliary to fuse the improved correlation filtering algorithm and the above-mentioned improved single-stage detection algorithm to obtain an excellent long-term tracking system, which greatly improves the algorithm's expressiveness. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the embodiment of the present invention and its design scheme, the following briefly introduces the drawings required for this embodiment. The drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0065] Figure 1 This is a flow chart of a missile-borne platform real-time target tracking method according to Embodiment 1 of the present invention;
[0066] Figure 2 is the scale filter;
[0067] Figure 3 is the maximum response score discriminant map;
[0068] Figure 4 is the APCE discriminant graph;
[0069] Figure 5 Tracking result graph for target scale change;
[0070] Figure 6 Fast motion tracking results for the target;
[0071] Figure 7 This is the target deformation tracking result;
[0072] Figure 8 The target occludes the tracking result;
[0073] Fig. 9 Tracking results for scale changes;
[0074] Fig.10 Tracking results for light changes;
[0075] Fig.11 For network structure. DETAILED DESCRIPTION
[0076] In order to enable those skilled in the art to better understand the technical solution of the present invention and implement it, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the scope of protection of the present invention.
[0077] Example 1
[0078] The present invention proposes a missile-borne platform tracking algorithm that combines correlation filtering with machine learning. Based on the kernel correlation filter type fast tracking algorithm, a one-dimensional scale filter and a feature fusion method are added. A two-level tracking confidence discrimination mechanism is established, and a target re-detection function is introduced. When it is judged that the target tracking is lost, the template update is stopped and the single-stage target detector is started. The improved correlation filter algorithm and the detection algorithm are fused to obtain an excellent long-term tracking system by adopting a method of tracking as the main and detection as the auxiliary. The long-term tracking system consists of the following three parts: a single-stage target detector; an improved kernel correlation filter algorithm; and a tracking confidence discriminator.
[0079] This embodiment provides a real-time target tracking method for a missile-borne platform. Figures 1 to 11 As shown, the following steps are included:
[0080] Step 1: Design a high-precision multi-scale, single-stage target detector. The target detector automatically detects targets in the video frames of the images collected by the missile-borne platform through an intelligent detection algorithm, and uses the detection results as the initialization value of the target tracker;
[0081] Step 2: The target tracker extracts the search area of the current image frame according to the target position of the first frame image in the detection result, and expands and generates a search box;
[0082] Step 3: After fusion of hog-lbp-Fourier descriptor features is performed on the search area where the search box is located, fusion feature extraction is performed;
[0083] Step 4: Use the fused features to train the classifier and generate the initial position filter;
[0084] Step 5: In the subsequent image frames, the target tracker performs regional circular sampling according to the target position of the previous frame; at the same time, the target center position is used as the target center, and the candidate samples to be tested are scaled to obtain the scale pool space;
[0085] Step 6: After fusing the extracted regional samples with hog-lbp-Fourier descriptor features again, perform fusion feature extraction;
[0086] Step 7: Train the position filter based on the positive and negative samples. The area with the maximum response of the position filter is the current target position. At the same time, the kernel correlation filter algorithm extracts the target features in the scale space and performs scale correlation filter detection through the scale filter to obtain the response matrix. The corresponding maximum peak is the current target scale.
[0087] Target scale selection principles:
[0088]
[0089] Where W and H represent the width and height of the current frame target, respectively, λ is the scale factor, and S is the total scale level;
[0090] Step 8: Use the secondary tracking confidence judgment mechanism during the tracking process to solve the current confidence score and determine whether the tracking state of each frame image is stable; the primary judgment is based on the maximum peak value of the filter, and the secondary judgment introduces the average peak correlation energy index to measure the tracking response effect; Fmax p is the maximum peak value of the P-th frame image, APCE p is the average peak correlation energy of the P-th frame image, if the following conditions are met:
[0091] Fmax p <|u 1 ±γσ 1 | 2 (2)
[0092] APCE p <|u 2 ±γσ 2 | 2 (3)
[0093] If the tracking is stable, it means that the tracking is stable; otherwise, the tracking fails;
[0094] Step 9: Pass the confidence score to the detector to determine whether to start the detector, and pass it to the tracker to determine whether to update the target template; if the target is lost, relocate the target and go to step 1; otherwise, go to step 5.
[0095] Specifically, the kernel correlation filtering algorithm in this embodiment specifically includes:
[0096] The kernel correlation filtering algorithm maps the ridge regression in the linear space to the nonlinear space through the kernel function, and solves the dual problem and common constraints in the nonlinear space. At the same time, the algorithm uses the multi-channel histogram of directional gradients (HOG) to better characterize the target features.
[0097] Assume that the training sample set is (x i ,y i ), the error function is
[0098] min||Xw-y|| 2 +λ||w|| 2 (4)
[0099] Where X represents the input sample circulation matrix, w is the coefficient matrix to be solved, and λ is used to control the structural complexity of the system;
[0100] In order to minimize the error function, take the derivative of the above formula and set the derivative to 0 to obtain:
[0101] w=(X H X+λI) -1 X H y (5)
[0102] Represent w as a linear combination of samples:
[0103]
[0104] in is a nonlinear mapping function, the solution of ridge regression in kernel space is:
[0105]
[0106] in It means that x is autocorrelated in the Fourier domain, and the output response equation obtained by the fast detection process is as follows:
[0107]
[0108] It can be deduced from the above formula that in the process of updating the tracker, only the template training parameter α and the training sample set x need to be updated, and the template update factor η is set using the linear interpolation method. The specific update formula is as follows:
[0109] x t =ηx t-1 +(1-η)x t (9)
[0110] α t =ηα t-1 +(1-η)α t (10).
[0111] Specifically, in this embodiment, feature fusion specifically includes:
[0112] For a single visual feature f i(i=1,2,3), establish a target single feature sub-model M with good versatility fi , and use the adaptive weighted fusion strategy I to construct the target model M based on multi-feature fusion;
[0113]
[0114] Specifically, in this embodiment, the scale filter performs scale-related filtering detection including:
[0115] First, a position-related filter is used in a new frame of image to determine the new position of the target;
[0116] Then take the current target center position as the target center and move the candidate sample X i , after scaling, we get the scale pool space {S 1 ,S 2 ,S 3 ,S 4 ,S 5};
[0117] Extract features for scale-related filtering detection and obtain the response matrix m i , the corresponding maximum peak is the current target scale;
[0118] Target scale selection principles:
[0119]
[0120] Where W and H represent the width and height of the target in the current frame, respectively, λ is the scale factor, and S is the total number of scale levels.
[0121] The Biker video sequence in OTB100 is used for tracking test. The target is lost at the 51st frame of the video, resulting in tracking failure. The experimental results are shown in the figure. Figure 3 and Figure 4 As shown:
[0122] Figure 3 It is the maximum response score discrimination result diagram, the horizontal axis represents the number of frames, and the vertical axis represents the maximum response score calculated for each frame; Figure 4 This is the average peak correlation energy result graph, the horizontal axis represents the frame number, and the vertical axis represents the average peak correlation energy value. Figure 3 and Figure 4 The analysis leads to the following conclusions:
[0123] (1) When the target tracking is stable, the maximum response score and the average peak correlation energy value are large. For example, in the 34th frame image, Fmax = 0.35 and APCE = 20.5 are calculated;
[0124] (2) When the target tracking condition is poor, the maximum response score and the average peak correlation energy value decrease accordingly. For example, in the 48th frame image, the calculated values are Fmax = 0.28 and APCE = 18.6.
[0125] (3) When the target is lost, the maximum peak value and APCE values drop sharply, and the values fluctuate violently. When the target is lost at the 51st frame, Fmax = 0.21, APCE = 15.9.
[0126] (4) After the target is lost, the correlation filter tracker will introduce background error information and continue tracking the background as the target. At this time, the maximum peak gradually increases, and the 63-frame image Fmax = 0.267, APCE = 12.5.
[0127] From the above experiments, we can see that the maximum response score and the average peak correlation energy value can be used as the criterion for target tracking. p is the maximum response score of the P-th frame image, APCE p is the average peak correlation energy of the P-th frame image, if the following conditions are met:
[0128] Fmax p <|u 1 ±γσ 1 | 2 (13)
[0129] APCE p <|u 2 ±γσ 2 | 2 (14)
[0130] This indicates that the tracking is stable; if a large mutation occurs, the tracking fails.
[0131] The design of the target re-detector in this embodiment is as follows:
[0132] After the target is lost, the single-stage target detector is started, and the network structure is as follows Fig.11 As shown, the specific design is as follows:
[0133] (1) Multi-scale prediction
[0134] When the input image size is 416×416, the four feature map scales obtained after multi-scale prediction are: (a) 13×13, as the output size of the deepest feature map of the network, due to the high downsampling multiple, the local receptive field of the feature map is large, so it is suitable for predicting larger targets. (b) 26×26, the scale of the output of the bottom feature map is upsampled by 2 times and then concatenated with the last 26×26 feature map in the network. The feature map at this time has a medium-sized receptive field and is more suitable for predicting medium-sized targets. (c) 52×52, the same as scale b, and finally a 52×52 feature map is used as the output. Its receptive field is smaller, so it is most suitable for predicting smaller targets. (d) 104×104 The same operation as above is taken, and finally a 104×104 feature map is used as the output. Its receptive field is the smallest, so it is most suitable for predicting the smallest target.
[0135] (2) Darknet-53 basic network
[0136] The network uses a new deep network with more convolutional layers, including 53 convolutional layers, and draws on the residual structure of ResNet, which can speed up the training of the network and improve the training effect. When the number of layers of the network model increases, this simple structure can well solve the problem of detection rate degradation, allowing the network structure to develop in a deeper direction.
[0137] (3) Classifier Category Prediction
[0138] Since the target object may have multiple labels in most scenarios, and Softmax only assigns one category label to each target, multiple logistic classifiers can be used to replace Softmax without reducing the accuracy. Finally, during the training process, Binary Cross-entropy Loss was selected for category prediction.
[0139] DBL: It is the basic component of the network, consisting of convolutional layer, BN layer, and activation function.
[0140] resn: n represents a number, such as res1, res2, ..., res8, etc., indicating how many res_units are contained in this res_block. The residual structure in the ResNet algorithm is used to make the network structure deeper.
[0141] concat: tensor concatenation. Concatenating the upsampling of the middle layer of darknet with that of a later layer will expand the dimension of the tensor.
[0142] After network training and optimization, the optimal training model is obtained, and then online target detection is performed to output the currently lost target position, and then the relevant filter tracker is initialized and the template is updated to continue continuous target tracking.
[0143] In order to solve the problems of target occlusion and embedded transplantation, the real-time target tracking method for the missile-borne platform provided in this embodiment adds a scale filter to solve the problem of target scale change, adds a secondary target tracking discrimination mechanism, stops template updating and starts a single-stage target re-detector when the target is lost, and adopts a tracking-based, detection-assisted method to fuse the improved correlation filtering algorithm and the single-stage detection algorithm to obtain an excellent long-term tracking system, thereby maximizing the balance between algorithm accuracy and real-time performance, and greatly improving the algorithm's expressiveness.
[0144] In order to more intuitively compare the anti-interference performance of the tracker, the SRDCF, DSST, KCF algorithms and the method provided by the present invention are selected for qualitative experimental comparison. Video tracking tests are performed on the offshore dataset shot in the field and part of the OTB100 dataset. The algorithm performance tests are performed when the target scale changes, the target moves quickly, the target is severely deformed, blocked, or the light changes drastically. The comparative tracking results are as follows:
[0145] contrast Figures 5 to 10 It can be found that the algorithm proposed in the present invention is relatively stable in tracking when the target scale changes, light changes, target occlusion, etc. Figure 6 Due to the sudden change in target displacement, other algorithms lost the target in the 78th frame image. However, the method provided by the present invention can still correctly lock the target position and track it smoothly in subsequent image frames. Fig.10 In the maritime ship tracking video, an artificial target is occluded at the 1940th frame, and it can be seen that the KCF algorithm fails in tracking. However, the method provided by the present invention adopts a relocation mechanism to relocate the target and continue tracking. The method shows strong anti-interference performance. Fig.11 When the scale of the ship target changes, the method provided by the present invention has better tracking accuracy after adding a scale filter.
[0146] The embodiments described above are only preferred specific implementation modes of the present invention, and the protection scope of the present invention is not limited thereto. Any simple changes or equivalent replacements of the technical solutions that can be obviously obtained by any technician familiar with the field within the technical scope disclosed in the present invention belong to the protection scope of the present invention.
Claims
1. A real-time target tracking method for a missile-borne platform, It is characterized in that The following steps are involved: Step 1: The target tracker extracts the search area of the current image frame based on the target position of the first frame; Step 2: extract features from the search area extracted from the first frame, use the samples and features to train the classifier, and generate an initial position filter; Step 3: In subsequent image frames, the target tracker performs regional circular sampling to obtain positive and negative samples according to the target position in the previous frame, and extracts sample features to update the filter parameters; Step 4: Calculate the correlation between the filter and the newly input image frame, and the area with the maximum response is the target position; The step 1 specifically includes: Step 11: Automatically detect targets on the video frames captured by the missile-borne platform through a multi-scale, single-stage target detector, and use the output of the detector as the initialization of the tracker; Step 12: The target tracker extracts the search area of the current image frame according to the target position of the first frame; The step 2 specifically includes: Step 21, after hog-lbp-Fourier descriptor feature fusion is performed on the search area extracted from the first frame, fusion feature extraction is performed; Step 22: Use the above samples and features to train a classifier and generate an initial position filter; Step 23: In subsequent image frames, the target tracker performs regional circular sampling according to the target position of the previous frame; at the same time, the target center position is used as the target center, and the candidate samples to be tested are scaled to obtain a scale pool space; Step 24, after hog-lbp-Fourier descriptor feature fusion is performed on the extracted regional samples, fusion feature extraction is performed; The step 4 specifically includes: Step 41, training a position filter based on positive and negative samples, the area with the maximum response of the position filter is the current target position; at the same time, the algorithm extracts the target features in the scale space to perform scale-related filter detection, and obtains a response matrix, and the corresponding maximum peak is the current target scale; Step 42: during the tracking process, a secondary tracking confidence determination mechanism is used to solve the current confidence score and determine whether the tracking state of each frame image is stable; Step 43: The confidence score is passed to the detector to determine whether to start the detector, and is also passed to the tracker to determine whether to update the target template; The training of the position filter according to the positive and negative samples specifically includes: The kernel correlation filtering algorithm maps the ridge regression in the linear space to the nonlinear space through the kernel function, and solves the dual problem and common constraints in the nonlinear space. At the same time, the algorithm uses the multi-channel directional gradient histogram HOG to better characterize the target features. Assume that the training sample set is (x i ,y i ), the error function is min||Xw-y|| 2 +λ||w|| 2 Where X represents the input sample circulation matrix, w is the coefficient matrix to be solved, and λ is used to control the structural complexity of the system; In order to minimize the error function, take the derivative of the above formula and set the derivative to 0 to obtain: w=(X H X+λI) -1 X H y Represent w as a linear combination of samples: in is a nonlinear mapping function, the solution of ridge regression in kernel space is: in It means that x is autocorrelated in the Fourier domain, and the output response equation obtained by the fast detection process is as follows: It can be deduced from the above formula that in the process of updating the tracker, only the template training parameter α and the training sample set x need to be updated, and the template update factor η is set using the linear interpolation method. The specific update formula is as follows: x t =ηx t-1 +(1-n)x t a t =ηα t-1 +(1-n)a t 。 2. The real-time target tracking method for a missile-borne platform according to claim 1, It is characterized in that Before performing target detection, the collected images need to be preprocessed.
3. The real-time target tracking method for a missile-borne platform according to claim 2, It is characterized in that Current target scale selection principles: Where W and H represent the width and height of the target in the current frame, respectively, λ is the scale factor, and S is the total number of scale levels.
4. The real-time target tracking method for a missile-borne platform according to claim 1, It is characterized in that The feature fusion specifically includes: For a single visual feature f i , i = 1, 2, 3, establish a target single feature sub-model M with good versatility fi , and use the adaptive weighted fusion strategy I to construct the target model M based on multi-feature fusion; 5. The real-time target tracking method for a missile-borne platform according to claim 4, It is characterized in that The extracting target features in the scale space to perform scale-related filtering detection comprises: First, a position-related filter is used in a new frame of image to determine the new position of the target; Then take the current target center position as the target center and move the candidate sample X i , after scaling, we get the scale pool space {S 1 ,S 2 ,S 3 ,S 4 ,S 5 }; Extract features for scale-related filtering detection and obtain the response matrix m i , the corresponding maximum peak is the current target scale.
6. The real-time target tracking method for a missile-borne platform according to claim 5, It is characterized in that The principle for judging whether the tracking state of each frame image is stable is: The first-level discrimination is based on the maximum peak value of the filter, and the second-level discrimination introduces the average peak-related energy index to measure the tracking response effect; Fmax p is the maximum peak value of the P-th frame image, APCE p is the average peak correlation energy of the P-th frame image, if the following conditions are met: Fmax p <|u 1 ±γσ 1 | 2 APCE p <|u 2 ±γσ 2 | 2 If the tracking is stable, it means the tracking is stable; otherwise, the tracking fails.
