Skip to main content
Log in

Feature enhancing image inpainting through adaptive variation of sparse coefficients

  • Original Paper
  • Published:
Signal, Image and Video Processing Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10

Similar content being viewed by others

References

  1. Guillemot, C., Le Meur, O.: Image inpainting: Overview and recent advances. IEEE Signal. Process. Mag. 31(1), 127–144 (2013)

    Article  Google Scholar 

  2. Vreja R, Brad R. Image inpainting methods evaluation and improvement. The Scientific World Journal. 2014 2014

  3. Li, Q., Chen, G., Zhang, X., Saruta, K.: Image inpainting based on sparse representation with histogram dictionary. J. Comput. 13(10), 1145–1155 (2018)

    Article  Google Scholar 

  4. 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.

  5. Fadili, M.J., Starck, J.L., Murtagh, F.: Inpainting and zooming using sparse representations. Comput. J. 52(1), 64–79 (2007)

    Article  Google Scholar 

  6. Kumar, B.R., Halim, A.: A linear fourth-order PDE-based gray-scale image inpainting model. Comput. Appl. Math. 38(1), 6 (2019)

    Article  MATH  MathSciNet  Google Scholar 

  7. 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)

    Article  Google Scholar 

  8. 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

  9. Bertalmio, M., Vese, L., Sapiro, G., Osher, S.: Simultaneous structure and texture image inpainting. IEEE Trans. Image. Process. 12(8), 882–889 (2003)

    Article  Google Scholar 

  10. Xu, Z., Sun, J.: Image inpainting by patch propagation using patch sparsity. IEEE Trans. Image. Process. 19(5), 1153–1165 (2010)

    Article  MATH  MathSciNet  Google Scholar 

  11. Shen, J., Chan, T.F.: Mathematical models for local nontexture inpaintings. SIAM J. Appl. Math. 62(3), 1019–1043 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  12. Chan, T.F., Shen, J.: Nontexture inpainting by curvature-driven diffusions. J. Vis. Commun. Image. Represent. 12(4), 436–449 (2001)

    Article  Google Scholar 

  13. Deng, L.J., Huang, T.Z., Zhao, X.L.: Exemplar-based image inpainting using a modified priority definition. PloS one. 10(10), e0141199 (2015)

    Article  Google Scholar 

  14. Esedoglu, S., Shen, J.: Digital inpainting based on the Mumford–Shah–Euler image model. Eur. J. Appl. Math. 13(4), 353–370 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  15. Schönlieb CB. Partial differential equation methods for image inpainting. Cambridge University Press; 2015.

  16. 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)

    Article  MATH  Google Scholar 

  17. 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)

    Article  MATH  MathSciNet  Google Scholar 

  18. Chang, M., Zhang, L.: Image restoration based on sparse representation using feature classification learning. EURASIP J. Image. Video Process. 50, 1–18 (2020)

    Google Scholar 

  19. 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)

    Article  MATH  MathSciNet  Google Scholar 

  20. Elad, M.: Sparse and redundant representations: from theory to applications in signal and image processing. Springer, New York (2010)

    Book  MATH  Google Scholar 

  21. J. S. Turek. Topics in sparse representation modeling and applications. Technion Computer Science Department - Ph. D. Thesis 2015

  22. 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)

    Article  Google Scholar 

  23. 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)

    Google Scholar 

  24. 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).

  25. 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)

    Article  Google Scholar 

  26. Yu, Z., Bajaj, C.: A fast and adaptive method for image contrast enhancement. IEEE Int. Conf. Image. Process. 2, 1001–1004 (2004)

    Google Scholar 

  27. 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)

    Article  Google Scholar 

  28. 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.

  29. Athavale, P., Dey, S., Dharmatti, S., Mathew, A.S.: A novel entropy-based texture inpainting algorithm. SIViP 15, 1075–1080 (2021)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mrinal Kanti Mandal.

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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11760-022-02326-9

Keywords

Navigation