Tomasi, C., and R. Manduchi, 1998, Bilateral filtering
for gray and color images: Proceedings of the 1998
IEEE International Conference on Computer Vision,
IEEE, 836-846
Parameters
float ax=
Gaussian weight for the range distance
float bx=
exponential weight for the domain distance (different if gaussian)