Derivation of Least Square

April 21, 2022
Optimization

Least square problem solve the following equation:

$$ argmin_x |Ax-y|_2^2 $$

It can be solve in closed-form by the following equation:

$$ \hat{x} = (A^TA)^{-1}A^Ty $$

...

2D TV Denosing with ADMM -- Mathematics && Implementation

December 25, 2020
Optimization
ADMM

For 2D Total variation denosing, we have the following objective, where $x$ is the clean image we want to optimize, $y$ is the origin noisy image, and $D_r $and $D_c$ are doubly block circulant matrices for two 2D convolution.

In detail, both of $x$ and $y$ are vectorized into 1D vectors, and the total variation terms are expressed as two convolutions in Matrix-vector form.

$$ \operatorname{minimize} \enspace \frac{1}{2} \|x-y\|_{2}^{2} + \lambda\|D_r x\|_{1} + \lambda\|D_c x\|_{1} $$
...