Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
579 views
in Technique[技术] by (71.8m points)

image processing - Median variance in background subtraction

I am facing some issues in implementation of the paper Statistical Background Subtraction for a Mobile Observer.

Question 1:

In Section 4.1, it talks about "... the median variance is computed over the entire image from the first components ..."

I am confused what the authors actually mean by this.

According to Stauffer & Grimson's paper Adaptive Background Mixture Models for Real-Time Tracking(1999), for every background model a variance gets initialized (say with value 36) and then it gets updated for each pixel. Should the median of the first model's variance across all the pixels for that frame should be taken?

                  OR

We compute the variance for each pixel based on its history of intensity values of those which belong to the first model and then take median of all these variances.

Question 2:

I am facing difficulty in understanding equation (12) in section 4.1

a) Is 'i' from 1 to H+1? If yes, how does the (H+1)th model fits in the equation?

i) Just after equation (13), P(A_1 | B_(H+1),M) is defined. Shouldn't rho_(H+1) = min(1, N_tot/N_max) instead of max which could make P(A_1 | B_(H+1),M) (-)ve?

ii) For the (H+1)th model should we have P(A_1 | B_(H+1),M) * P(B_(H+1) | N) to P(A_1 | Z,M) for equation (12)?

b) when H=1, does P(A1|Z,M) becomes 1?

My implementation is here.

Please check my trial in the MATLAB files which I have mentioned in my webpage.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Question 1, first option, "Should the median of first model's variance across all the pixels for that frame be taken?".

Yes, it assumes that the variance of the background pixel is lower than the foreground. So the median of all variances will give acceptable variance for the background.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...