In this post we will review a technique for solving the image denoising problem using the method proposed by Rudin, Osher and Fatemi also known as the ROF denoising model, more details on the model can be found here. In this case we asume that the image is corrupted by gaussian distributed noise, and if we assume the original image is a matrix of size in what follows we will treat this as a vector . Therefore the ROF primal formulation is as follows:
where is the corrupted image, is a linear operator (in this case the gradient), is a Tickonov Regularization term and is the Isotropic Total Variation seminorm defined as:
for a vector .
Several techniques have used to perform this optimization problem, the main challenge in facing this kind of optimization problems is the treatment of the non-differentiable Total Variation (TV) seminorm. Most of the available literature uses a smoothed version of this norm (Huber, Berkovier-Engelman regularizations) in order to obtain the optimality conditions and to characterize a gradient.
The approach that we will be taking is to formulate the Fechel ROF Dual problem, with the goal of having a formulation that doesn’t require any smoothing.
The Fenchel Dual Formulation
Let’s recall the definition of a convex conjugate: Given a function a general possibly non-convex function, we define the convex conjugate as:
ROF Fechel Dual Formulation
If we separate the ROF functional in two terms: and , we can find the dual formulation of a problem of the type:
Dual of the function
For this function we will apply the definition of the fenchel dual:
In order to find the supremum of such argument we find its critical point:
From this optimality condition we can define the optimal point characterized as:
This point can be used as the point where the function reaches a maximum, then we can describe the dual funtion as:
Dual of the function
Applying the convex conjugate definition, we can see that is the indicator function of the pointwise two-dimensional unit ball, given that :
Placing it all together
Now we will use the dual functions calculated previously to get a representation of the Dual ROF Model, from the Fechel-Rockafellar duality we know that: