19
A physically motivated pixel-based model for background subtraction in 3D images M. Braham , A. Lejeune and M. Van Droogenbroeck INTELSIG, Montefiore Institute, University of Liège, Belgium IC3D - December 10, 2014

A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

A physically motivated pixel-based modelfor background subtraction in 3D images

M. Braham, A. Lejeune and M. Van Droogenbroeck

INTELSIG, Montefiore Institute, University of Liège, Belgium

IC3D - December 10, 2014

Page 2: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

Outline

1 IntroductionTopic of this workBackground subtraction: principle

2 Background subtraction in range imagesAdvantages, opportunities and challengesRelated work

3 Proposed techniqueTowards a hybrid background modelConsidering holes in one modelDepth-based background modelPost-processing

4 Experimental resultsBenchmarking: dataset and algorithmsQualitative resultsComparison of methods in the ROC space

5 Conclusion

Page 3: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Topic of this workBackground subtraction: principle

Topic of this work: real-time motion detection in asequence of range images

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 3/19

Kinect camera Range images

Motion detectionalgorithm

Segmentation masks

Page 4: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Topic of this workBackground subtraction: principle

Motion detection through background subtraction

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 4/19

Threshold

Current frame Background model Output binary mask

Main questions

How to model the background ?

How to initialize and update the background model ?

How to classify pixels?

Page 5: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Advantages, opportunities and challengesRelated work

Background subtraction in range imagesAdvantages, opportunities and challenges

Advantages of range images (when compared to color images)

Insensitive to lighting changes (in a first approximation)

Insensitive to the true colors of objects

Opportunity

The physical meaning of the depth signal can be leveraged toimprove the foreground segmentation.

ChallengesHoles

Non-uniform spatial distribution of noise

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 5/19

Page 6: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Advantages, opportunities and challengesRelated work

Background subtraction in range imagesRelated work

Most of the work for motion detection is dedicated to colorimaging.

RGB-D background subtraction techniques focus on thecombination of depth and color, not on the depth signal.

Researchers apply almost exclusively basic methods (staticbackground, exponential filter, ...) or well-knowncolor-based methods (GMM, ViBe, ...) to range images.

To the best of our knowledge, only one motion detectionalgorithm is tailored for depth imaging:del-Blanco et al., "Foreground segmentation in depth imagery using depth and spatial

dynamic models for video surveillance applications", January 2014.

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 6/19

Page 7: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Towards a hybrid background modelConsidering holes in one modelDepth-based background modelPost-processing

Characteristics of our background model

Our background model is:

Pixel-basedPhysically motivatedHybrid:

Model of constant holesDepth-based background model

DefinitionA constant hole is a pixel for which the Kinect camera is unableto measure depth when the background is not occluded by aforeground object.

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 7/19

Page 8: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Towards a hybrid background modelConsidering holes in one modelDepth-based background modelPost-processing

Relevance of a hybrid background model

1Taken from an existing database: Spinello et al., "People detection in RGB-D data", 20112Wren et al., "Pfinder: Real-time tracking of the human body", 1997

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 8/19

Color image1 Depth map Model of Pfinder2

Depth-based model Constant holes Hybrid model

Page 9: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Towards a hybrid background modelConsidering holes in one modelDepth-based background modelPost-processing

Analysis of the dynamics of holes

Use of N counters Ci (N = number of pixels) and two globalheuristic parameters NH and TW with NH � TW .

DefinitionCi = k indicates that the last depth value in pixel i was observedat frame t− k .

Identification of a constant holeCi ≥ NH ⇒ pixel i is labeled as a constant hole.

Reset of a constant holeCi < NH during at least TW frames⇔ pixel i switches from thestate constant hole to the state standard pixel.

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 9/19

Page 10: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Towards a hybrid background modelConsidering holes in one modelDepth-based background modelPost-processing

Unimodal Gaussian depth-based model

Parametric model

Only two parameters memorized for each pixel: µt and σt .

Depth-based background model: gaussian pdf

µt updated with a physical interpretation of the depth signal.

σt updated according to a law defined by the sensor noise.

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 10/19

Depth

µt

σt

Page 11: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Towards a hybrid background modelConsidering holes in one modelDepth-based background modelPost-processing

Physical interpretation of the depth signal

Background is always located behind foreground !

Physically motivated updating strategy of the mean µt .

µt ≈MAX (Dk) for k ∈ [0, t], where Dk denotes the measureddepth at time k .

Ghosts challenge solved !

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 11/19

Page 12: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Towards a hybrid background modelConsidering holes in one modelDepth-based background modelPost-processing

Depth-dependent BG/FG decision threshold

The noise of the Kinect depth sensor is depth-dependent. The spatial distribution of noise inrange images is thus non-uniform.

We use Khoshelham’s relationship to update the standard deviation: σt = Kkinect µ2t

Our BG/FG decision threshold τt is thus depth-dependent: τt = K σt = KKkinect µ2t

Consequence: reliable segmentation for all depth values

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 12/19

Page 13: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Towards a hybrid background modelConsidering holes in one modelDepth-based background modelPost-processing

Kinematic constraint on foreground objects

The updating equation µt ≈MAX (Dk ) for k ∈ [0, t] removes ghosts after one frame.→ How can we eliminate ghosts instantaneously?

Kinematic constraintThe maximum depth jump of the foreground between two consecutive frames is upper boundedby:

4Pmax =Vmax

Fr

where Vmax is the maximum speed of foreground objects and Fr the frame rate of the camera.

Improved BG/FG classification processµt +K σt +4Pmax < Dt ⇒ BG

µt +K σt < Dt ≤ µt +K σt +4Pmax ⇒ FG

→ Ghosts are generally removed instantaneously.

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 13/19

Page 14: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Towards a hybrid background modelConsidering holes in one modelDepth-based background modelPost-processing

Summary of the depth-based background model

DefinitionsLt and Ht are respectively defined by µt −K σt and µt +K σt .

Recursive filter on µt to enhance the estimation of the realbackground depthSleeping foreground is not absorbed in the backgroundSemi-conservative updating strategy

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 14/19

Page 15: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Towards a hybrid background modelConsidering holes in one modelDepth-based background modelPost-processing

Post-processing filters

1 Background model controller2 Morphological opening with a 3x3 cross as structuring

element.3 7x7 median filter

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 15/19

Page 16: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Benchmarking: dataset and algorithmsQualitative resultsComparison of methods in the ROC space

Benchmarking: dataset and algorithms

To evaluate the performances of the proposed technique, we have built a new dataset:

8 depth maps sequences acquired with a Kinect camera: 3 sequences taken from anexisting depth-based database + 5 sequences representing various challenges.

220 ground-truths have been labeled manually at the rate of one ground-truth image per25 frames for each sequence.

We compare our results with those of 4 algorithms:

2 very popular Gaussian mixtures: GMM-STAUFFER1 and GMM-ZIVKOVIC2

2 state-of-the-art algorithms for color videos: SOBS3 and PBAS4

1Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999

2Zivkovic et al., "Efficient adaptive density estimation per image pixel for the task of background subtraction", 2006

3Maddalena et al., "A self-organizing approach to background subtraction for visual surveillance applications", 2008

4Hofmann et al., "Background segmentation with feedback: The pixel-based adaptive segmenter", 2012

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 16/19

Page 17: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Benchmarking: dataset and algorithmsQualitative resultsComparison of methods in the ROC space

Qualitative results

1Taken from an existing database: Spinello et al., "People detection in RGB-D data", 2011Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 17/19

Range image1 Ground-Truth Our algorithm

PBAS SOBS GMM-STAUFFER GMM-ZIVKOVIC

Page 18: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Benchmarking: dataset and algorithmsQualitative resultsComparison of methods in the ROC space

Comparison of methods in the ROC space

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 18/19

Our methodPBASSOBSGMM-STAUFFERGMM-ZIVKOVIC

Page 19: A physically motivated pixel-based model for background ......Stauffer et al., "Adaptive background mixture models for real-time tracking", 1999 2 Zivkovic et al., "Efficient adaptive

IntroductionBackground subtraction in range images

Proposed techniqueExperimental results

Conclusion

Conclusion

Marc Braham, Antoine Lejeune and Marc Van Droogenbroeck Background subtraction in range images 19/19

Physicallymotivated

pixel-based model

Kinect camera

Range images

Impressive results

No ghosts

Robustness against camouflage

Reliable hybrid model