PanoSAMic: Panoramic Image Segmentation from SAM Feature Encoding and Dual View Fusion
Mahdi Chamseddine, Didier Stricker, Jason Rambach
TL;DR
PanoSAMic addresses the challenge of panoramic semantic segmentation by reusing a frozen SAM encoder, expanding it with multi-stage feature outputs, a spatio-modal fusion module, and a dual-view panoramic decoder that uses spherical attention to mitigate edge distortions. The method introduces Moving CBAM for region-aware multi-modal fusion, horizontal positional encoding, and instance-guided semantic refinement to improve boundary accuracy and label consistency across RGB, depth, and normals inputs. It achieves state-of-the-art results on Stanford2D3DS and Matterport3D across RGB, RGB-D, and RGB-D-N modalities, while maintaining efficiency due to a frozen backbone and lightweight fusion/decoder blocks. The work demonstrates that SAM can be effectively repurposed for panoramic segmentation, enabling robust open- and closed-set performance with strong generalization and practical applicability in robotics and immersive vision tasks.
Abstract
Existing image foundation models are not optimized for spherical images having been trained primarily on perspective images. PanoSAMic integrates the pre-trained Segment Anything (SAM) encoder to make use of its extensive training and integrate it into a semantic segmentation model for panoramic images using multiple modalities. We modify the SAM encoder to output multi-stage features and introduce a novel spatio-modal fusion module that allows the model to select the relevant modalities and best features from each modality for different areas of the input. Furthermore, our semantic decoder uses spherical attention and dual view fusion to overcome the distortions and edge discontinuity often associated with panoramic images. PanoSAMic achieves state-of-the-art (SotA) results on Stanford2D3DS for RGB, RGB-D, and RGB-D-N modalities and on Matterport3D for RGB and RGB-D modalities. https://github.com/dfki-av/PanoSAMic
