Abstract

To better maintain structure coherence and neighborhood consistency, an exemplar-based inpainting algorithm is presented by introducing color-gradient patch sparsity (CGPS). Two concepts of CGPS including color-gradient structure sparsity (CGSS) and patch sparse representation are proposed to obtain the filling order, the search region size and the sparse representation of target patch, which are key steps in an exemplar-based inpainting algorithm. Firstly, the CGSS is designed based on weighted color-gradient distance (WCGD) to determine the filling order of all patches located at fill-front. Secondly, the WCGD is applied to search candidate patches and the CGSS is used to limit the search region size. Thirdly, the patch to be filled is sparsely represented under the local patch consistency constraints in color and gradient spaces. Differing from the exemplar-based inpainting approaches in which only color information is used, the proposed algorithm considers both color and gradient information, which ensures a better maintenance of structure coherence, texture clarity and neighborhood consistency. Moreover, the inpainting efficiency can be significantly improved by limiting the search region size via the CGSS. Experimental results on natural images are presented to demonstrate the advantages of the proposed approach for various tasks such as scratch removal, text removal, block removal and object removal.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.