Bilateral filter: add filter mask for sigma_d=2.