Unsupervised RGBD Video Object Segmentation Using GANs

Maryam Sultana, Arif Mahmood, Sajid Javed, Soon Ki JungarXiv 2018

Abstract

This paper introduces ForeGAN_RGBD, an unsupervised deep learning approach for video object segmentation that leverages both color (RGB) and depth data. By training independent Generative Adversarial Networks (GANs) to learn scene backgrounds and using an inverse mapping technique during inference to generate clean background plates, the method effectively isolates moving objects. It significantly outperforms existing methods in challenging real-world scenarios like color camouflage, dynamic illumination, and persistent shadows.

1. Introduction

Foreground object detection, typically achieved via background subtraction, is a critical precursor for various computer vision tasks, including surveillance, tracking, and inpainting. However, traditional algorithms like Gaussian Mixture Models (GMM) and even modern deep learning techniques often struggle in complex environments. Specifically, challenges such as sudden illumination changes, color/depth camouflage, cast shadows, and "bootstrapping" (where objects are present in nearly every frame) hinder the creation of a reliable background model.

2. Proposed Method: ForeGAN_RGBD

The authors propose a dual-stream GAN architecture based on Deep Convolutional GANs (DCGAN). Unlike traditional methods that attempt to predict a segmentation mask directly, ForeGAN_RGBD is designed to "hallucinate" the background.

Overview of the ForeGAN_RGBD training and testing phases.

2.1 Unsupervised Training (Phase 1)

Two independent GANs—ForeGAN_RGB and ForeGAN_D—are trained on RGB and Depth frames, respectively. The models learn the general distribution and semantic structure of the background scene without requiring manual labels.

2.2 Inference via Inverse Mapping (Phase 2)

During testing, the system receives a frame containing a moving object. The process involves:

  1. Motion Masking: Optical flow creates a rough mask to "erase" the moving object.
  2. Latent Space Optimization: The system performs 2,000 back-propagation steps to find a latent noise vector ($z$) that forces the Generator to output a background matching the visible parts of the test frame. This is guided by a pixel-wise loss and a "Feature Matching Loss" using the Discriminator's intermediate layers.
  3. Subtraction and Fusion: The generated "clean" background is subtracted from the original frame. The resulting RGB and Depth masks are then fused to produce the final output.

3. Experimental Results

The model was evaluated on the SBM-RGBD dataset, which features 27 sequences categorized by challenges like illumination changes and camouflage.

3.1 Quantitative Performance

ForeGAN_RGBD achieved an average F-measure of 0.8966, significantly outperforming state-of-the-art methods such as SRPCA (0.7698) and BS-GFL. Notably, in the "Illumination Changes" category, the method scored 0.8158, nearly doubling the performance of the next best competitor (0.4861).

3.2 Qualitative Analysis

The decoupling of modalities provides a failsafe mechanism. For instance, if an object matches the background color (camouflage), the Depth model can still detect the physical protrusion. Conversely, the RGB model handles areas where depth data might be noisy.

Qualitative results across different challenging scenarios, including camouflage and illumination changes.

4. Discussion and Limitations

The synergy of fusion is a key insight: while RGB or Depth alone yields F-measures around 0.45–0.51, their combination reaches ~0.89. This suggests that errors in the two modalities are highly orthogonal.

However, the method has limitations. It struggles slightly in "Out of Range" scenarios where objects are too far from the depth sensor. Furthermore, the requirement for 2,000 back-propagation steps per frame during inference presents a significant computational bottleneck, limiting real-time applicability. Future work may involve training an encoder to predict the latent vector $z$ in a single pass to optimize speed.

5. Conclusion

ForeGAN_RGBD demonstrates that generative inpainting of backgrounds is a robust alternative to static background subtraction. By learning the semantics of a scene, the model can accurately reconstruct occluded regions, providing a powerful tool for unsupervised object segmentation in complex environments.

Summary updated

BibTeX
@misc{sultana2018unsupervised,
  author = {Maryam Sultana and Arif Mahmood and Sajid Javed and Soon Ki Jung},
  title = {{Unsupervised RGBD Video Object Segmentation Using GANs}},
  year = {2018},
  eprint = {1811.01526},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.01526},
}
Figure