Skip to main content
. 2018 Jun 1;18(6):1774. doi: 10.3390/s18061774
Algorithm 2: The proposed spatiotemporal constraint algorithm.
Input: the blurry frame Bn (n≥2), the motion-compensated frame In, the blur kernel k and the parameters λS and λT. Initialize the deblurred frame L = Bn.
 While not converge do
  • (1)

    Save the previous iterate: Lp = L.

  • (2)

    With L fixed, solve the u-subproblem using (12) and (13).

  • (3)

    With u fixed, solve the L-subproblem using (15).

   If ‖L−LP‖2/‖LP‖2≤tol then
   Break
   End if
 End while
Output: the deblurred frame L.