1. Introduction
The bilateral filter (BF) proposed by Tomasi and Manduchi [1] has emerged as a powerful tool for image processing. Bilateral filtering smooths images while preserving edges, by taking the weighted average of the nearby pixels. The weights depend on both the spatial distance and photometric distance which provides local adaptivity to the given data. The bilateral filter and its variants are widely used in different applications such as denoising, edge preserving multi-scale decomposition, detail enhancement or reduction and segmentation etc. [2]–[6]. Bilateral filtering was initially developed as an intuitive tool without theoretical justification. Since then, connections between the BF and other well known filtering frameworks such as anisotropic diffusion, weighted least squares, Bayesian methods, kernel regression and non-local means have been explored [7]–[11].