I've been watching these video lectures about variational methods in computer vision.
In one of such video lectures a it is explained for example that the Gaussian filtering is a solution of the diffuse equation (so Gaussian filtering is a specific class of diffuse filtering). I do wonder if the same applies to the bilateral filter, because if so it can means that all such filters can be derived by some functional to be minimized. This is because the diffusion equation is a solution of a variational problem like
$$ E(u) = \int_{\Omega} \left[(u-f)^2 + \lambda\lVert \nabla u\rVert^2 \right]d\Omega $$
Again, is the bileteral filter a similar case?