Skip to main content
Log in

Stain removal in 2D images with globally varying textures

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

Abstract

In this paper, we deal with the problem of removing stains in an image that may contain globally varying textures. In general, Image inpainting and texture synthesis are two possible techniques that may be used to address this issue; however, each has its limitation. In this work, we propose an approach that helps to address this problem, especially when the target image portions to be repaired may consist of globally varying textures, that is, textures that are not stationary, but vary globally across images due to lighting conditions or composing materials. We have developed methods to first detect regions with stains and then remove the stains to obtain a newer look for the input image. Results are shown and compared with those of others if applicable to prove the effectiveness of proposed approaches.

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.

Similar content being viewed by others

References

  1. Arivazhagan S., Ganesan L.: Texture classification using wavelet transform. Pattern Recognit. Lett. 24(9–10), 1513–1521 (2003)

    Article  MATH  Google Scholar 

  2. Ashikhmin, M.: Synthesizing natural textures. In: I3D ’2001, pp. 217–226 (2001)

  3. Barnes, C., Shechtman, E., Finkelstein, A., Goldman, D.B.: PatchMatch: A randomized correspondence algorithm for structural image editing. In: SIGGRAPH ’09 (2009)

  4. Bertalmio, M., Sapiro, G., Caselles, V., Ballester, C.: Image inpainting. In: SIGGRAPH ’2000 (2000)

  5. Bertalmio, M., Vese, L., Sapiro, G., Osher, S.: Simultaneous structure and texture image inpainting. In: CVPR ’2003, vol. 2, p. 707 (2003)

  6. Bovik A.C., Clark M., Geisler W.S.: Multichannel texture analysis using localized spatial filters. In: IEEE Trans. Pattern Anal. Mach. Intell. 12(1), 55–73 (1990)

    Google Scholar 

  7. Chellappa R., Chatterjee S.: Classification of textures using gaussian markov random fields. IEEE Trans. Acoust. Speech Signal Process. 33(4), 959–963 (1985)

    Article  MathSciNet  Google Scholar 

  8. Criminisi, A., Perez, P., Toyama, K.: Object removal by examplar-based inpainting. In: CVPR ’03 (2003)

  9. Drori, I., Cohen-Or, D., Yeshurun, H.: Fragment-based image completion. In: SIGGRAPH ’2003, pp. 303–312 (2003)

  10. Dunn D., Higgins W., Wakeley J.: Texture segmentation using 2-d Gabor elementary functions. IEEE Trans. Pattern Anal. Mach. Intell. 16(2), 130–149 (1994)

    Article  Google Scholar 

  11. Efros, A.A., Freeman, W.T.: Image quilting for texture synthesis and transfer. In: SIGGRAPH ’2001, pp. 341–346 (2001)

  12. Efros, A.A., Leung, T.: Texture synthesis by non-parametric sampling. In: International Conference on Computer Vision, pp. 1033–1038 (1999)

  13. Eisenacher, C., Lefebvre, S., Stamminger, M.: Texture synthesis from photographs. In: Eurographics ’2008 (2008)

  14. Gonzalez R.C., Woods R.E.: Digital Image Processing ,2nd edn. Prentice Hall, Englewood Cliffs (2002)

    Google Scholar 

  15. Haralick R.M., Shanmugam K., Dinstein I.: Texture features for image classification. IEEE Trans. Syst. Man Cybern. 3(6), 610–621 (1973)

    Article  Google Scholar 

  16. Hays, J., Efros, A.A.: Scene completion using millions of photographs. In: SIGGRAPH ’07 (2007)

  17. He L., Chao Y., Suzuki K.: A run-based two-scan labeling algorithm. IEEE Trans. Image Process. 17(5), 749–756 (2008)

    Article  MathSciNet  Google Scholar 

  18. Kim K.I., Jung K., Park S.H., Kim H.J.: Support vector machines for texture classification. IEEE Trans. Pattern Anal. Mach. Intell. 24(11), 1542–1550 (2002)

    Article  Google Scholar 

  19. Komodakis, N., Tziritas, G.: Image completion using global optimization. In: CVPR ’06, pp. 442–452 (2006)

  20. Kwatra, V., Irfan, E., Aaron, B., Kwatra, N.: Texture optimization for example-based synthesis. In: SIGGRAPH ’2005, pp. 795–802 (2005)

  21. Kwatra, V., Schodl, A., Essa, I., Bobick, A.: Graphcut textures: image and video synthesis using graph cuts. In: SIGGRAPH ’2003 (2003)

  22. Li S., Kwok J.T., Zhu H., Wang Y.: Texture classification using the support vector machines. Pattern Recognit. 36(12), 2883–2893 (2003)

    Article  MATH  Google Scholar 

  23. Liang L., Liu C., Xu Y., Guo B., Shum H.: Real-time texture synthesis by patch-based sampling. ACM Trans. Graph. 20, 127–150 (2001)

    Article  Google Scholar 

  24. Lu J., Dorsey J., Rushmeier H.: dominant texture and diffusion distance manifolds. Comput. Graph. Forum 28(2), 667–676 (2009)

    Article  Google Scholar 

  25. Nealen, A., Alexa, M.: Hybrid texture synthesis. In: Proceedings of the 14th Eurographics Workshop on Rendering, pp. 97–105. Eurographics Association (2003)

  26. Ojala T., Pietikainen M., Harwood D.: A Comparative study of texture measures with classification based on featured distributions. Pattern Recognit. 29(1), 51–59 (1996)

    Article  Google Scholar 

  27. Oliveira, M.M., Bowen, B., McKenna, R., Chang, Y.: Fast digital image inpainting. In: International Conference on Visualization, Imaging and Image Processing (VIIP ’2001) (2001)

  28. Perez, P., Gangnet, M., Blake, A.: Poisson image editing. In: SIGGRAPH ’2003, pp. 313–318 (2003)

  29. Pritch, Y., Kav-Venaki, E., Peleg, S.: Shift-map image editing. In: ICCV’09, pp. 151–158 (2009)

  30. Rajpoot, K., Rajpoot, N.: Wavelets and support vector machines for texture classification. In: International Multitopic Conference 2004, pp. 328–333 (2004)

  31. Sidhu, S., Raahemifar, K.: Texture classification using wavelet transform and support vector machines. In: Canadian Conference on Electrical and Computer Engineering 2005, pp. 941–944 (2005)

  32. Sun, J., Yuan, L., Jia, J., Shum, H.: Image completion with structural propagation. In: SIGGRAPH ’2005, pp. 861–868 (2005)

  33. Tuceryan M., Jain A.K.: Texture segmentation using voronoi polygons. IEEE Trans. Pattern Anal. Mach. Intell. 12(2), 211–216 (1990)

    Article  Google Scholar 

  34. Tuceryan, M., Jain, A.K.: Texture analysis. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.38.5980 (1998)

  35. Wei, L., Han, J., Zhou, K., Bao, H., Guo, B., Shum, H.: Inverse texture synthesis. In: SIGGRAPH ’2008 (2008)

  36. Wei, L., Levoy, M.: Fast texture synthesis using tree-structured vector quantization. In: SIGGRAPH ’2000, pp. 479–488 (2000)

  37. Xu, Y., Guo, B., Shum, H.: Chaos Mosaic: Fast and Memory Efficient Texture Synthesis. Technical Report MSR-TR-2000-32, Microsoft Research (2000)

  38. Yamauchi, H., Haber, J., Seidel, H.: Image restoration using multiresolution texture synthesis and image inpainting. In: Computer Graphics International Conference, p. 120. IEEE Computer Society (2003)

  39. Zelinka, S., Garland, M.: Towards real-time texture synthesis with the jump map. In: Proceedings of the 13th Eurographics Workshop on Rendering, pp. 99–104 (2002)

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chuan-Kai Yang.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Yang, CK., Yeh, YC. Stain removal in 2D images with globally varying textures. SIViP 8, 1373–1382 (2014). https://doi.org/10.1007/s11760-012-0364-7

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11760-012-0364-7

Keywords

Navigation