Abstract
An obvious problem in image inpainting is the mismatch of features and intensity of the restored region with the neighbor source regions. This paper has addressed the problem of that mismatching and presents a novel inpainting method based on the sparse representation technique that employs an adaptive intensity and feature-based target patch-restoration. The mismatch of texture is handled by utilizing a feature-based sparsity, and the adaptive intensity method provides a suitable matching of intensity labels. Moreover, the patch-based sparse representation avoids the excessive extension of texture information and prevents false matching. Therefore, the uniformity of intensity distribution and structural/textural continuation improves the quality of the restored image. The experimental results are tested on several test images with different types of scratches, i.e., missing patches. The performance of the proposed method is compared with other recent methods by computing PSNR, SSIM, and blur metric. The quantitative and subjective evaluations of the output image confirm the superiority of the proposed model.
Similar content being viewed by others
References
Guillemot, C., Le Meur, O.: Image inpainting: Overview and recent advances. IEEE Signal. Process. Mag. 31(1), 127–144 (2013)
Vreja R, Brad R. Image inpainting methods evaluation and improvement. The Scientific World Journal. 2014 2014
Li, Q., Chen, G., Zhang, X., Saruta, K.: Image inpainting based on sparse representation with histogram dictionary. J. Comput. 13(10), 1145–1155 (2018)
M. Bertalmio, G. Sapiro, V. Caselles, C. Ballester. Image inpainting. In Proceedings of the 27th annual conference on Computer graphics and interactive techniques. 417–424, 2000.
Fadili, M.J., Starck, J.L., Murtagh, F.: Inpainting and zooming using sparse representations. Comput. J. 52(1), 64–79 (2007)
Kumar, B.R., Halim, A.: A linear fourth-order PDE-based gray-scale image inpainting model. Comput. Appl. Math. 38(1), 6 (2019)
Criminisi, A., Pérez, P., Toyama, K.: Region filling and object removal by exemplar-based image inpainting. IEEE Trans. Image. Process. 13(9), 1200–1212 (2004)
Efros AA, Leung TK. Texture synthesis by non-parametric sampling. InProceedings of the seventh IEEE international conference on computer vision 1999 (Vol. 2, pp. 1033-1038). IEEE
Bertalmio, M., Vese, L., Sapiro, G., Osher, S.: Simultaneous structure and texture image inpainting. IEEE Trans. Image. Process. 12(8), 882–889 (2003)
Xu, Z., Sun, J.: Image inpainting by patch propagation using patch sparsity. IEEE Trans. Image. Process. 19(5), 1153–1165 (2010)
Shen, J., Chan, T.F.: Mathematical models for local nontexture inpaintings. SIAM J. Appl. Math. 62(3), 1019–1043 (2002)
Chan, T.F., Shen, J.: Nontexture inpainting by curvature-driven diffusions. J. Vis. Commun. Image. Represent. 12(4), 436–449 (2001)
Deng, L.J., Huang, T.Z., Zhao, X.L.: Exemplar-based image inpainting using a modified priority definition. PloS one. 10(10), e0141199 (2015)
Esedoglu, S., Shen, J.: Digital inpainting based on the Mumford–Shah–Euler image model. Eur. J. Appl. Math. 13(4), 353–370 (2002)
Schönlieb CB. Partial differential equation methods for image inpainting. Cambridge University Press; 2015.
Aharon, M., Elad, M., Bruckstein, A.: K-svd: An algorithm for designing overcomplete dictionaries for sparse representation. IEEE Trans. Signal. Process. 54(11), 4311–4322 (2006)
Bruckstein, A.M., Donoho, D.L., Elad, M.: From sparse solutions of systems of equations to sparse modeling of signals and images. SIAM. Rev. 51(1), 34–81 (2009)
Chang, M., Zhang, L.: Image restoration based on sparse representation using feature classification learning. EURASIP J. Image. Video Process. 50, 1–18 (2020)
Elad, M., Starck, J.L., Querre, P., Donoho, D.L.: Simultaneous cartoon and texture image inpainting using morphological component analysis (MCA). Appl. Comput. Harmon. Anal. 19(3), 340–358 (2005)
Elad, M.: Sparse and redundant representations: from theory to applications in signal and image processing. Springer, New York (2010)
J. S. Turek. Topics in sparse representation modeling and applications. Technion Computer Science Department - Ph. D. Thesis 2015
Karmakar, J., Nandi, D., Mandal, M.K.: A novel hyper-chaotic image encryption with sparse-representation based compression. Multimed. Tools. Appl. 79(37), 28277–28300 (2020)
Blake, A., Isard, M.: Active contours: the application of techniques from graphics vision, control theory and statistics to visual tracking of shapes in motion. Springer Science & Business Media, Berlin (2012)
Mairal J, Bach F, Ponce J, Sapiro G. Online dictionary learning for sparse coding. InProceedings of the 26th annual international conference on machine learning 2009 (pp. 689-696).
Nandi, D., Karmakar, J., Kumar, A., Mandal, M.K.: Sparse representation based multi-frame image super-resolution reconstruction using adaptive weighted features. IET Image Proc. 13(4), 663–672 (2019)
Yu, Z., Bajaj, C.: A fast and adaptive method for image contrast enhancement. IEEE Int. Conf. Image. Process. 2, 1001–1004 (2004)
Wang, Z., Bovik, A.C., Sheikh, H.R., et al.: Image quality assessment: from error visibility to structural similarity. IEEE Trans. Image. Process 13(4), 600–612 (2004)
Crete F, Dolmiere T, Ladret P, Nicolas M. The blur effect: perception and estimation with a new no reference perceptual blur metric. InHuman vision and electronic imaging XII 2007 6492, 196-206 SPIE.
Athavale, P., Dey, S., Dharmatti, S., Mathew, A.S.: A novel entropy-based texture inpainting algorithm. SIViP 15, 1075–1080 (2021)
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Pathak, A., Karmakar, J., Nandi, D. et al. Feature enhancing image inpainting through adaptive variation of sparse coefficients. SIViP 17, 1189–1197 (2023). https://doi.org/10.1007/s11760-022-02326-9
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11760-022-02326-9