Abstract
In the last decade, the demand for accurate indoor scene modeling has surged across applications like emergency response, maintenance, and autonomous navigation. Distinguishing structural elements (walls, floors, ceilings) from movable objects (chairs, tables) is a critical task typically addressed via semantic labeling. While Convolutional Neural Networks (CNNs) are the state-of-the-art for this task, effectively integrating depth information remains an active area of research. This study explores an encoder-decoder CNN architecture that fuses depth maps with RGB images by manipulating the HSV color space. Specifically, we propose replacing the 'Value' (brightness) channel with depth (HSD) and optionally transforming this back to RGB ($R_dG_dB_d$). Our results on the Stanford 2D-3D-S dataset demonstrate that these fusion techniques improve global accuracy and boundary precision, particularly for structural components, achieving up to 92.1% global accuracy.
Introduction
Semantic labeling involves assigning a class label to every pixel in an image. In indoor environments, this is challenging due to complex lighting, occlusions, and the visual similarity between different functional elements (e.g., a door vs. a wall section). While RGB data provides rich texture information, it lacks geometric context. Depth sensors provide this missing dimension, but incorporating a fourth "D" channel into standard 3-channel CNN architectures often increases computational overhead and complicates the use of pre-trained weights. This paper investigates a method to embed depth into a 3-channel format to leverage existing network architectures efficiently.
Methodology
The core of our approach is the use of an encoder-decoder CNN, specifically SegNet, which is optimized for pixel-level labeling. To incorporate depth without increasing the input dimensionality, we developed two fusion strategies:
- Fusion F1 (HSD): The RGB image is converted to the HSV (Hue, Saturation, Value) color space. The 'Value' channel, which represents brightness and is often susceptible to lighting noise, is replaced with a normalized depth map (D).
- Fusion F2 ($R_dG_dB_d$): The HSD image is transformed back into the RGB color space. This embeds depth information across all three color channels, creating an input that maintains the statistical distribution of natural images, making it highly compatible with networks pre-trained on datasets like ImageNet.
The network architecture consists of a series of convolutional layers for feature extraction (encoder) followed by upsampling and convolutional layers to restore the original image resolution for pixel-wise classification (decoder). To handle missing data, depth maps were pre-processed using inpainting techniques.
Experimental Results
We evaluated our methods using the Stanford 2D-3D-Semantics Dataset (2D-3D-S), which includes 13 classes. To handle the inherent class imbalance (where walls and floors dominate the pixel count), we applied median frequency balancing during training.
| Input Type | Global Accuracy | Mean IoU |
|---|---|---|
| RGB (Baseline) | 90.9% | 81.2% |
| HSD (Fusion F1) | 91.4% | 82.0% |
| $R_dG_dB_d$ (Fusion F2) | 92.1% | 83.2% |
| RGBD (4-channel) | 93.6% | 86.3% |
Our investigation shows that fusing RGB and depth significantly improves semantic labeling. While the 4-channel RGBD approach achieved the highest accuracy, the $R_dG_dB_d$ method provided a substantial improvement over the RGB baseline without increasing the number of network parameters. Notably, the Intersection over Union (IoU) scores improved, indicating that depth information is particularly effective at refining object boundaries and structural elements.
Conclusion
This research demonstrates that color-space fusion is an effective way to integrate depth into semantic labeling tasks. By replacing the brightness channel with depth, we provide the network with a more stable geometric signal. The $R_dG_dB_d$ approach, in particular, leverages the benefits of depth while remaining compatible with standard 3-channel CNN architectures. Future work will explore dual-branch architectures to further close the performance gap with 4-channel inputs while maintaining training efficiency.
Summary updated