Skip to main content
Log in

Automatic hair extraction from 2D images

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

Abstract

Automatic hair extraction from a given 2D image has been a challenging problem for a long time, especially when complex backgrounds and a wide variety of hairstyles are involved. This paper has made its contribution in the following three aspects. First, it proposes a novel framework that successfully combines the techniques of face detection, outlier-aware initial stroke placement and matting to extract the desired hair region from an input image. Second, it introduces an alpha space to facilitate the choice of matting parameters. Third, it defines a new comparison metric that is well suited for the alpha matte comparison. Our results show that, compared with the manually drawn trimaps for hair extraction, the proposed automatic algorithm can achieve about 86.2 % extraction accuracy.

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

Similar content being viewed by others

References

  1. Chou J-K, Yang C-K (2013) Simulation of face/hairstyle swapping in photographs with skin texture synthesis, vol 63

  2. Chuang Y-Y, Curless B, Salesin DH, Szeliski R (2001) A bayesian approach to digital matting. In: Computer vision and pattern recognition 2001, vol 2, pp 264–271

  3. Cootes TF, Edwards GJ, Taylor CJ (2001) Active appearance models. IEEE Trans Pattern Anal Mach Intell 23(6):681–685

    Article  Google Scholar 

  4. Cootes TF, Taylor CJ, Cooper DH, Graham J (1995) Active shape models-their training and application. Comp Vision Image Underst 61(1):38–59

    Article  Google Scholar 

  5. Julian P, Dehais C, Lauze F, Charvillat V, Bartoli A, Choukroun A (2010) Automatic hair detection in the wild. In: International conference on pattern recognition 2010, pp 4617–4620

  6. Knorr EM, Ng RT, Tucakov V (2000) Distance-based outliers: algorithms and applications. VLDB J Int J Very Large Data Bases 8:237–253

    Article  Google Scholar 

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

  8. Lipowezky U, Mamo O, Cohen A (2008) Using integrated color and texture features for automatic hair detection. In: Convention of electrical and electronics engineers in Israel 2008, pp 51–55

  9. Liu L, Xu H, Xing J, Liu S, Zhou X, Yan S (2013) Wow! You are so beautiful today! In: Proceedings of the 21st ACM international conference on multimedia, MM ’13, pp 3–12. ACM, New York, NY, USA

  10. Maimon O, Rokach L (eds) (2005) Data mining and knowledge discovery handbook, chapter Outlier Detection. Springer

  11. Rhemann C, Rother C, Wang J, Gelautz M, Kohli P, Rott P (2009) A perceptually motivated online benchmark for image matting. In: Computer vision and pattern recognition 2009, pp 1826–1833

  12. Rousset C, Coulon PY (2008) Frequential and color analysis for hair mask segmentation. In: International conference on image processing 2008, pp 2276–2279

  13. Sun J, Jia J, Tang C-K, Shum H-Y (2004) Poisson matting. In: ACM SIGGRAPH 2004, pp 315–321

  14. Viola P, Jones M (2001) Rapid object detection using a boosted cascade of simple features. In: Computer vision and pattern recognition 2001, pp 511–518

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

    Article  Google Scholar 

  16. Wang J, Cohen MF (2007) Optimized color sampling for robust matting. In: Computer vision and pattern recognition 2007, pp 1–8

  17. Yang C-K, Kuo C-N (2013) Automatically extracting hairstyles from 2d images. Lect Notes Comput Sci 8034:406–415

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chuan-Kai Yang.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Yang, CK., Kuo, CN. Automatic hair extraction from 2D images. Multimed Tools Appl 75, 4441–4465 (2016). https://doi.org/10.1007/s11042-015-2483-y

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-015-2483-y

Keywords

Navigation