This is a problem when I'm reading a paper.
Equation:
$min\{\sum_p(S_p-I_p)^2+\beta((\partial_xS_p-h_p)^2+(\partial_yS_p-v_p)^2) \} $
where $S,I,h,v$ are all $M*N$ matrices and p stands for every element in the Matrix. $I,h,v$ are known.
The paper just mentioned "we diagonalize derivative operators after Fast Fourier Transform for speedup" and get the solution
$S=\mathscr{F}^{-1}\left(\frac{\mathscr{F}(I)+\beta(\mathscr{F}(\partial_x)^*\mathscr{F}(h)+\mathscr{F}(\partial_y)^*\mathscr{F}(v))}{\mathscr{F}(1)+\beta(\mathscr{F}(\partial_x)^*\mathscr{F}(\partial_x)+\mathscr{F}(\partial_y)^*\mathscr{F}(\partial_y)}\right)$
where $\mathscr{F}(1)$ stands for FFT of delta function. Plus, multiplication and division are all component-wise. "*" means conjugation.
I've looked up some books but still can't get how this happen. I don't find any connection between DFT and minimization or quadratic function.
Here's the paper, equation is on page 4.