An anti-interference unmanned aerial vehicle vision-inertial adaptive feature positioning method and system

By employing a multi-dimensional quality joint evaluation and adaptive feature selection method, the problem of unreasonable feature selection in UAV visual inertial navigation systems under electromagnetic interference environments was solved, thereby improving positioning accuracy and robustness.

CN122900511BActive Publication Date: 2026-11-27JIANGSU FRONTIER ELECTRIC TECH +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611382593.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-09-08
Publication Date
2026-11-27
Estimated Expiration
2046-09-08

Smart Images

  • Figure CN122900511B_ABST
    Figure CN122900511B_ABST
Patent Text Reader

Abstract

The application discloses an anti-interference unmanned aerial vehicle vision-inertial adaptive feature positioning method and system, and belongs to the technical field of unmanned aerial vehicle navigation positioning. The method comprises the following steps: obtaining effective tracked feature points and tracking survival rate through optical flow tracking and geometric consistency verification, and generating candidate feature points through oversampling under mask constraint; respectively calculating the spatial distribution score, geometric dispersion score and response quality score of the candidate feature points, dynamically determining the fusion weight of the three according to the tracking survival rate, and obtaining the comprehensive value score through weighted summation; filtering low response points by using a dynamic threshold, performing non-maximum suppression according to the comprehensive score, and supplementing to the target number; merging the retained candidate feature points and the tracked feature points, and outputting to the back-end optimizer for positioning pose in combination with inertial measurement data. The application can adaptively perceive the front-end tracking state, keep the feature distribution uniform and the observation configuration good, and effectively improve the positioning robustness and precision of the unmanned aerial vehicle in a strong electromagnetic interference environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of unmanned aerial vehicle (UAV) navigation and positioning technology, specifically to an interference-resistant UAV visual-inertial adaptive feature positioning method and system. Background Technology

[0002] Unmanned aerial vehicles (UAVs) frequently encounter environments with strong electromagnetic interference during tasks such as power line inspection and disaster search and rescue. In such environments, Global Navigation Satellite System (GNSS) signals are easily suppressed or spoofed, causing UAVs to lose their absolute position reference and rely solely on onboard inertial measurement units (IMUs) and visual sensors for autonomous positioning. Visual inertial odometry (VIO) achieves continuous pose estimation by fusing image and inertial measurement information and is currently one of the core technologies for UAV navigation in GPS-free environments.

[0003] However, in real-world electromagnetic interference environments, drones not only face the problem of missing GPS signals, but their visual sensors are also susceptible to image noise caused by the electromagnetic environment and drastic changes in illumination (such as changes in ambient light caused by arc discharge or electromagnetic pulses). This results in degradation phenomena in the acquired images, such as low illumination, local overexposure, motion blur, and weak texture. Under such "perturbed scenarios," the observation quality of the visual front end is severely degraded, candidate feature point extraction is unstable, and feature tracking is prone to failure. Consequently, the accuracy of back-end state estimation drops sharply, and the cumulative drift exhibits a divergent trend, seriously threatening the flight safety of drones.

[0004] Existing visual inertial navigation systems (such as VINS-Mono and ORB-SLAM3) typically rely on fixed thresholds and single criteria (such as Shi-Tomasi response value and FAST corner score) to select candidate feature points during the front-end feature selection stage. While these methods perform well in scenes with normal lighting and rich textures, they exhibit significant shortcomings under image degradation conditions caused by electromagnetic interference. Firstly, fixed thresholds struggle to adapt to dynamically changing image quality, easily missing effective features in dark areas or introducing low-quality noise in blurred areas. Secondly, single scoring criteria cannot simultaneously consider the spatial uniformity of feature distribution, the rationality of geometric configuration, and the reliability of local responses, leading to local clustering of newly added features, overall degradation of the observation configuration, and ultimately affecting the accuracy of back-end optimization. Furthermore, existing methods lack effective perception and adaptive adjustment capabilities regarding the front-end tracking status, making it difficult to maintain a stable feature supply in continuously degraded scenes caused by electromagnetic interference. Summary of the Invention

[0005] The purpose of this invention is to provide an anti-interference UAV visual-inertial adaptive feature localization method and system to solve the problems of unreasonable feature selection and degraded observation configuration caused by fixed thresholds and single criteria in existing visual-inertial navigation under electromagnetic interference.

[0006] To achieve the above objectives, the technical solution provided by this invention is: an anti-interference UAV visual-inertial adaptive feature localization method, comprising the following steps: S1: Obtain the current image frame captured in real time by the UAV's onboard camera. Based on the current image frame, perform optical flow tracking and geometric consistency verification on the feature points of the previous frame, remove outliers, and obtain the set of tracked feature points that are still valid in the current image frame. Calculate the tracking survival rate based on the geometric consistency verification results. Under the mask constraint of the tracked feature point set, generate the set of candidate feature points to be evaluated in the current image frame through oversampling. S2: Calculate the spatial distribution score, geometric dispersion score, and response quality score for each candidate feature point in the candidate feature point set. Dynamically determine the fusion weight of each score based on the tracking survival rate, and introduce a fault-tolerant redistribution mechanism to correct the fusion weight. Use the corrected fusion weight to perform a weighted summation of the scores of each candidate feature point to obtain the comprehensive value score of the candidate feature point. S3: Filter out candidate feature points whose response quality is lower than the dynamic response threshold, where the dynamic response threshold is determined based on the maximum and median response values ​​of all candidate feature points in the current image frame; sort the remaining candidate feature points in descending order of comprehensive value score, and perform non-maximum suppression sequentially, suppressing other candidate feature points in the neighborhood with a preset minimum spacing as the radius; if the number of selected candidate feature points after non-maximum suppression does not reach the target number, then add them from the unselected candidate feature points in descending order of comprehensive value score until the target number is reached, and obtain the final new feature set; S4: Merge the final new feature set with the set of tracked feature points that are still valid in the current image frame to form the complete feature set of the current image frame. Output the new feature set along with the UAV inertial measurement unit data to the back-end optimizer to determine the pose state of the UAV.

[0007] To optimize the above technical solution, the specific measures also include: In step S1, the tracking survival rate is calculated as follows: the number of tracked feature points that are still valid after passing the geometric consistency verification in the current image frame is divided by the total number of feature points that have completed optical flow matching and entered the geometric consistency verification. The resulting ratio is the tracking survival rate.

[0008] Furthermore, in step S2, the specific calculation method for the spatial distribution score is as follows: The current image frame is divided into quadtrees to determine the leaf node where each candidate feature point is located; the total number of candidate feature points contained in the leaf node and the maximum number of candidate feature points contained in all valid leaf nodes are obtained; the spatial distribution score is calculated based on the closeness of the number of candidate feature points in the leaf node to the maximum value.

[0009] In step S2, the geometric dispersion score is calculated as follows: a basic configuration matrix reflecting the directional distribution of each feature point relative to the image center is constructed based on the current set of tracked feature points, and the basic configuration index is calculated; for each candidate feature point, the inverse of the configuration matrix after its addition is incrementally updated, and the configuration index after its addition is calculated; the improvement of the configuration index before and after adding the candidate feature point is calculated, and if the improvement is positive, its relative size among all candidate feature points is used as the geometric dispersion score of the candidate feature point; when the number of tracked feature points is lower than a preset lower limit, the geometric dispersion scores of all candidate feature points are uniformly set to a neutral value.

[0010] In step S2, the response quality score is calculated as follows: Calculate the corner response map for the current image frame, obtain the corner response value of each candidate feature point, and obtain the maximum response value among all candidate feature points; use the ratio of the response value of a candidate feature point to the maximum response value as the response quality score of that candidate feature point.

[0011] Further, in step S2, the dynamic determination of the fusion weights of the three scores based on the tracking survival rate is specifically as follows: when the calculated tracking survival rate is greater than or equal to a preset tracking survival rate threshold, it is determined that the current front-end tracking is in a stable state, and the first set of weights is adopted, in which the weights of the spatial distribution score and the geometric dispersion score are both higher than the response quality score; when the tracking survival rate is less than the threshold, it is determined that the current state is in a perturbation degradation state, and the second set of weights is adopted, in which the weight of the response quality score is significantly increased and is higher than the weights of the spatial distribution score and the geometric dispersion score.

[0012] In step S2, the fault-tolerant redistribution mechanism is as follows: when both the spatial distribution score and the geometric dispersion score are below the preset failure threshold, it degenerates into using only the response quality score to sort candidate feature points; when only the geometric dispersion score fails, its weight is reset to zero and redistributed to the spatial distribution score and the response quality score; when only the spatial distribution score fails, its weight is reset to zero and redistributed to the geometric dispersion score and the response quality score.

[0013] In step S4, the UAV inertial measurement unit data includes acceleration data measured by a three-axis accelerometer and angular velocity data measured by a three-axis gyroscope. The back-end optimizer performs inertial pre-integration based on the acceleration and angular velocity data to obtain inertial pre-integration constraints between adjacent image frames or keyframes. The visual feature observation constraints formed by the complete feature set selected in steps S1 to S3 are combined with the inertial pre-integration constraints to construct a joint optimization model, and iteratively optimize the UAV's pose, velocity, and inertial measurement unit zero bias within the sliding window.

[0014] As another important technical solution, the present invention also provides an anti-interference UAV visual-inertial adaptive feature localization system, which implements the anti-interference UAV visual-inertial adaptive feature localization method described above, including: The candidate feature point generation module is used to acquire the current image frame, perform optical flow tracking and geometric consistency verification on the feature points of the previous frame, remove out-of-geometric points, and obtain the set of tracked feature points that are still valid in the current image frame. The number of tracked feature points that are still valid after passing the geometric consistency verification in the current image frame is divided by the total number of feature points that have completed optical flow matching and entered the geometric consistency test to obtain the tracking survival rate. Under the mask constraint of the tracked feature point set, oversampling is used to generate the candidate feature point set of the current image frame. The multidimensional quality joint evaluation module is used to calculate the spatial distribution score, geometric dispersion score, and response quality score of each candidate feature point in the candidate feature point set. The fusion weight of each score is dynamically determined based on the tracking survival rate, and a fault-tolerant redistribution mechanism is introduced to correct the fusion weight. The scores of each candidate feature point are weighted and summed using the corrected fusion weight to obtain the comprehensive value score of the candidate feature point. The adaptive feature filtering module is used to filter out candidate feature points whose response quality is lower than the dynamic response threshold, where the dynamic response threshold is determined based on the maximum and median response values ​​of all candidate feature points in the current image frame. The remaining candidate feature points are sorted from high to low according to their comprehensive value scores, and non-maximum suppression is performed sequentially to suppress other candidate feature points in the neighborhood with a preset minimum spacing as the radius. If the number of candidate feature points selected after non-maximum suppression does not reach the target number, they are added from the unselected candidate feature points in descending order of comprehensive value scores until the target number is reached, resulting in the final new feature set. The feature fusion and pose calculation module is used to merge the final new feature set with the set of tracked feature points that are still valid in the current image frame to form the complete feature set of the current image frame. This set is then output to the back-end optimizer along with the UAV inertial measurement unit data to determine the pose state of the UAV.

[0015] The present invention also proposes an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements an anti-interference UAV visual-inertial adaptive feature localization method as described above.

[0016] The present invention also proposes a computer-readable storage medium storing a computer program that enables a computer to execute an anti-interference UAV visual-inertial adaptive feature localization method as described above.

[0017] Compared with the prior art, the beneficial effects of the present invention are: This invention utilizes the real-time perception of the front-end tracking status by tracking survival rate and dynamically adjusts the fusion weight of the 3D score, enabling the feature selection strategy to adaptively switch according to the degree of image degradation, overcoming the shortcomings of fixed thresholds and single criteria that cannot respond to scene changes; at the same time, it introduces a fault-tolerant redistribution mechanism, which can still maintain the effectiveness of the joint score when some scores fail.

[0018] This invention comprehensively scores candidate feature points from three dimensions: spatial distribution, geometric dispersion, and response quality. It takes into account the uniformity of feature distribution, optimization of observation configuration, and local traceability, effectively avoiding the feature aggregation or configuration degradation problems caused by a single criterion.

[0019] This invention employs an adaptive dynamic threshold based on the current frame response distribution to filter out low-quality candidate feature points. Combined with comprehensive scoring and non-maximum suppression, it suppresses low-response noise and local clustering while ensuring a stable supply of high-quality features per frame.

[0020] This invention improves the overall quality of front-end observations, transmitting more reliable and rationally distributed features to back-end optimization. This significantly enhances the positioning accuracy and robustness of UAVs in degraded scenarios such as low illumination, blurriness, and weak texture caused by electromagnetic interference, and effectively mitigates the divergence trend of cumulative drift. Attached Figure Description

[0021] Figure 1 This is an overall framework diagram of an embodiment of the present invention.

[0022] Figure 2 This is a comparison diagram of planar trajectories under difficult sequences in an embodiment of the present invention.

[0023] Figure 3 This is a diagram showing the evolution of absolute trajectory error in an embodiment of the present invention.

[0024] Figure 4 This is a comparison chart of the suppression effect of low-quality candidate features in the degraded region in an embodiment of the present invention. Detailed Implementation

[0025] The present invention will be further described in detail below through specific embodiments, but it should not be construed as limiting the scope of the subject matter of the present invention to the following embodiments. All technologies implemented based on the above content of the present invention fall within the scope of the present invention.

[0026] In the description of this invention, it should also be noted that: This invention proposes an MQA-VINS feature selection method based on the VINS-Mono front-end framework. It improves the candidate feature generation, joint evaluation and adaptive selection process. While keeping the original optical flow tracking and geometric consistency verification process unchanged, it introduces a multi-dimensional quality joint evaluation and adaptive selection mechanism to perform more refined quality modeling and selection of candidate feature points, thereby improving the stability and robustness of front-end observation under perturbation scenarios.

[0027] In some implementations, such as Figure 1 As shown, this invention provides an interference-resistant UAV visual-inertial adaptive feature localization method, comprising the following steps: S1: Obtain the current image frame captured in real time by the UAV's onboard camera. Based on the current image frame, perform KLT optical flow tracking on the feature points of the previous frame to obtain their corresponding positions in the current image frame. Use basic configuration matrix constraints and RANSAC method to remove outliers that do not meet geometric consistency to obtain the set of effective tracking feature points retained in the current frame. In some implementations, the fundamental configuration matrix refers to the Fundamental Matrix, denoted as... It is used to describe the epipolar geometric relationship between two adjacent frames of images and to determine whether the matching points obtained by optical flow tracking conform to the camera motion relationship between the two frames.

[0028] The RANSAC method is used to estimate the parameters of the basic configuration matrix through random sampling consistency in the presence of mismatched points, and iteratively removes outliers that do not meet the model constraints, thereby improving the robustness of the matching point set. Geometric consistency means that feature point pairs after optical flow tracking must simultaneously satisfy temporal continuity and epipolar geometric constraints, that is, their motion trajectory should be consistent with the geometric model corresponding to the camera pose change. Matching points that do not meet this constraint are considered to have the risk of mistracking and are removed as outliers.

[0029] To quantify the front-end tracking quality of the current round, the tracking survival rate is calculated based on the geometric consistency verification results: ; in, This indicates the number of tracked feature points in the current frame that are still valid after passing geometric consistency verification; This represents the total number of feature points that have completed optical flow matching and entered the geometric consistency check.

[0030] In some implementations, a mask is generated based on the distribution of existing tracked feature points in the image plane. This mask is used to limit the extraction area of ​​new candidate feature points, so that the newly extracted candidate feature points are kept at a certain distance from the effective tracked feature points, thereby avoiding repeated aggregation of candidate feature points in local areas.

[0031] Candidate feature points are extracted within the mask-allowed area using a corner detection method. The number of candidate feature points is set to a multiple of the number of target supplementary points. In this embodiment, the candidate feature points are obtained using a corner detection method based on the minimum eigenvalue response. The oversampling factor is set to 2, meaning the number of candidate feature points is twice the number of target supplementary points. This corner detection method is implemented through the goodFeaturesToTrack interface to generate a set of candidate feature points to be evaluated for the current image frame.

[0032] In some implementations, the corner detection method employs the Shi-Tomasi corner detection principle based on minimum eigenvalues. This involves constructing a structure tensor matrix of grayscale changes within a local image window, calculating its two eigenvalues, and using the smaller eigenvalue as the corner response metric. When this response value exceeds a preset threshold and is a maximum within the local neighborhood, the location is considered a stable corner. This method effectively extracts image feature points with significant two-dimensional gradient changes, thereby improving the stability and repeatability of subsequent optical flow tracking.

[0033] S2: Calculate the spatial distribution score, geometric dispersion score, and response quality score for each candidate feature point in the candidate feature point set. Dynamically determine the fusion weight of each score based on the tracking survival rate, and introduce a fault-tolerant redistribution mechanism to correct the fusion weight. Use the corrected fusion weight to perform a weighted summation of the scores of each candidate feature point to obtain the comprehensive value score of the candidate feature point. Spatial distribution score measures the contribution of candidate feature points to the overall spatial coverage, ensuring a more uniform planar distribution of the image while maintaining the number of features. It is calculated based on the point density of the local region where the candidate feature points are located, specifically as follows: In some implementations, the current image frame is partitioned into a quadtree to determine the leaf node containing each candidate feature point; the total number of candidate feature points contained in that leaf node is then obtained. and the maximum number of candidate feature points contained in all valid leaf nodes Based on the proximity of the number of candidate feature points in the leaf node to the maximum value, calculate the spatial distribution score: ; in, This represents the maximum number of candidate feature points contained in all valid leaf nodes. For the first The number of points in the leaf nodes containing candidate feature points; a leaf node refers to the final subdivision of the quadtree, a valid leaf node is a leaf node containing at least one candidate feature point; an invalid leaf node is an empty region without candidate feature points and is not included in the maximum number of points count.

[0034] If a candidate feature point is located in a leaf node containing only one point, it will have the highest score, indicating that the point is located in a sparser region, which is more beneficial to improving the overall spatial coverage. Conversely, if a point is located in the densest leaf node, its score will be close to 0, indicating that there is a significant clustering phenomenon in the region. This score is essentially a uniformity evaluation based on local point density, used to suppress the repeated concentration of candidate feature points in local regions.

[0035] In some implementations, to improve the overall geometric configuration quality of candidate feature point front-end observations while ensuring spatial coverage, candidate feature points are evaluated from a geometric dispersion perspective. This measures their ability to improve the overall observation configuration after being added to the current set of tracked feature points. The geometric dispersion score is calculated based on the directional distribution relationship between candidate feature points and existing feature points, specifically as follows: The currently retained set of tracking feature points is The image center is For any point Its direction vector relative to the image center is defined as:

[0036] in, The normalized lateral component of a point relative to the image center; The normalized lateral component of a point relative to the image center; Represents the Euclidean distance from the candidate feature point to the image center; 1 is a constant term; based on the normalized direction vector of the currently retained tracking feature points. Establish the basic configuration matrix : ; in, This is a regularization term used to avoid matrix singularities during configuration degeneration; Represents the identity matrix; the basic configuration matrix Used to characterize the overall geometric distribution and observation configuration quality of the currently retained feature point set in the image plane, and to calculate the basic configuration index corresponding to the currently retained feature point set: ; in, Represents the trace of a matrix; express The inverse matrix; This represents the basic configuration index, used to quantify the degree of degradation of the observed configuration of the current set of feature points. The smaller the value, the more uniform the distribution of the current feature points and the more stable the observation geometry. The larger the value, the more likely the current feature points are concentrated or have a single direction, which may reduce the stability of subsequent pose estimation.

[0037] In some implementations, to avoid reconstructing the configuration matrix and performing matrix inversion for each candidate feature point, this invention uses the Sherman-Morrison formula to incrementally update the inverse of the configuration matrix after adding the candidate feature point. The configuration matrix corresponding to its addition to the currently retained feature point set is: ; because The rank-one increment term formed by the direction vectors corresponding to the candidate feature points, given... Based on this, the Sherman-Morrison formula is used for rapid calculation. : ; The above update method does not require re-performing the complete matrix inversion for each candidate feature point, which can reduce the computational complexity when evaluating the geometric contribution of candidate feature points point by point and meet the real-time screening requirements of UAV visual inertial front end.

[0038] In some implementations, upon obtaining Then, candidate feature points are calculated. Configuration parameters after addition: ; in, This indicates adding the first feature point to the existing set of retained feature points. i The observed configuration quality index after each candidate feature point.

[0039] In some implementations, the basic configuration index before adding candidate feature points is... Configuration indices after addition By comparison, the configuration improvement brought about by the candidate feature point is obtained: ; in, Used to characterize candidate feature points Incremental improvement effect on the current front-end observation configuration; if The larger the value, the more significantly the addition of the candidate feature point can reduce the overall configuration degradation and improve the observability of the spatial orientation distribution of the feature points. This configuration improvement is not used for back-end pose optimization, but is used as part of the front-end candidate feature point score, and participates in the candidate feature point selection together with the spatial distribution score and the response quality score.

[0040] In some implementations, if the improvement is negative, it indicates that the introduction of the candidate feature point will degrade the overall observation configuration. To avoid the degradation information from interfering with the score, the present invention adopts a truncation strategy to set it to zero, that is, only the contribution of the candidate feature point that has a positive improvement effect on the configuration is retained. This method can ensure that the geometric dispersion score only reflects the positive gain of the candidate feature point on the observability of the system.

[0041] If the improvement is positive, normalize all positive improvement values ​​to obtain the geometric dispersion score: ; in, The larger the value, the more significant the improvement in the overall geometric configuration after the candidate feature point is added.

[0042] When the number of valid tracking feature points retained in the current frame is lower than a preset lower limit, the basic configuration matrix composed of a small number of feature points is difficult to stably represent the overall geometric distribution state in the current image plane. If the geometric dispersion improvement of each candidate feature point is continued to be calculated at this time, the scoring result is easily affected by the distribution of a small number of points, causing abnormal fluctuations. To avoid unstable geometric dispersion scores dominating the candidate feature point ranking at low point counts, this invention adopts a protective assignment mechanism, uniformly setting the geometric dispersion scores of all candidate feature points to a neutral value of 0.5, thereby ensuring the stability of the candidate feature point selection process.

[0043] In some implementations, if candidate feature points are located in dark areas, blurred areas, or weakly textured regions, even if their spatial location is favorable, they may be difficult to track stably due to the lack of obvious local structure. This invention calculates a response quality score based on the normalized ratio of the response value of a candidate feature point in the corner response map to the maximum response value among all candidate feature points, reflecting its local observability and short-term trackability. Specifically: Calculate the corner response map for the current image frame and obtain the corner response value at the location of each candidate feature point. The maximum response value among all candidate feature points is obtained. .

[0044] Response quality score This reflects the local saliency and short-term traceability of candidate feature points, thereby avoiding the misclassification of dark areas, weak points, or blurry noise points as high-quality candidate feature points in the scoring process. Specifically: ; For any candidate feature point The comprehensive value score of the candidate feature points is: ; in, , and These represent the effective weights actually participating in the fusion in the current image frame after tracking survival rate switching and fault tolerance redistribution correction.

[0045] In some implementations, considering that the focus of candidate feature selection differs in different scenarios, this invention utilizes the current round's tracking survival rate. The weights of each component in the joint score are dynamically switched, using the following segmented approach: ; The preset tracking survival rate threshold and corresponding weights are determined by preliminary experiments. In this embodiment, the tracking survival rate threshold is set to 0.6, which is used to distinguish between the stable state and the perturbation and degradation state of the current visual front end. When the tracking survival rate is not lower than 0.6, it means that a high proportion of feature points are still retained after optical flow tracking and geometric consistency verification, the current front end observation is relatively continuous, and the feature tracking state is relatively stable. When the tracking survival rate is lower than 0.6, it means that many tracking points are removed after geometric consistency verification, and the current image may be affected by factors such as low illumination, weak texture, motion blur or local degradation, resulting in a decrease in the front end observation quality.

[0046] when At this time, front-end tracking is relatively stable, and the focus of candidate feature point selection is to further improve the overall spatial coverage and observation geometry. Therefore, spatial distribution score and geometric dispersion score can better reflect the supplementary role of candidate feature points in the overall layout and observability. The weighting configuration allows the spatial distribution and geometric dispersion terms to dominate, while retaining the constraint of the response quality term on local reliability.

[0047] when At this time, the front end is more likely to be in a perturbed and degraded state, and the short-term trackability of feature points becomes a priority. In this case, the response quality score can more directly reflect the local saliency and stable tracking potential of candidate feature points, so the weight of the response quality term is increased; at the same time, in order to avoid the screening results being completely dominated by response quality, which would cause local clustering of feature points or degradation of observation configuration, the constraints of the spatial distribution term and the geometric dispersion term are still retained.

[0048] In some implementations, the perturbation degradation state is adopted The weighting is configured such that 0.70 is used to highlight the impact of response quality on short-term traceability, and the two 0.15s are used to preserve spatial coverage uniformity and geometric observability constraints, respectively. , and The sum of the three weights is 1, thereby achieving a balance between local response reliability and overall geometric distribution in perturbation scenarios.

[0049] In some implementations, to prevent a certain scoring component from becoming completely ineffective in special scenarios, the present invention introduces a fault-tolerant redistribution mechanism, specifically: determining whether the spatial distribution score and the geometric dispersion score are ineffective, and dynamically applying the corresponding weights.

[0050] The maximum values ​​of the spatial distribution score and the geometric dispersion score in the current set of candidate feature points are as follows: ; ; If the maximum values ​​of both the spatial distribution score and the geometric dispersion score are lower than the preset failure threshold ,Right now: < , < If the score is close to zero, it means that the scores of all candidate feature points in both the spatial distribution and geometric dispersion dimensions are close to zero. Neither score component has effective distinguishing power in the current set of candidate feature points and cannot be used for ranking them. Therefore, both the spatial distribution score and the geometric dispersion score are considered to be in a state of failure. A preset failure threshold is set. A small threshold close to zero is used to characterize the degradation of the score distribution, and its value is set according to the score normalization range and numerical stability requirements. Since each score component in this invention is normalized to the [0,1] interval, Select a small threshold within the range When the overall score of candidate feature points approaches zero, or the numerical difference is less than the threshold, it is considered that the corresponding score component cannot provide effective ranking information.

[0051] When both spatial distribution score and geometric dispersion score become invalid, to avoid invalid score components participating in weighted fusion and interfering with the ranking of candidate feature points, this invention adopts a multi-dimensional score fallback strategy, degenerating into ranking candidate feature points using only the response quality score. The effective weights participating in the fusion are as follows: ; in, These represent the effective weights of the spatial distribution score, geometric dispersion score, and response quality score that actually participate in the fusion after fault tolerance redistribution correction.

[0052] In some implementations, when only the geometric dispersion score is invalid, the weight of the geometric dispersion score is reset to zero, and its original weight is redistributed to the spatial distribution score and response quality score according to the original weight ratio of the remaining valid scores, thus obtaining the valid weights for fusion: ; When only the spatial distribution score is invalid, the weight of the spatial distribution score is reset to zero, and its original weight is redistributed to the geometric dispersion score and response quality score according to the original weight ratio of the remaining valid scores, thus obtaining the valid weights for fusion: ; By using the redistribution method described above, which normalizes the remaining valid scores according to their original weights, we can prevent invalid score components from continuing to affect the overall value score, while maintaining the original importance relationship between the remaining score components and ensuring the stability of the candidate feature point ranking results.

[0053] S3: Filter out candidate feature points whose response quality is lower than the dynamic response threshold. The dynamic response threshold is determined based on the maximum and median response values ​​of all candidate feature points in the current image frame. The remaining candidate feature points are sorted from high to low according to their comprehensive value scores, and non-maximum suppression is performed sequentially to suppress other candidate feature points in the neighborhood with a preset minimum spacing as the radius. If the number of selected candidate feature points after non-maximum suppression does not reach the target number, the unselected candidate feature points are added in order of comprehensive value scores from high to low until the target number is reached, resulting in the final new feature set. In some implementations, the purpose of using a dynamic response threshold is to adaptively filter low-quality candidate points based on the response distribution of candidate feature points in the current image frame. Compared with a fixed threshold, a dynamic response threshold can be adjusted according to changes in image texture intensity, lighting conditions, and motion blur, avoiding the over-removal of effective feature points in weak texture or low-light scenes, or the retention of too many low-quality feature points in high-noise or blurred scenes.

[0054] This invention introduces both maximum response value constraint and median response value constraint to determine the dynamic response threshold. The maximum response value constraint is used to ensure the minimum response level of candidate feature points, preventing the threshold from being too low when the overall response is weak, thus introducing a large number of extremely weak response points. The median response value constraint is used to characterize the overall response level of the current candidate feature point set. Compared with the mean response value, it is less susceptible to the influence of a small number of locally extremely strong response points, thereby avoiding the threshold being dominated by abnormally strong response points.

[0055] Therefore, the maximum response value constraint and the median response value constraint work together to enable the dynamic response threshold to filter out extremely weak response candidate points, avoid being too sensitive to local extremely strong responses when only the maximum value ratio threshold is used, and avoid the problem of insufficient constraint on the overall minimum response when only the mean or median threshold is used, thereby improving the stability of candidate feature point selection in weak texture, motion blur and exposure change scenarios.

[0056] The dynamic response threshold is as follows: ; in, and The response sets of candidate feature points are respectively Maximum response value and median The response value set is formed by the response values ​​of each candidate feature point in the current candidate feature point set. Indicates the first i Corner response intensity of each candidate feature point; This represents the number of candidate feature points in the current set of candidate feature points. Maximum response value The corresponding candidate feature point is called the strongest response point, i.e.: ; 0.01 is the constraint coefficient for the maximum response value, which is used to set the minimum response screening standard relative to the strongest response point, thereby suppressing low-quality candidate feature points whose response values ​​are much lower than the current strongest response level; since the value of this coefficient is small, it can avoid the screening threshold from being excessively increased by a single local extremely strong response point.

[0057] median , is used to characterize the overall response level of the current candidate set; 0.5 is the constraint coefficient of the median response, used to determine the statistical screening threshold based on the overall response level of the candidate feature points, so that the dynamic response threshold can be adaptively adjusted with changes in image texture intensity, illumination conditions and imaging quality.

[0058] In some implementations, a maximum response value constraint is used. With median response constraint By combining these two approaches, the dynamic response threshold can maintain the ability to filter candidate feature points with extremely weak responses while avoiding the threshold being completely affected by a single extremely strong response point, thereby improving the stability of candidate feature point selection in different scenarios.

[0059] Depend on and Jointly determine the dynamic response threshold It can simultaneously consider the local strongest corner response and the overall candidate feature point response level. If a candidate feature point satisfies < If the response quality of the candidate feature point is low, it is difficult to guarantee stable tracking in the future, and it will be removed from the candidate feature point set.

[0060] In some implementations, the remaining candidate feature points are sorted from high to low according to their comprehensive value scores to obtain a sorted sequence of candidate feature points: ; in, This represents the sequence of candidate feature points arranged in descending order of their comprehensive value scores. These represent the first, second, and third elements after sorting, respectively. K 1 candidate feature point; perform non-maximum suppression sequentially to alleviate local clustering problem; if candidate feature points If a point is located within the selectable region, it is added to a new set of points, and its neighborhood is suppressed with a radius of MIN_DIST, where MIN_DIST is the minimum distance threshold and a constraint parameter of NMS. After the first round of point selection, a new set of feature points is obtained that has been retained after strict NMS, denoted as […]. .

[0061] Let the target number of supplementary points be... The number of selected points after the first round of NMS is ; like Then, the unselected candidate feature points are added in order of scoring until the target number is met. Let the set of fill points be... Then the final new feature set is: ; After completing dynamic threshold filtering, strict NMS, and imputation, the system obtains the final new feature set. .

[0062] S4: Merge the final new feature set with the set of tracked feature points that are still valid in the current image frame to form the complete feature set of the current image frame. : ; in, This is the set of currently retained tracking feature points; The data from the UAV's inertial measurement unit (IMU) is output to the back-end optimizer along with the data from the UAV's inertial measurement unit (IMU). The IMU data includes the body acceleration data measured by the three-axis accelerometer and the body angular velocity data measured by the three-axis gyroscope. The back-end optimizer performs inertial pre-integration based on the body acceleration and angular velocity data to form inertial pre-integration constraints between adjacent image frames or keyframes. Simultaneously, the selected complete feature set forms visual feature observation constraints. The back-end optimizer constructs a joint optimization model based on the visual feature observation constraints and the inertial pre-integration constraints. Iterative optimization is performed on the UAV's pose, velocity, and IMU zero bias within the sliding window to obtain the UAV pose state corresponding to the current image frame. The optimized state result is used as the input for subsequent frame tracking, feature management, and continuous positioning.

[0063] In some implementations, the joint optimization model is implemented using a sliding window nonlinear optimization framework in visual inertial odometry: the back-end optimizer uses the states of several image frames or keyframes within the sliding window as optimization variables, the states including UAV pose, velocity, and inertial measurement unit (IMU) zero bias; the feature reprojection error corresponding to the complete feature set is used as a visual constraint term, and the inertial pre-integration error between adjacent image frames or keyframes is used as an inertial constraint term, the two together constitute the optimization objective function, and the UAV state is solved through nonlinear iterative optimization. This implementation is used to illustrate a joint optimization implementation of the complete feature set and IMU data in the back-end optimizer, wherein the back-end optimization process can be implemented using the conventional optimization framework in existing visual inertial odometry.

[0064] To verify the effectiveness of the proposed method, experiments were conducted on the EuRoC MAV dataset. This dataset contains various motion and visual degradation scenarios in indoor flight conditions and has been widely used for evaluating visual inertial odometry (VIO) methods. This embodiment focuses on validating the V2_03, MH_04, and MH_05 sequences, which exhibit significant illumination changes, dark area interference, rapid motion, and blurring. The baseline method refers to the original VIOMA method without incorporating the proposed multidimensional quality joint evaluation and adaptive feature selection mechanism, and is used as a reference for performance comparison. In this embodiment, VINS-Mono is used as the baseline method to verify the improvement effect of the proposed method under the same experimental conditions.

[0065] This invention replaces the front-end candidate feature generation, joint evaluation, and adaptive screening process with the proposed MQA-VINS front-end strategy, while keeping the optical flow tracking, RANSAC outlier removal, and back-end optimization processes unchanged. Key parameters are referenced from the default settings of vinsmono. In the experiment, the absolute trajectory error ATE RMSE is used as a quantitative evaluation index, and the analysis is performed in combination with the feature screening results and trajectory comparison chart.

[0066] The localization performance of the present invention is analyzed from two aspects: quantitative ATE results and error visualization. As shown in Table 1, the ATE RMSE comparison results of the baseline method and the present invention on typical EuRoC MAV sequences are presented.

[0067] Table 1. Comparison of ATE RMSE between the baseline method and the present invention on typical EuRoC sequences.

[0068] The experimental results show that the proposed method achieves lower ATE RMSE in the three difficult sequences V2_03, MH_04 and MH_05, respectively, by 10.5%, 5.5% and 7.7% compared to the baseline method, indicating that the proposed method can effectively improve the positioning accuracy in disturbed scenarios.

[0069] like Figure 2 As shown, a comparison of planar trajectories using different methods is presented under difficult sequences. The black dashed line represents the true trajectory, the blue line represents the baseline method, and the red line represents the method used in this invention. Figure 2 (a) to (c) correspond to sequences V2_03, MH_04 and MH_05 of the EuRoC MAV dataset, respectively, all of which contain degradation factors such as rapid motion, lighting changes, weak texture or motion blur.

[0070] like Figure 2 The V2_03 sequence (multiple loops and local sharp turns) shown in (a) shows that the baseline method deviates from the true trajectory in the outer loop, right turn and middle intersection area, and is significantly affected by low-quality features; the trajectory of the present invention has an overall trend consistent with the true trajectory, and effectively reduces drift in the turning and closed areas, proving that the multidimensional quality assessment and adaptive screening strategy contributes to the stability under complex motion.

[0071] like Figure 2 In the MH_04 sequence (large-range curve and long straight motion) shown in (b), both methods maintain the positioning continuity, but the present invention has better local loop, descent segment and end fit and smaller offset, indicating that the method can improve local accuracy while maintaining the stability of the original framework.

[0072] like Figure 2 In the MH_05 sequence shown in (c) (upper loop plus long-distance oblique motion on the right), the baseline deviates in the turning and long-distance segments. The present invention maintains the trajectory shape better, and the shape of the loop and turning area is stable, indicating that the improved screening strategy can provide more reliable front-end observations and reduce error accumulation.

[0073] As can be seen from the three sequences, the present invention outperforms the baseline in all challenging scenarios, and provides more stable estimations in turning, looping, and long-distance motion. This is due to the joint evaluation of the response quality, spatial distribution, and geometric dispersion of candidate feature points, which enables the selection of better feature points under degenerate conditions and enhances the robustness of UAV visual-inertial localization.

[0074] like Figure 3 As shown, the absolute trajectory error over time is presented for three difficult sequences (V2_03, MH_04, and MH_05). Blue represents the baseline, and red represents the method used in this invention. Overall, the error of this invention is lower than or close to the baseline in most time periods, indicating that it is more stable in localization under complex motion and visual degradation.

[0075] like Figure 3 The V2_03 sequence shown in (a) has large overall fluctuations. The error of this invention is lower than the baseline in most periods, especially in the middle and later stages, which suppresses the error peak. This indicates that feature screening reduces the negative impact of low-quality points on pose estimation.

[0076] like Figure 3 The MH_04 sequence shown in (b) exhibits significant fluctuations, but the present invention shows lower errors in multiple stages (decline, local fluctuations, and the final stage), indicating that it can reduce the deviation in some time periods and improve the overall error trend under perturbation.

[0077] like Figure 3 The MH_05 sequence shown in (c) has a high baseline error and large fluctuations in the early and late segments. The present invention has a lower error in the early segment and is close to or slightly better in the middle and late segments. It can reduce some peak values ​​and maintain stability in the rapidly changing region, proving that the screening strategy improves the stability of the sequence.

[0078] While this invention may not be leading across the board at every moment, it offers greater overall error stability and effectively reduces translation errors at critical stages. This is attributed to the joint screening of feature point response quality, spatial distribution, and geometric dispersion, which improves the quality of front-end observations and enhances the robustness of visual-inertial localization in challenging scenarios.

[0079] This section verifies the front-end function of the present invention by combining the visualization results of feature selection in low-light and degraded scenes. Figure 4 The comparison of candidate feature selection results under degradation scenarios is presented. It should be noted that the feature point colors in the figure are used to indicate the continuous tracking length of the feature: the redder the color, the more frames the feature has been continuously tracked; the bluer the color, the shorter its tracking length. This visualization is only used to help reflect feature stability and does not represent feature points of different categories.

[0080] As can be seen, in the MH_04 low-light scene, the baseline method extracts fewer feature points, the overall distribution is sparse, and there are obvious observation gaps in local areas. In contrast, the present invention can obtain more effective feature points and form a more continuous spatial coverage, indicating that it can improve the retention of candidate features under low-light conditions.

[0081] In the V2_03 degradation scenario, the baseline method still retains a large number of feature points distributed in blurry, smooth, or weakly textured regions, while the present invention significantly reduces the number of such points, indicating that the proposed method can actively suppress low-quality points from entering the system during the candidate feature selection stage, thereby improving the reliability of front-end observation and the stability of subsequent tracking.

[0082] Improved feature coverage in low-light regions and suppression of low-quality points in degraded regions are the key reasons for the improved positioning performance of this invention. This also corresponds to the aforementioned results such as improved ATE on difficult sequences, increased trajectory fit, and reduced error fluctuations, indicating that the proposed method can effectively transfer the improvement in front-end observation quality to the overall positioning performance of the system.

[0083] In another embodiment of the present invention, an interference-resistant UAV visual-inertial adaptive feature localization system is proposed, which implements the interference-resistant UAV visual-inertial adaptive feature localization method described above, including: The candidate feature point generation module is used to acquire the current image frame, perform optical flow tracking and geometric consistency verification on the feature points of the previous frame, remove out-of-geometric points, and obtain the set of tracked feature points that are still valid in the current image frame. The number of tracked feature points that are still valid after passing the geometric consistency verification in the current image frame is divided by the total number of feature points that have completed optical flow matching and entered the geometric consistency test to obtain the tracking survival rate. Under the mask constraint of the tracked feature point set, oversampling is used to generate the candidate feature point set of the current image frame. The multidimensional quality joint evaluation module is used to calculate the spatial distribution score, geometric dispersion score, and response quality score of each candidate feature point in the candidate feature point set. The fusion weight of each score is dynamically determined based on the tracking survival rate, and a fault-tolerant redistribution mechanism is introduced to correct the fusion weight. The scores of each candidate feature point are weighted and summed using the corrected fusion weight to obtain the comprehensive value score of the candidate feature point. The adaptive feature filtering module is used to filter out candidate feature points whose response quality is lower than the dynamic response threshold, where the dynamic response threshold is determined based on the maximum and median response values ​​of all candidate feature points in the current image frame. The remaining candidate feature points are sorted from high to low according to their comprehensive value scores, and non-maximum suppression is performed sequentially to suppress other candidate feature points in the neighborhood with a preset minimum spacing as the radius. If the number of candidate feature points selected after non-maximum suppression does not reach the target number, they are added from the unselected candidate feature points in descending order of comprehensive value scores until the target number is reached, resulting in the final new feature set. The feature fusion and pose calculation module is used to merge the final new feature set with the set of tracked feature points that are still valid in the current image frame to form the complete feature set of the current image frame. This set is then output to the back-end optimizer along with the UAV inertial measurement unit data to determine the pose state of the UAV.

[0084] In another embodiment of the present invention, an electronic device is proposed, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements an anti-interference UAV visual-inertial adaptive feature localization method as described above.

[0085] In another embodiment of the present invention, a computer-readable storage medium is provided storing a computer program that causes a computer to execute an interference-resistant UAV visual-inertial adaptive feature localization method as described above.

[0086] In the embodiments disclosed in this application, a computer storage medium may be a tangible medium that may contain or store programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of computer storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0087] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Any simple modifications, equivalent substitutions, and improvements made by those skilled in the art to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the protection scope of the present invention.

Claims

1. An anti-interference visual-inertial adaptive feature localization method for unmanned aerial vehicles (UAVs), characterized in that, Includes the following steps: S1: Obtain the current image frame, perform optical flow tracking and geometric consistency verification on the feature points of the previous frame, remove out-of-geometric points, and obtain the set of tracked feature points that are still valid in the current image frame. Divide the number of tracked feature points that are still valid after passing the geometric consistency verification in the current image frame by the total number of feature points that have completed optical flow matching and entered the geometric consistency test to obtain the tracking survival rate. Under the mask constraint of the already tracked feature point set, oversampling is used to generate a candidate feature point set for the current image frame; S2: Calculate the spatial distribution score, geometric dispersion score, and response quality score for each candidate feature point in the candidate feature point set. Dynamically determine the fusion weight of each score based on the tracking survival rate, and introduce a fault-tolerant redistribution mechanism to correct the fusion weight. The scores of each candidate feature point are weighted and summed using the corrected fusion weights to obtain the comprehensive value score of the candidate feature point. The step of dynamically determining the fusion weight of each score by comparing the tracking survival rate with a preset tracking survival rate threshold is as follows: when the calculated tracking survival rate is greater than or equal to the preset tracking survival rate threshold, it is determined that the current front-end tracking is in a stable state, and the first set of weights is adopted, in which the weights of spatial distribution score and geometric dispersion score are higher than those of response quality score; when the tracking survival rate is less than the threshold, it is determined that the current state is in a perturbation degradation state, and the second set of weights is adopted, in which the weight of response quality score is significantly increased and is higher than that of spatial distribution score and geometric dispersion score. The fault-tolerant redistribution mechanism is as follows: when both the spatial distribution score and the geometric dispersion score are below the preset failure threshold, it degenerates into using only the response quality score to sort candidate feature points; when only the geometric dispersion score fails, its weight is reset to zero and redistributed to the spatial distribution score and the response quality score; when only the spatial distribution score fails, its weight is reset to zero and redistributed to the geometric dispersion score and the response quality score. S3: Filter out candidate feature points whose response quality is lower than the dynamic response threshold, where the dynamic response threshold is determined based on the maximum and median response values ​​of all candidate feature points in the current image frame; sort the remaining candidate feature points in descending order of comprehensive value score, and perform non-maximum suppression sequentially, suppressing other candidate feature points in the neighborhood with a preset minimum spacing as the radius; if the number of selected candidate feature points after non-maximum suppression does not reach the target number, add them from the unselected candidate feature points in descending order of comprehensive value score until the target number is reached, and obtain the final new feature set; S4: Merge the final new feature set with the set of tracked feature points that are still valid in the current image frame to form the complete feature set of the current image frame. Output the new feature set along with the UAV inertial measurement unit data to the back-end optimizer to determine the pose state of the UAV. The UAV inertial measurement unit data includes acceleration data measured by a three-axis accelerometer and angular velocity data measured by a three-axis gyroscope. The back-end optimizer performs inertial pre-integration based on the acceleration and angular velocity data to obtain inertial pre-integration constraints between adjacent image frames or keyframes. The visual feature observation constraints formed by the complete feature set obtained from steps S1 to S3 are combined with the inertial pre-integration constraints to construct a joint optimization model, and iteratively optimize the UAV's pose, velocity, and inertial measurement unit zero bias within the sliding window.

2. The anti-interference UAV visual-inertial adaptive feature localization method according to claim 1, characterized in that: In step S2, the specific calculation method for the spatial distribution score is as follows: The current image frame is divided into quadtrees to determine the leaf node where each candidate feature point is located; the total number of candidate feature points contained in the leaf node and the maximum number of candidate feature points contained in all valid leaf nodes are obtained; the spatial distribution score is calculated based on the closeness of the number of candidate feature points in the leaf node to the maximum value.

3. The anti-interference UAV visual-inertial adaptive feature localization method according to claim 1, characterized in that: In step S2, the geometric dispersion score is calculated as follows: a basic configuration matrix reflecting the directional distribution of each feature point relative to the image center is constructed based on the current set of tracked feature points, and the basic configuration index is calculated; for each candidate feature point, the inverse of the configuration matrix after its addition is incrementally updated, and the configuration index after its addition is calculated; the improvement of the configuration index before and after adding the candidate feature point is calculated, and if the improvement is positive, its relative size among all candidate feature points is used as the geometric dispersion score of the candidate feature point; When the number of tracked feature points is lower than a preset lower limit, the geometric dispersion score of all candidate feature points is uniformly set to a neutral value.

4. The anti-interference UAV visual-inertial adaptive feature localization method according to claim 1, characterized in that: In step S2, the response quality score is calculated as follows: Calculate the corner response map for the current image frame, obtain the corner response value at the location of each candidate feature point, and obtain the maximum response value among all candidate feature points; The ratio of the response value of a candidate feature point to the maximum response value is used as the response quality score of that candidate feature point.

5. An anti-interference UAV visual-inertial adaptive feature localization system, used to implement the anti-interference UAV visual-inertial adaptive feature localization method as described in any one of claims 1 to 4, characterized in that, include: The candidate feature point generation module is used to acquire the current image frame, perform optical flow tracking and geometric consistency verification on the feature points of the previous frame, remove geometric out-of-shape points, and obtain the set of tracked feature points that are still valid in the current image frame. The tracking survival rate is obtained by dividing the number of tracked feature points that are still valid after passing the geometric consistency verification in the current image frame by the total number of feature points that have completed optical flow matching and entered the geometric consistency test. Under the mask constraint of the already tracked feature point set, oversampling is used to generate a candidate feature point set for the current image frame; The multidimensional quality joint evaluation module is used to calculate the spatial distribution score, geometric dispersion score and response quality score of each candidate feature point in the candidate feature point set. The fusion weight of each score is dynamically determined based on the tracking survival rate, and a fault-tolerant redistribution mechanism is introduced to correct the fusion weight. The scores of each candidate feature point are weighted and summed using the corrected fusion weights to obtain the comprehensive value score of the candidate feature point. The adaptive feature filtering module is used to filter out candidate feature points whose response quality is lower than the dynamic response threshold, where the dynamic response threshold is determined based on the maximum and median response values ​​of all candidate feature points in the current image frame. The remaining candidate feature points are sorted from high to low according to their comprehensive value scores, and non-maximum suppression is performed sequentially to suppress other candidate feature points in the neighborhood with a preset minimum spacing as the radius. If the number of candidate feature points selected after non-maximum suppression does not reach the target number, they are added from the unselected candidate feature points in descending order of comprehensive value scores until the target number is reached, resulting in the final new feature set. The feature fusion and pose calculation module is used to merge the final new feature set with the set of tracked feature points that are still valid in the current image frame to form the complete feature set of the current image frame. This set is then output to the back-end optimizer along with the UAV inertial measurement unit data to determine the pose state of the UAV.

6. An electronic device, characterized in that, include: The system includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements an anti-interference UAV visual-inertial adaptive feature localization method as described in any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program causes the computer to execute an anti-interference UAV visual-inertial adaptive feature localization method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Visual inertia fusion positioning method and system based on feature optimization

    CN120368967A

  • Power transmission channel hidden danger inspection system based on cooperation of computer vision and unmanned aerial vehicle

    CN121962264A