SemanticStitch: Enhancing Image Coherence through Foreground-Aware Seam Carving
Ji-Ping Jin, Chen-Bin Feng, Rui Fan, Chi-Man Vong
TL;DR
SemanticStitch addresses image stitching misalignment by incorporating semantic priors of foreground objects into seam placement. The method introduces a three-component pipeline with a Transformer-based salient-object detector, an object-aware seam identification module, and a dynamic, area-driven mask optimization alongside a composite loss $\ abla\mathcal{L}_{total}=\mathcal{L}_{comp}+\mathcal{L}_{excl}+\mathcal{L}_{smooth}$. Key contributions include a novel object-completeness loss, an exclusivity constraint, and a smoothness term, plus two real-world datasets for evaluating foreground integrity in stitched images. Experimental results on UDIS-D, DAVISProcessed10, and RealWorld400 demonstrate substantial improvements over traditional and deep-learning baselines, supported by ablation and user studies, underscoring practical applicability in panoramic and dynamic-scene stitching. The work advances semantic-aware stitching by reliably preserving foreground objects while delivering coherent seams and natural transitions.
Abstract
Image stitching often faces challenges due to varying capture angles, positional differences, and object movements, leading to misalignments and visual discrepancies. Traditional seam carving methods neglect semantic information, causing disruptions in foreground continuity. We introduce SemanticStitch, a deep learning-based framework that incorporates semantic priors of foreground objects to preserve their integrity and enhance visual coherence. Our approach includes a novel loss function that emphasizes the semantic integrity of salient objects, significantly improving stitching quality. We also present two specialized real-world datasets to evaluate our method's effectiveness. Experimental results demonstrate substantial improvements over traditional techniques, providing robust support for practical applications.
