Skip to main content
. 2018 Jun 1;18(6):1774. doi: 10.3390/s18061774
Algorithm 1: Overview of the proposed video deblurring method.
Input: The blurry video.
Divide the video into M groups that have N frames in a group. Set the group ordinal of the video m = 1 and the frame ordinal of this group n = 2.
Repeat
Repeat
  • (1)

    Obtain the first deblurred frame L1 of this group by utilizing an image deblurring method.

  • (2)

    Perform motion estimation algorithm to get the motion vector between the blurry frames Bn−1 and Bn, and using it to derive the motion-compensated frame In from the previous deblurred frame Ln−1.

  • (3)

    Obtain the preprocessing motion-compensated frame IP by preprocessing In, and then estimate the blur kernel k with IP and Bn by the regularization method.

  • (4)

    Estimate the deblurred frame Ln by the spatiotemporal constraint algorithm with k and In.

  • (5)

    nn + 1.

Until n > N
mm + 1
Until m > M
Output: The deblurred video.