ChatStitch: Visualizing Through Structures via Surround-View Unsupervised Deep Image Stitching with Collaborative LLM-Agents

Hao Liang, Zhipeng Dong, Yi Yang, Mengyin Fu

Abstract

Autonomous driving systems require sophisticated environmental perception, yet current interfaces often lack intuitive, interactive visualization capabilities. This paper presents ChatStitch, a multi-agent Large Language Model (LLM) framework designed to interpret natural language commands for complex spatial visualization tasks. Central to this system is SV-UDIS, a novel unsupervised deep image stitching algorithm that addresses the "non-global-overlapping" problem inherent in surround-view camera arrays. By employing a "divide and conquer" strategy among specialized agents and enforcing rectangular warping constraints, ChatStitch enables users to "see through" occlusions and interact with 3D environmental data through a conversational interface.

Introduction

Modern autonomous vehicles are equipped with multiple surround-view cameras to provide a comprehensive view of their surroundings. However, translating these raw feeds into a format that allows human operators to perform complex reasoning—such as identifying objects occluded by buildings—remains a significant challenge. Existing Vision-LLM systems typically operate in a unidirectional manner, lacking the iterative feedback loops necessary for nuanced spatial tasks. Furthermore, stitching these camera feeds into a coherent panorama is hindered by the lack of global overlap between cameras, leading to severe geometric distortions in traditional stitching algorithms.

The ChatStitch Multi-Agent Framework

To overcome the limitations of single-model architectures, ChatStitch utilizes a collaborative multi-agent framework. This approach decomposes complex human requests into manageable sub-tasks handled by specialized agents.

System architecture of ChatStitch showing the collaborative LLM-agent workflow.

The framework is orchestrated by a Task Management Agent, which parses natural language commands (e.g., "Show me the car behind that building") and delegates responsibilities to:

  • Background Stitching Agent: Responsible for generating the wide-angle panorama.
  • Relative Pose Measurement Agent: Calculates spatial relationships between the vehicle and environmental objects.
  • 3D Asset Management & Foreground Rendering Agents: Integrate 3D models into the visual output to represent occluded entities.

This modularity allows for robust spatial reasoning and supports a closed-loop interaction where users can refine the system's output through ongoing dialogue.

SV-UDIS: Surround-View Unsupervised Deep Image Stitching

The technical foundation of the Background Stitching Agent is the SV-UDIS algorithm. Traditional stitching methods often fail when processing more than two images without a common reference frame, as warping errors accumulate and cause extreme stretching at the edges.

Visual representation of the multi-image stitching process and alignment constraints.

SV-UDIS introduces several key innovations to mitigate these issues:

  1. Masked Cylindrical Projection: Images are initially projected onto a cylindrical surface, which helps maintain visual consistency across the wide horizontal field of view.
  2. Motion Propagation: The algorithm aligns images sequentially, propagating mesh motion from peripheral cameras toward a central reference.
  3. Rectangular Warping Constraints: A novel loss function is employed to penalize shape distortion and grid folding. By forcing the warped images to remain as rectangular as possible, the system prevents the "fisheye" stretching common in large-scale panoramas.

Experimental Evaluation

The performance of ChatStitch and the SV-UDIS algorithm was evaluated using the UDIS-D and MCOV-SLAM datasets, alongside a custom real-world dataset collected via an Insta360 camera.

Quantitative Results

SV-UDIS demonstrated state-of-the-art (SoTA) performance in multi-image stitching. On the UDIS-D dataset, the method achieved significant improvements over the previous benchmark (UDIS2):

  • 3-Image Stitching: PSNR improved by 9%, SSIM by 8%.
  • 4-Image Stitching: PSNR improved by 17%, SSIM by 18%.
  • 5-Image Stitching: PSNR improved by 21%, SSIM by 26%.

Qualitative Performance

Qualitative analysis on the MCOV-SLAM dataset revealed that while prior methods produced unusable, heavily distorted results when stitching four or more images, SV-UDIS consistently generated clean, photorealistic panoramas. Furthermore, the ChatStitch framework successfully interpreted abstract commands, correctly adjusting the perspective of 3D assets to match the stitched environment—a task where baseline systems like Visual Programming (VisProg) failed.

Conclusion and Future Work

ChatStitch represents a significant step toward interactive, human-centric environmental perception in autonomous driving. By combining the high-level reasoning of collaborative LLM agents with the low-level geometric precision of SV-UDIS, the system enables complex "see-through" visualizations. While the current implementation relies on some external spatial data (GPS/IMU), future iterations aim to integrate native depth estimation and object detection directly into the agent framework to create a fully autonomous visualization pipeline.

Summary updated

BibTeX
@article{liang2026chatstitch,
  author = {Hao Liang and Zhipeng Dong and Yi Yang and Mengyin Fu},
  title = {{ChatStitch: Visualizing Through Structures via Surround-View Unsupervised Deep Image Stitching with Collaborative LLM-Agents}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2026},
  doi = {10.1109/tcsvt.2025.3622736},
}
Figure