MatSpectNet: Material Segmentation Network with Domain-Aware and Physically-Constrained Hyperspectral Reconstruction

Yuwen Heng, Yihong Wu, Srinandan Dasmahapatra, Hansung Kim

Introduction

Material segmentation—identifying the physical composition of objects—presents a significantly greater challenge than standard semantic segmentation. While objects like a plastic chair and a wooden chair may share similar shapes, their material properties differ fundamentally. In standard 3-channel RGB images, distinct materials such as various plastics, stones, or fabrics often appear nearly identical due to variations in lighting and texture.

Hyperspectral imaging (HSI) provides a solution by capturing light across numerous narrow wavelength bands, creating a unique "spectral fingerprint" for each material. However, the high cost and operational complexity of HSI cameras limit their practical use. MatSpectNet addresses this by "hallucinating" hyperspectral data from standard RGB images, enabling robust material identification using common hardware.

Methodology

MatSpectNet employs a multi-stage framework designed to bridge the gap between RGB input and material-specific spectral signatures.

Physically-Constrained Spectral Recovery

Unlike "black box" neural networks that estimate hyperspectral data without physical grounding, MatSpectNet incorporates a learnable camera model ($R(h)$). This model accounts for RGB response functions, brightness factors, and camera noise. By enforcing a constraint where the reconstructed hyperspectral image must be mathematically transformable back into the original RGB image, the network ensures physical consistency in its spectral "hallucinations."

Overview of the MatSpectNet pipeline, illustrating the transition from RGB image to hyperspectral reconstruction and final material segmentation.

Domain-Aware Training and Spectral Processing

To overcome the lack of material labels in many hyperspectral datasets, the authors utilize domain adaptation. The model learns spectral reconstruction from the ARAD_1K dataset while simultaneously learning material classification from labeled RGB datasets like LMD and OpenSurfaces.

Furthermore, a "spectral attention" module identifies the most relevant wavelengths for specific materials. This is complemented by a multi-modal fusion stage that queries a reference database (spectraldb) for physical properties—such as roughness and specularity—associated with the reconstructed spectra. These auxiliary clues are fused with spectral features to produce the final segmentation.

Experimental Setup

The framework was evaluated using several key datasets:

  • ARAD_1K: Used for training the initial spectral recovery from paired RGB and hyperspectral images.
  • LMD (Local Material Database) & OpenSurfaces: Served as benchmarks for material segmentation training and evaluation.
  • spectraldb: Provided high-precision spectrophotometer measurements for auxiliary physical property data.

Results and Analysis

MatSpectNet achieves state-of-the-art (SOTA) performance across major benchmarks:

  • LMD Dataset: Reached 88.24% Pixel Accuracy and 83.82% Mean Class Accuracy, outperforming the previous SOTA (DBAT) by 1.60% and 3.42%, respectively.
  • OpenSurfaces: Achieved 87.13% Pixel Accuracy and 71.29% Mean Class Accuracy.
  • Efficiency: The model maintains a processing speed of approximately 26.8 FPS on an NVIDIA RTX 3090, demonstrating its suitability for near real-time applications.

Key insights from the study highlight that physics-based regularization produces more realistic spectral reconstructions. Additionally, the spectral attention mechanism confirms that specific light bands are highly discriminatory for material types, enhancing the model's interpretability and robustness under varying lighting conditions.

Conclusion

MatSpectNet successfully leverages hyperspectral reconstruction to improve material segmentation in RGB images. While the current model assumes uniform illumination—a limitation in complex indoor scenes—it sets a new benchmark for accuracy and efficiency. Future research will focus on more sophisticated lighting models and extending spectral reconstruction to tasks such as object detection and dehazing.

Summary updated

BibTeX
@inproceedings{heng2023matspectnet,
  author = {Yuwen Heng and Yihong Wu and Srinandan Dasmahapatra and Hansung Kim},
  title = {{MatSpectNet: Material Segmentation Network with Domain-Aware and Physically-Constrained Hyperspectral Reconstruction}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2023},
}
Figure