Intensity based background subtraction for effective object detection
Show older comments
How can I consider n frames for comparison to find the stationary objects?
Answers (2)
Dima Lisin
on 21 Feb 2016
0 votes
Try using vision.ForegroundDetector object in the Computer Vision System Toolbox.
Image Analyst
on 21 Feb 2016
0 votes
My attached demo does exactly this. It computes a "background" image as the sum of previous frames in a video. Then it subtracts that from the current frame.
Categories
Find more on Computer Vision Toolbox 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!