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.
Similar content being viewed by others
References
Chou J-K, Yang C-K (2013) Simulation of face/hairstyle swapping in photographs with skin texture synthesis, vol 63
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
Cootes TF, Edwards GJ, Taylor CJ (2001) Active appearance models. IEEE Trans Pattern Anal Mach Intell 23(6):681–685
Cootes TF, Taylor CJ, Cooper DH, Graham J (1995) Active shape models-their training and application. Comp Vision Image Underst 61(1):38–59
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
Knorr EM, Ng RT, Tucakov V (2000) Distance-based outliers: algorithms and applications. VLDB J Int J Very Large Data Bases 8:237–253
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
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
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
Maimon O, Rokach L (eds) (2005) Data mining and knowledge discovery handbook, chapter Outlier Detection. Springer
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
Rousset C, Coulon PY (2008) Frequential and color analysis for hair mask segmentation. In: International conference on image processing 2008, pp 2276–2279
Sun J, Jia J, Tang C-K, Shum H-Y (2004) Poisson matting. In: ACM SIGGRAPH 2004, pp 315–321
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
Wang J, Cohen MF (2007) Image and video matting: a survey. Found Trends Comput Graph Vis 3(2):97–175
Wang J, Cohen MF (2007) Optimized color sampling for robust matting. In: Computer vision and pattern recognition 2007, pp 1–8
Yang C-K, Kuo C-N (2013) Automatically extracting hairstyles from 2d images. Lect Notes Comput Sci 8034:406–415
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
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
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-015-2483-y