how can i apply(visi​on.Foregro​undDetecto​r to obtain a foreground model at each input frame of video?

5 visualizaciones (últimos 30 días)
i want to model a background at each input frame of video, i don't know how to do it,any idea please?

Respuestas (2)

Image Analyst
Image Analyst el 29 de Nov. de 2015
I believe Gaussian Mixture Models are usually/often used for background estimation in many videos. Sorry I don't have any demo code for you but look up examples in the Computer Vision System Toolbox.

Dima Lisin
Dima Lisin el 30 de Nov. de 2015
The step() method of vision.ForegroundDetector takes the video frame and returns the foreground mask, which is a binary image where foreground pixels have the value of 1, and background pixels have the value of 0. See the example on vision.ForegroundDetector doc page.

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