Moving object detection for visual odometry in a dynamic environment based on occlusion accumulation

Haram Kim, Pyojin Kim

Abstract

This paper introduces a novel "occlusion accumulation" method for detecting moving objects in RGB-D video streams to improve the accuracy of Visual Odometry (VO). By tracking depth changes over time rather than building a complex background model, the system can effectively filter out dynamic obstacles—even when they occupy most of the camera's field of view—allowing robots to maintain a stable estimate of their own position.

Introduction

Visual Odometry (VO) is the process of estimating a robot's position and orientation by analyzing camera images. Most VO algorithms rely on a "static world" assumption: they assume the majority of the environment isn't moving.

In dynamic environments, moving objects act as "outliers" that can confuse the tracker. While robust estimators can handle small moving elements, they often fail when a moving object dominates the scene—for example, when a large vehicle drives directly in front of the camera. In these cases, the VO might mistakenly track the moving object instead of the stationary background, leading to significant positioning errors. Existing solutions like background subtraction are often too computationally heavy for real-time robotics or require a stationary camera to function effectively.

Methods

The authors propose a pipeline that separates moving object detection from pose estimation, using occlusion accumulation as the core engine.

  1. Occlusion Accumulation: Instead of modeling the background, the algorithm looks at depth changes. If a pixel’s depth value decreases after warping the previous frame to the current one (using the estimated camera pose), it indicates an occlusion—likely a moving object moving in front of the background. These values are accumulated over time into a single map.
  2. Depth Compensation: RGB-D sensors often have "holes" or invalid depth values at object edges. The authors use previous frames to fill these gaps, preventing artifacts in the moving object mask.
  3. Occlusion Prediction: When the camera moves, it reveals "new" areas of the scene. The authors use a Fast Marching Method to interpolate and predict occlusion values in these newly discovered regions.
  4. Robust Pose Estimation: Once moving objects are identified, they are masked out. The system then uses Dense Visual Odometry (DVO) with a bi-square regression weight to calculate the camera's motion using only confirmed background pixels. This weighting scheme is chosen because it completely ignores outliers beyond a certain threshold.
The occlusion accumulation pipeline showing (a) the original image, (b) the resulting mask, (c) depth change ΔZ(u), and (d) the accumulated map A(u).

Datasets and Evaluation

The researchers evaluated their method on three main sources:

  • TUM RGB-D Dataset: A standard benchmark for evaluating VO trajectory accuracy.
  • ICSL Dataset: Used specifically for testing rigid motion segmentation.
  • LARR-RGB-D Dataset: A new dataset contributed by the authors, captured with a Kinect V1 and a VICON motion capture system. It includes challenging scenarios like "static destruct" (where a large object is removed) and "dynamic toss" (multiple fast-moving objects).

Key Results and Insights

  • Segmentation Accuracy: The proposed method achieved F1-scores often exceeding 0.85 to 0.90 across various dynamic sequences, outperforming several state-of-the-art methods.
  • Pose Estimation: In highly dynamic sequences where standard robust DVO failed, the proposed method significantly reduced translational error. For example, in the "dynamic man2" sequence, RMSE dropped from 0.646m down to 0.166m.
  • Handling Dominant Objects: By using the camera pose from the previous frame to predict the current mask, the system can "pre-filter" large moving objects before they hijack the VO optimizer.
Demonstration of the masking process on a large moving object (a patterned mat) held by a person.

Conclusion

The occlusion accumulation method demonstrates that background modeling is optional for finding moving objects; tracking the history of depth occlusions is sufficient. This approach is memory-efficient, as it continuously updates a single map, making it suitable for long-duration robot missions. Future work will focus on integrating this detection method into full SLAM frameworks and obstacle avoidance systems for autonomous navigation.

Summary updated

BibTeX
@inproceedings{kim2020moving,
  author = {Haram Kim and Pyojin Kim and H. Jin Kim},
  title = {{Moving object detection for visual odometry in a dynamic environment based on occlusion accumulation}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2020},
  doi = {10.1109/icra40945.2020.9196767},
}
Figure