Journal of Shanghai University(Natural Science Edition) ›› 2018, Vol. 24 ›› Issue (5): 686-693.doi: 10.12066/j.issn.1007-2861.2083

• Digital Film and Television Technology • Previous Articles     Next Articles

Scratch repair algorithm based on 5${\times}$5 neighborhood pixels correlation

XU Min1,2, DING Youdong1,2(), YU Bing1,2, LI Chang1,2, WU Biao1,2, ZHANG Wanying1,2   

  1. 1. Shanghai Film Academy, Shanghai University, Shanghai 200072, China
    2. Shanghai Special Effects Engineering Research Center, Shanghai University, Shanghai 200072, China
  • Received:2018-09-03 Online:2018-10-30 Published:2018-10-26
  • Contact: DING Youdong E-mail:ydding@shu.edu.cn

Abstract:

In view of the existence of gradient effect and low accuracy of traditional scratch repair algorithm, this paper proposes a new scratch repair algorithm based on 5$\times$5 neighborhood pixels correlation, using the correlation between the repaired area and the surrounding 24 adjacent pixels, and determining the filling order by defining the priority of the repaired pixels. Each time a pixel is repaired and the area to be repaired is updated in time as well. This operation is repeated until the number of the pixels in the region to be repaired comes to 0. The experimental results show that compared with other traditional algorithms, the algorithm is more suitable for repairing old film and television materials, which not only shortens the running time, but also obtains higher peak signal to noise ratio (PSNR) and structural similarity index (SSIM) values.

Key words: 24 neighborhoods, priority criteria, scratch repair, old film

CLC Number: