Skip to main content
QUICK REVIEW

[Paper Review] Object-level Geometric Structure Preserving for Natural Image Stitching

Wenxiao Cai, Wankou Yang|arXiv (Cornell University)|Feb 20, 2024
Robotics and Sensor-Based LocalizationEngineering3 citations
TL;DR

This paper proposes OBJ-GSP, a novel image stitching method that preserves object-level geometric structures by leveraging the Segment Anything Model (SAM) to extract semantic-rich, holistic object boundaries and constructing triangular meshes within each object. These meshes are transformed collectively via similarity transformations to maintain global shape consistency, significantly reducing distortion and misalignment—achieving state-of-the-art performance on standard benchmarks.

ABSTRACT

The topic of stitching images with globally natural structures holds paramount significance, with two main goals: pixel-level alignment and distortion prevention. The existing approaches exhibit the ability to align well, yet fall short in maintaining object structures. In this paper, we endeavour to safeguard the overall OBJect-level structures within images based on Global Similarity Prior (OBJ-GSP), on the basis of good alignment performance. Our approach leverages semantic segmentation models like the family of Segment Anything Model to extract the contours of any objects in a scene. Triangular meshes are employed in image transformation to protect the overall shapes of objects within images. The balance between alignment and distortion prevention is achieved by allowing the object meshes to strike a balance between similarity and projective transformation. We also demonstrate that object-level semantic information is necessary in low-altitude aerial image stitching. Additionally, we propose StitchBench, the largest image stitching benchmark with most diverse scenarios. Extensive experimental results demonstrate that OBJ-GSP outperforms existing methods in both pixel alignment and shape preservation. Code and dataset is publicly available at \url{https://github.com/RussRobin/OBJ-GSP}.

Motivation & Objective

  • Address the limitation of existing stitching methods in preserving global object-level geometric structures despite strong local structure preservation.
  • Overcome the failure of prior methods like GES-GSP in maintaining relationships between geometric boundaries across objects.
  • Integrate semantic segmentation from SAM to extract complete, coherent object outlines for improved structural fidelity during stitching.
  • Develop a mesh-based transformation strategy that preserves object shapes holistically rather than individual lines or curves.
  • Achieve a new state-of-the-art in image stitching by combining semantic-aware structure extraction with global similarity-preserving warping.

Proposed method

  • Utilize the Segment Anything Model (SAM) to generate high-quality, semantically meaningful instance masks that capture complete object boundaries.
  • Extract geometric structures from SAM masks, focusing on object outlines and internal contours to define object-level geometry.
  • Construct triangular meshes within each segmented object to represent its internal structure and spatial relationships.
  • Apply global similarity transformations to the entire triangular mesh of each object during image warping, preserving shape and proportion.
  • Integrate the mesh-based transformation with a grid-based warping framework to balance alignment and geometric fidelity.
  • Apply mitigation strategies such as global straightening and multi-bend blending when SAM fails to extract reliable structures.

Experimental results

Research questions

  • RQ1Can semantic segmentation from SAM improve the preservation of global object-level geometric structures in image stitching compared to traditional edge-based methods?
  • RQ2To what extent does mesh-based similarity transformation outperform point- or line-based transformation in maintaining object shape during stitching?
  • RQ3How does the proposed method perform under challenging conditions such as low-light, sparse features, or complex object boundaries?
  • RQ4What is the impact of SAM’s segmentation accuracy on the overall stitching quality, and how does the method degrade when SAM fails?
  • RQ5Can the proposed method achieve better alignment and lower distortion than state-of-the-art methods like GES-GSP and GSP across diverse datasets?

Key findings

  • OBJ-GSP achieves a new state-of-the-art performance on multiple standard image stitching benchmarks, surpassing GES-GSP and GSP.
  • The method significantly reduces geometric distortion and misalignment, especially in preserving complex object shapes such as buildings, rivers, and natural terrain.
  • Even when SAM fails to detect certain fine details (e.g., the red line in Fig. 1), the object-level mesh preservation ensures overall shape consistency.
  • In low-light or feature-sparse scenarios, OBJ-GSP maintains superior structural fidelity compared to HED-based methods, thanks to SAM’s robust contour extraction.
  • When SAM fails completely, OBJ-GSP degrades to the performance level of GSP, but this scenario is rare and can be mitigated with global alignment techniques.
  • Qualitative results demonstrate that OBJ-GSP effectively prevents distortion in prominent linear and curved structures, such as riverbanks and bridges, while maintaining precise image alignment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.