minimum background ratio in foreground detection
2 次查看(过去 30 天)
显示 更早的评论
Hello Everybody,
I am new to Vision toolbox in MATLAB and struggling to find the usage of Minimum Background Ratio property in Foreground Detection object. Could anybody tell me about this property in simple words as in when to increase or decrease its value? Also, please anybody could share the difference between a mutltimodal background and unimodal background?
Thanks
0 个评论
回答(1 个)
Birju Patel
2016-1-19
Hi,
It'll be more helpful to answer your second question first. To start, see here for the definition of a multimodal distribution:
https://en.wikipedia.org/wiki/Multimodal_distribution
When applied to modeling background pixels, a multi-modal model can capture the different states a background pixel can take over time. For example, in an image with a lot of sky, they sky is usually thought of as the background. The pixels representing the sky will change from blue to black as you go from day to night. Blue and black are the two modes of the sky pixel values; both represent background modes.
A unimodal model only captures one mode, so in the sky example, only blue pixels would be considered background. When it gets dark, the unimodal model is not able to capture the fact that black pixels are also background.
For your first question, one situation to increase it's value is if your video has a lot of background motion. In this case a high value will ensure most of the background changes are captured by one of the modes of the background model. If it is set to a low value, then the background will be modeled by fewer modes, and any motion will be detected as foreground. This can lead to an increase in false positives.
This paper has more details about the algorithm:
'MinimumBackgroundRatio' corresponds to the "T" in equation 5 within the paper.
Hope that helps, Birju
另请参阅
类别
在 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!