Parent Topic: ALGORITHM
The implementation of this filter consists of defining a circularly symmetric filter with a set of weighting values M for each pixel:
M = exp(- A * T)
where:
A = DampFactor * Ci^2
Ci = S / Im
Im = mean value of intensity within window
S = standard deviation of intensity within window
T = the absolute value of the pixel distance
from the centre pixel to its neighbours in
the filter window
DampFactor = exponential damping factor
The resulting grey-level value R for the smoothed pixel is:
R = (P1*M1 + P2*M2 + ... + Pn*Mn) / (M1 + M2 + ... + Mn)
where:
P1 .. Pn are grey levels of each pixel in filter window
M1 .. Mn are weights (as defined above) for each pixel