2D hair strands generation based on template matching

Hair modelling is an important part of many applications in computer graphics. Since 2D hair strands represent the information of the hair shape and the feature of the hairstyles, the generation of 2D hair strands is an essential part for image-based hair modelling. In this paper, we present a novel algorithm to generate 2D hair strands based on a template matching method. The method first divides a real hairstyle input image into sub-images with the predefined size. For each sub-image, an orientation map is estimated using Gabor filter and the orientation feature is presented by the orientation histogram. Then it matches the orientation histograms between each sub-image and template images in our database. Based on the matching results, the sub-images are replaced by the corresponding manual stroke images to give a clear representation of 2D hair strands. The result is refined by connecting the strands between adjacent sub-images. Finally, based on the control points defined on the 2D hair strands, the spline representation is applied to obtain smooth hair strands. Experimental results indicate that our algorithm is feasible.

[1]  Kun Zhou,et al.  Dynamic hair manipulation in images and videos , 2013, ACM Trans. Graph..

[2]  Anil K. Jain,et al.  Unsupervised texture segmentation using Gabor filters , 1990, 1990 IEEE International Conference on Systems, Man, and Cybernetics Conference Proceedings.

[3]  Kun Zhou,et al.  Single-view hair modeling for portrait manipulation , 2012, ACM Trans. Graph..

[4]  Paul A. Beardsley,et al.  Coupled 3D reconstruction of sparse facial hair and skin , 2012, ACM Trans. Graph..

[5]  Szymon Rusinkiewicz,et al.  Structure-aware hair capture , 2013, ACM Trans. Graph..

[6]  Sylvain Paris,et al.  Capture of hair geometry from multiple images , 2004, ACM Trans. Graph..

[7]  Arno Zinke,et al.  Lighting hair from the inside , 2012, ACM Trans. Graph..

[8]  Szymon Rusinkiewicz,et al.  Multi-view hair capture using orientation fields , 2012, 2012 IEEE Conference on Computer Vision and Pattern Recognition.

[9]  Steve Marschner,et al.  A Survey on Hair Modeling: Styling, Simulation, and Rendering , 2007, IEEE Transactions on Visualization and Computer Graphics.

[10]  Frédo Durand,et al.  Hair photobooth , 2008, SIGGRAPH 2008.

[11]  Sunil Hadap,et al.  State of art in hair simulation , 2002 .

[12]  Steve Marschner,et al.  Capturing hair assemblies fiber by fiber , 2009, SIGGRAPH 2009.

[13]  Szymon Rusinkiewicz,et al.  Wide-Baseline Hair Capture Using Strand-Based Refinement , 2013, 2013 IEEE Conference on Computer Vision and Pattern Recognition.

[14]  Long Quan,et al.  Modeling hair from multiple views , 2005, SIGGRAPH 2005.