how can i apply(vision.ForegroundDetector 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?
0 件のコメント
回答 (2 件)
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.
0 件のコメント
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.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Computer Vision with Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!