Efficient Structure from Motion for Large-Size Videos from an Open Outdoor UAV Dataset

Ruilin Xiang, Jiagang Chen, Shunping Ji2024 · DOI

TL;DR

This paper introduces an efficient Structure from Motion (SfM) pipeline designed to handle high-resolution, large-size videos from UAVs. By leveraging a fast visual SLAM system for initial pose estimation and a novel two-step keypoint adjustment method, the approach significantly improves efficiency and accuracy compared to existing methods, while also releasing a new, high-resolution UAV dataset.

What Problem Does This Paper Address?

Modern UAVs are equipped with increasingly high-resolution cameras, generating massive video data. Traditional Structure from Motion (SfM) and Visual Simultaneous Localization and Mapping (VSLAM) algorithms, often developed for smaller-scale, lower-resolution scenes, struggle with this data due to high computational costs. This limits their application in fields like surveying, mapping, and digital city modeling. Existing datasets also tend to be low-resolution, not reflecting the capabilities of current UAVs. The paper aims to bridge this gap by proposing an efficient SfM method tailored for large-size, high-resolution UAV videos and by releasing a new dataset to facilitate research in this area.

Methods

The proposed method consists of three main steps:

  1. Initial Pose Estimation and Keyframe Selection: The high-resolution video is first downsampled (e.g., by a factor of 4) to enable real-time processing. A VSLAM system (specifically OpenVSLAM) is then used to estimate initial camera poses, track features, and select keyframes representing significant viewpoints. This step also generates a preliminary sparse 3D scene structure.
  2. Two-Step Keypoint Adjustment (TS-KA): This is a novel technique to refine keypoint positions from the downsampled video onto the original high-resolution frames.
  3. Coarse Keypoint Adjustment: This step uses a rotation-invariant similarity measure (NCC) to roughly adjust keypoint positions, considering view angle changes. It involves selecting a reference keypoint within a track and then adjusting other keypoints in the track to match it, while also assigning a consistent orientation to ensure rotation invariance.
  4. Sub-Pixel Refinement: Following the coarse adjustment, a feature keypoint adjustment (FKA) method is applied to refine keypoints to sub-pixel accuracy. This method treats the refinement as an energy minimization problem, leveraging dense feature maps. The authors note that their TS-KA method incorporates a coarse adjustment step, which is crucial for improving accuracy over the original FKA.
  5. Global Pose Refinement: To mitigate drift accumulated during visual odometry, a rotation-averaging (RA) technique is applied to the view graph generated in the first step. This estimates global camera rotations, which are then used as a regularizer in a global bundle adjustment (BA) process. This BA optimizes camera poses, 3D points, and camera intrinsics. Optionally, Ground Control Points (GCPs) can be incorporated to achieve centimeter-level accuracy.

Datasets

  • Newly Introduced Dataset: The paper introduces a new outdoor UAV video dataset captured by a DJI M300 RTK drone with a DJI P1 camera. It features high-resolution videos (3840 × 2160 pixels) at 60 fps, with an average ground resolution of 0.03 m. The dataset includes two sequences: one with a regular strip configuration and another with an irregular, more challenging loop trajectory. Crucially, it provides 16 high-accuracy GCPs measured with a GPS receiver, achieving 9.0 mm localization accuracy.
  • EuRoC MAV Dataset: The proposed method was also evaluated on the small-scale and low-resolution EuRoC MAV Dataset, which consists of 11 sequences. For this dataset, the authors did not downsample the videos.

Key Insights and Ideas

  • Leveraging VSLAM for SfM Efficiency: Instead of treating SfM and VSLAM as entirely separate tasks, the paper demonstrates that using a VSLAM system for initial keyframe selection and pose estimation can significantly reduce the computational burden for subsequent SfM processing, especially for large-size videos.
  • The Power of Two-Step Keypoint Adjustment (TS-KA): The novel TS-KA method is a critical component. It effectively refines keypoints by first performing a coarse, rotation-invariant adjustment and then a fine sub-pixel refinement. This approach avoids re-matching features from scratch on the original high-resolution images, leading to both efficiency and accuracy gains.
  • Importance of Coarse Adjustment: The paper highlights that the coarse adjustment step in TS-KA is crucial. It significantly improves accuracy, even more so than the fine adjustment in some scenarios, making it a good trade-off for efficiency.
  • Dataset Gap: The introduction of a high-resolution, outdoor UAV dataset with accurate GCPs addresses a notable gap in existing benchmarks, which are often low-resolution and may not fully represent real-world UAV applications.

Key Results

  • Efficiency Improvement: The proposed method achieves significant efficiency gains. On their custom dataset, it shows an average efficiency improvement of 200% over COLMAP, 100-200% over OpenVSLAM, and 50-100% over Theia. On the EuRoC dataset, it is also notably more efficient than COLMAP and Theia.
  • Accuracy Improvement: The method demonstrates superior localization accuracy. On their dataset, it outperforms OpenVSLAM by up to 137% in dxy and 175% in dpos. On the EuRoC dataset, it achieves comparable or better accuracy than state-of-the-art methods.
  • Keypoint Adjustment Performance: Experiments show that TS-KA consistently achieves better accuracy and completeness in 3D sparse reconstruction compared to the FKA method, especially when dealing with significant viewpoint changes.

Limitations and Future Work

  • Limitations: The paper notes that rotation averaging can be sensitive to outliers and may lead to inaccurate estimates if the view graph is sparse. While the method shows good performance, the authors acknowledge that the original FKA method might struggle with significant viewpoint changes, which their TS-KA addresses.
  • Future Work: The authors plan to integrate their method with data from other sensors, such as IMU and GNSS, to further enhance accuracy and robustness. This suggests a direction towards multi-modal fusion for even more reliable navigation and mapping.

Summary updated

BibTeX
@misc{xiang2024efficient,
  author = {Ruilin Xiang and Jiagang Chen and Shunping Ji},
  title = {{Efficient Structure from Motion for Large-Size Videos from an Open Outdoor UAV Dataset}},
  year = {2024},
  doi = {10.3390/s24103039},
}
Figure