arXiv:2503.07098cs.CV2025-03ICCV被引 34

将SAM2拓展至全景分割,解决视角差异与语义缺失问题。

OmniSAM: Omnidirectional Segment Anything Model for UDA in Panoramic Semantic Segmentation

  • 分块处理全景图,用视频分割思路建模跨区域关联
  • 在SPin8-to-SPan8上达79.06%(+10.22%),显著超越现有方法
  • 适合需要高精度全景语义理解的自动驾驶与全景应用

全景图像(180°×360°)与针孔相机(70°×70°)存在显著视场角差距,导致传统基于针孔成像的Segment Anything Model 2(SAM2)在全景分割中面临畸变和物体形变、缺乏像素级语义理解两大挑战。为此,我们提出OmniSAM框架,首次将SAM2应用于全景语义分割。首先,将全景图划分为图像块序列,类比视频分割任务,利用SAM2的记忆机制提取跨块对应关系,增强特征连续性与掩码边界一致性;其次,微调预训练图像编码器,复用掩码解码器进行语义预测,并引入基于视场角的原型自适应模块与动态伪标签更新机制,促进记忆与主干特征对齐,提升模型跨源模型尺寸的泛化能力。大量实验表明,OmniSAM在SPin8-to-SPan8上达到79.06%(+10.22%),在CS13-to-DP13上达62.46%(+6.58%),大幅领先当前最优方法。

原文摘要 · Abstract (English)

Segment Anything Model 2 (SAM2) has emerged as a strong base model in various pinhole imaging segmentation tasks. However, when applying it to $360^\circ$ domain, the significant field-of-view (FoV) gap between pinhole ($70^\circ \times 70^\circ$) and panoramic images ($180^\circ \times 360^\circ$) poses unique challenges. Two major concerns for this application includes 1) inevitable distortion and object deformation brought by the large FoV disparity between domains; 2) the lack of pixel-level semantic understanding that the original SAM2 cannot provide. To address these issues, we propose a novel OmniSAM framework, which makes the first attempt to apply SAM2 for panoramic semantic segmentation. Specifically, to bridge the first gap, OmniSAM first divides the panorama into sequences of patches. These patches are then treated as image sequences in similar manners as in video segmentation tasks. We then leverage the SAM2's memory mechanism to extract cross-patch correspondences that embeds the cross-FoV dependencies, improving feature continuity and the prediction consistency along mask boundaries. For the second gap, OmniSAM fine-tunes the pretrained image encoder and reutilize the mask decoder for semantic prediction. An FoV-based prototypical adaptation module with dynamic pseudo label update mechanism is also introduced to facilitate the alignment of memory and backbone features, thereby improving model generalization ability across different sizes of source models. Extensive experimental results demonstrate that OmniSAM outperforms the state-of-the-art methods by large margins, e.g., 79.06% (+10.22%) on SPin8-to-SPan8, 62.46% (+6.58%) on CS13-to-DP13.

全景分割SAM2语义理解跨域对齐

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。