Multi-feature UAV video tracking method based on adaptive updating strategy

By using adaptive update strategies and multi-feature fusion methods in UAV video tracking, the problem of low tracking accuracy in background noise and low-resolution environments is solved, efficient target tracking is achieved, and algorithm performance and real-time performance are improved.

CN115690611BActive Publication Date: 2024-09-06NANJING UNIV OF INFORMATION SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211171636.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-26
Publication Date
2024-09-06
Estimated Expiration
2042-09-26

AI Technical Summary

Technical Problem

Existing UAV video tracking algorithms are difficult to maintain high-precision tracking when faced with background noise and low-resolution environments, and the amount of calculation is large, which affects the real-time tracking speed.

Method used

A multi-feature method based on adaptive update strategy is adopted, by extracting histogram of gradient (HOG), color (CN) and saliency (SA) features, using correlation filters to calculate the response map, and performing peak-to-sidelobe ratio (PSR) Feature fusion and denoising processing, adaptively update the model to improve tracking accuracy.

Benefits of technology

It significantly improves the performance of the target tracking algorithm, enhances target representation information, effectively prevents model degradation, and alleviates background noise interference through the denoising mechanism, improving tracking accuracy and speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115690611B
    Figure CN115690611B
Patent Text Reader

Abstract

The present invention discloses a multi-feature UAV video tracking method based on an adaptive update strategy, and the steps are as follows: after an image is input, an image block is cropped with the target position of the previous frame as the center; the HOG feature, CN feature, and SA feature of the image block are extracted, and the three features are fused through PSR to obtain a final response map; the tracking quality of the current frame is judged according to the PSR of the final response map, and if the tracking quality is poor, the final response map is denoised through a denoising mechanism; the position of the target in the current frame is determined through the final response map; and the model is adaptively updated according to the position of the target in the current frame. The present invention integrates HOG features, CN features, and SA features, and can improve the representation information of the target; at the same time, the denoising mechanism can effectively alleviate the interference of background noise, and the adaptive update strategy can prevent template degradation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to image recognition and target tracking, and in particular to a multi-feature unmanned aerial vehicle video tracking method based on an adaptive updating strategy. Background Art

[0002] As a new observation method, drones can continuously observe specific events on the ground by providing high-temporal resolution images and videos. Video observation makes various drone applications possible, such as road monitoring and wildlife census. Target tracking is one of the hot research directions in the field of drone video observation. Based on the input information of the first frame, the position information of the tracked target is established in the subsequent frames to form the target's motion trajectory.

[0003] Existing target tracking algorithms include those based on correlation filtering and those based on deep learning. Among them, the target tracking algorithm based on deep learning requires a large number of training parameters, which is computationally intensive and difficult to guarantee real-time tracking speed. The target tracking algorithm based on correlation filtering generally converts the convolution operation to the frequency domain through Fourier transform for calculation, which improves the calculation speed. It can achieve high tracking accuracy and tracking speed in traditional video target tracking. However, in drone videos, due to the relative motion between the drone and the target, many algorithms find it difficult to achieve high tracking accuracy. In addition, low resolution and background interference also seriously affect the performance of the tracking algorithm. Summary of the invention

[0004] Purpose of the invention: The purpose of the present invention is to provide a multi-feature UAV video tracking method based on an adaptive update strategy, thereby effectively alleviating the interference of background noise and significantly improving the performance of the tracking algorithm.

[0005] Technical solution: The multi-feature UAV video tracking method based on an adaptive update strategy described in the present invention comprises the following steps:

[0006] (1) After the image of the current frame is input, an image block is cropped with the position of the target in the previous frame as the center point. The size of the image block is 5 times the size of the target.

[0007] (1.1) If the current frame is the first frame of the video, the position of the target is known, that is, the position of the target in the first frame is manually specified.

[0008] (1.2) If the current frame is not the first frame of the video, the position of the target in the previous frame is used as the center point and an image block is cropped whose size is 5 times the target size.

[0009] (2) The gradient histogram (HOG) features, color (CN) features, and saliency (SA) features of the image block are extracted, and the HOG response map, CN response map, and SA response map are calculated using correlation filters. The three response maps are fused through the peak-to-sidelobe ratio (PSR) to obtain the fused response map.

[0010] (2.1) Extract HOG features of image blocks: First, convert the image blocks into grayscale images; then calculate the gradient of each pixel to obtain a pixel-level feature map, and aggregate the pixel-level feature map into a dense grid of rectangular units to obtain a unit-based feature map; then use four different normalization factors of the 27-dimensional histogram to align, truncate and normalize in 9 insensitive directions and 18 sensitive directions; finally, calculate the sum of each channel of different normalization factors to obtain the HOG feature F(HOG).

[0011] (2.2) Extract CN features of image blocks: associate the RGB three primary colors of the image with 11 basic color pre-selected sets, that is, associate them with 11 color language labels, and then obtain the CN features F(CN).

[0012] (2.3) Extracting SA features of images: The SA features of images are extracted using the spectrum residual method. Before extracting the features, the k-th frame image I(k) is preprocessed. The Fourier transform F() is used to obtain the amplitude feature A(k) and phase feature P(k) of the image I(k) in the frequency domain. The calculation formula is as follows:

[0013] A(k)=AC(F(I(k)))

[0014] P(k)=PC(F(I(k)))

[0015] Among them, AC() and PC() are functions for extracting amplitude and phase respectively; the image is represented by log spectrum, and the formula is as follows:

[0016] L(k)=log(A(k))

[0017] The amplitude characteristic A(k) can be measured by H n It can be approximated by the convolution between and L(k), so the spectral residual r(k) can be obtained by the following formula:

[0018] r(k)=L(k)-H n *L(k)

[0019] Among them, H n is an n×n matrix, which is defined as:

[0020]

[0021] The salient information contained in the image can be captured by the spectral residual block r(k), and the salient feature F(SA) is obtained by the following formula:

[0022] F(SA)=G(k)★F -1 [exp(r(k)+P(k))] 2

[0023] Among them, G(k) is a Gaussian filter, F -1 is the inverse Fourier transform.

[0024] (2.4) The HOG feature map, CN feature map, SA feature map and related filters are correlated to obtain the HOG response map res(HOG), CN response map res(CN), and SA response map res(SA). The formulas are as follows:

[0025] res(HOG)=F(HOG)⊙H HOG

[0026] res(CN)=F(CN)⊙H CN

[0027] res(SA)=F(SA)⊙H SA

[0028] Among them, ⊙ is the dot product operation, H HOG , H CN , H SA They are the correlation filters corresponding to three different features.

[0029] (2.5) Calculate the PSR of the three characteristic response graphs. The PSR calculation formula is as follows:

[0030]

[0031] Among them, i∈{HOG,CN,SA}, g max () is the maximum response value of the response graph, μ() is the mean of the response graph, and σ() is the standard deviation of the response graph.

[0032] (2.6) The response map is enhanced using the PSR of different feature response maps. The enhancement process is as follows:

[0033] Re(i)=PSR(i)×res(i)

[0034] Among them, i∈{HOG,CN,SA}, Re() is the feature response map after enhancement, namely Re(HOG), Re(CN), Re(SA).

[0035] (2.7) The three enhanced feature response maps are fused in pairs, and the formula is as follows:

[0036] R(HC)=Re(HOG)⊙Re(CN)

[0037] R(HS)=Re(HOG)⊙Re(SA)

[0038] R(CS)=Re(CN)⊙Re(SA)

[0039] (2.8) Finally, the PSR of the fused response graph is calculated to obtain the final feature response graph R(final), and its calculation formula is as follows:

[0040]

[0041] Among them, i,j∈{HC,HS,CS}.

[0042] (3) Calculate the PSR of the fused response map. If the PSR is greater than the threshold, the point with the maximum response value of the fused response map is the location of the target. If the PSR is less than the threshold, denoise the fused response map, and the point with the maximum response value of the denoised response map is the location of the target.

[0043] (3.1) Calculate the PSR of the final response graph R(final) using the following formula:

[0044]

[0045] (3.2) If the value of PSR(final) is greater than the threshold, then the position of the maximum response value point in the final response graph R(final) is the position of the target.

[0046] (3.3) If the value of PSR(final) is less than the threshold, then the final response map R(final) needs to be denoised. First, the distance L between the maximum response value point in the final response map and the target position in the previous frame is calculated. The size of the denoised map map(i,j) is SL×SL, where

[0047] SL=2.5×L

[0048] The denoised map map(i,j) follows a cosine distribution with a center value of 1 and an edge value of 0.

[0049] (3.4) Align the denoised map map(i,j) with the center of the final response map R(final) and perform a point multiplication operation to denoise the final response map. The position of the maximum response value point in the denoised response map is the target position.

[0050] (4) Adaptively update the correlation filter according to the target's location.

[0051] (4.1) Calculate the PSR of the response graph of the current frame, that is, PSR(I(k)).

[0052] (4.2) Calculate the average PSR of the response graph of the historical frame, that is,

[0053] (4.3) Calculate the confidence β of the current frame. The calculation formula is as follows:

[0054]

[0055] (4.4) The updated weight V of the current frame is adjusted by the confidence β, and its calculation formula is as follows:

[0056]

[0057] Among them, α and γ are pre-set hyperparameters.

[0058] (4.5) to update the adaptive model, the formula is as follows:

[0059] H k =(1-ηV)H k-1 +ηVH' k

[0060] Where η is the initial learning rate, H k is the model of the current frame, H k-1 is the model of the previous frame, H' k is the vector image of the current frame.

[0061] A computer storage medium stores a computer program, which, when executed by a processor, implements the multi-feature UAV video tracking method based on an adaptive update strategy.

[0062] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the multi-feature UAV video tracking method based on the adaptive update strategy is implemented.

[0063] Beneficial effects: Compared with the prior art, the present invention has the following advantages:

[0064] 1. The fusion of HOG features, CN features, and SA features can further enhance the representation information of the target;

[0065] 2. Adopting an adaptive model update strategy can effectively prevent model degradation;

[0066] 3. The denoising mechanism can further alleviate the impact of background noise. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 is a flow chart of the target tracking method of the present invention;

[0068] Figure 2 This is a working diagram of the feature fusion module of the present invention;

[0069] Figure 3 This is a comparison chart of the accuracy of the target tracking method in the embodiment;

[0070] Figure 4 4 is a comparison chart of the success rates of the target tracking methods in the embodiments. DETAILED DESCRIPTION

[0071] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.

[0072] like Figure 1 As shown, a multi-feature UAV video tracking method based on an adaptive update strategy includes the following steps:

[0073] (1) After the image of the current frame is input, an image block is cropped with the position of the target in the previous frame as the center point. The size of the image block is 5 times the size of the target.

[0074] (1.1) If the current frame is the first frame of the video, the position of the target is known, that is, the position of the target in the first frame is manually specified.

[0075] (1.2) If the current frame is not the first frame of the video, the position of the target in the previous frame is used as the center point and an image block is cropped whose size is 5 times the target size.

[0076] (2) The gradient histogram (HOG), color (CN), and saliency (SA) features of the image block are extracted, and the HOG response map, CN response map, and SA response map are calculated using the correlation filter. The three response maps are fused by the peak-to-sidelobe ratio (PSR) to obtain the fused response map. The feature fusion process is as follows: Figure 2 shown.

[0077] (2.1) Extract HOG features of image blocks: First, convert the image blocks into grayscale images; then calculate the gradient of each pixel to obtain a pixel-level feature map, and aggregate the pixel-level feature map into a dense grid of rectangular units to obtain a unit-based feature map; then use four different normalization factors of the 27-dimensional histogram to align, truncate and normalize in 9 insensitive directions and 18 sensitive directions; finally, calculate the sum of each channel of different normalization factors to obtain the HOG feature F(HOG).

[0078] (2.2) Extract CN features of image blocks: associate the RGB three primary colors of the image with 11 basic color pre-selected sets, that is, associate them with 11 color language labels, and then obtain the CN features F(CN).

[0079] (2.3) Extracting SA features of images: The SA features of images are extracted using the spectrum residual method. Before extracting the features, the k-th frame image I(k) is preprocessed. The Fourier transform F() is used to obtain the amplitude feature A(k) and phase feature P(k) of the image I(k) in the frequency domain. The calculation formula is as follows:

[0080] A(k)=AC(F(I(k)))

[0081] P(k)=PC(F(I(k)))

[0082] Among them, AC() and PC() are functions for extracting amplitude and phase respectively; the image is represented by log spectrum, and the formula is as follows:

[0083] L(k)=log(A(k))

[0084] The amplitude characteristic A(k) can be measured by H n It can be approximated by the convolution between and L(k), so the spectral residual r(k) can be obtained by the following formula:

[0085] r(k)=L(k)-H n *L(k)

[0086] Among them, H n is an n×n matrix, which is defined as:

[0087]

[0088] The salient information contained in the image can be captured by the spectral residual block r(k), and the salient feature F(SA) is obtained by the following formula:

[0089] F(SA)=G(k)★F -1 [exp(r(k)+P(k))] 2

[0090] Among them, G(k) is a Gaussian filter, F -1 is the inverse Fourier transform.

[0091] (2.4) The HOG feature map, CN feature map, SA feature map and related filters are correlated to obtain the HOG response map res(HOG), CN response map res(CN), and SA response map res(SA). The formulas are as follows:

[0092] res(HOG)=F(HOG)⊙H HOG

[0093] res(CN)=F(CN)⊙H CN

[0094] res(SA)=F(SA)⊙H SA

[0095] Among them, ⊙ is the dot product operation, H HOG , H CN , H SA They are the correlation filters corresponding to three different features.

[0096] (2.5) Calculate the PSR of the three characteristic response graphs. The PSR calculation formula is as follows:

[0097]

[0098] Among them, i∈{HOG,CN,SA}, g max () is the maximum response value of the response graph, μ() is the mean of the response graph, and σ() is the standard deviation of the response graph.

[0099] (2.6) The response map is enhanced using the PSR of different feature response maps. The enhancement process is as follows:

[0100] Re(i)=PSR(i)×res(i)

[0101] Among them, i∈{HOG,CN,SA}, Re() is the feature response map after enhancement, namely Re(HOG), Re(CN), Re(SA).

[0102] (2.7) The three enhanced feature response maps are fused in pairs, and the formula is as follows:

[0103] R(HC)=Re(HOG)⊙Re(CN)

[0104] R(HS)=Re(HOG)⊙Re(SA)

[0105] R(CS)=Re(CN)⊙Re(SA)

[0106] (2.8) Finally, the PSR of the fused response graph is calculated to obtain the final feature response graph R(final), and its calculation formula is as follows:

[0107]

[0108] Among them, i,j∈{HC,HS,CS}.

[0109] (3) Calculate the PSR of the fused response map. If the PSR is greater than the threshold, the point with the maximum response value of the fused response map is the location of the target. If the PSR is less than the threshold, denoise the fused response map, and the point with the maximum response value of the denoised response map is the location of the target.

[0110] (3.1) Calculate the PSR of the final response graph R(final) using the following formula:

[0111]

[0112] (3.2) If the value of PSR(final) is greater than the threshold, then the position of the maximum response value point in the final response graph R(final) is the position of the target.

[0113] (3.3) If the value of PSR(final) is less than the threshold, then the final response map R(final) needs to be denoised. First, the distance L between the maximum response value point in the final response map and the target position in the previous frame is calculated. The size of the denoised map map(i,j) is SL×SL, where

[0114] SL=2.5×L

[0115] The denoised map map(i,j) follows a cosine distribution with a center value of 1 and an edge value of 0.

[0116] (3.4) Align the denoised map map(i,j) with the center of the final response map R(final) and perform a point multiplication operation to denoise the final response map. The position of the maximum response value point in the denoised response map is the target position.

[0117] (4) Adaptively update the correlation filter according to the target's location.

[0118] (4.1) Calculate the PSR of the response graph of the current frame, that is, PSR(I(k)).

[0119] (4.2) Calculate the average PSR of the response graph of the historical frame, that is,

[0120] (4.3) Calculate the confidence β of the current frame. The calculation formula is as follows:

[0121]

[0122] (4.4) The updated weight V of the current frame is adjusted by the confidence β, and its calculation formula is as follows:

[0123]

[0124] Among them, α and γ are pre-set hyperparameters.

[0125] (4.5) to update the adaptive model, the formula is as follows:

[0126] H k =(1-ηV)H k-1 +ηVH' k

[0127] Where η is the initial learning rate, H k is the model of the current frame, H k-1 is the model of the previous frame, H' k is the vector image of the current frame.

[0128] In order to further verify the effect of the target tracking method, the accuracy and success rate of the target tracking method of this embodiment are simulated and compared with other tracking methods. The results are shown in Table 1. The accuracy rate is the ratio of the number of frames in which the center distance error between the predicted position and the true position is less than a certain threshold to the total number of frames, the success rate is the ratio of the number of frames in which the overlapping area between the predicted position and the true position is greater than a certain threshold to the total number of frames, and the AUC is the area under the success rate curve. It can be concluded from Table 1 that the accuracy rate, success rate and AUC of the present invention have achieved the highest results. Among them, the PSRS method is most similar to the present invention, but PSRS does not enhance the extracted features, while the present invention enhances the features, so compared with PSRS, the accuracy of the present invention is improved by 0.04, the success rate is improved by 0.031, and the AUC is improved by 0.028. In addition, from Table 1 Figure 3 and Figure 4 It can be seen that the performance of the algorithm of the present invention is obviously better than other algorithms.

[0129] Table 1 Statistical table of experimental results of the present invention

[0130] Ours PSRS KCC BACF Accuracy 0.628 0.588 0.531 0.572 Success rate 0.557 0.526 0.447 0.506 AUC 0.460 0.432 0.374 0.413

Claims

1. A multi-feature UAV video tracking method based on an adaptive update strategy, characterized in that: The following steps are involved: (1) After the image of the current frame is input, an image block is cropped with the position of the target in the previous frame as the center point. The size of the image block is 5 times the size of the target. (2) extracting the HOG features, CN features, and SA features of the image block, using correlation filters to calculate the HOG response map, CN response map, and SA response map, and fusing the three response maps through PSR to obtain a fused response map; (3) Calculate the PSR of the fused response map. If the PSR is greater than the threshold, the point with the maximum response value of the fused response map is the location of the target. If the PSR is less than the threshold, the fused response map is denoised, and the maximum response value point of the denoised response map is the position of the target; (4) Adaptively update the correlation filter based on the target’s location; Step (3) is specifically as follows: (3.1) Calculate the PSR of the final response graph R(final) using the following formula: (3.2) If the value of PSR(final) is greater than the threshold, then the position of the maximum response value point of the final response graph R(final) is the position of the target; (3.3) If the value of PSR(final) is less than the threshold, then the final response map R(final) needs to be denoised. First, the distance L between the maximum response value point in the final response map and the target position in the previous frame is calculated. The size of the denoised map map(v, j) is SL×SL, where SL=2.5×L The denoised map map(i, j) follows a cosine distribution with a center value of 1 and an edge value of 0; (3.4) Align the denoised map map (i, j) with the center of the final response map R (final) and perform a point multiplication operation to denoise the final response map. The position of the maximum response value point in the denoised response map is the target position.

2. According to claim 1, a multi-feature UAV video tracking method based on an adaptive update strategy is characterized in that: The step (1) is specifically: (1.1) If the current frame is the first frame of the video, the position of the target is known, that is, the position of the target in the first frame is manually specified; (1.2) If the current frame is not the first frame of the video, the position of the target in the previous frame is used as the center point and an image block is cropped whose size is 5 times the target size.

3. The multi-feature UAV video tracking method based on an adaptive update strategy according to claim 1 is characterized in that: The step (2) is specifically: (2.1) Extract HOG features of image blocks: First, convert the image blocks into grayscale images; then calculate the gradient of each pixel to obtain a pixel-level feature map, and aggregate the pixel-level feature map into a dense grid of rectangular units to obtain a unit-based feature map; then use four different normalization factors of the 27-dimensional histogram to align, truncate and normalize in 9 insensitive directions and 18 sensitive directions; finally, calculate the sum of each channel of different normalization factors to obtain the HOG feature F(HOG); (2.2) Extract CN features of image blocks: associate the RGB three primary colors of the image with 11 basic color pre-selected sets, that is, associate with 11 color language labels, and then obtain the CN features F(CN); (2.3) Extracting SA features of images: The SA features of images are extracted using the spectrum residual method. Before extracting the features, the k-th frame image I(k) is preprocessed. The Fourier transform F() is used to obtain the amplitude feature A(k) and phase feature P(k) of the image I(k) in the frequency domain. The calculation formula is as follows: A(k)=AC(F(I(k))) P(k)=PC(F(I(k))) Among them, AC() and PC() are functions for extracting amplitude and phase respectively; the image is represented by log spectrum, and the formula is as follows: L(k)=log(A(k)) The amplitude characteristic A(k) can be measured by H n It can be approximated by the convolution between and L(k), so the spectral residual r(k) can be obtained by the following formula: r(k)=L(k)-H n *L(k) Among them, H n is an n×n matrix, which is defined as: The salient information contained in the image can be captured by the spectral residual block r(k), and the salient feature F(SA) is obtained by the following formula: F(SA)=G(k)★F -1 [exp(r(k)+P(k))] 2 Among them, G(k) is a Gaussian filter, F -1 is the inverse Fourier transform; (2.4) The HOG feature map, CN feature map, SA feature map and related filters are correlated to obtain the HOG response map res(HOG), CN response map res(CN), and SA response map res(SA). The formulas are as follows: res(HOG)=F(HOG)⊙H HOG res(CN)=F(CN)⊙H CN res(SA)=F(SA)⊙H SA Among them, ⊙ is the dot product operation, H HOG , H CN , H SA They are the correlation filters corresponding to three different features; (2.5) Calculate the PSR of the three characteristic response graphs. The PSR calculation formula is as follows: Among them, i∈{HOG, CN, SA}, gma x () is the maximum response value of the response graph, μ() is the mean of the response graph, and σ( ) is the standard deviation of the response graph; (2.6) The response map is enhanced using the PSR of different feature response maps. The enhancement process is as follows: Re(i)=PSR(i)×res(i) Among them, i∈{HOG, CN, SA}, Re() is the feature response map after enhancement, namely Re(HOG), Re(CN), Re(SA); (2.7) The three enhanced feature response maps are fused in pairs, and the formula is as follows: R(HC)=Re(HOG)⊙Re(CN) R(HS)=Re(HOG)⊙Re(SA) R(CS)=Re(CN)⊙Re(SA) (2.8) Finally, the PSR of the fused response graph is calculated to obtain the final feature response graph R(final), and its calculation formula is as follows: Among them, i, j∈{HC, HS, CS}.

4. The multi-feature UAV video tracking method based on an adaptive update strategy according to claim 1 is characterized in that: The step (4) is specifically: (4.1) Calculate the PSR of the response graph of the current frame, that is, PSR(I(k)); (4.2) Calculate the average PSR of the response graph of the historical frame, that is, (4.3) Calculate the confidence β of the current frame. The calculation formula is as follows: (4.4) The updated weight V of the current frame is adjusted by the confidence β, and its calculation formula is as follows: Among them, α and γ are pre-set hyperparameters; (4.5) to update the adaptive model, the formula is as follows: H k =(1-ηV)H k-1 +ηVH’ k Where η is the initial learning rate, H k is the model of the current frame, H k-1 is the model of the previous frame, H' k is the vector image of the current frame.

5. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the multi-feature UAV video tracking method based on an adaptive update strategy as described in any one of claims 1 to 4 is implemented.

6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the multi-feature UAV video tracking method based on an adaptive update strategy as described in any one of claims 1 to 4 is implemented.