I'm having hard time understanding how the moments fall into place into Chebyshev's inequality.
I'm reading about the technique in the following article.
In the article the following is written:
Using the variance, we can apply Chebyshev's inequality to compute an upper bound on the probability that the currently shaded surface (at depth t) is occluded:
So according to this quote, in Chebysehv's inequality equation above t
is the current fragment depth we're sampling and x
is the value in shadow map for the fragment which is the first moment M1=E(x)
for a given blur kernel area, and we're getting an upper-bound on the probability that x>=t
which translates to what is the probability that the current fragment depth is less than the mean value depth in the blur kernel area.
Now, the difficulty in my understanding is how what I just wrote:
the probability that the current fragment depth is less than the mean value in the blur kernel area
is effectively the same as:
the probability that the currently shaded surface (at depth t) is occluded
Also what is the denominator σ^2 + (t - μ)^2
here?
In Chebyshev's inequality as far as I understood the denominator should be equal to c^2
which here equals to t^2
.
There're some things I obviously don't understand and would glad if someone could clarify this for me.