# minimum background ratio in foreground detection

조회 수: 2 (최근 30일)
nik sharma 2016년 1월 18일
댓글: nik sharma 2016년 1월 19일
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

댓글을 달려면 로그인하십시오.

### 답변 (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
##### 댓글 수: 1이전 댓글 -1개 표시이전 댓글 -1개 숨기기
nik sharma 2016년 1월 19일
Thanks a ton !!

댓글을 달려면 로그인하십시오.

### 카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by