Bilateral filter

This filter aims to reduce the Gaussian noise without blurring the image, the filter is inversely proportional to distance and proportional with the pixel intensity

$$ O(p) = \sum_{q\in S}H(p,q)I_{q} \space where $$

$$ H(p,q) = \frac{1}{W(p)}G_{\sigma_{S}}(d_S(p,q))G_{\sigma_r}(d_r(I_p,I_q)) $$

This filter takes into account the bi-dimensional distance and the difference in pixel intensity of the points in the $S$ neighborhood

As shown in the image this filter is good in the edges cause it does not introduce blur in the image cause it takes into account range distance

ToC