Abstract
Traditional image alignment techniques often struggle in low-texture environments where reliable keypoints are scarce. This paper introduces a robust motion estimation framework that incorporates both keypoints and line segments into a unified warping-based model. By leveraging the structural cues provided by line segments, the proposed approach significantly enhances alignment accuracy and reduces geometric distortions in challenging scenes. Evaluations on synthetic and real-world datasets show that the dual-feature method outperforms state-of-the-art point-based techniques in both image stitching and video stabilization.
Introduction
Modern image alignment relies heavily on warping-based motion models. Unlike global homographies, which assume a flat scene, these models utilize flexible meshes to accommodate parallax and complex camera movements. However, the efficacy of these models depends on the density and quality of matching features between images. In "low-texture" environments—such as indoor offices with plain walls or polished floors—standard keypoint detectors like SIFT often fail to find sufficient matches. This leads to misalignment and unnatural "wavy" distortions where the mesh lacks data constraints, causing straight architectural lines to appear warped.
The Dual-Feature Framework
To address these challenges, we propose a dual-feature approach that treats line segments as primary data sources alongside traditional keypoints. In man-made environments, lines provide strong geometric cues even when textures are missing. They help overcome the "aperture problem"—where the motion of a single point along a line is ambiguous—by providing a powerful constraint on the overall motion model.
Unified Geometric Metric
A key innovation is the use of an endpoint-to-line distance metric. By representing line segments via their endpoints and measuring the distance from a transformed endpoint to the corresponding target line, we create a cost function that is dimensionally consistent with point-to-point Euclidean distances. This allows for a seamless integration of points and lines in a single optimization framework.
Guided Matching and Robust Estimation
Matching lines is inherently more difficult than matching points due to the lack of unique local descriptors. We employ an initial rough alignment derived from keypoints to guide the line matching process. Furthermore, we introduce a dual-feature version of the Direct Linear Transform (DLT) with a specific normalization step to ensure numerical stability during homography estimation.
Mesh-based Warping with Structural Constraints
The framework extends the "as-similar-as-possible" warping paradigm. When a line segment intersects multiple mesh grids, it is partitioned. The optimization then enforces collinearity among these segments in the final warped image. This effectively uses lines as structural "rebar," preventing the mesh from collapsing in texture-poor regions and preserving the straightness of architectural features.
Experimental Evaluation
The proposed method was evaluated using synthetic data and a real-world dataset comprising 16 image pairs categorized into low-texture (Category A) and ordinary (Category B) scenes.
Quantitative Results
In low-texture scenarios, the dual-feature warp (DF-W) demonstrated substantial improvements. For instance, in the "four" indoor dataset, our method achieved a Root Mean Square Error (RMSE) of 2.36, significantly lower than the 6.92 achieved by APAP and the 12.78 of a standard global homography.
Qualitative Improvements
Qualitatively, the dual-feature approach eliminates the "ghosting" artifacts and geometric shearing common in point-only methods. Stitched panoramas of indoor environments appear more coherent, and video stabilization tests show a marked reduction in the "skewing" of straight lines that often plagues texture-poor footage.
Conclusion
By integrating line segments into the warping process, this framework provides a more reliable solution for image alignment in feature-poor environments. While the 2D nature of the model has limitations in scenes with extreme parallax, the dual-feature strategy offers a powerful tool for enhancing the robustness of computer vision applications like stitching and stabilization. Future work will explore porting this strategy to more advanced projective models to further improve results in deep scenes.
Summary updated