To learn and implement different Background-subtraction method's and understand the concept of Gaussian probability distribution function
To implement different background-subtraction method's and also to implement the resarch paper based on Adpative background-Mixture Modal for real time tracking
Background subtraction is a major preprocessing steps in many vision based applications. For example, consider the cases like visitor counter where a static camera takes the number of visitors entering or leaving the room, or a traffic camera extracting information about the vehicles etc.
During this project we perform different methods for subtracting background and foreground form the frame of video For this we have used python, opencv and numpy module( matrix operation)
This method is through the difference between two consecutive images to determine the presence of moving objects
In this method background is estimated by taking mean of the previous N frames. Once background is estimated, foreground is estimated by the difference of background and current frame.
It similar to mean filter method but instead of taking the mean we take the median of n frames
If a pixel in the current frame has a value larger than the corresponding background pixel, the background pixel is incremented by 1. Likewise, if the current pixel is less than the background pixel, the background is decremented by one. The background eventually converges to an actual background.
For every pixel, fit one Gaussian PDF distribution (µ,σ) on the most recent n frames (this gives the background PDF).To accommodate for change in background over time (e.g. due to illumination changes or non-static background objects), at every frame, every pixel's mean and variance must be updated.
Model each pixel as mixture of gaussians and using an on-line approximation to update the model.The Gaussian distribution of the adaptive mixture model are then evaluate to determine which are most likely to result from background process.Each pixel is classifeid based on whether the gaussian distribution which represents it most effectively is considered part of background model.
Background modeling and background subtraction algorithms are very commonly used in vehicle detection systems.