Abstract
Glass segmentation is a critical yet challenging task for computer vision systems due to the inherent transparency and reflectivity of glass surfaces. Traditional RGB-based methods frequently fail as glass adopts the appearance of its background or reflections. This paper introduces a robust solution utilizing RGB-Thermal (RGB-T) image pairs. By exploiting the physical property that glass is opaque to thermal radiation (8–12$\mu m$), the proposed dual-encoder architecture with a Transformer-based Multi-modal Fusion Module (MFM) significantly outperforms state-of-the-art RGB-only methods.
Introduction
Glass is ubiquitous in modern environments, yet it remains a significant challenge for standard computer vision and active depth sensors like LiDAR. Because glass lacks a consistent visual texture and allows light to pass through or scatter unpredictably, autonomous systems often fail to detect windows, doors, or railings, leading to navigation hazards. To address this, we propose leveraging thermal imaging as a complementary modality to standard RGB data.
Methodology
The core of our approach lies in the physical difference between visible and thermal spectra. While visible light passes through glass, thermal radiation does not, making glass appear as a solid, opaque object to a thermal sensor.
Architecture
We employ a specialized encoder-decoder network designed to fuse these distinct modalities:
- Dual Encoders: Two ResNet-50 backbones independently extract features from RGB and thermal inputs.
- Multi-modal Fusion Module (MFM): Utilizing Transformers and self-attention, the MFM identifies non-local dependencies between the modalities, correlating transparent RGB regions with opaque thermal blocks.
- Attention-Gated Decoder: A spatial attention mechanism adaptively selects the most relevant features from both spectra to produce a refined binary segmentation mask.
The RGB-T Glass Dataset
To facilitate research in this area, we introduced the RGB-T Glass Dataset, comprising 5,551 aligned RGB-thermal image pairs. The dataset includes diverse indoor and outdoor scenes across 40 categories, providing a comprehensive benchmark for multi-modal glass segmentation.
Experimental Results
Our RGB-T fusion model demonstrates a substantial quantitative and qualitative leap over existing methods. On the glass segmentation task, the model achieved a Mean Absolute Error (MAE) of 0.027, compared to 0.056 for RGB-only models. Furthermore, it reached an Intersection over Union (IoU) of 93.80%, outperforming 24 other state-of-the-art methods in related fields.
Qualitatively, the model is highly robust in challenging scenarios, such as distinguishing between open doorways and closed glass doors—a task where RGB-only models frequently fail due to visual similarity. The paper also demonstrates that these glass masks can be used to correct monocular 3D reconstructions, accurately placing glass planes in 3D space.
Conclusion
By integrating thermal data, we transform the problem of glass segmentation from a search for "invisible" features into a robust detection task. This multi-modal approach not only improves segmentation accuracy but also enables safer navigation for autonomous agents in glass-heavy environments. Future work may explore active thermal sensing to further enhance performance in thermally uniform environments.
Summary updated