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.
Similar content being viewed by others
References
Arivazhagan S., Ganesan L.: Texture classification using wavelet transform. Pattern Recognit. Lett. 24(9–10), 1513–1521 (2003)
Ashikhmin, M.: Synthesizing natural textures. In: I3D ’2001, pp. 217–226 (2001)
Barnes, C., Shechtman, E., Finkelstein, A., Goldman, D.B.: PatchMatch: A randomized correspondence algorithm for structural image editing. In: SIGGRAPH ’09 (2009)
Bertalmio, M., Sapiro, G., Caselles, V., Ballester, C.: Image inpainting. In: SIGGRAPH ’2000 (2000)
Bertalmio, M., Vese, L., Sapiro, G., Osher, S.: Simultaneous structure and texture image inpainting. In: CVPR ’2003, vol. 2, p. 707 (2003)
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)
Chellappa R., Chatterjee S.: Classification of textures using gaussian markov random fields. IEEE Trans. Acoust. Speech Signal Process. 33(4), 959–963 (1985)
Criminisi, A., Perez, P., Toyama, K.: Object removal by examplar-based inpainting. In: CVPR ’03 (2003)
Drori, I., Cohen-Or, D., Yeshurun, H.: Fragment-based image completion. In: SIGGRAPH ’2003, pp. 303–312 (2003)
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)
Efros, A.A., Freeman, W.T.: Image quilting for texture synthesis and transfer. In: SIGGRAPH ’2001, pp. 341–346 (2001)
Efros, A.A., Leung, T.: Texture synthesis by non-parametric sampling. In: International Conference on Computer Vision, pp. 1033–1038 (1999)
Eisenacher, C., Lefebvre, S., Stamminger, M.: Texture synthesis from photographs. In: Eurographics ’2008 (2008)
Gonzalez R.C., Woods R.E.: Digital Image Processing ,2nd edn. Prentice Hall, Englewood Cliffs (2002)
Haralick R.M., Shanmugam K., Dinstein I.: Texture features for image classification. IEEE Trans. Syst. Man Cybern. 3(6), 610–621 (1973)
Hays, J., Efros, A.A.: Scene completion using millions of photographs. In: SIGGRAPH ’07 (2007)
He L., Chao Y., Suzuki K.: A run-based two-scan labeling algorithm. IEEE Trans. Image Process. 17(5), 749–756 (2008)
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)
Komodakis, N., Tziritas, G.: Image completion using global optimization. In: CVPR ’06, pp. 442–452 (2006)
Kwatra, V., Irfan, E., Aaron, B., Kwatra, N.: Texture optimization for example-based synthesis. In: SIGGRAPH ’2005, pp. 795–802 (2005)
Kwatra, V., Schodl, A., Essa, I., Bobick, A.: Graphcut textures: image and video synthesis using graph cuts. In: SIGGRAPH ’2003 (2003)
Li S., Kwok J.T., Zhu H., Wang Y.: Texture classification using the support vector machines. Pattern Recognit. 36(12), 2883–2893 (2003)
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)
Lu J., Dorsey J., Rushmeier H.: dominant texture and diffusion distance manifolds. Comput. Graph. Forum 28(2), 667–676 (2009)
Nealen, A., Alexa, M.: Hybrid texture synthesis. In: Proceedings of the 14th Eurographics Workshop on Rendering, pp. 97–105. Eurographics Association (2003)
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)
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)
Perez, P., Gangnet, M., Blake, A.: Poisson image editing. In: SIGGRAPH ’2003, pp. 313–318 (2003)
Pritch, Y., Kav-Venaki, E., Peleg, S.: Shift-map image editing. In: ICCV’09, pp. 151–158 (2009)
Rajpoot, K., Rajpoot, N.: Wavelets and support vector machines for texture classification. In: International Multitopic Conference 2004, pp. 328–333 (2004)
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)
Sun, J., Yuan, L., Jia, J., Shum, H.: Image completion with structural propagation. In: SIGGRAPH ’2005, pp. 861–868 (2005)
Tuceryan M., Jain A.K.: Texture segmentation using voronoi polygons. IEEE Trans. Pattern Anal. Mach. Intell. 12(2), 211–216 (1990)
Tuceryan, M., Jain, A.K.: Texture analysis. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.38.5980 (1998)
Wei, L., Han, J., Zhou, K., Bao, H., Guo, B., Shum, H.: Inverse texture synthesis. In: SIGGRAPH ’2008 (2008)
Wei, L., Levoy, M.: Fast texture synthesis using tree-structured vector quantization. In: SIGGRAPH ’2000, pp. 479–488 (2000)
Xu, Y., Guo, B., Shum, H.: Chaos Mosaic: Fast and Memory Efficient Texture Synthesis. Technical Report MSR-TR-2000-32, Microsoft Research (2000)
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)
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)
Author information
Authors and Affiliations
Corresponding author
Rights 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
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11760-012-0364-7