Bilateral Gaussian Low Pass Filter

Click BiGaussian.m link to view the file.