EG-Stereo: Geometric Edge Guidance for Stereo Matching at Depth Boundaries
Depth boundaries remain a major source of error in stereo matching. For IGEV, a widely used stereo matching baseline, on Scene Flow, geometric edge pixels account for only $6\%$ of evaluated pixels but about half of the total absolute disparity error. Photometric edges can respond to texture changes without corresponding depth discontinuities, making them unreliable cues for boundary refinement. We propose EG-Stereo, which learns a geometric edge map from disparity supervision and uses it as a shared spatial cue for disparity refinement and training. The predicted map conditions full-resolution residual correction alongside the backbone disparity and image details, and increases disparity error penalties at predicted boundaries. Joint optimization retains geometric edge supervision while allowing the edge representation to adapt to disparity correction. On the Scene Flow dataset, EG-Stereo reduces end-point error (EPE) at depth boundaries by $9.5\% \sim14.3\%$ across RAFT-Stereo, IGEV, and MonSter, while also reducing overall EPE. After fine-tuning, our IGEV-based model improves upon IGEV on all fourteen reported metrics across ETH3D, Middlebury 2014, KITTI 2012, and KITTI 2015. The source code will be made publicly available upon acceptance.