How to apply median filter to whole video??
Show older comments
i want to detect foreground from video.i will first apply median filter than after i will subtract frame from reference frame..
Answers (2)
Image Analyst
on 23 Oct 2015
0 votes
You can do it one frame at a time. A demo is attached. Feel free to adapt it.
1 Comment
Rutvi Modi
on 23 Oct 2015
Dima Lisin
on 23 Oct 2015
0 votes
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.
Categories
Find more on Video Formats and Interfaces in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!