필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
i want to model a background at each input frame of video, i don't know how to do it,any idea please?

답변 (2개)

Image Analyst
Image Analyst 2015년 11월 29일
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 2015년 11월 30일
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.

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by