Image object tracking method and apparatus

By constructing an invariant health reference and consistent health evaluation, the accuracy and stability issues of image target tracking under interference conditions are resolved, ensuring the accuracy and stability of target tracking in interference environments.

CN123160616APending Publication Date: 2026-11-24PENG CHENG LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611484102.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-22
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Under interference conditions, the accuracy and stability of existing image target tracking methods are affected, and they are prone to deviating from the true target due to the matching of incorrect candidates, resulting in inaccurate tracking results.

Method used

A health reference is constructed based on the spatiotemporal frequency domain features of the normal target region sequence and remains unchanged. During online tracking, the original candidates and recovery candidates are evaluated for health in a consistent manner. By expanding the search range and validation conditions, the accuracy of the recovery candidates is ensured. The final result is selected by combining the health deviation amount processed by conventional tracking.

Benefits of technology

It improves the accuracy and stability of target tracking under interference conditions, reduces the possibility of erroneous candidates being directly selected as recovery output, and maintains the continuous operation and reliability of the two-way tracking processing results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160616A_ABST
    Figure CN123160616A_ABST
Patent Text Reader

Abstract

This disclosure relates to the field of image processing technology, providing an image target tracking method and apparatus. It involves acquiring an image sequence and a pre-constructed, online-unchanged health reference based on the spatiotemporal frequency domain features of a normal target region sequence; maintaining and continuously iterating the normal tracking state and the recovery tracking state respectively, generating their respective original candidates, and determining the health deviation amount based on the health reference; expanding the search range when the original candidates in the recovery tracking process continuously show abnormalities, and continuously verifying the health of the recovery candidates; selecting the current frame positioning result based on the health deviation amount in the normal tracking process and the recovery verification results. Furthermore, it controls dynamic template updates or independent reliable position updates based on health evaluation, maintaining independent iterative updates of the two tracking states, thereby improving the accuracy and stability of target tracking under interference conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of image processing technology, and specifically to an image target tracking method and apparatus. Background Technology

[0002] Target tracking processes image sequences to continuously estimate the target's position in subsequent images after identifying an initial target. Correlated image target tracking methods typically combine target appearance features with historical localization results to perform target matching within a search area of ​​the current image and determine the target's location based on the matching results. When the target is affected by occlusion, interference from similar objects, or motion changes, the tracking method can also expand the search range to find recovery candidates and determine subsequent tracking results based on the candidate's matching degree, confidence level, or positional relationship.

[0003] During the tracking process described above, the target's appearance and localization results may be disturbed, causing the tracking results to deviate from the true target. At this time, similar objects may also obtain high matching values ​​or confidence levels, and the matching performance of candidates in the current image may not fully reflect their target consistency in consecutive images. If erroneous candidates are used as recovery results for continued tracking, it may cause further deviations, affecting the accuracy and stability of target tracking under disturbed conditions. Summary of the Invention

[0004] Based on this, this disclosure provides an image target tracking method and apparatus to address the problem of how to improve the accuracy and stability of target tracking under interference conditions.

[0005] In a first aspect, this disclosure provides an image target tracking method, the method comprising: Acquire image sequences and health references; the health references are pre-constructed based on the spatiotemporal frequency domain features of normal target region sequences and remain unchanged during online tracking; the spatiotemporal frequency domain features include the spatial frequency features of the target region, and the temporal frequency features formed based on the spatial frequency features of the current time and historical time. Based on the normal tracking state and the recovery tracking state respectively, the image sequence is subjected to normal tracking processing and recovery tracking processing to obtain their respective original candidates, and the normal tracking state and the recovery tracking state are maintained and continuously recursively calculated independently; according to the feature extraction method when constructing the health reference, the spatiotemporal frequency domain features of each original candidate are extracted, and the health deviation of each original candidate is determined according to the health reference; In response to the health deviation of the original candidates in the recovery tracking process continuously satisfying the preset anomaly judgment conditions, the search range is expanded and recovery candidates are generated. The spatiotemporal frequency domain features of the recovery candidates are extracted according to the feature extraction method, and the health deviation of the recovery candidates is determined according to the health reference. The recovery candidates that continuously satisfy the preset recovery verification conditions are determined as the tracking results of the recovery tracking process. If the recovery candidates are not used, the original candidates of the recovery tracking process are used as the tracking results of the recovery tracking process. The preset recovery verification conditions include that the health evaluation is valid and the health deviation is not higher than the preset health threshold. Based on the health deviation of the original candidate in the conventional tracking process, the localization result of the current frame is selected and output between the original candidate in the conventional tracking process and the current tracking result of the recovery tracking process; wherein, if the health evaluation of the original candidate in the conventional tracking process is valid and the health deviation is higher than the preset abnormal entry threshold, and the current tracking result is the recovery candidate that continuously meets the preset recovery verification conditions, the current tracking result is selected.

[0006] Secondly, this disclosure also provides an image target tracking device, the device comprising: The reference acquisition module is used to acquire image sequences and health references; the health references are pre-constructed based on the spatiotemporal frequency domain features of normal target region sequences and remain unchanged during online tracking; the spatiotemporal frequency domain features include the spatial frequency features of the target region, and the temporal frequency features formed based on the spatial frequency features of the current time and historical time. The tracking evaluation module is used to perform regular tracking processing and recovery tracking processing on the image sequence based on the regular tracking state and the recovery tracking state respectively, to obtain their respective original candidates, and to independently maintain and continuously recursively deduce the regular tracking state and the recovery tracking state; according to the feature extraction method when constructing the health reference, the spatiotemporal frequency domain features of each original candidate are extracted, and the health deviation of each original candidate is determined according to the health reference; The recovery verification module is used to expand the search range and generate recovery candidates in response to the fact that the health deviation of the original candidates in the recovery tracking process continuously meets the preset anomaly judgment conditions. It extracts the spatiotemporal frequency domain features of the recovery candidates according to the feature extraction method and determines the health deviation of the recovery candidates based on the health reference. The recovery candidates that continuously meet the preset recovery verification conditions are determined as the tracking results of the recovery tracking process. If the recovery candidates are not used, the original candidates in the recovery tracking process are used as the tracking results of the recovery tracking process. The preset recovery verification conditions include valid health evaluation and health deviation not exceeding a preset health threshold. The result selection module is used to select and output the positioning result of the current frame between the original candidates of the regular tracking process and the current tracking result of the recovery tracking process based on the health deviation of the original candidates of the regular tracking process; wherein, if the health evaluation of the original candidates of the regular tracking process is valid and the health deviation is higher than the preset abnormal entry threshold, and the current tracking result is the recovery candidate that continuously meets the preset recovery verification conditions, the current tracking result is selected.

[0007] Thirdly, this disclosure also provides an electronic device, including: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of any of the above-described image target tracking methods.

[0008] Fourthly, this disclosure also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of any of the above-described image target tracking methods.

[0009] Fifthly, this disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the above-described image target tracking methods.

[0010] In the aforementioned image target tracking method, a health reference, pre-constructed based on spatiotemporal frequency domain features of a normal target region sequence and remaining unchanged during online tracking, is used to perform consistent health evaluations on both original and restored candidates. This provides a comparative basis for candidate evaluations that does not change with the online tracking results. The spatiotemporal frequency domain features used simultaneously characterize the spatial frequency structure of the target region and its changes over time, and form temporal frequency features based on information from the current and historical moments, making the health evaluation applicable to frame-by-frame online tracking.

[0011] Based on this, the regular tracking state and the recovery tracking state are maintained and continuously iterated. When continuous anomalies occur in the recovery tracking process, the search range is expanded. Recovery candidates that continuously meet the recovery verification conditions are identified as recovery tracking results. The health deviation of the regular tracking process is combined with the health deviation of the regular tracking process to determine whether to use the recovery tracking result. This connects the continuous verification of the recovery candidates with the selection of external positioning results. While maintaining the continuous operation of the two tracking processes, the possibility of directly using erroneous candidates that occasionally meet the health conditions as recovery output is reduced, thereby improving the accuracy and stability of target tracking under interference conditions. Attached Figure Description

[0012] To more clearly illustrate the embodiments of this disclosure, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0013] Figure 1 A flowchart illustrating an image target tracking method provided in an embodiment of this disclosure; Figure 2 A flowchart illustrating a health reference construction process provided in this embodiment of the disclosure; Figure 3 A schematic diagram illustrating a process for constructing a health reference based on a simulated target region sequence, provided in an embodiment of this disclosure; Figure 4 A flowchart illustrating a time window validity processing procedure provided in an embodiment of this disclosure; Figure 5 A flowchart illustrating a dynamic template update and effective update registration process provided in this embodiment of the disclosure; Figure 6 A flowchart illustrating a reliable location maintenance and update process provided in this embodiment of the disclosure; Figure 7 This is a schematic diagram illustrating the overall relationship between healthy reference construction, dual-branch tracking, and update processing in an image target tracking method provided in this embodiment of the disclosure. Figure 8 This is a schematic diagram of the structure of an image target tracking device provided in an embodiment of the present disclosure; Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0014] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this disclosure.

[0015] It should be noted that, in the description of this disclosure, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., in this disclosure are used to distinguish similar objects and are not used to describe a particular order or sequence.

[0016] To enable those skilled in the art to better understand the present disclosure, the present disclosure will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0017] In one embodiment, please refer to Figure 1 , Figure 1 This is a flowchart illustrating an image target tracking method provided in an embodiment of the present disclosure. The process may include the following steps: Step S101: Obtain the image sequence and health reference.

[0018] Specifically, the image sequence includes multiple frames of images arranged in chronological order. Each frame of the image reflects the image appearance of the target to be tracked at the corresponding moment. The target tracking process determines the target position frame by frame based on the acquired images.

[0019] The health reference is pre-constructed based on the spatiotemporal frequency domain features of the normal target region sequence and remains unchanged during online tracking. The normal target region sequence consists of target regions arranged in chronological order and correctly corresponding to the target at the corresponding time, providing characteristic information for the target under normal conditions.

[0020] Among them, spatial frequency features are used to characterize the frequency structure of the target region in space, reflecting the spatial variation of image content within the target region.

[0021] The temporal frequency features are formed based on the spatial frequency features of the current moment and historical moments, and are used to characterize the changes of the above spatial frequency structure over time. The formation process does not use image information after the current moment.

[0022] When online tracking begins, a pre-built health reference is read and invoked during subsequent candidate evaluation. Candidates generated during online tracking and their evaluation results are not used to modify this health reference, ensuring that candidates at different tracking times have a consistent basis for comparison.

[0023] Here, "health" in health reference refers to the characteristic state of a normal target area; the health reference is pre-established outside the online feedback process of the tracker, and its independence is reflected in that it does not change with the online tracking results and does not require provision through external devices.

[0024] Step S102: Based on the regular tracking state and the restored tracking state, perform regular tracking processing and restored tracking processing on the image sequence respectively to obtain their respective original candidates, and independently maintain and continuously recursively deduce the regular tracking state and the restored tracking state; extract the spatiotemporal frequency domain features of each original candidate according to the feature extraction method when constructing the health reference, and determine the health deviation of each original candidate according to the health reference.

[0025] Specifically, the regular tracking process and the recovery tracking process are two tracking processes set up for the same target to be tracked. They retain internal information used to generate subsequent candidates, and the corresponding internal information constitutes the regular tracking state and the recovery tracking state.

[0026] At the start of online tracking, two tracking processes are initialized with the first valid target state. Subsequently, each tracking process combines the current frame image and its own retained tracking state to perform target localization, obtaining candidates generated during the normal search process; these candidates are called native candidates.

[0027] The native candidate corresponds to the candidate target region in the current frame, and its positioning information is used to indicate the position of the target region in the current frame. Even if two tracking processes read the same frame image, the native candidates they generate may be different because they maintain different tracking states.

[0028] For state recursion, the two tracking processes maintain their internal states according to their respective tracking and control rules. The path not selected for external output continues to generate candidates and maintain its own state. The selection relationship of external results is not used to stop the state recursion of a certain path, nor is it used to overwrite the state of a path with the state of another path.

[0029] After obtaining the original candidates, the target regions corresponding to each original candidate are processed according to the feature extraction method used when constructing the health reference. Each path saves its own health evaluation history corresponding to its tracking process, so that the temporal features of the current candidate are consistent with the historical processing of that path.

[0030] Subsequently, the spatiotemporal frequency domain features of each original candidate are compared with the same healthy reference to obtain the corresponding health deviation. The health deviation reflects the degree of difference between the candidate features and the normal target features; the larger the value, the more obvious the deviation between the candidate and the normal target features.

[0031] The aforementioned health deviation is used to evaluate the feature state of the candidate and is not directly equivalent to the geometric distance between the candidate box and the ground truth box. Therefore, online evaluation does not require calculating the localization error using the ground truth box of the current frame.

[0032] Step S103: In response to the health deviation of the original candidate in the recovery tracking process continuously meeting the preset anomaly judgment conditions, the search range is expanded and recovery candidates are generated. The spatiotemporal frequency domain features of the recovery candidates are extracted according to the feature extraction method, and the health deviation of the recovery candidates is determined according to the health reference. The recovery candidates that continuously meet the preset recovery verification conditions are determined as the tracking results of the recovery tracking process. If no recovery candidates are used, the original candidate in the recovery tracking process is used as the tracking result of the recovery tracking process. The preset recovery verification conditions include that the health evaluation is valid and the health deviation is not higher than the preset health threshold.

[0033] Specifically, preset anomaly detection conditions are used to identify whether the original candidates for recovery tracking continuously deviate from the normal target state based on the amount of health deviation. The detection results at consecutive evaluation times are checked, and the recovery search process begins when the original candidates continuously meet the conditions.

[0034] The recovery search expands the search range around the recovery starting point determined by the adopted tracking method, and the target is re-located within the expanded range. The resulting candidates are called recovery candidates. The generation and verification of recovery candidates are both performed in the recovery tracking process, without changing the state maintenance process of the regular tracking process itself.

[0035] For recovery candidates, the same feature extraction method and health reference are used for evaluation as for the original candidates, so that the health deviation of the two types of candidates has the same basis for comparison.

[0036] In this context, a valid health assessment indicates that the inputs required to generate the corresponding health assessment result meet the assessment processing requirements. The validity of the health assessment and whether the health deviation is below a threshold are judged separately. A valid assessment result does not necessarily mean that the candidate meets the health requirements; further comparison of its health deviation with a preset health threshold is still needed.

[0037] Pre-defined recovery verification conditions are used to determine whether a recovery candidate meets the criteria for adoption. A health threshold limits the permissible deviation of the recovery candidate from a health reference. Recovery candidates generated at different evaluation times are continuously verified, ensuring a consistent evaluation basis for their adoption.

[0038] The current frame tracking result of the recovery tracking process is determined based on the verification of the recovery candidate. When a recovery candidate is used, the recovery candidate is used as the tracking result; when no recovery candidate is used, the original candidate is used as the tracking result. The determined tracking result is used for the selection of the current frame positioning result in step S104.

[0039] Step S104: Based on the health deviation of the original candidates in the regular tracking process, select the localization result of the current frame from the original candidates in the regular tracking process and the current tracking result of the recovery tracking process, and output it.

[0040] Specifically, after both tracking channels complete the processing of the current frame, the original candidates from the regular tracking process and the current tracking result from the recovery tracking process are used as candidate results. The candidate result for the recovery channel is determined based on the recovery process adopted by that channel; it may be either its original candidate or a recovery candidate that has passed continuous verification.

[0041] The preset anomaly entry threshold is used to determine whether the normal tracking results reach the level of anomaly corresponding to the selection of recovery tracking results. This threshold is applied to the external result selection process.

[0042] If the health evaluation of the original candidate in the regular tracking process is valid and the health deviation is higher than the preset abnormal entry threshold, and the current tracking result is a recovery candidate that continuously meets the preset recovery verification conditions, then the current tracking result is selected.

[0043] Therefore, the recovery candidate first undergoes continuous verification within the recovery channel, and then combines the health evaluation results from the conventional channel to participate in the selection of the external result. After the selection is completed, the target position corresponding to the selected result is output, and the tracking states of the two channels continue to be recursively calculated for use in subsequent frame processing.

[0044] In the above image target tracking method, a health reference is pre-constructed based on the spatiotemporal frequency domain features of normal target region sequences and remains unchanged during online tracking. This allows for consistent health evaluation of the original candidates and the restored candidates, providing a comparative basis for the candidate evaluation that does not change with the online tracking results.

[0045] The spatiotemporal frequency domain features used simultaneously characterize the spatial frequency structure of the target area and its changes over time, and form time-frequency features based on information from the current moment and historical moments, making health assessment applicable to frame-by-frame online tracking.

[0046] Based on this, the regular tracking state and the recovery tracking state are maintained and continuously iterated. When continuous anomalies occur in the recovery tracking process, the search range is expanded. Recovery candidates that continuously meet the recovery verification conditions are identified as recovery tracking results. The health deviation of the regular tracking process is combined with the decision on whether to use the recovery tracking result. This connects the continuous verification of recovery candidates with the selection of external positioning results, thereby improving the accuracy and stability of target tracking under interference conditions.

[0047] In one possible implementation of step S102 above, the spatiotemporal frequency domain features of each original candidate are extracted according to the feature extraction method used when constructing the health reference, including: Step S1021: Perform two-dimensional frequency decomposition on the target region corresponding to each original candidate, and statistically analyze the energy, absolute mean, and dispersion of each frequency sub-band to obtain the corresponding spatial frequency characteristics.

[0048] Specifically, the target region corresponding to the original candidate is taken as the object of spatial frequency analysis, and the target region is decomposed into two-dimensional frequency to obtain frequency sub-bands used to characterize different spatial frequency components.

[0049] For each frequency sub-band, the energy, absolute mean, and dispersion of its decomposition coefficients are statistically analyzed, and spatial frequency features are formed according to a consistent feature organization method, so that the corresponding feature components in health reference construction and online candidate evaluation have consistent meanings.

[0050] Among them, energy is used to characterize the intensity of the frequency components in the corresponding subband, the absolute mean is used to characterize the amplitude level of the decomposition coefficients, and the dispersion is used to characterize the distribution variation of the decomposition coefficients. These three types of statistical descriptions together constitute the characteristic expression of the corresponding subband.

[0051] Step S1022: For each tracking process, the spatial frequency features of multiple consecutive times up to the current time are arranged into a time window in chronological order.

[0052] Specifically, the spatial frequency features obtained in chronological order during each tracking process are retained, and the current time is taken as the end of the time window, and the spatial frequency features of the current time and several consecutive times before it are taken to form the time window.

[0053] As the current frame progresses, the time window moves along the original time sequence, ensuring that the spatial frequency features retained within the window always correspond to both current and historical information. The two tracking processes maintain their own time windows, preventing the historical features from being cross-stitched between the regular tracking process and the recovery tracking process into the same time series.

[0054] Step S1023: The spatial frequency features within the time window are processed to remove the mean, and one-dimensional frequency decomposition is performed along the time direction to obtain the corresponding time frequency features.

[0055] Specifically, the corresponding spatial feature components within the time window are subjected to mean-reduction processing along the time direction, and the changes of each feature component relative to the average level within the window are used as input for time frequency analysis.

[0056] Subsequently, the processed features are decomposed into one-dimensional frequencies in chronological order, so that the temporal frequency features reflect the changes in the spatial frequency structure within the time window.

[0057] Step S1024: Concatenate the spatial frequency features of the current moment with the corresponding temporal frequency features to obtain the corresponding original candidate spatiotemporal frequency domain features.

[0058] Specifically, the spatial frequency characteristics of the current target area are concatenated with the temporal frequency characteristics ending at the current time, so that the resulting features simultaneously include the spatial structure information of the current target area and the temporal change information during the tracking process.

[0059] The original candidates and the restored candidates adopt the same feature organization method, so that the subsequent health reference comparison acts on the feature components corresponding to the meaning.

[0060] In the aforementioned image target tracking method, the frequency distribution description of the current target region is formed by statistically analyzing the energy, absolute mean, and dispersion of each spatial frequency sub-band in the target region. The spatial frequency features at consecutive time points are then subjected to mean-reduction processing and one-dimensional frequency decomposition in the temporal direction, allowing the temporal frequency features to reflect the changes of each feature component relative to the average level within the window. After concatenating the current spatial frequency features with the aforementioned temporal frequency features, the health assessment simultaneously utilizes the current frequency distribution of candidates and its historical changes, providing an evaluation basis containing temporal change information for anomaly detection and recovery verification. Since the time window extends to the current moment, the evaluation process does not require waiting for subsequent image frames.

[0061] In one specific implementation of the above feature extraction process, both spatial frequency decomposition and temporal frequency decomposition employ two-level Haar decomposition, with a time window length of 32. The feature formation relationship is expressed as follows:

[0062]

[0063] in, For the first Frame image, For the corresponding target box, This refers to the target region obtained and preprocessed according to the target bounding box. Spatial frequency characteristics, It is a time-frequency characteristic. The spatiotemporal frequency domain features obtained by splicing, This represents the length of the time window.

[0064] In the above relationship Indicates target region preprocessing. Indicates spatial frequency feature extraction, This indicates the extraction of time-frequency features using current and historical spatial frequency features.

[0065] Based on the above spatiotemporal frequency domain feature extraction embodiments, the recovery candidates are evaluated for health using the same spatial frequency extraction, time window processing, and feature splicing methods. The time window is formed according to the following different implementation methods.

[0066] In one implementation, the original candidate spatial frequency features obtained before the current time are retained in the recovery tracking process, and combined with the spatial frequency features of the current recovery candidate, a time window for evaluating the recovery candidate is formed according to the original time sequence. The historical time uses the saved original candidate spatial frequency features, and the current time uses the spatial frequency features of the recovery candidate.

[0067] When evaluating the original candidates and restored candidates in the same frame, copies of the same set of historical spatial frequency features are used respectively, and the spatial frequency features of the corresponding candidates are added at the current time of the two windows, so that the two candidates are evaluated based on the same historical information. The operation of forming the evaluation window of the restored candidate does not modify the evaluation window of the original candidate.

[0068] In the above implementation, when generating a recovery candidate for the first time, if the saved historical features and the current candidate features meet the time window requirements, then the corresponding spatiotemporal frequency domain features are extracted; if the requirements are not yet met, then the effective health evaluation result of the recovery candidate is not output, and the effective evaluation is performed after the window meets the requirements.

[0069] In another implementation, a separate time window is maintained for each recovery candidate continuously acquired during the recovery search process. The spatial frequency features corresponding to each recovery candidate at each time point are added to the window in chronological order, and time frequency features are formed based on the historical features and current features within the window.

[0070] When using a separate time window, historical features of recovery candidates are accumulated from the start of the current recovery search. Before the required number of consecutive valid time points for feature extraction have been accumulated, no valid health evaluation results are output. After the window meets the requirements, it continues to update along the time sequence as subsequent recovery candidates are obtained, and the corresponding health evaluation results are output.

[0071] The recovery candidates generated continuously in this recovery search constitute the corresponding recovery candidate sequence. When the candidate position changes with the target movement, the window of the sequence continues to be maintained in time sequence. When the current recovery search ends and the recovery search is restarted, a new window is established for the new recovery candidate sequence, and the recovery candidate history of the previous search is not directly connected to the new window.

[0072] In one possible implementation of the method in steps S101-S104 above, before obtaining the image sequence and health reference in step S101, as follows: Figure 2 As shown, the method also includes: Step S201: Obtain the normal target region sequence and extract the effective spatiotemporal frequency domain features from the normal target region sequence according to the feature extraction method.

[0073] Specifically, using normal target region sequences as the construction data for health reference, a consistent feature extraction method is adopted for each target region and its corresponding historical information to obtain the corresponding spatiotemporal frequency domain features.

[0074] For the features obtained, valid features are retained according to the validity requirements of the feature extraction process to form a set of health features used to determine health references.

[0075] Here, the set is derived from a pre-obtained sequence of normal target regions and is not expanded with new candidates generated by online tracking.

[0076] Step S202: Calculate the normalization parameters and the dimension reduction projection matrix based on the effective spatiotemporal frequency domain features, and use the normalization parameters and the dimension reduction projection matrix to normalize and reduce the dimension of the effective spatiotemporal frequency domain features to obtain the dimension reduction features.

[0077] Specifically, based on the statistical results of each feature component in the health feature set, the mean and standard deviation required for standardization are determined to adjust the numerical scale of different feature components.

[0078] Based on this, a dimension reduction projection matrix is ​​determined according to the set of health features, and the standardized features are projected onto the dimension reduction space so that subsequent health distribution statistics and candidate comparisons can be performed in the same feature space.

[0079] During online evaluation, the standardized parameters and dimensionality reduction projection matrix determined in the construction phase are invoked, and the corresponding parameters are not refitted based on the current candidates, so as to maintain the consistency of the processing relationship between healthy features and online candidate features.

[0080] Step S203: Calculate the healthy mean and shrinkage covariance based on the dimensionality reduction features, and calculate the squared Mahalanobis distance of each dimensionality reduction feature relative to the healthy mean based on the shrinkage covariance, to obtain the deviation of the healthy sample.

[0081] Specifically, health characteristics are statistically analyzed within the reduced-dimensional space to obtain the health mean, which is used to characterize the distribution center of health characteristics.

[0082] Meanwhile, the shrinkage covariance is calculated based on the distribution of health characteristics to describe the changes and interrelationships of each component of the dimensionality-reduced features, and the stability of statistical estimation is improved through covariance shrinkage processing.

[0083] Subsequently, using the healthy mean as the comparison center, the squared Mahalanobis distance of each dimension-reduced feature is calculated by combining the shrinkage covariance to obtain the deviation of the healthy sample, so that the evaluation of the degree of sample deviation takes into account the fluctuation and correlation of each feature component.

[0084] Step S204: Determine the quantiles corresponding to the deviation of healthy samples according to the first preset quantile level and the second preset quantile level which is greater than the first preset quantile level, and set the quantiles as the preset health threshold and the preset abnormal entry threshold, respectively.

[0085] Specifically, the quantiles corresponding to different quantile levels are determined based on the distribution of deviations in healthy samples, wherein the first preset quantile level is used to determine the health threshold and the second preset quantile level is used to determine the abnormal entry threshold.

[0086] The health threshold is used to determine whether the candidate is within the set health deviation range, and the abnormal entry threshold is used to determine the abnormality of the regular tracking results in step S104, so that health acceptance and abnormal entry have corresponding statistical basis.

[0087] Step S205: Save the standardized parameters, dimensionality reduction projection matrix, health mean, shrinkage covariance, preset health threshold and preset abnormal entry threshold as a health reference.

[0088] Specifically, the above processing parameters, statistics, and thresholds are associated and saved, read uniformly at the start of online tracking, and the same set of parameters is called during the candidate evaluation process.

[0089] Among them, the health deviation of each original candidate and restored candidate is the squared Mahalanobis distance calculated relative to the health mean and based on the contraction covariance after the corresponding spatiotemporal frequency domain features have been processed by standardized parameters and dimension reduction projection matrix.

[0090] For online candidates, the saved mean and standard deviation are first used for standardization, and then the saved dimensionality reduction projection matrix is ​​used to obtain the dimensionality reduction features of the candidates. Subsequently, the squared Mahalanobis distance of the feature relative to the healthy mean is calculated to ensure that the online evaluation is consistent with the formation process of the deviation of the healthy sample.

[0091] In the aforementioned image target tracking method, healthy features and online candidate features are processed using unified standardized parameters and a dimensionality-reduced projection matrix, allowing them to be compared within the same feature space. The squared Mahalanobis distance is determined based on the healthy mean and shrinkage covariance, ensuring that the calculation of health deviation considers both the fluctuations and correlations of feature components. Furthermore, health thresholds and anomaly entry thresholds are determined based on different quantiles of the deviation distribution for the same healthy sample, providing corresponding statistical criteria for recovery verification and external result selection. These parameters and thresholds are stored as an invariant health reference during the online period, ensuring that changes in online candidates do not alter the statistical benchmark upon which subsequent evaluations are based.

[0092] In one specific implementation of the above-mentioned health reference construction and usage process, the computational relationship is expressed as follows:

[0093]

[0094]

[0095] in, For an effective set of health characteristics, The number of features in the set. and These are the standardized mean and standard deviation, respectively. For the dimension-reduced projection matrix, This represents the average health value after dimensionality reduction. To reduce covariance, This is the shrinkage coefficient.

[0096] In the above relationship For candidate dimensionality reduction features, This represents the candidate's health deviation. This indicates that corresponding components are divided. This refers to the process of determining the above processing parameters and statistics based on a set of health characteristics.

[0097] In this specific implementation, the first preset quantile level is 0.98, the second preset quantile level is 0.99, and the threshold calculation relationship is expressed as follows:

[0098] in, For the deviation of healthy samples, Indicates quantile level The corresponding quantiles, For health threshold, This is the threshold for abnormal entry.

[0099] Based on the spatiotemporal frequency domain feature extraction embodiments corresponding to steps S1021-S1024 above, before obtaining the image sequence and health reference in step S101 above, such as Figure 3 As shown, the method also includes: Step S301: Obtain simulation images of the target trajectory under different environmental conditions and frame-by-frame 3D target bounding boxes.

[0100] Specifically, based on the trajectory of the target in the simulation scene, images formed under different environmental conditions and corresponding 3D target bounding boxes are obtained, so that the geometric position of the target corresponds to the image formation process.

[0101] The aforementioned 3D target bounding box is derived from known target geometry information in the simulation scene and is used to determine the target area during the health reference construction phase. Its source is independent of the localization results generated by the online tracker.

[0102] Step S302: Project the 3D target box onto the image plane to obtain the projection box, and align the projection box with the simulation image according to the time sequence.

[0103] Specifically, based on the imaging relationship of the simulation scene, the three-dimensional target box is mapped onto the corresponding image plane to obtain the projection box used to identify the target image region.

[0104] Subsequently, according to the image formation sequence, each projection frame is matched with the simulation image at the same time, so that the image used for target region cropping is consistent with the target geometric position in time.

[0105] Step S303: When both the simulation image and the projection frame are valid, the target area is cropped according to the projection frame, and the cropped target area is uniformly scaled, grayscaled, and normalized.

[0106] Specifically, when both the simulated image and the corresponding projection frame meet the requirements for target region extraction, the target region is cropped from the image according to the projection frame.

[0107] For the cropped target region, a uniform size and image representation are used for preprocessing, so that the target regions under different frames and different environmental conditions can participate in subsequent feature extraction with a consistent input form.

[0108] Step S304: Retain the position of each time point in the original time series and the corresponding valid flags to obtain the normal target region sequence.

[0109] Specifically, for each time step, the position of that time step in the original image sequence is retained, and the validity of the corresponding target region is recorded.

[0110] If the image or projection frame is invalid at a certain moment, the invalidity flag for that moment is retained. The original time sequence is not changed by deleting that moment and directly connecting the valid regions before and after it, so that the subsequent time frequency analysis still corresponds to the actual time arrangement relationship.

[0111] Step S305: Extract the spatiotemporal frequency domain features of the normal target region sequence according to the feature extraction method, and construct a healthy reference based on the effective spatiotemporal frequency domain features of the normal target region sequence.

[0112] Specifically, the normal target region sequence is processed according to the feature extraction method of steps S1021-S1024, so that its spatial frequency statistics, time window organization and time frequency decomposition adopt the same processing method as the online candidate evaluation.

[0113] After forming the corresponding spatiotemporal frequency domain features, the effective features are used to establish a comparison basis for the normal target state, and the constructed health reference is used for subsequent online tracking.

[0114] In one embodiment, such as Figure 4 As shown, the method also includes: Step S401: For each time window formed according to the feature extraction method, if there is an invalid moment within the time window, pause the output of the corresponding valid spatiotemporal frequency domain features until the invalid moment is removed from the time window.

[0115] Specifically, after forming the time window, the valid flags for each time point within the window are checked. If the window still contains invalid times, the features formed based on that window will not be output as valid spatiotemporal frequency domain features.

[0116] As subsequent images arrive, the time window continues to move along the original time sequence and re-checks the validity status within the window; after the window is removed at the original invalid time and the window meets the validity requirements, the corresponding valid features are output again.

[0117] The above validity processing is applied to their respective time windows, so that invalid moments in the tracking history of a certain path are processed according to the original time sequence of that path, and are not replaced by other paths that have valid evaluation results.

[0118] In the aforementioned image target tracking method, the target region is cropped and uniformly processed after projecting the frame-by-frame 3D target bounding box onto the image plane and aligning it with the simulation image at the corresponding time. This ensures that the health reference construction data has a target location source independent of the online tracking candidate and participates in feature extraction with a consistent image representation. For invalid times, their original temporal positions are retained, and the output of the effective spatiotemporal frequency domain features corresponding to the time window containing that time is paused. This avoids stitching the originally discontinuous target regions into a continuous sequence after deleting invalid times, ensuring that the temporal frequency features used in health reference construction and online candidate evaluation maintain a change relationship corresponding to the original image temporal sequence, and reducing the impact of manually changing time intervals on subsequent health determination.

[0119] In one combined implementation, the above-mentioned normal target region sequence construction and time window validity processing are combined with the statistical reference construction method in steps S201-S205.

[0120] Specifically, 26 simulated trajectories were used, and images and target areas were generated under three weather conditions: sunny, foggy, and rainy. This resulted in 78 healthy target area caches, with the target areas uniformly processed to 128×128 pixels.

[0121] In this combined implementation, both spatial frequency decomposition and temporal frequency decomposition employ two-level Haar decomposition with a time window length of 32; the feature dimension after dimensionality reduction is 50, and the covariance shrinkage coefficient is 0.1.

[0122] After processing, 20,330 finite health deviations were obtained. The 98th percentile value of 171.3393 was used as the health threshold, and the 99th percentile value of 223.7669 was used as the abnormal entry threshold. The above parameters and statistical results were saved for use in the online stage.

[0123] In one possible implementation of step S103 above, the preset recovery verification conditions also include the health deviation of the recovery candidate being a finite value, and the recovery candidate passing confidence verification.

[0124] Specifically, the finite numerical requirement is used to exclude evaluation results that cannot be used for comparison with normal numerical values, so that recovery is based on health pass criteria that do not use infinite values ​​or non-numerical results.

[0125] Confidence verification judges the candidate confidence provided by the base tracker, which is a tracking algorithm used to generate target candidates. Its confidence reflects the algorithm's matching judgment of the corresponding candidate.

[0126] Health deviation assessment and confidence verification work together to determine recovery candidates, with the former based on a fixed health reference and the latter incorporating the meaning of the candidate outputs from the connected trackers.

[0127] Recovery candidates that continuously meet the preset recovery verification conditions are identified as the tracking results of the recovery tracking process, including: Step S1031: When a new health sample of a recovery candidate is obtained, it is determined whether the recovery candidate meets the preset recovery verification conditions; if it meets the conditions, the continuous verification count is increased; if it does not meet the conditions, the continuous verification count is cleared to zero; when no new health sample is obtained, the continuous verification count remains unchanged.

[0128] Specifically, a new health sample refers to a newly obtained recovery candidate health evaluation result in this process. Repeated reading of previously saved evaluation results is not considered a new health sample.

[0129] After obtaining new health samples, the validity of the recovery candidate, the amount of health deviation, and the confidence verification results are used to determine whether the recovery verification conditions are met, and the continuous verification count is increased or decreased accordingly.

[0130] In frames where no new health samples are obtained, the original count values ​​are retained so that the continuous verification count reflects the continuity formed by the new evaluation results, rather than just the number of image frames that have passed.

[0131] In step S1032, when a new health sample is obtained, the recovery candidate meets the preset recovery verification conditions, the continuous verification count reaches the preset number of continuous verifications, and the original candidate of the recovery tracking process still does not meet the conditions of valid health evaluation and the health deviation is a finite value and not higher than the preset health threshold, the recovery candidate is determined as the tracking result of the recovery tracking process.

[0132] Specifically, when the continuous verification count reaches the required level, the recovery candidates are re-examined in conjunction with the current new health sampling to ensure that the conditions on which the recovery is based still hold at the current evaluation time.

[0133] At the same time, check whether the original candidate for recovery tracking still does not meet the full health conditions, so that the adoption of the recovery candidate corresponds to the current state of the original candidate of that path.

[0134] If the original candidate already meets the health conditions, the recovery candidate will not be directly adopted simply because the previous accumulated continuous verification count of the recovery candidate has reached the required level.

[0135] Furthermore, in the absence of new health samples, the count will not be kept unchanged, nor will the current recovery acceptance be carried out solely based on historical counts, so as to avoid using old evaluation results as the basis for current recovery.

[0136] In the aforementioned image target tracking method, by updating the continuous verification count only when a new health sample is acquired and resetting the count to zero when the current recovery candidate does not meet the recovery verification conditions, continuous verification is based on the evaluation results from different health samples, avoiding the premature reaching of the preset number of continuous verifications by repeatedly reading the same evaluation result. The verification of recovery candidates simultaneously checks the validity of the health evaluation, the value and threshold conditions of the health deviation, and the confidence verification results. When the count reaches the required level, the status of the current recovery candidate and the original candidate is reviewed, ensuring that recovery replacement has both historical and current adoption criteria, reducing the possibility of using recovery candidates that no longer meet the conditions based on historical cumulative counts.

[0137] In one specific implementation, recovery search is triggered by two consecutive abnormal samples, and internal verification is completed by two consecutive qualified new healthy samples; if the recovery candidate fails the acceptance test, it does not replace the original candidate of that path, nor does it change the internal state of the regular tracing process.

[0138] In a further implementation of the above continuous recovery verification embodiment, a continuous anomaly count is set for the original candidate of the recovery tracking process to determine whether to start the recovery search; the continuous anomaly count and the continuous verification count of the recovery candidate are maintained separately, the former corresponding to the anomaly persistence of the original candidate and the latter corresponding to the verification success of the recovery candidate.

[0139] In one optional implementation, the validity of the health evaluation of the original candidate, the health deviation being a finite value and higher than a preset abnormal entry threshold are used as the abnormal judgment conditions. When a new health evaluation result of the original candidate is obtained, if the condition is met, the continuous abnormal count is increased; if the condition is not met, the continuous abnormal count is cleared to zero, and a recovery search is initiated when the count reaches a preset number of abnormalities.

[0140] If no new health assessment result is obtained from the original candidate, the continuous abnormality count remains unchanged; if a new assessment result is obtained but the health assessment is invalid or the health deviation is not a finite value, it is not considered as a result that meets the above abnormality judgment conditions, and the continuous abnormality count is cleared to zero.

[0141] In another optional implementation, a preset health threshold is used as the comparison threshold for the above-mentioned anomaly judgment, and the other counting and triggering processes remain the same, so that when the original candidate continues to exceed the health range, the recovery search is initiated; the selection of external results is still judged according to step S104 using the preset anomaly entry threshold, and the initiation of the recovery search does not directly change the current tracking process used externally.

[0142] When the above-described continuous recovery verification embodiment is used in combination with the implementation of separately maintaining recovery candidate time windows, a continuous verification count is maintained for each recovery candidate sequence formed by each recovery search, and the continuous verification count is initialized to zero when a new sequence is established.

[0143] For the same recovery candidate sequence, if no valid health evaluation result has been formed within the time window, the continuous verification count remains unchanged and the recovery candidate adoption is not performed. After obtaining a new health sample, the count is updated according to step S1031, and the recovery candidate is determined according to step S1032. After the recovery search ends, the count is not carried over to the next recovery search.

[0144] In one possible implementation of step S104 above, based on the health deviation of the original candidates in the regular tracking process, the localization result of the current frame is selected and output between the original candidates in the regular tracking process and the current tracking result of the recovery tracking process, including: Step S1041: The original candidate of the regular tracking process is selected by default, and the moment when both the regular tracking process and the recovery tracking process obtain new health evaluation results is determined as the common sampling moment.

[0145] Specifically, when starting the selection of external results, the original candidates processed by regular tracking are used by default, and the current selection relationship is retained for subsequent frame judgment.

[0146] The co-sampling time indicates that both tracking processes have obtained new health assessment results, but it does not mean that both results meet the health conditions. The health status of the two results and their interrelationship are further determined at this co-sampling time.

[0147] Step S1042: At the common sampling time, if the original candidate of the current conventional tracking processing is selected, and the health evaluation of the original candidate is valid, the health deviation is a finite value and higher than the preset abnormal entry threshold, and the recovery candidate that meets the preset recovery verification conditions and has a finite health deviation has been determined as the tracking result of the recovery tracking processing in the same frame, then switch to the tracking result of the recovery tracking processing.

[0148] Specifically, when using conventional tracking results, the first step is to determine whether the path meets the abnormal entry conditions based on the current new evaluation results.

[0149] After the normal path meets the above conditions, further check whether the recovery path has completed the recovery candidate acceptance within the same frame, and confirm that its current recovery result meets the corresponding health and numerical validity requirements before changing the external selection relationship.

[0150] Therefore, the outer layer handover relies on both the current abnormal state of the regular path and the same-frame acceptance result of the recovery path, and does not directly use a past frame that has completed recovery acceptance as the basis for the current handover.

[0151] Step S1043: At the common sampling time, if the current tracking result of the recovery tracking process is selected, it is determined whether the original candidate of the regular tracking process meets the conditions of valid health evaluation, finite health deviation and not higher than the preset health threshold, and whether any of the following conditions are met at the same time: the health deviation of the original candidate of the regular tracking process is less than the health deviation of the current tracking result of the recovery tracking process; the health evaluation of the current tracking result is invalid; the health deviation of the current tracking result is not a finite value; the health deviation of the current tracking result is higher than the preset abnormal entry threshold.

[0152] Specifically, when using the current recovery tracking results, routine tracking processes continue to run, and the new health assessment results determine whether health requirements are met again.

[0153] After the normal path meets the health requirements, compare the health deviation of the current results of the two paths, or determine whether the current result of the recovery path has invalid evaluation, illegal value, or deviation exceeding the abnormal entry threshold.

[0154] The recovery tracking result in the above comparison is the actual result used by the path in the current frame. Its health deviation is determined by the current output object of the path and is not fixed by the evaluation value of a previous recovery candidate.

[0155] Step S1044: If both of the above judgments are satisfied, increase the continuous switchback count; otherwise, clear the continuous switchback count to zero. When the continuous switchback count reaches the preset number of switchbacks, switch to the native candidate for conventional tracking processing. Keep the continuous switchback count unchanged during non-common sampling times.

[0156] Specifically, at the moment of joint sampling, a successful switchback evaluation is defined as one channel meeting the health conditions and two channels meeting the comparison conditions simultaneously, and the consecutive switchback count is increased accordingly.

[0157] If any condition is not met, the consecutive cut-back count will be reset to zero, so that subsequent cut-backs will accumulate consecutive qualified evaluation results again.

[0158] For non-common sampling moments, the continuous switchback count is neither incremented nor cleared, so that the switchback decision is driven only by the new evaluation results obtained jointly by the two paths.

[0159] Step S1045: Output the currently selected result as the positioning result of the current frame.

[0160] Specifically, based on the currently retained selection relationship, the result of the current frame is obtained from the corresponding tracking process and output. When the regular tracking process is selected, the original candidate of the current frame is obtained. When the recovery tracking process is selected, the tracking result of the current frame determined according to step S103 is obtained.

[0161] If no switch occurs, the selected tracking process is maintained, and the newly formed tracking results of the process are obtained frame by frame. The candidate positions at the time of the initial switch are not reused as the positioning results for subsequent frames.

[0162] After the external result selection is completed, the two tracking processes continue to maintain their own states. Health evaluation is used to control the selection relationship, and an invalid health evaluation is not directly equated to no localization result for that frame.

[0163] In the above image target tracking method, the switching judgment is made at the common sampling time when new health evaluation results are obtained in both tracking processes, and the condition for switching into the recovery tracking process is combined with the adoption result of the recovery candidate in the same frame. This makes the switching basis correspond to the current evaluation state of the two processes, reducing the situation of using the new evaluation result of one side and the historical evaluation result of the other side for switching judgment.

[0164] When switching back to regular tracking processing, the health recovery status is judged in conjunction with the current actual output health status of the recovery tracking processing, and the corresponding conditions are required to be met in continuous co-sampling, so that the switching back has a continuous evaluation basis; the count remains unchanged during non-co-sampling time to avoid reusing old evaluations to advance the count, thereby reducing the possibility of repeated switching between the two outputs due to fluctuations in a single evaluation.

[0165] In one specific implementation, after the switchback condition is met at two consecutive common sampling times, the process switches back to regular tracking.

[0166] In one possible implementation of step S102 above, the normal tracking state and the recovery tracking state each include their respective dynamic templates.

[0167] Specifically, the dynamic template is a target appearance reference that is updated during the tracking process, used to provide target appearance information that is maintained during the tracking process for subsequent target localization.

[0168] The two tracking processes each save their own dynamic templates and update the templates according to their respective candidate and control rules, so that the template update of one path does not overwrite the template content of the other path.

[0169] In one embodiment, such as Figure 5 As shown, the method also includes: Step S501: For regular tracking processing and recovery tracking processing, according to the preset template update interval, when the confidence level of the candidate in the corresponding tracking processing reaches the preset confidence threshold, and the health evaluation is valid and the health deviation is a limited value and does not exceed the preset health threshold, the corresponding dynamic template is updated based on the target area corresponding to the candidate.

[0170] Specifically, the template update timing is determined according to the preset template update interval, and at the corresponding timing, the confidence level and health evaluation results of the candidate path are combined to determine whether to perform template writing.

[0171] For candidates that meet the update conditions, update the dynamic template of that path according to its corresponding target area, so that the template absorbs the target appearance information approved by the health conditions.

[0172] The two template updates each depend on their respective candidates. If a certain path is not selected for output in the current frame, it does not prevent that path from maintaining the dynamic template according to its own update conditions.

[0173] Step S502: If the tracking process to which the localization result of the current frame belongs has performed a dynamic template update in the current frame, register the dynamic template update as a valid update for the current frame.

[0174] Specifically, after determining the external positioning result of the current frame, the tracking process to which the result belongs is determined, and it is checked whether the path has performed a dynamic template update that meets the conditions in the current frame.

[0175] If the update has already been executed, the corresponding update will be registered as a valid update for this frame, so that the valid update record corresponds to the current positioning result.

[0176] The above registration applies to template updates that have already occurred, and does not treat the registration action as a unified prerequisite for writing the two private templates.

[0177] Step S503: The dynamic template updates that were not selected for tracking processing are retained in the corresponding tracking state and are not registered as valid updates for this frame.

[0178] Specifically, for a path that is not selected, the dynamic template update performed in the current frame remains in the current path state and participates in the generation of subsequent candidates for that path.

[0179] This update is not recorded as a valid update for the current frame corresponding to the selected external result, thus keeping the private state maintenance of the two paths separate from the valid update records corresponding to the external results.

[0180] In the above image target tracking method, by jointly checking the candidate confidence and health conditions at the preset template update time, the candidate that reaches the confidence threshold but deviates from the healthy reference cannot trigger dynamic template update based solely on the confidence, thereby reducing the possibility that abnormal target areas are written into the template and continue to affect subsequent localization.

[0181] Each of the two tracking processes retains a dynamic template that meets its own update conditions, allowing the unselected tracking process to continue recursively based on its own updated template. The updates that have been executed by the external selected branch are registered as valid updates for this frame, which clarifies the correspondence between the current external positioning result and the corresponding template update, while preserving the independent evolution of the two tracking states.

[0182] Based on the above dynamic template update embodiment (including steps S501 to S503), the preset recovery verification conditions also include the health deviation of the recovery candidate being a finite value, and the confidence level of the recovery candidate reaching a preset confidence threshold.

[0183] Specifically, in addition to meeting the health reference evaluation requirements, recovery candidates also need to meet the confidence requirements corresponding to the base tracker, so that recovery can be supported by both external health evaluation and candidate matching evaluation.

[0184] Expand the search scope and generate recovery candidates, including: Step S1033: Using the original candidate position of the recovery tracking process when entering the recovery search as the search starting point, the most recent trusted template copy saved by the recovery tracking process is used to locate the target within the expanded search range to obtain the recovery candidate.

[0185] Specifically, when entering the recovery search, the position of the original candidate path is recorded, and this position is used to determine the starting point of this recovery search.

[0186] The most recently trusted template copy corresponds to the template content saved in the previous trusted tracing state. In the recovery search, this copy is used to provide the target appearance basis, so that the expanded search does not depend solely on the appearance information reflected by the current anomaly candidate.

[0187] Subsequently, the target is located by combining the template copy within the expanded search scope, and the resulting recovery candidates are subjected to health and confidence verification.

[0188] Recovery candidates that continuously meet the preset recovery verification conditions are identified as the tracking results of the recovery tracking process, including: Step S1034: When a new health sample of the recovery candidate is obtained, the recovery candidate meets the preset recovery verification conditions in multiple consecutive health samples including the new health sample, and the original candidate of the recovery tracking process still does not meet the conditions of valid health evaluation, limited health deviation and not higher than the preset health threshold, the recovery candidate is determined as the tracking result of the recovery tracking process.

[0189] Specifically, when a new recovery health sample arrives, the current evaluation results are combined with previous continuous evaluation results to confirm that the recovery candidate continues to meet the health conditions and confidence requirements.

[0190] After continuous verification, check whether the original candidate of the recovery path still does not meet the health conditions. Only when the recovery adoption requirements are met will the current original result of the path be replaced by the recovery candidate.

[0191] In the above image target tracking method, the original candidate position when entering the recovery search is used as the search starting point, and the target is located in the expanded search range by using the most recent reliable template copy. This allows the recovery search to use previously reliable target appearance information to find candidates, reduces the dependence on the appearance information of current abnormal candidates, and expands the spatial range of the relocated target.

[0192] The recovery candidates obtained from the expanded search are validated by combining health conditions, confidence conditions, and continuous new health sampling. Replacement is performed when the original candidates still do not meet the health conditions, so that the expansion of the search range is coordinated with the adoption constraints of the recovery candidates, reducing the possibility that accidentally matched regions within the expanded range will directly enter the tracking results.

[0193] In one specific embodiment, the above processing is integrated into SUTrack. The regular tracking processing and the recovery tracking processing are configured with tracker instances, networks, health evaluators, and controllers, and dynamic templates are saved respectively.

[0194] In this embodiment, the template update interval is 25 frames, the confidence threshold is 0.7, the recovery search adopts two expansion ranges of 1.5 times and 2.0 times the original search range, and the most recent trusted template copy is used to generate recovery candidates.

[0195] The two tracking processes execute their own template update rules respectively, and the external results can be either not stopped, merged, or mutually overwritten by the recursion of the two templates, so that the tracking states remain independent during the recovery verification period.

[0196] In one possible implementation of the above steps S101-S104, such as Figure 6As shown, the method also includes: Step S601, independent of the normal tracking state and the recovery tracking state, maintain a reliable position.

[0197] Specifically, a reliable location is a location record that is saved separately based on external positioning results that meet health conditions, and is used to retain target location information that has been approved by health assessment.

[0198] This reliable position is stored separately from the internal state maintained in the two-way tracking process to generate subsequent candidates. Its maintenance does not replace the regular tracking state or the recursion of restoring the tracking state.

[0199] Step S602: When the health evaluation of the positioning result of the current frame is valid, the health deviation is a finite value and does not exceed the preset health threshold, the reliable position is updated using the positioning result; when the positioning result of the current frame does not meet the above conditions, the reliable position remains unchanged.

[0200] Specifically, after determining the external positioning result of the current frame, the health evaluation information corresponding to the result is obtained, and the reliability position is updated based on the evaluation validity, numerical validity and health deviation.

[0201] When the conditions are met, the reliable location is updated with the current location result; when the conditions are not met, the previously maintained reliable location is retained so that the location record is not replaced due to the current abnormal evaluation result.

[0202] Updates to reliable locations do not write back to the regular tracking state or restore the tracking state.

[0203] Specifically, the saving and preservation of reliable positions are not used to cover the internal state of the two-way tracking process, and the two-way process still generates subsequent candidates according to their respective rules.

[0204] In the above image target tracking method, reliable positions are updated only when the current frame positioning result meets the requirements of a valid health evaluation, a finite health deviation, and no higher than a health threshold. This ensures that positioning results that fail to meet the health conditions do not overwrite the already saved position records, reducing the possibility of abnormal positioning results entering reliable position records.

[0205] The reliable position is maintained independently of the two-way tracking state, and its updates do not write back to the two-way tracking state. This allows the conditional updates of the position record and the continuous recursion of the tracking state to be performed separately, thereby maintaining the independent operation of the two-way tracking processing while retaining position records that meet the health conditions.

[0206] Based on the above-described reliable position maintenance and update embodiment (including steps S601 to S602), the regular tracking process and the recovery tracking process adopt the initial target template that remains unchanged during online tracking and share read-only network weights; the regular tracking state and the recovery tracking state respectively include their current position and the next frame search position, and the recovery tracking state also includes the trusted position within the branch.

[0207] Specifically, the initial target template remains unchanged during online tracing, and the two tracing processes call the shared read-only network weights to generate candidates, while maintaining their respective tracing status and health evaluation history.

[0208] The current position is used to represent the target position currently maintained for the corresponding channel, and the next frame search position is used for the search processing of subsequent frames of the channel. Both types of positions are maintained according to the status and control rules of the channel to which they belong.

[0209] Trusted locations within a branch are stored separately by the recovery tracing process. They are location objects in the recovery tracing state and serve as the basis for establishing a recovery search for that path.

[0210] The trusted location within the aforementioned branch is distinct from the reliable location maintained in step S601. The former serves to restore the search process within a branch, while the latter is updated based on the healthy external positioning results.

[0211] In one embodiment, expanding the search scope and generating recovery candidates includes: Step S1035: Using the trusted location within the branch as the starting point for the recovery search, target localization is performed within the expanded search range to obtain recovery candidates.

[0212] Specifically, when a path is restored and an expanded search is initiated, the trusted locations within the branches saved for that path are read, and the restoration search range is established accordingly.

[0213] The recovery search does not start from a separately maintained reliable location, so that the generation of candidates along the recovery path continues to depend on the trusted state it retains.

[0214] The preset recovery verification conditions also include: the health deviation of the recovery candidate is a finite value and less than the health deviation of the original candidate in the same frame recovery tracking process, and the confidence of the recovery candidate is greater than zero and not less than the confidence of the original candidate in the same frame recovery tracking process.

[0215] Specifically, the health evaluation results of the original candidate and the restored candidate are obtained in the same frame, and the health deviation of the two is compared so that the restored candidate not only meets the absolute health threshold, but also has a smaller deviation than the original candidate of the same path.

[0216] At the same time, the confidence levels of the two types of candidates within the same frame are compared, and the confidence level of the recovered candidate is required to be positive and not lower than that of the original candidate, so that the recovery method simultaneously meets the requirements of health comparison and confidence comparison.

[0217] Recovery candidates that continuously meet the preset recovery verification conditions are identified as the tracking results of the recovery tracking process, including: Step S1036: When a new health sample of the recovery candidate is obtained, the recovery candidate meets the preset recovery verification conditions in at least two consecutive health samples including the new health sample, and the health evaluation of the original candidate of the recovery tracking process is valid, and the health deviation is a finite value and higher than the preset health threshold, the recovery candidate is determined as the tracking result of the recovery tracking process.

[0218] Specifically, newly acquired healthy recovery samples are continuously checked to ensure that recovery candidates meet the health threshold, in-frame deviation comparison, and confidence comparison requirements in at least two consecutive samples, including the current sample.

[0219] After completing the above continuous verification, further check the evaluation validity and health deviation of the original candidates, confirm that the original candidates have valid abnormal deviation results, and then determine the recovery candidate as the tracking result of the recovery path.

[0220] In the above image target tracking method, by keeping the initial target template unchanged, sharing the read-only network weights, and maintaining the current position and the search position of the next frame respectively, the two tracking processes use the same template and network parameters for candidate generation, while retaining their respective position recursion processes; the recovery search starts from the reliable position saved by the recovery branch itself, so that its search starting point is distinguished from the independently maintained reliable position.

[0221] Based on the premise that the recovery candidate meets the health threshold, it is further required that its health deviation is less than that of the original candidate in the same frame, and its confidence is greater than zero and not lower than that of the original candidate in the same frame, so that the recovery candidate simultaneously meets the health requirements and the comparison requirements relative to the current original candidate.

[0222] By combining at least two consecutive new health sampling verifications and confirming the validity of the original candidate's health evaluation, the health deviation being a finite value and higher than the health threshold at the time of adoption, the restoration and replacement have a continuous basis for comparison and the current basis for replacement, reducing the possibility of replacing the original candidate with a candidate that only meets the conditions in a single evaluation.

[0223] In one specific embodiment, the above processing is integrated into OSTrack. The two tracking processes share read-only network weights and keep the initial target template unchanged, while maintaining their respective current position, next frame search position, and health evaluator.

[0224] The recovery path further preserves the trusted location, health history, and recovery control status within the branch, and adopts recovery candidates based on the acceptance criteria of at least two consecutive new health samples; when switching to the recovery path from the outer layer, the confidence level of the recovery candidates must remain positive.

[0225] The external results are selected without freezing, overwriting, or writing back the private search locations of both paths, and the separately maintained reliable locations are not used as the starting point for the recovery search in this embodiment.

[0226] In a combined application, please refer to Figure 7 , Figure 7 This is a schematic diagram illustrating the overall relationship between the healthy reference construction, dual-branch tracking, and update processing of an image target tracking method provided in this embodiment. In the offline stage, the above-mentioned simulation target region sequence construction, spatiotemporal frequency domain feature extraction, and statistical reference construction process are adopted to form a healthy reference that remains unchanged during the online period.

[0227] During the online phase, both routine tracking and recovery tracking read the same image sequence, generate candidates based on their respective maintained tracking states, and evaluate them using the same health reference. The two tracking states are continuously iterated.

[0228] The recovery tracking process expands the search range when its original candidate anomalies are continuous, and determines the current tracking result through continuous recovery verification. Then, it combines the health evaluation of the regular tracking process and the verification results of the recovery candidates to select the localization result of the current frame for output.

[0229] Figure 7 The update process is carried out separately according to the access method. Among them, the dynamic template realizes the registration of the qualified template update that has been executed in the current frame of the selected branch, and the reliable position realizes whether to update the reliable position based on the health conditions of the selected result. The selection of external results and the corresponding update process do not stop or overlap with each other in the recursion of the two tracking states.

[0230] For SUTrack, the above dynamic template update and trusted template recovery processes are combined with the continuous acceptance processes in steps S1031-S1032 and the result selection processes in steps S1041-S1045 to form the online update control and recovery process of the dynamic template tracker.

[0231] For OSTrack, the above-mentioned trusted location recovery and independent reliable location maintenance processes within branches are combined with continuous acceptance and result selection processes to form a fixed template tracker recovery and reliable location update process.

[0232] In the above combined implementation, the state recursion, internal verification of recovery candidates, and selection of external results for the two-way tracking processes are connected according to the following relationship: Each of the two tracking processes maintains its own internal state and uses the same fixed health reference for health evaluation. The relationship between their state recursion and evaluation is expressed as follows:

[0233] In the formula, Indicates the current moment. Indicates the current frame image. Indicates the branch identifier for tracking processing. Corresponding to conventional tracking and processing, Corresponding recovery tracking and processing.

[0234] and These represent the internal state of the corresponding tracking process at the current moment and the internal state used for the next moment after recursion, respectively. This indicates that the tracking process involves candidate generation and state recursion according to its own tracking and control rules. This indicates the positioning result generated by the corresponding processing in the current frame.

[0235] This indicates the process of conducting health assessments using a fixed health reference. This indicates the health deviation of the corresponding positioning result. This indicates the health assessment history of the road before the current moment; the health assessment is carried out according to the aforementioned spatiotemporal frequency domain feature extraction and health deviation calculation process, without using information after the current moment.

[0236] The two tracking processes each form subsequent states based on their own internal states. Changing the external selection relationship does not stop the state recursion of either path, nor does it overwrite the internal state of the other path with the internal state of one path. Dynamic template updates and reliable position maintenance are processed according to the health conditions of the corresponding embodiments described above.

[0237] For recovery tracking, the original candidate and the recovery candidate are evaluated separately, and the continuous verification count is updated based on the new health sample of the recovery candidate. The recovery candidate is adopted when the continuous verification passes and the original candidate is still unhealthy. Taking a specific implementation with two consecutive verifications as an example, the verification and selection relationship is expressed as follows:

[0238]

[0239]

[0240]

[0241] In the formula, superscript Indicates the original candidate for resuming tracking processing, superscript Indicates the recovery candidates for the recovery tracking process. and These represent the positions of the two types of candidates, and These represent the corresponding health deviations.

[0242] and These represent the combinations of evaluation information for the two types of candidates, where... Indicates the validity of the health assessment. This represents the candidate confidence level provided by the base tracker. Indicates the degree of health deviation. This indicates the preset health threshold.

[0243] This indicates that the verification process has been resumed. This indicates whether the current recovery candidate meets the corresponding recovery verification conditions. The verification content includes the validity of the health evaluation, the health deviation being a finite value and not exceeding the health threshold, and the confidence conditions or same-frame comparison conditions used in the corresponding embodiments.

[0244] Indicates whether new healthy candidates for recovery have been obtained. and These represent the consecutive verification counts before and after the update, respectively. This indicates that the counting process performed according to step S1031 is as follows: when a new sample is obtained and the verification is passed, the count is increased; when a new sample is obtained but the verification fails, the count is reset to zero; and when no new sample is obtained, the count remains unchanged.

[0245] The determination result indicates that the original candidate is still unhealthy when it is adopted. The specific conditions are determined according to the corresponding embodiments. The dynamic template recovery embodiment adopts the original candidate state conditions in step S1034, and the fixed template recovery embodiment adopts the original candidate state conditions in step S1036.

[0246] Indicates whether a recovery candidate is currently being used in the recovery tracking process, symbol The expression represents a logical AND, and the square brackets indicate whether the condition is true or false. When a new sample is obtained, the restoration verification is passed, the consecutive verification count reaches two times, and the original candidate is still unhealthy, the restoration candidate is used.

[0247] This indicates that the current result of the follow-up processing has been selected based on the above adoption results. This indicates the health deviation of the current result, where the recovery candidate is selected. When not using the recovery candidate, select .

[0248] The above relationship determines the result provided by the recovery tracking process in the current frame. Whether to use this result as the external positioning result requires the result selection process described later.

[0249] After determining the current frame result through recovery tracking processing, the external selection relationship is determined based on the health status of common health sampling, regular tracking processing, and the current adoption result of recovery candidates, and the update corresponding to the selected result is processed. Taking a specific implementation with two consecutive backswings as an example, the processing relationship is expressed as follows:

[0250]

[0251]

[0252] In the formula, This indicates whether the current moment is a joint sampling moment where both tracking processes have obtained new health assessment results. and These represent the previously selected and current external branches, respectively. The initial selected branch is the regular tracking branch.

[0253] and These represent the current output health assessment information from regular tracking processing and recovery tracking processing, respectively. The validity flag in this group's switching formula is also included. The overall assessment indicates that the health evaluation is effective and the health deviation is within a finite range. The result of the corresponding recovery tracking process is actually selected in the current frame.

[0254] and These represent the health threshold and the abnormal entry threshold, respectively. The current frame recovery candidate adoption result determined by the aforementioned internal verification formula is used to connect the judgment of external cut-in recovery tracking processing with the recovery adoption within the same frame.

[0255] This indicates that the switching condition judgment and count maintenance process is performed according to steps S1041-S1044. This indicates whether the conditions for initiating and resuming tracking processing are met. This indicates whether the conditions for switching back are met. and These represent the consecutive cutback counts before and after the update, respectively.

[0256] In the current case of using recovery tracking processing, when the regular tracking result meets the health condition and the comparison condition of step S1043 at the time of co-sampling, the continuous switchback count is increased; otherwise, the count is cleared to zero. At non-co-sampling times, the count remains unchanged, so that the continuous switchback count is driven by the new health evaluation result obtained by both paths.

[0257] This indicates the switching process for the selected branch. If the current branch is selected as regular tracing and the cut-in condition is met, it will be switched to recovery tracing. If the current branch is selected as recovery tracing and the consecutive cut-back count reaches two, it will be switched back to regular tracing. Otherwise, the original branch will be retained.

[0258] This indicates that the external positioning results are determined based on the selected branch, and the corresponding health condition control update process is performed. This indicates the external positioning result of the current frame. and These represent the current positioning results and their corresponding update information for the two tracking processes, respectively. This indicates the health assessment information for the selected result.

[0259] This indicates the valid update information corresponding to the selected result in the current frame. In the dynamic template embodiment, the qualified template updates that have been executed by the selected branch are registered according to steps S502-S503. The template updates of the unselected branches are still retained in their own internal state and are not revoked because they are not registered as valid updates for this frame.

[0260] and These represent the reliable online status before and after the current processing, respectively, and in the independent reliable position maintenance embodiment, they correspond to the reliable positions before and after the update. The reliable position is updated when the selected result meets the health conditions of step S602; otherwise, the original reliable position is maintained. This update does not write back the two-way tracking status, nor is it used to replace the recovery search starting point of the recovery branch.

[0261] The above update symbols are used to uniformly represent the corresponding processing in different tracker access methods. Dynamic template updates and reliable location maintenance are performed according to their respective embodiments, and it is not required that each access method perform both types of updates at the same time.

[0262] On the Anti-UAV300 infrared sequence, the performance of SUTrack and OSTrack before and after accessing the health assessment, update control and recovery processing flow under the corresponding test configurations was compared. The frame-by-frame micro-average state accuracy (SA) and the number of error updates were used for evaluation. The test results are shown in Table 1. The results in the table correspond to the actual test configuration and are not used as the item-by-item comparison results of the different time window formation methods and anomaly judgment threshold methods mentioned above.

[0263]

[0264] Table 1 Among them, the 91 sequences include the 10 hard sample sequences listed; the error update in SUTrack refers to the error dynamic template update, and the error update in OSTrack refers to the error reliable location update. The two types of counts correspond to different state objects.

[0265] The test results above show that, under the test sequence and implementation conditions used, the SA of both basic trackers after being integrated into the complete processing flow was improved, and the number of corresponding error updates was reduced.

[0266] During the frame-by-frame operation of both access embodiments, the process of switching to recovering the tracking result, outputting the recovered tracking result, and switching back to the normal tracking result occurred, indicating that continuous recovery verification and outer result selection can be seamlessly integrated during online tracking.

[0267] The above test data corresponds to the tracker, image sequence, and parameter configuration used in this embodiment, and is used to illustrate the operational performance of the corresponding implementation method.

[0268] In one embodiment, an image target tracking device is provided, which corresponds one-to-one with the image target tracking methods described in the above embodiments. For example... Figure 8 As shown, the image target tracking device includes: The reference acquisition module 81 is used to acquire image sequences and health references; the health references are pre-constructed based on the spatiotemporal frequency domain features of the normal target region sequence and remain unchanged during online tracking; the spatiotemporal frequency domain features include the spatial frequency features of the target region, and the temporal frequency features formed based on the spatial frequency features of the current time and historical time. The tracking evaluation module 82 is used to perform conventional tracking processing and recovery tracking processing on the image sequence based on the conventional tracking state and the recovery tracking state respectively, to obtain their respective original candidates, and to independently maintain and continuously iterate the conventional tracking state and the recovery tracking state; according to the feature extraction method when constructing the health reference, the spatiotemporal frequency domain features of each original candidate are extracted, and the health deviation of each original candidate is determined according to the health reference; The recovery verification module 83 is used to expand the search range and generate recovery candidates in response to the fact that the health deviation of the original candidates in the recovery tracking process continuously meets the preset anomaly judgment conditions. It extracts the spatiotemporal frequency domain features of the recovery candidates according to the feature extraction method and determines the health deviation of the recovery candidates according to the health reference. The recovery candidates that continuously meet the preset recovery verification conditions are determined as the tracking results of the recovery tracking process. If no recovery candidates are used, the original candidates of the recovery tracking process are used as the tracking results of the recovery tracking process. The preset recovery verification conditions include that the health evaluation is valid and the health deviation is not higher than the preset health threshold. The result selection module 84 is used to select and output the localization result of the current frame from the original candidates of the regular tracking process and the current tracking result of the recovery tracking process based on the health deviation of the original candidates of the regular tracking process. Among them, the current tracking result is selected when the health evaluation of the original candidates of the regular tracking process is valid and the health deviation is higher than the preset abnormal entry threshold, and the current tracking result is a recovery candidate that continuously meets the preset recovery verification conditions.

[0269] In one embodiment, the tracking and evaluation module 82 is specifically used for: Two-dimensional frequency decomposition is performed on the target region corresponding to each original candidate, and the energy, absolute mean and dispersion of each frequency sub-band are statistically analyzed to obtain the corresponding spatial frequency characteristics. For each tracking process, the spatial frequency features of multiple consecutive moments up to the current moment are arranged in chronological order to form a time window; The spatial frequency features within the time window are processed to remove the mean, and a one-dimensional frequency decomposition is performed along the time direction to obtain the corresponding temporal frequency features. By concatenating the spatial frequency features of the current moment with the corresponding temporal frequency features, the corresponding original candidate spatiotemporal frequency domain features are obtained.

[0270] In one embodiment, the reference acquisition module 81, before acquiring the image sequence and health reference, is further configured to: Obtain the normal target region sequence, and extract the effective spatiotemporal frequency domain features from the normal target region sequence according to the feature extraction method; The normalized parameters and the dimension-reduced projection matrix are calculated based on the effective spatiotemporal frequency domain characteristics. The normalized parameters and the dimension-reduced projection matrix are then used to normalize and reduce the dimension of the effective spatiotemporal frequency domain characteristics to obtain the dimension-reduced features. The healthy mean and shrinkage covariance are calculated based on the dimensionality reduction features. Based on the shrinkage covariance, the squared Mahalanobis distance of each dimensionality reduction feature relative to the healthy mean is calculated to obtain the deviation of the healthy sample. Based on the first preset quantile level and the second preset quantile level which is greater than the first preset quantile level, the quantiles corresponding to the deviation of the healthy sample are determined respectively, and the quantiles are determined as the preset health threshold and the preset abnormal entry threshold respectively; Save the standardized parameters, dimension-reduced projection matrix, health mean, shrinkage covariance, preset health threshold, and preset abnormal entry threshold as a health reference. Among them, the health deviation of each original candidate and restored candidate is the squared Mahalanobis distance calculated relative to the health mean and based on the contraction covariance after the corresponding spatiotemporal frequency domain features have been processed by standardized parameters and dimension reduction projection matrix.

[0271] In one embodiment, the reference acquisition module 81, before acquiring the image sequence and health reference, is further configured to: Acquire simulated images of the target trajectory under different environmental conditions and frame-by-frame 3D target bounding boxes; The 3D target bounding box is projected onto the image plane to obtain the projection box, and the projection box is aligned with the simulation image according to the time sequence. When both the simulation image and the projection frame are valid, the target area is cropped according to the projection frame, and the cropped target area is uniformly scaled, grayscaled, and normalized. By preserving the position of each moment in the original time series and the corresponding valid flags, the normal target region sequence is obtained; Spatiotemporal frequency domain features of normal target region sequences are extracted according to the feature extraction method, and a healthy reference is constructed based on the effective spatiotemporal frequency domain features of normal target region sequences; The reference acquisition module 81, tracking evaluation module 82 and recovery verification module 83 are also used to: for each time window formed according to the feature extraction method, if there is an invalid moment in the time window, pause the output of the corresponding valid spatiotemporal frequency domain features until the invalid moment is removed from the time window.

[0272] In one embodiment, the preset recovery verification conditions further include the health deviation of the recovery candidate being a finite value, and the recovery candidate passing confidence verification; Recovery verification module 83, specifically used for: When a new health sample is obtained from a recovery candidate, it is determined whether the recovery candidate meets the preset recovery verification conditions. If it does, the continuous verification count is incremented; if it does not, the continuous verification count is reset to zero. When no new health sample is obtained, the continuous verification count remains unchanged. When new health samples are obtained, the recovery candidate meets the preset recovery verification conditions, the continuous verification count reaches the preset number of continuous verifications, and the original candidate for recovery tracking still does not meet the conditions of valid health evaluation and the health deviation is a finite value and not higher than the preset health threshold, the recovery candidate will be determined as the tracking result of recovery tracking.

[0273] In one embodiment, the result selection module 84 is specifically used for: The original candidate of the regular tracking process is selected by default, and the moment when both the regular tracking process and the recovery tracking process obtain new health evaluation results is determined as the co-sampling moment; At the common sampling time, if the original candidate of the current conventional tracking processing is selected, and the health evaluation of the original candidate is valid, the health deviation is a finite value and higher than the preset abnormal entry threshold, and the recovery candidate that meets the preset recovery verification conditions and has a finite health deviation has been determined as the tracking result of the recovery tracking processing in the same frame, then the tracking result of the recovery tracking processing is selected. At the common sampling moment, if the current tracking result selected is the recovery tracking process, it is determined whether the original candidate of the regular tracking process meets the conditions of valid health evaluation, finite health deviation, and not exceeding the preset health threshold. It is also determined whether any of the following conditions are met simultaneously: the health deviation of the original candidate of the regular tracking process is less than the health deviation of the current tracking result of the recovery tracking process; the health evaluation of the current tracking result is invalid; the health deviation of the current tracking result is not finite; or the health deviation of the current tracking result is higher than the preset abnormal entry threshold. If both of the above conditions are met, the continuous switchback count is increased; otherwise, the continuous switchback count is cleared to zero. When the continuous switchback count reaches the preset number of switchesbacks, the original candidate for conventional tracking processing is switched to be used. The continuous switchback count remains unchanged during non-co-sampling times. The currently selected result is output as the positioning result for the current frame.

[0274] In one embodiment, the normal tracking state and the resumed tracking state each include their respective dynamic templates; The device also includes a template update module for: For regular tracking and recovery tracking, the corresponding dynamic template is updated according to the preset template update interval. When the confidence of the candidate for the corresponding tracking reaches the preset confidence threshold, and the health evaluation is valid and the health deviation is a limited value that does not exceed the preset health threshold, the corresponding dynamic template is updated based on the target area of ​​the candidate. If the tracking process to which the localization result belongs in the current frame has performed a dynamic template update in the current frame, then register the dynamic template update as a valid update for this frame. Dynamic template updates that are not selected for tracking processing are retained in the corresponding tracking state and are not registered as valid updates for this frame.

[0275] In one embodiment, the preset recovery verification conditions further include the health deviation of the recovery candidate being a finite value, and the confidence level of the recovery candidate reaching a preset confidence threshold. Recovery verification module 83, specifically used for: Using the original candidate position of the recovery tracking process when entering the recovery search as the search starting point, the most recent trusted template copy saved by the recovery tracking process is used to locate the target within the expanded search range to obtain the recovery candidate; When a new health sample is obtained as a recovery candidate, the recovery candidate meets the preset recovery verification conditions in multiple consecutive health samples, including the new health sample, and the original candidate for recovery tracking still does not meet the conditions of valid health evaluation, and the health deviation is a finite value and not higher than the preset health threshold, the recovery candidate is determined as the tracking result of recovery tracking.

[0276] In one embodiment, the device further includes a reliable position maintenance module for: Maintain reliable position independently of regular tracking state and resumed tracking state; If the health assessment of the positioning result in the current frame is valid, the health deviation is finite and does not exceed the preset health threshold, the reliable position is updated using the positioning result; if the positioning result in the current frame does not meet the above conditions, the reliable position remains unchanged. Among them, updates to reliable locations do not write back to the regular tracking state or restore the tracking state.

[0277] In one embodiment, the regular tracking process and the recovery tracking process use the same initial target template that remains unchanged during online tracking and share read-only network weights; the regular tracking state and the recovery tracking state each include their current position and the next frame search position, and the recovery tracking state also includes a trusted position within a branch; The preset recovery verification conditions also include: the health deviation of the recovery candidate is a finite value and less than the health deviation of the original candidate in the same frame recovery tracking process, and the confidence of the recovery candidate is greater than zero and not less than the confidence of the original candidate in the same frame recovery tracking process.

[0278] Recovery verification module 83, specifically used for: Using a reliable location within a branch as the starting point for the recovery search, target localization is performed within an expanded search range to obtain recovery candidates; When a new health sample is obtained for a recovery candidate, the recovery candidate meets the preset recovery verification conditions in at least two consecutive health samples, including the new health sample, and the health evaluation of the original candidate for recovery tracking is valid, and the health deviation is a finite value and higher than the preset health threshold, the recovery candidate is determined as the tracking result of recovery tracking.

[0279] It should be noted that the image target tracking device provided in the above embodiments is only illustrated by the division of the above functional modules when implementing the corresponding image target tracking method. In practical applications, the above processing can be allocated to different functional modules as needed to complete all or part of the processing described above. In addition, the above image target tracking device embodiments and image target tracking method embodiments belong to the same concept, and their specific implementation process can be found in the corresponding method embodiments, which will not be repeated here.

[0280] This disclosure also provides an electronic device for performing the image target tracking method of the above embodiments.

[0281] Figure 9 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure.

[0282] The following is a detailed reference. Figure 9 The diagram illustrates a structural schematic suitable for implementing an electronic device according to embodiments of the present disclosure. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 901, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 902 or a program loaded from memory 908 into random access memory (RAM) 903. The RAM 903 also stores various programs and data required for the operation of the electronic device. The processor 901, ROM 902, and RAM 903 are interconnected via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0283] Typically, the following devices can be connected to I / O interface 905: input devices 906 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 907 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 908 including, for example, magnetic tapes, hard disks, etc.; and communication devices 909. Communication device 909 allows electronic devices to exchange data via wireless or wired communication with other devices. Although Figure 9 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.

[0284] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 909, or installed from a memory 908, or installed from a ROM 902. When the computer program is executed by the processor 901, it performs the functions defined in the image target tracking method of embodiments of this disclosure.

[0285] Figure 9 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0286] This disclosure also provides a computer-readable storage medium in which the methods described in this disclosure can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code downloaded over a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and subsequently stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium may also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the image target tracking method shown in the above embodiments is implemented.

[0287] A portion of this disclosure can be applied to computer program products, such as computer program instructions, which, when executed by a computer, can invoke or provide methods and / or technical solutions according to this disclosure through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, and installation package files. Accordingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions; the computer compiling the instructions and then executing the corresponding compiled program; the computer reading and executing the instructions; or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0288] Although embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. An image target tracking method, characterized in that, The method includes: Acquire image sequences and health references; the health references are pre-constructed based on the spatiotemporal frequency domain features of normal target region sequences and remain unchanged during online tracking; the spatiotemporal frequency domain features include the spatial frequency features of the target region, and the temporal frequency features formed based on the spatial frequency features of the current time and historical time. Based on the normal tracking state and the recovery tracking state respectively, the image sequence is subjected to normal tracking processing and recovery tracking processing to obtain their respective original candidates, and the normal tracking state and the recovery tracking state are maintained and continuously recursively calculated independently; according to the feature extraction method when constructing the health reference, the spatiotemporal frequency domain features of each original candidate are extracted, and the health deviation of each original candidate is determined according to the health reference; In response to the health deviation of the original candidates in the recovery tracking process continuously satisfying the preset anomaly judgment conditions, the search range is expanded and recovery candidates are generated. The spatiotemporal frequency domain features of the recovery candidates are extracted according to the feature extraction method, and the health deviation of the recovery candidates is determined according to the health reference. The recovery candidates that continuously satisfy the preset recovery verification conditions are determined as the tracking results of the recovery tracking process. If the recovery candidates are not used, the original candidates of the recovery tracking process are used as the tracking results of the recovery tracking process. The preset recovery verification conditions include that the health evaluation is valid and the health deviation is not higher than the preset health threshold. Based on the health deviation of the original candidate in the conventional tracking process, the localization result of the current frame is selected and output between the original candidate in the conventional tracking process and the current tracking result of the recovery tracking process; wherein, if the health evaluation of the original candidate in the conventional tracking process is valid and the health deviation is higher than the preset abnormal entry threshold, and the current tracking result is the recovery candidate that continuously meets the preset recovery verification conditions, the current tracking result is selected.

2. The method according to claim 1, characterized in that, The step of extracting the spatiotemporal frequency domain features of each of the original candidates according to the feature extraction method used when constructing the health reference includes: Two-dimensional frequency decomposition is performed on the target region corresponding to each of the original candidates, and the energy, absolute mean and dispersion of each frequency sub-band are statistically analyzed to obtain the corresponding spatial frequency characteristics. For each tracking process, the spatial frequency features of multiple consecutive moments up to the current moment are arranged in chronological order to form a time window; The spatial frequency features within the time window are subjected to mean removal processing, and one-dimensional frequency decomposition is performed along the time direction to obtain the corresponding time frequency features. By concatenating the spatial frequency features of the current moment with the corresponding temporal frequency features, the corresponding original candidate spatiotemporal frequency domain features are obtained.

3. The method according to claim 1, characterized in that, Prior to acquiring the image sequence and health reference, the method further includes: Obtain a normal target region sequence, and extract the effective spatiotemporal frequency domain features from the normal target region sequence according to the feature extraction method described above; Based on the effective spatiotemporal frequency domain features, calculate the normalization parameters and the dimension reduction projection matrix, and use the normalization parameters and the dimension reduction projection matrix to normalize and reduce the dimension of the effective spatiotemporal frequency domain features to obtain the dimension reduction features; The healthy mean and shrinkage covariance are calculated based on the dimensionality reduction features, and the squared Mahalanobis distance of each dimensionality reduction feature relative to the healthy mean is calculated based on the shrinkage covariance to obtain the deviation of the healthy sample. Based on the first preset quantile level and the second preset quantile level which is greater than the first preset quantile level, the quantiles corresponding to the deviation of the healthy sample are determined respectively, and the quantiles are determined as the preset health threshold and the preset abnormal entry threshold respectively; The standardized parameters, the dimensionality reduction projection matrix, the health mean, the shrinkage covariance, the preset health threshold, and the preset abnormal entry threshold are saved as the health reference. The health deviation of each original candidate and the restored candidate is the squared Mahalanobis distance calculated relative to the health mean and based on the shrinkage covariance after the corresponding spatiotemporal frequency domain features have been processed by the standardized parameters and the dimensionality reduction projection matrix.

4. The method according to claim 1, characterized in that, The preset recovery verification conditions also include that the health deviation of the recovery candidate is a finite value, and that the recovery candidate passes confidence verification; The step of determining the recovery candidates that continuously meet the preset recovery verification conditions as the tracking results of the recovery tracking process includes: When a new health sample of the recovery candidate is obtained, it is determined whether the recovery candidate meets the preset recovery verification condition; If the condition is met, the continuous verification count is incremented; if the condition is not met, the continuous verification count is reset to zero. The continuous verification count remains unchanged until a new health sample is obtained. When the new health sample is obtained, the recovery candidate meets the preset recovery verification conditions, the continuous verification count reaches the preset number of continuous verifications, and the original candidate of the recovery tracking process still does not meet the conditions of valid health evaluation, a finite health deviation, and not exceeding the preset health threshold, the recovery candidate is determined as the tracking result of the recovery tracking process.

5. The method according to claim 1, characterized in that, The step of selecting and outputting the localization result of the current frame between the original candidates of the conventional tracking process and the current tracking result of the recovery tracking process based on the health deviation of the original candidates of the conventional tracking process includes: The original candidate of the conventional tracking process is selected by default, and the moment when both the conventional tracking process and the recovery tracking process obtain new health evaluation results is determined as the common sampling moment; At the common sampling time, if the original candidate of the conventional tracking process is currently selected, and the health evaluation of the original candidate is valid, the health deviation is a finite value and higher than the preset abnormal entry threshold, and the recovery candidate that meets the preset recovery verification conditions and has a finite health deviation has been determined as the tracking result of the recovery tracking process in the same frame, then the tracking result of the recovery tracking process is switched to be selected. At the common sampling moment, if the current tracking result of the recovery tracking process is selected, it is determined whether the original candidate of the regular tracking process meets the conditions of valid health evaluation, finite health deviation, and not exceeding the preset health threshold. It is also determined whether any of the following conditions are met simultaneously: the health deviation of the original candidate of the regular tracking process is less than the health deviation of the current tracking result of the recovery tracking process; the health evaluation of the current tracking result is invalid; the health deviation of the current tracking result is not a finite value; or the health deviation of the current tracking result is higher than the preset abnormal entry threshold. If both of the above conditions are met, the continuous cutback count is increased; otherwise, the continuous cutback count is cleared to zero. When the continuous cutback count reaches a preset number of cutbacks, the original candidate of the conventional tracking process is selected. The continuous cutback count remains unchanged during non-co-sampling times. The currently selected result is output as the positioning result for the current frame.

6. The method according to claim 1, characterized in that, The normal tracking state and the restored tracking state each include their respective dynamic templates, and the method further includes: For the conventional tracking process and the recovery tracking process, according to the preset template update interval, when the confidence of the candidate for the corresponding tracking process reaches the preset confidence threshold, and the health evaluation is valid and the health deviation is a finite value and does not exceed the preset health threshold, the corresponding dynamic template is updated based on the target area corresponding to the candidate. If the tracking process to which the localization result belongs in the current frame has performed a dynamic template update in the current frame, then register the dynamic template update as a valid update for this frame. Dynamic template updates that are not selected for tracking processing are retained in the corresponding tracking state and are not registered as valid updates for the current frame.

7. The method according to claim 6, characterized in that, The preset recovery verification conditions also include that the health deviation of the recovery candidate is a finite value, and that the confidence level of the recovery candidate reaches the preset confidence threshold. The process of expanding the search scope and generating recovery candidates includes: Using the original candidate position of the recovery tracking process when entering the recovery search as the search starting point, the most recent trusted template copy saved by the recovery tracking process is used to locate the target within the expanded search range to obtain the recovery candidate; The step of determining the recovery candidates that continuously meet the preset recovery verification conditions as the tracking results of the recovery tracking process includes: When a new health sample of the recovery candidate is obtained, the recovery candidate satisfies the preset recovery verification conditions in multiple consecutive health samples including the new health sample, and the original candidate of the recovery tracking process still does not meet the conditions of valid health evaluation, a finite health deviation, and not exceeding the preset health threshold, the recovery candidate is determined as the tracking result of the recovery tracking process.

8. The method according to claim 1, characterized in that, The method further includes: Maintain a reliable position independently of the normal tracking state and the recovered tracking state; If the health assessment of the positioning result in the current frame is valid, the health deviation is a finite value and does not exceed the preset health threshold, the reliable position is updated using the positioning result; if the positioning result in the current frame does not meet the above conditions, the reliable position remains unchanged. The update of the reliable location does not write back the regular tracking state and the restored tracking state.

9. The method according to claim 8, characterized in that, The regular tracking process and the recovery tracking process use the same initial target template that remains unchanged during online tracking and share read-only network weights; The normal tracking state and the recovered tracking state each include their current position and the next frame search position, and the recovered tracking state also includes a trusted position within a branch; The process of expanding the search scope and generating recovery candidates includes: Using the trusted location within the branch as the starting point for the recovery search, target localization is performed within the expanded search range to obtain the recovery candidate; The preset recovery verification conditions also include: the health deviation of the recovery candidate is a finite value and less than the health deviation of the original candidate of the recovery tracking process in the same frame, and the confidence of the recovery candidate is greater than zero and not lower than the confidence of the original candidate of the recovery tracking process in the same frame; The step of determining the recovery candidates that continuously meet the preset recovery verification conditions as the tracking results of the recovery tracking process includes: When a new health sample of the recovery candidate is obtained, the recovery candidate meets the preset recovery verification conditions in at least two consecutive health samples including the new health sample, and the health evaluation of the original candidate of the recovery tracking process is valid, and the health deviation is a finite value and higher than the preset health threshold, the recovery candidate is determined as the tracking result of the recovery tracking process.

10. An image target tracking device, characterized in that, The device includes: The reference acquisition module is used to acquire image sequences and health references; the health references are pre-constructed based on the spatiotemporal frequency domain features of normal target region sequences and remain unchanged during online tracking; the spatiotemporal frequency domain features include the spatial frequency features of the target region, and the temporal frequency features formed based on the spatial frequency features of the current time and historical time. The tracking evaluation module is used to perform regular tracking processing and recovery tracking processing on the image sequence based on the regular tracking state and the recovery tracking state respectively, to obtain their respective original candidates, and to independently maintain and continuously recursively deduce the regular tracking state and the recovery tracking state; according to the feature extraction method when constructing the health reference, the spatiotemporal frequency domain features of each original candidate are extracted, and the health deviation of each original candidate is determined according to the health reference; The recovery verification module is used to expand the search range and generate recovery candidates in response to the fact that the health deviation of the original candidates in the recovery tracking process continuously meets the preset anomaly judgment conditions. It extracts the spatiotemporal frequency domain features of the recovery candidates according to the feature extraction method and determines the health deviation of the recovery candidates based on the health reference. The recovery candidates that continuously meet the preset recovery verification conditions are determined as the tracking results of the recovery tracking process. If the recovery candidates are not used, the original candidates in the recovery tracking process are used as the tracking results of the recovery tracking process. The preset recovery verification conditions include valid health evaluation and health deviation not exceeding a preset health threshold. The result selection module is used to select and output the positioning result of the current frame between the original candidates of the regular tracking process and the current tracking result of the recovery tracking process based on the health deviation of the original candidates of the regular tracking process; wherein, if the health evaluation of the original candidates of the regular tracking process is valid and the health deviation is higher than the preset abnormal entry threshold, and the current tracking result is the recovery candidate that continuously meets the preset recovery verification conditions, the current tracking result is selected.