上海大学学报(自然科学版) ›› 2018, Vol. 24 ›› Issue (5): 686-693.doi: 10.12066/j.issn.1007-2861.2083

• 数字影视技术 • 上一篇    下一篇

基于5${\times}$5邻域像素点相关性的划痕修复算法

徐敏1,2, 丁友东1,2(), 于冰1,2, 李畅1,2, 吴彪1,2, 张婉莹1,2   

  1. 1. 上海大学 上海电影学院, 上海 200072
    2. 上海大学 上海电影特效工程技术研究中心, 上海 200072
  • 收稿日期:2018-09-03 出版日期:2018-10-30 发布日期:2018-10-26
  • 通讯作者: 丁友东 E-mail:ydding@shu.edu.cn
  • 基金资助:
    国家自然科学基金资助项目(61402278);上海市自然科学基金资助项目(14ZR1415800);上海市科委科技攻关资助项目(16511101302);上海市科委工程技术研究中心建设专项资助项目(16DZ2251300)

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

摘要:

针对传统划痕修复算法存在梯度效应以及精度不高等问题, 提出基于5$\times$5邻域像素点相关性的划痕修复算法. 利用待修复区域与周围24个邻近像素点的相关性, 通过定义待修复像素点的优先度来确定填充顺序. 每次修复一个像素点并及时更新待修复区域, 重复操作直至待修复区域像素点的个数为0. 实验结果证明, 该算法与传统算法相比, 更适用于旧的影视资料的修复, 既可缩短运行时间, 也获得了较高的峰值信噪比(peak signal to noise ratio, PSNR)值和结构相似性(structural similarity index, SSIM)值.

关键词: 24邻域, 优先度准则, 划痕修复, 旧电影

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

中图分类号: