Skip to main content
. 2021 Jul 14;21(14):4820. doi: 10.3390/s21144820
Algorithm 1: Blur Kernel Estimation Algorithm
Input: Blurred image Y
generate the initial value of each variable
for i=1:5 do
εε0
 repeat
 solve for G using the gradient descent method, γ2γ,μ2μ.
repeat
solve for b using (26), solve for c using (27), ρ2ρ.
repeat
solve for X˜ using (21), δ2δ.
repeat
solve for a using (25),solve for X using (31), δ2δ.
until δ>δmax
ρ2ρ.
until ρ>ρmax
γ2γ,μ2μ.
untilγ>γmax and μ>μmax
ε4ε.
 until ε>εmax
 solve for k using (34).
μ0.9μ,γ0.9γ,δ0.9δ.
end for
Output: blur kernel k.