Improvement in Video Inpainting in Presence of Moving Subjects

Document Type: Research Paper

Authors

1 Department of Computer Engineering, Ayandegan Institute of higher education, Tonekabon, Mazandaran, Iran

2 Department of Industrial Engineering, Ayandegan Institute of higher education, Tonekabon, Mazandaran, Iran

10.22105/riej.2020.215689.1116

Abstract

Inpainting or completion is used with the purpose of restoring damaged images and video frames. This paper proposes an applicable algorithm to inpaint corrupted subjects in video frames. To begin with, background and foreground (moving subject) are separated from each other in each frame, with the aim of getting to a more visually pleasant result. Static background inpainting is done using a patch-based method. To inpaint the corrupted moving subject, a subject-based method that is an improvement on the rigid object-based method is used in this study to consider the special issue of inpainting the human body. To fill in the holes created by occluding subjects the most appropriate template is found using a similarity measure which is based on both contour and pixel values. The inpainted video is acquired by superimposing the completed foreground on the inpainted background

Keywords

Main Subjects