{"id":351,"date":"2013-07-23T09:00:00","date_gmt":"2013-07-23T09:00:00","guid":{"rendered":"https:\/\/blogs.technet.microsoft.com\/inside_microsoft_research\/2013\/07\/23\/digital-hair-manipulation-gets-dynamic\/"},"modified":"2016-07-20T07:31:23","modified_gmt":"2016-07-20T14:31:23","slug":"digital-hair-manipulation-gets-dynamic","status":"publish","type":"post","link":"https:\/\/www.microsoft.com\/en-us\/research\/blog\/digital-hair-manipulation-gets-dynamic\/","title":{"rendered":"Digital Hair Manipulation Gets Dynamic"},"content":{"rendered":"<div id=\"share-icons-top-of-post\">\n<ul class=\"post-social\"><!--          FACEBOOK LIKE   CODE           --><\/p>\n<li class=\"post-facebook\"><iframe style=\"border: none; overflow: hidden; width: 100px; height: 21px;\" src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=http%3A%2F%2Fblogs.technet.com%2Fb%2Finside_microsoft_research%2Farchive%2F2013%2F07%2F23%2Fdigital-hair-manipulation-gets-dynamic.aspx&send=false&layout=button_count&width=100&show_faces=true&font=segoe+ui&colorscheme=light&action=like&height=21\" frameborder=\"0\" scrolling=\"no\"><\/iframe><\/li>\n<p><!--          TWITTER SHARING CODE           --><\/p>\n<li class=\"post-twitter\"><a class=\"twitter-share-button\" href=\"https:\/\/x.com\/share\" data-via=\"msftresearch\" data-count=\"horizontal\">Tweet<\/a><br \/>\n<script type=\"text\/javascript\" language=\"JavaScript\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/CommunityServer.Blogs.Components.WeblogFiles\/00\/00\/00\/90\/35\/js\/6811.tweet-this.js\" original-url=\"http:\/\/blogs.technet.com\/cfs-file.ashx\/__key\/communityserver-blogs-components-weblogfiles\/00-00-00-90-35-js\/6811.tweet_2D00_this.js\"><\/script>\n<\/li>\n<\/ul>\n<\/div>\n<p><!--    END SOCIAL SHARING CONTENT    --> <!-- ENTER AUTHOR AND BLOG CONTENT BELOW --><\/p>\n<p class=\"posted-by\">Posted by <span class=\"author\">Rob Knies<\/span><\/p>\n<p><a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" target=\"_blank\" href=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/CommunityServer.Blogs.Components.WeblogFiles\/00\/00\/00\/90\/35\/6038.hair_manipulation.jpg\" original-url=\"http:\/\/blogs.technet.com\/cfs-file.ashx\/__key\/communityserver-blogs-components-weblogfiles\/00-00-00-90-35\/6038.hair_5F00_manipulation.jpg\"><img decoding=\"async\" style=\"margin: 10px; border: 0px currentColor; float: left;\" title=\"A few strokes on an image puts the hair-manipulation process in place, enabling the deployment of an alternative hair styling, as at right.\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/CommunityServer.Blogs.Components.WeblogFiles\/00\/00\/00\/90\/35\/6038.hair_manipulation.jpg\" original-url=\"http:\/\/blogs.technet.com\/resized-image.ashx\/__size\/550x0\/__key\/communityserver-blogs-components-weblogfiles\/00-00-00-90-35\/6038.hair_5F00_manipulation.jpg\" alt=\"A few strokes on an image puts the hair-manipulation process in place\" width=\"300\" \/><span class=\"sr-only\"> (opens in new tab)<\/span><\/a><\/p>\n<p>Had your hair cut lately? Most of us probably can answer that one affirmatively. Use a brush or comb? Well, yeah, of course. Does your hair blow in the wind? Only when it&rsquo;s windy.<\/p>\n<p>Such simplistic questions might have you scratching your head. In real life, the appearance of human hair is edited regularly, either by the elements or by ourselves. It&rsquo;s something so natural, so normal, that we don&rsquo;t even think about it.<\/p>\n<p><a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" title=\"Lvdi Wang\" href=\"http:\/\/lvdiwang.com\/\" target=\"_blank\">Lvdi Wang<span class=\"sr-only\"> (opens in new tab)<\/span><\/a> does, though. That&rsquo;s because Wang, an associate researcher in the <a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" title=\"Internet Graphics Group\" href=\"http:\/\/research.microsoft.com\/en-us\/groups\/ig\/\" target=\"_blank\">Internet Graphics Group<span class=\"sr-only\"> (opens in new tab)<\/span><\/a> at <a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" title=\"Microsoft Research Asia\" href=\"http:\/\/research.microsoft.com\/en-us\/labs\/asia\/\" target=\"_blank\">Microsoft Research Asia<span class=\"sr-only\"> (opens in new tab)<\/span><\/a>, has been working for the past year and a half on improving the appearance of hair in digital images, an enormously challenging task in technical terms.<\/p>\n<p>This week, during <a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" title=\"SIGGRAPH 2013\" href=\"http:\/\/s2013.siggraph.org\/\" target=\"_blank\">SIGGRAPH 2013<span class=\"sr-only\"> (opens in new tab)<\/span><\/a>, the 40th International Conference and Exhibition on Computer Graphics and Interactive Techniques, being held July 21-25 in Anaheim, Calif., Wang and his colleagues will be demonstrating their latest progress by delivering a paper called <em><a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" title=\"Dynamic Hair Manipulation in Images and Videos\" href=\"http:\/\/www.lvdiwang.com\/publications\/dynamichair\/2013_dynamichair.pdf\" target=\"_blank\">Dynamic Hair Manipulation in Images and Videos<span class=\"sr-only\"> (opens in new tab)<\/span><\/a><\/em>, co-authored by Zhejiang University&rsquo;s Menglei Chai, Yanlin Weng, Xiaogang Jin, and Kun Zhou, along with Wang.<\/p>\n<p>The paper outlines a new, single-view hair-modeling technique for generating visually and physically plausible 3-D hair models achieved with only modest user interaction. The work creates hair models that visually match an original input image.<\/p>\n<p>&ldquo;We proposed a new method for creating a 3-D hair model from just one single photograph or short video,&rdquo; Wang explains. &ldquo;Such a model contains tens of thousands of individual hair strands and allows the user to manipulate hair in images or videos in a structure-preserving and semantically meaningful way.&rdquo;<\/p>\n<p>In the real world, even a slight alteration to a person&rsquo;s hair can expose new strands of hair, while others can become blocked from sight. A new image of the same person thus would not include a direct correspondence, at the pixel level, to the original.<\/p>\n<p>Recent research on 3-D-aware image manipulation&mdash;including the SIGGRAPH 2012 paper <em><a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" title=\"<em>Single-View Hair Modeling for Portrait Manipulation<\/em>&#8221; href=&#8221;http:\/\/www.lvdiwang.com\/publications\/imagehair\/2012_imagehair.pdf&#8221; target=&#8221;_blank&#8221;>Single-View Hair Modeling for Portrait Manipulation<span class=\"sr-only\"> (opens in new tab)<\/span><\/a><\/em>, by Chai, Wang, Weng, Yizhou Yu of the University of Hong Kong, <a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" title=\"Baining Guo\" href=\"http:\/\/research.microsoft.com\/en-us\/people\/bainguo\/\" target=\"_blank\">Baining Guo<span class=\"sr-only\"> (opens in new tab)<\/span><\/a> of Microsoft Research Asia, and Zhou&mdash;proves that, by fitting proper 3-D proxies to objects of interest in such photos, semantically meaningful operations are possible that are almost impossible in the 2-D domain.<\/p>\n<p>In the latest paper, the researchers apply the principal of &ldquo;physical plausibility,&rdquo; in which hair roots are fixed in the scalp of the person in an image, it remains smooth instead of exhibiting sharp bends, and the length and continuity of real strands of hair are preserved to the extent possible.<\/p>\n<p>The user provides a few strokes atop in the original portrait, and the technology delivers a high-quality model possessing both visual fidelity and physical plausibility to enable effects of alternative combing strategies or motion-preserving hair replacement in video. Alternatively, a couple of deft strokes on the original results in a virtual haircut.<\/p>\n<p>&ldquo;To get the correct hair-editing results,&rdquo; Wang says, &ldquo;we must make sure the 3-D hair strands are indeed grown from the scalp of a 3-D hair model, so that when the user moves the head or combs the hair, the hair roots are always fixed on the scalp.<\/p>\n<p>&ldquo;This is the key to making &lsquo;dynamic&rsquo; hair manipulation&mdash;changing the shapes of individual strands&mdash;possible. It also is one of the main technical challenges we have tackled.&rdquo;<\/p>\n<p>Wang and colleagues also have extended their model to address simple video input and generate dynamic 3-D hair models, enabling users to manipulate hair in a video or to transfer styles from images to videos.<\/p>\n<p>&ldquo;We are excited about the potential of our techniques to directly benefit a wide range of users,&rdquo; Wang concludes. &ldquo;This is due to the fact that, compared with traditional multiple-image-based solutions, our method dramatically reduces the requirements for the capture device, whether it is a hardware setup in a lab or a built-in camera in a user&rsquo;s smartphone.&rdquo;<\/p>\n<p>Soon, it seems, it might not even be necessary to visit a hairdresser when you want to polish your social-media likeness. A few swipes to the image or video, a bit of computation, and you&rsquo;ll be looking better than ever!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tweet Posted by Rob Knies Had your hair cut lately? Most of us probably can answer that one affirmatively. Use a brush or comb? Well, yeah, of course. Does your hair blow in the wind? Only when it&rsquo;s windy. Such simplistic questions might have you scratching your head. In real life, the appearance of human [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"msr-url-field":"","msr-podcast-episode":"","msrModifiedDate":"","msrModifiedDateEnabled":false,"ep_exclude_from_search":false,"_classifai_error":"","msr-author-ordering":[],"msr_hide_image_in_river":0,"footnotes":""},"categories":[1],"tags":[194519,200183,194762,201305,201387,201787,202083,196175,202495,202649,196432,203277,203825,203827,203873,197594,204691,204727,204753,197888],"research-area":[],"msr-region":[],"msr-event-type":[],"msr-locale":[268875],"msr-post-option":[],"msr-impact-theme":[],"msr-promo-type":[],"msr-podcast-series":[],"class_list":["post-351","post","type-post","status-publish","format-standard","hentry","category-research-blog","tag-3-d","tag-40th-international-conference-and-exhibition-on-computer-graphics-and-interactive-techniques","tag-baining-guo","tag-digital-image","tag-dynamic-hair-manipulation-in-images-and-videos","tag-hair","tag-internet-graphics-group","tag-kun-zhou","tag-lvdi-wang","tag-menglei-chai","tag-microsoft-research-asia","tag-physical-plausibility","tag-siggraph-2012","tag-siggraph-2013","tag-single-view-hair-modeling-for-portrait-manipulation","tag-university-of-hong-kong","tag-xiaogang-jin","tag-yanlin-weng","tag-yizhou-yu","tag-zhejiang-university","msr-locale-en_us"],"msr_event_details":{"start":"","end":"","location":""},"podcast_url":"","podcast_episode":"","msr_research_lab":[],"msr_impact_theme":[],"related-publications":[],"related-downloads":[],"related-videos":[],"related-academic-programs":[],"related-groups":[],"related-projects":[],"related-events":[],"related-researchers":[],"msr_type":"Post","byline":"","formattedDate":"July 23, 2013","formattedExcerpt":"Tweet Posted by Rob Knies Had your hair cut lately? Most of us probably can answer that one affirmatively. Use a brush or comb? Well, yeah, of course. Does your hair blow in the wind? Only when it&rsquo;s windy.Such simplistic questions might have you scratching&hellip;","locale":{"slug":"en_us","name":"English","native":"","english":"English"},"_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/posts\/351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/comments?post=351"}],"version-history":[{"count":1,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/posts\/351\/revisions"}],"predecessor-version":[{"id":261462,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/posts\/351\/revisions\/261462"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media?parent=351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/categories?post=351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/tags?post=351"},{"taxonomy":"msr-research-area","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/research-area?post=351"},{"taxonomy":"msr-region","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-region?post=351"},{"taxonomy":"msr-event-type","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-event-type?post=351"},{"taxonomy":"msr-locale","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-locale?post=351"},{"taxonomy":"msr-post-option","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-post-option?post=351"},{"taxonomy":"msr-impact-theme","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-impact-theme?post=351"},{"taxonomy":"msr-promo-type","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-promo-type?post=351"},{"taxonomy":"msr-podcast-series","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-podcast-series?post=351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}