Foreground Detection Using GMM on Depth Images

2 visualizaciones (últimos 30 días)
Hg
Hg el 28 de Feb. de 2016
Respondida: Dima Lisin el 28 de Feb. de 2016
I used vision.ForegroundDetector() to detect foreground on RGB video frames. The input of step() is from the vision.VideoFileReader() which reads .avi video frame. If I want to detect foreground on depth images, how can I provide an input of 20 depth images (.png) instead of an .avi file?

Respuestas (1)

Dima Lisin
Dima Lisin el 28 de Feb. de 2016
The step method of vision.ForegroundDetector takes an image, which can come from anywhere. So you can just read your depth maps from the png files with imread and feed them into the foreground detector.

Categorías

Más información sobre Computer Vision with Simulink en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by