- Random variable – the value of a random experiment.
- Random field – a spatial function that assigns a random variable to each position
- Distribution function of a random variable (aka Cumulative distribution function, CDF)
– Consider Pf(z)=P{f<z} The equation tells us how likely for the random variable f to be less than z. Pf(z) is the distribution function of f. P is the probability. - Probability of an event happening has the properties:
- It is a non-negative number
- The probability of all the events (all possible outcomes) must equal one
- The probability of a random variable taking a specific real value is zero. Loosely, this is because a real values need an infinite precision to describe them. We can however specify the probability over an infinity small range. Combining those ranges over all possible values give the probability density function.
- The probability density function is the differential of the CDF
pf(z)=dPf(z)dz - The expected or mean value is μf=E{f}=∫∞−∞zpf(z)dz
- The variance is σ2f=E{(f−μf)2}=∫∞−∞(z−μf)2pf(z)dz
- If we have many random variables we can define a joint distribution function
Pf1,f2,f3,…,fn(z1,z2,z3…zn)=P{f1<z1,f2<z2,f3<z3,…,fn<zn} - and the joint probability density function
pf1,f2,f3,…,fn(z1,z2,z3…zn)=Pf1,f2,f3,…,fn(z1,z2,z3…zn)dz1dz2dz3…dzn - If random variables are independent then
Pf1,f2,f3,…,fn(z1,z2,z3…zn)=Pf1(z1)Pf2(z2)Pf3(z3)…Pfn(zn) - If they are uncorrelated then
E{fifj}=E{fi}E{fj},∀i,j,i≠j - and orthogonal if
E{fifj}=0 - The covariance is cij=E{(fi−μfi)(fj−μfj)} which equals zero if they are uncorrelated.
Since we are interested in images (in this blog) we shall introduce random fields from this point of view. If we have a random variable at every point r in a 2D space we have a random field. The random field can be written f(r,ωi) where ωi is the outcome. For a fixed ωi the random field gives a grey level image as we scan over all r. Scanning over all possible ωi gives a series of images.