A Hybrid Algorithm With Artifact Detection Mechanism for Region Filling After Object Removal From a Digital Photograph

  • Authors:
  • H. -J. Hsu;Jhing-Fa Wang;Shang-Chia Liao

  • Affiliations:
  • Dept. of Electr. Eng., Nat. Cheng Kung Univ., Tainan;-;-

  • Venue:
  • IEEE Transactions on Image Processing
  • Year:
  • 2007

Quantified Score

Hi-index 0.01

Visualization

Abstract

This work aims to develop a novel function of the digital camera, i.e., region-filling after object removal from a digital photograph. This problem is defined as how to "guess" the Lacuna region after removal of an object by replicating a part from the remainder of the whole image with visually plausible quality. We propose a hybrid region-filling algorithm composed of a texture synthesis technique and an efficient interpolation method with a refinement approach: 1) the "subpatch texture synthesis technique" can synthesize the Lacuna region with significant accuracy; 2) the "weighted interpolation method" is applied to reduce computation time; and 3) the "artifact detection mechanism" integrates the Kirsch edge detector and color ratio gradients to detect the artifact blocks in the filled region after the first pass of filling the Lacuna region when the result may not be satisfactory. This can lead to resynthesizing the artifact blocks without user intervention and can be compliant to the unsuccessful results of other algorithms. In the procedure of region-filling, color texture distribution analysis is used to choose whether the subpatch texture synthesis technique or the weighted interpolation method should be applied. In the subpatch texture synthesis technique, the actual pixel values of the Lacuna region are synthesized by adaptively sampling from the source region. The experimental results show that our proposed algorithm can achieve a better performance than previous methods. Particularly, the regular computation of our proposed algorithm is more suitable for implementation of the hardware in a digital camera