How to apply median filter to whole video??
显示 更早的评论
i want to detect foreground from video.i will first apply median filter than after i will subtract frame from reference frame..
回答(2 个)
Image Analyst
2015-10-23
0 个投票
You can do it one frame at a time. A demo is attached. Feel free to adapt it.
Dima Lisin
2015-10-23
0 个投票
If you have the Computer Vision System Toolbox, try vision.ForegroundDetector. It models the background using a mixture of Gaussians, which is better than subtracting the median.
类别
在 帮助中心 和 File Exchange 中查找有关 Motion Detection 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!