4
$\begingroup$

I've been watching these video lectures by Variational Methods for Computer Vision - Lecture 1 (Prof. Daniel Cremers) 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 bilateral filter a similar case?

$\endgroup$

1 Answer 1

3
$\begingroup$

Yes indeed.

You may have a look on work (Paper) by Michael Elad which is called On the Origin of the Bilateral Filter and Ways to Improve It or Analysis of the Bilateral Filter.

You may have a look on the way he derives the Bilateral Filter from a Least Squares problem with weighted regularization on the Gradient of the image in the form of:

$$ \arg \min_{x} \frac{1}{2} {\left\| x - y \right\|}_{2}^{2} + \frac{\lambda}{2} \sum_{n = 1}^{N} { \left( x - {D}^{n} x \right) }^{T} W \left( y, n \right) \left( x - {D}^{n} x \right) $$

Where $ {D}^{n} $ is Image Gradient Operator (Raising by $ n $ simply shifts it) and $ W $ is the weights matrix of the Regularized Least Squares.

$\endgroup$
2
  • $\begingroup$ Can you explain what all the parameters mean? ($W$ is a window function I assume, what about $D^n$?) $\endgroup$ Commented Jul 6, 2018 at 22:06
  • $\begingroup$ I updated the answer. Though you should read the articles to grasp the whole picture. $\endgroup$ Commented Jul 6, 2018 at 22:08

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.