Skip to main content
Log in

Image matting through a Web browser

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Image matting is a process of foreground extraction from an image. An interactive, Web-based tool, called NIM 2.0, for image matting is presented in this paper. NIM is the first image matting tool accessible through a Web browser. Its algorithm has been improved from the first version to make it faster. How NIM is used, why it works, its architecture, and experimental results are described. It can extract a foreground with thin, thread-like shapes. It begins to process inputs immediately after the user has started to paint with a brush roughly along the boundary between the foreground and the background. While painting, the user can stop anywhere to change the width of brush as needed to achieve good matting quality. The quality of the foreground extracted by NIM is usually better or not worse than those done by the other two online tools and Photoshop. NIM is fast and the amount of time required to complete matting is essentially limited by the speed of brush movement only. Several variations of our algorithm are also discussed and experimented.

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
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18

Similar content being viewed by others

References

  1. Adobe. Programming Adobe ActionScript 3.0. http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/flash_as3_programming.pdf. Accessed Sep. 25 2010

  2. Amri S, Barhoumi W, Zagrouba E (2009) A robust framework for joint background/foreground segmentation of complex video scenes filmed with freely moving camera. Multimed Tools Appl 46:175–205

    Article  Google Scholar 

  3. Aviary. Phoenix image editor. http://www.aviary.com/tools/image-editor. Accessed Sep. 25 2010

  4. Barrett R, Berry M, Chan TF, Demmel J, Donato J, Dongarra J, Eijkhout V, Pozo R, Romine C, van der Vorst H (1994) Templates for the solution of linear systems: Building blocks for iterative methods, 2nd edn. SIAM, Philadelphia

    Book  Google Scholar 

  5. Berman A, Vlahos P, Dadourian A (2000) Comprehensive method for removing from an image the background surrounding a selected object. US Patent 6(135):345

    Google Scholar 

  6. Chuang Y-Y, Curless B, Salesin DH, Szeliski R (2001) A bayesian approach to digital matting. In: Proceedings of IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Vol. 2, Kauai, Hawaii, pp 264–271

  7. Dayley LD, Dayley B (2010) Photoshop CS5 Bible. Wiley, Hoboken

    Google Scholar 

  8. FotoFlexer. The world’s most advanced online photo editor. http://fotoflexer.com. Accessed Sep. 25 2010

  9. Levin A, Lischinski D, Weiss Y (2008) A closed-form solution to natural image matting. IEEE Trans Pattern Anal Mach Intell 30(2):228–242

    Article  Google Scholar 

  10. Lin Y-C, Hsieh Y-F, Wang H-A (2010) Web-based image matting. In: Proceedings of the 2010 ACM Symposium on Applied Computing, Sierre, Switzerland, pp 1905–1910

  11. Qian RJ, Sezan MI (1999) Video background replacement without a blue screen. In: Proceedings of the IEEE International Conference on Image Processing, Vol. 4, Kobe, Japan, pp 143–146

  12. Rhemann C, Rother C, Wang J, Gelautz M, Kohli P, Rott. P (2009) A perceptually motivated online benchmark for image matting. In: 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, pp 1826–1833

  13. Shelly GB, Cashman TJ, Starks JL (2008) Adobe Photoshop CS3: Complete concepts and techniques. Cengage Learning, Boston

    Google Scholar 

  14. Smith AR, Blinn JF (1996) Blue screen matting. In: Proceedings of the 23 rd Annual Conference on Computer Graphics and Interactive Techniques, New Orleans, LA, pp 259–268

  15. Sun J, Jia J, Tang C-K, Shum H-Y (2004) Poisson matting. ACM Trans Graph 23(3):315–321

    Article  Google Scholar 

  16. Sun J, Li Y, Kang SB, Shum H-Y (2006) Flash matting. ACM Trans Graph 25(3):772–778

    Article  Google Scholar 

  17. Wang J, Agrawala M, Cohen MF (2007) Soft scissors: An interactive tool for realtime high quality matting. ACM Trans Graph 26 (3):Article 9

    Google Scholar 

  18. Wang J, Cohen MF (2007) Image and video matting: a survey. Found Trends Comput Graph Vis 3(2):97–180

    Article  Google Scholar 

  19. Wang J, Cohen MF (2007) Optimized color sampling for robust matting. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Minneapolis, MN, pp 1–8

Download references

Acknowledgments

This research was supported in part by the National Science Council of Taiwan under contracts NSC 96-2221-E-011-161 and NSC 97-2221-E-011-093.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yen-Chun Lin.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Lin, YC., Wang, HA. & Hsieh, YF. Image matting through a Web browser. Multimed Tools Appl 61, 551–570 (2012). https://doi.org/10.1007/s11042-010-0678-9

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-010-0678-9

Keywords

Navigation