Carrier phase measurements currently play a crucial role in achieving rapid and highly accurate positioning of global navigation satellite systems (GNSS). Resolving the integer ambiguity correctly is one of the key steps in this process. To address the inefficiency and slow search problem during ambiguity solving, we propose a single-frequency GNSS integer ambiguity solving based on an adaptive genetic particle swarm optimization (AGPSO) algorithm. Initially, we solve for the floating-point solution and its corresponding covariance matrix using the carrier-phase double difference equation. Subsequently, we decorrelate it using the inverse integer Cholesky algorithm. Furthermore, we introduce an improved fitness function to enhance convergence and search performance. Finally, we combine a particle swarm optimization algorithm with adaptive weights to conduct an integer ambiguity search, where each generation selectively undergoes half-random crossover and mutation operations to facilitate escaping local optima. Comparative studies against traditional algorithms and other intelligent algorithms demonstrate that the AGPSO algorithm exhibits faster convergence rates, improved stability in integer ambiguity search results, and in practical experiments the baseline accuracy of the solution is within 0.02 m, which has some application value in the practical situation of short baselines.
In recent years, the increasing frequency of climate change and extreme weather events has significantly elevated the risk of levee breaches, potentially triggering large-scale floods that threaten surrounding environments and public safety. Rapid and accurate measurement of river surface velocities is crucial for developing effective emergency response plans. Video image velocimetry has emerged as a powerful new approach due to its non-invasive nature, ease of operation, and low cost. This paper introduces the Dynamic Feature Point Pyramid Lucas–Kanade (DFP-P-LK) optical flow algorithm, which employs a feature point dynamic update fusion strategy. The algorithm ensures accurate feature point extraction and reliable tracking through feature point fusion detection and dynamic update mechanisms, enhancing the robustness of optical flow estimation. Based on the DFP-P-LK, we propose a river surface velocity measurement model for rapid levee breach emergency response. This model converts acquired optical flow motion to actual flow velocities using an optical flow-velocity conversion model, providing critical data support for levee breach emergency response. Experimental results show that the method achieves an average measurement error below 15% within the velocity range of 0.43 m/s to 2.06 m/s, demonstrating high practical value and reliability.