원시데이터 수집 시스템
선정목록으로

Hair color digitization through imaging and deep inverse graphics

관련 필름·전자재료 · (14) 드라이 필름(포토레지스트)

기본 정보

저자
  1. Robin Kips — L'Or al Research and Innovation, France|||LTCI, T l com Paris, Institut Polytechnique de Paris, France
  2. Panagiotis-Alexandros Bokaris — L'Or al Research and Innovation, France
  3. Matthieu Perrot — L'Or al Research and Innovation, France
  4. Pietro Gori — LTCI, T l com Paris, Institut Polytechnique de Paris, France
  5. Isabelle Bloch — Sorbonne Universit , CNRS, LIP6, Paris, France
DOI
10.2352/ei.2022.34.10.ipas-383
저널
Electronic Imaging
발행년도
2022
발행기관
–
피인용수
1
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.2352/ei.2022.34.10.ipas-383
토픽
Color Science and Applications
OpenAlex ID
W4226064531

평가 내용

관련도
관련
사업분야
필름·전자재료 · (14) 드라이 필름(포토레지스트)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 드라이 필름(포토레지스트)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Hair appearance is a complex phenomenon due to hair geometry and how the light bounces on different hair fibers. For this reason, reproducing a specific hair color in a rendering environment is a challenging task that requires manual work and expert knowledge in computer graphics to tune the result visually. While current hair capture methods focus on hair shape estimation many applications could benefit from an automated method for capturing the appearance of a physical hair sample, from augmented/virtual reality to hair dying development. Building on recent advances in inverse graphics and material capture using deep neural networks, we introduce a novel method for hair color digitization. Our proposed pipeline allows capturing the color appearance of a physical hair sample and renders synthetic images of hair with a similar appearance, simulating different hair styles and/or lighting environments. Since rendering realistic hair images requires path-tracing rendering, the conventional inverse graphics approach based on differentiable rendering is untractable. Our method is based on the combination of a controlled imaging device, a path-tracing renderer, and an inverse graphics model based on self-supervised machine learning, which does not require to use differentiable rendering to be trained. We illustrate the performance of our hair digitization method on both real and synthetic images and show that our approach can accurately capture and render hair color.

본문 20,666자

본문 펼치기
p g © 2022, Society for Imaging Science and Technology # Hair Color Digitization through Imaging and Deep Inverse Graphics _Robin Kips_ <sup>1</sup> <sup>_,_</sup> <sup>2</sup> _, Panagiotis-Alexandros Bokaris_ <sup>1</sup> _, Matthieu Perrot_ <sup>1</sup> _, Pietro Gori_ <sup>2</sup> _, Isabelle Bloch_ <sup>3</sup> 1 _L’Or´eal Research and Innovation, France_ 2 _LTCI, T´el´ecom Paris, Institut Polytechnique de Paris, France_ 3 _Sorbonne Universit´e, CNRS, LIP6, Paris, France_ _Figure_ _1._ _Given_ _a_ _hair_ _sample,_ _we_ _propose_ _a_ _hair_ _digitization_ _method_ _that_ _estimates_ _rendering_ _parameters_ _that_ _can_ _be_ _used_ _to_ _render_ _a_ _synthetic_ _scene_ _with_ _hair_ _of_ _similar_ _color_ _appearance._ _Our_ _method_ _is_ _based_ _on_ _the_ _combination_ _of_ _a_ _controlled_ _imaging_ _method,_ _a_ _deep_ _inverse_ _graphics_ _encoder_ _model,_ _and_ _a_ _path-tracing renderer._ _(Hair models courtesy of Cem Yuksel [19])_ Abstract _Hair_ _appearance_ _is_ _a_ _complex_ _phenomenon_ _due_ _to_ _hair_ _ge-_ _ometry_ _and_ _how_ _the_ _light_ _bounces_ _on_ _different_ _hair_ _fibers._ _For_ _this_ _reason,_ _reproducing_ _a_ _specific_ _hair_ _color_ _in_ _a_ _rendering_ _en-_ _vironment_ _is_ _a_ _challenging_ _task_ _that_ _requires_ _manual_ _work_ _and_ _expert_ _knowledge_ _in_ _computer_ _graphics_ _to_ _tune_ _the_ _result_ _visu-_ _ally._ _While_ _current_ _hair_ _capture_ _methods_ _focus_ _on_ _hair_ _shape_ _estimation_ _many_ _applications_ _could_ _benefit_ _from_ _an_ _automated_ _method_ _for_ _capturing_ _the_ _appearance_ _of_ _a_ _physical_ _hair_ _sample,_ _from augmented/virtual reality to hair dying development._ _Build-_ _ing on recent advances in inverse graphics and material capture_ _using deep neural networks, we introduce a novel method for hair_ _color_ _digitization._ _Our_ _proposed_ _pipeline_ _allows_ _capturing_ _the_ _color appearance of a physical hair sample and renders synthetic_ _images_ _of_ _hair_ _with_ _a_ _similar_ _appearance,_ _simulating_ _different_ _hair styles and/or lighting environments. Since rendering realistic_ _hair images requires path-tracing rendering, the conventional in-_ _verse graphics approach based on differentiable rendering is un-_ _tractable. Our method is based on the combination of a controlled_ _imaging device, a path-tracing renderer, and an inverse graphics_ _model based on self-supervised machine learning, which does not_ _require to use differentiable rendering to be trained._ _We illustrate_ _the performance of our hair digitization method on both real and_ _synthetic images and show that our approach can accurately cap-_ _ture and render hair color._ Introduction Hair realism is required in numerous applications including but not limited to animation, gaming, special effects and virtual/augmented reality. Hair appearance complexity lies in the geometry and properties of hair fibers and the interaction between them. For this reason, defining and controlling hair appearance is difficult to automatize. Hair rendering Various scattering models have been proposed in the literature to simulate the way light is reflected from hair fibers [4, 12, 18] offering physically-based realistic results. Different light bounces on the hair fiber, which is usually represented by a cylinder, have an important effect on the hair appearance and thus its realism. Specularities, hair color and hair tone are directly connected with the three scattering components introduced in [12]. With the recent advances in the parallelization of ray tracing ( _OptiX_ [13], _Vulkan RT_ [5]), path-tracing implementations of these models have become more practical, increasing the degree of realism due to global illumination. The control over the appearance of the hair color is based on physical parameters of indi IS&T International Symposium on Electronic Imaging 2022 I P i Al i h d S XX 383 1 vidual hair fibers, such as natural melanin concentration/ratio or other artificial dye colorants. In order to improve the user friendliness in production, visual attributes such as the albedo have been introduced in [2] and implemented in _Renderman_ [3] to favor the artistic expression. However, the tuning of these parameters to match the appearance of a physical hair sample is almost impossible without a psycho-visual match. Hair Capture Various methods have been proposed to capture hair appearance from example images. The general objective consists in estimating hair descriptors that can render hair with a similar appearance in a synthetic environment. The hair capture is often performed using a multiview system as in [11] or RGB-D camera as shown in [11]. Other methods focus on conventional single view images to provide a more scalable solution to this problem, using databases of references 3D hair models for comparison as done in [6, 7]. However, all these methods focus on estimating hair shape and do not provide solutions to reproduce the color appearance of a hair, which is a challenging problem. Thus, most systems require hair color parameters to be set manually by expert artists. Furthermore, existing methods can only capture a complete hair style appearance and cannot be used on hair samples such as a single strand. In practice, many applications such as hair dye development would benefit from a hair capture system on a hair sample. This would allow to dye hair strands samples, avoiding testing dye formulas on the entire hair of a volunteer. To the best of our knowledge, there is no existing approach for capturing hair color appearance from hair strand images. Inverse graphics Given a natural image, _inverse_ _graphics_ approaches aim to estimate features that are typically used in computer graphics scene representation, such as HDR environment map [16] or meshes of 3D objects such as faces [9]. This idea has been successfully applied to material capture tasks, accelerating the computer graphics creation pipeline by estimating material parameters from an example image. Inverse graphics models are generally based on a neural network that is trained on synthetic images using a differentiable renderer for supervision [1]. However, hair rendering requires path-tracing operations that are not supported by current differentiable renderers. Ray-tracing rendering is _a priori_ a non-differentiable operation. The gradients can be estimated approximately as in [10] but due to the amount of light bounces in hair geometry the implementation of a conventional inverse graphics approach is untractable in our case. Recently, a self-supervised approach for training an inverse graphics model was introduced in [8], relaxing the need for a differentiable renderer. In this paper, we propose to build on recent advances in inverse graphics and material capture using deep neural networks, introducing a novel method for hair color digitization. Given a physical hair sample, our objective is to build an automated method to capture the hair color appearance and render it in a synthetic environment automatically. Such a method has direct applications in virtual/augmented reality, as well as hair dying development. Furthermore, we focus on hair color and exclude the estimation of hair shape parameters, which can be controlled _a poste-_ _riori_ in the rendering environment to simulate various hairstyles. In addition, color heterogeneity of different fibers or the amount _Figure_ _2._ _The_ _imaging_ _setup_ _used_ _for_ _capturing_ _hair_ _sample_ _images._ _It_ _is_ _composed_ _of_ _one_ _camera_ _and_ _three_ _light_ _sources_ _for_ _controlled_ _acquisitions_ _conditions._ _Figure 3._ _Top, examples of hair swatches images acquired using our imag-_ _ing_ _device._ _Bottom,_ _examples_ _of_ _synthetic_ _images_ _obtained_ _with_ _our_ _hair_ _path-tracing renderer._ of specular reflection (hair damage, sebum levels) has a direct effect on hair appearance, but capturing these effects are out of the scope of this paper. Our contributions can be summarized as follows: - We propose to combine controlled imaging and deep inverse graphics models to provide material capture solutions for non-differentiable renderers. - We apply this method to create a hair sample digitization pipeline that can capture the appearance of a hair sample and synthesize images of hair with a similar appearance using a path-tracing renderer. - We validate our hair digitization model on synthetic and real-world data. Method _Hair Strand Imagery_ The imaging setup used for capturing hair swatch images is illustrated in Figure 2. It is composed of fixed camera and illumination to obtain controlled acquisition conditions. The hair swatch is stretched out on a flat-surface holder to fix the distance to the camera. A different geometry, such as a curved surface for holding strands, could be used to capture specular and secondary hair reflections. Example images of hair acquired with this system are visible in Figure 3. Compared to other hair capture systems [14, 6], our acquisition method focuses on hair color and does not capture the geometry of a complete hairstyle. This choice was made to obtain a more scalable hair digitization approach, that can be done at a large scale using small synthetic/real hair swatches, which is more convenient for hair dying development. Furthermore, the hair geometry can still be edited in the rendering environment, as illustrated in Figure 1. IS&T International Symposium on Electronic Imaging 2022 383 2 I P i Al i h d S XX _Figure 4._ _Our renderer takes as input hair parameters h that determine the_ _hair_ _color_ _and_ _scene_ _parameters_ _s_ _which_ _control_ _camera_ _position_ _and_ _hair_ _shape._ _Hair Path-Tracing Renderer_ The hair renderer used in this approach is based on the scattering model described in [18, 15]. Since the objective of this work is hair appearance, a physically-based renderer that accurately describes the lobes of light bounces on the hair cylinder is essential. The path tracing implementation of our renderer was performed in the parallelized framework _Nvidia OptiX_ [13] to accelerate the computations. As illustrated in Figure 4, we divide the rendering parameters into two categories: the hair parameters _h_ that determine the hair color and the scene parameters _s_ which control the other scene parameters such as camera position and hair shape. For a given set of hair parameters, the scene parameters can be dynamically controlled to produce images at different scales, and different hairstyles, as seen in Figure 1. The interaction with the renderer for controlling the hair color in the scene is performed by tuning the parameters of the concentration/ratio of the natural hair melanin of individual hair fibers [4] as well as an additional color absorption parameter simulating an artificial dye colorant. Table 1: Description of the parameters controlling the hair color in our renderer. <u>parameter</u> <u>range</u> dye R,G,B [0, 255] dye concentration [0, 1] melanin concentration [0, 1] <u>melanin ratio (eumelanin/pheomelanin)</u> <u>[0, 1]</u> _Hair Inverse Graphics Encoder_ Self-supervised training Building upon the deep inverse graphics approach from [8], we propose a deep inverse graphics model using self-supervised learning and synthetic images. In particular, this method allows learning an inverse graphics encoder without the need for a differentiable renderer, replacing the loss function defined in the image space by a loss function defined in the space of rendering parameters. For each synthetic image _i_ we sample a random vector of hair parameters _hi_, using the parameters described in Table 1. To obtain training with a large diversity of hair colors, we sample _n_ vectors of hair parameters using a uniform distribution for each parameter. This sometimes leads to unrealistic hair colors, as seen in Figure 3, but ensures that our model generalizes well to rare hair colors such as blue or pink. To introduce hair fiber localization variations among the synthetic images, we randomly sample for each synthetic image the camera position parameters, that are defined with spherical . Hair digitization At inference time, the inverse graphics encoder is used to estimate hair color using real hair swatches. Our imaging system is used to obtain an image of a hair sample, that we denote _xswatch_ . This image is sent to the graphics encoder which estimates the associated hair rendering parameters _E_ ( _xswatch_ ). Finally, these hair parameters can be used with the path-tracing engine to render synthetic images with various scene parameters _s_, such as different hairstyles, lighting conditions, or camera positions. This hair digitization pipeline is illustrated in Figure 6. _Figure_ _5._ _The_ _training_ _procedure_ _of_ _our_ _hair_ _inverse_ _graphics_ _model._ _Hair_ _color_ _parameters_ _hi_ _are_ _randomly_ _sampled_ _and_ _passed_ _to_ _the_ _renderer_ _R_ _to_ _produce_ _a_ _synthetic_ _swatch_ _image_ _using_ _adapted_ _scene_ _parameters_ _s_ <sup>_swatch_</sup> _._ _The rendered image is passed to the inverse graphics encoder E_ _that learns_ _to estimate the initial hair parameters hi_ _using Lgraphics, a loss function defined_ _in the graphics parameter space._ _Figure 6._ _Our hair digitization pipeline._ _An image xswatch_ _of the hair sample_ _is_ _acquired_ _and_ _passed_ _to_ _the_ _inverse_ _graphics_ _encoder_ _E_ _to_ _estimate_ _hair_ _color_ _parameters._ _Synthetic_ _images_ _of_ _hair_ _with_ _the_ _same_ _appearance_ _as_ _the_ _hair_ _sample_ _can_ _be_ _rendered_ _using_ _the_ _estimated_ _hair_ _parameters_ _and_ _the_ _chosen_ _scene_ _parameters_ _s._ _In_ _this_ _example,_ _sstraight_ _allows_ _synthesizing_ _portrait scale images of straight hair._ coordinates. We denote this random scene parameters for synthesizing the swatch image _i_ as _s_ <sup>_swatch_</sup> _i_ . These rendering parameters are then passed to the ray tracing renderer to produce the synthetic image _R_ ( _hi,_ _s_ <sup>_swatch_</sup> _i_ ). Finally, the synthetic image is given as input to an encoder network _E_, which is trained to estimate the initial hair parameters _hi_ . This training procedure is illustrated in Figure 5. In total, the deep inverse graphics encoder _E_, parametrized by its weights Θ, is trained to minimize the following loss function using gradient descent: _n_ ## ∑ _i_ =1 2 ��� _hi −_ _E_ ( _R_ ( _hi,_ _siswatch_ ))��� min Θ <sup>_Lgraphics_</sup> <sup>= min</sup> Θ <u>1</u> _n_ minΘ Θ IS&T International Symposium on Electronic Imaging 2022 I P i Al i h d S XX 383 3 _Figure 7._ _Qualitative results on real and synthetic hair swatch images._ _Our inverse graphics model accurately captures the hair appearance from hair swatch_ _images, over a large variety of hair colors._ Experiments and Results _Implementation_ To train our graphics encoder we use the same fully convolutional neural network architecture as in [8]. We use a training set of _n_ = 5000 synthetic images generated using the renderer described previously. Our model is trained over 400 epochs using the Adam optimizer, a fixed learning rate of 10 <sup>_−_</sup> <sup>6</sup> and a batch size of 32. Since existing methods cannot capture the appearance of a hair sample but only function on a complete hair, we cannot compare our approach to existing baselines. _Qualitative Evaluation_ We performed qualitative experiments on both synthetic and real data. First, we captured images of real hair swatches using our imaging system and with our inverse graphics approach we synthesized images with various scene settings, as seen in Figure 1. For assessing performance on more challenging hair colors, we synthesized a set of test swatch images and repeated the experiment. For both real and synthetic images, it can be observed that our approach allows us to accurately capture the hair appearance over a range of various hair colors. The fine color variations between several shades of brown hair are still visible in the rendered images, which tends to show that our model is accurate enough to be used in practice. However, it can be observed that our model is not able to reproduce the natural hair color variation that can exist within individual hair fibers. This limitation could be overcome by introducing heterogeneity in hair parameters, both in the renderer and inverse graphics model, such as a standard deviation for each color parameter. _Quantitative Evaluation_ In order to quantitatively assess the performance of our approach, we also performed synthetic experiments. We synthesized a set of 300 original hair swatch images using random hair parameters drawn according to a uniform distribution. For each synthetic image, we estimated the hair parameters using our inverse graphics encoder, and rendered the corresponding image using the same scene parameters to obtain images with aligned hair fibers. Finally, we computed various image reconstruction metrics between the original and the reconstructed strand images. The re Table 2 : Hair image reconstruction performance on synthetic data <u>evaluation measure</u> <u>value (mean</u> _<u>±</u>_ <u>std )</u> <u>L1</u> <u>7.08</u> _<u>±</u>_ <u>11.79</u> <u>MSSIM [17]</u> <u>0.20</u> _<u>±</u>_ <u>0.04</u> <u>LPIPS [20]</u> <u>0.12</u> _<u>±</u>_ <u>0.19</u> sults of this experiment are reported in Table 2. The low errors on all image reconstruction metrics tend to confirm the qualitative evaluation results. Conclusion In this paper, we introduced a novel hair method for automatic digitization of hair color appearance between real samples and synthetic images. Both qualitative and quantitative results imply satisfactory results for real applications. Future work might seek to include color heterogeneity of hair fibers and varying specular properties (hair shine) adapting the imaging and the rendering system. References [1] Chengqian Che et al. “Towards Learning-Based Inverse Subsurface Scattering”. In: _IEEE Int. Conf. Comput. Pho-_ _togr. (ICCP)_ (2020). [2] Matt Jen-Yuan Chiang et al. “A Practical and Controllable Hair and Fur Model for Production Path Tracing”. In: _ACM_ _Trans. Graph._ New York, NY, USA, 2015. [3] Per Christensen et al. “RenderMan: An Advanced PathTracing Architecture for Movie Rendering”. In: _ACM_ _Trans. Graph._ (2018). [4] Eugene d’Eon et al. “An Energy-Conserving Hair Reflectance Model”. In: _Eurographics_ . 2011. [5] Khronos Group. _Vulkan_ . URL: `https://www.vulkan.` `org/` (visited on 08/11/2021). [6] Liwen Hu et al. “Robust Hair Capture using Simulated Examples”. In: _ACM Trans. Graph. (TOG)_ (2014). IS&T International Symposium on Electronic Imaging 2022 383 4 I P i Al i h d S XX [7] Liwen Hu et al. “Single-View Hair Modeling using a Hairstyle Database”. In: _ACM Trans. Graph._ (2015). [8] Robin Kips et al. “Deep Graphics Encoder for Real-Time Video Makeup Synthesis From Example”. In: _CVPR Work-_ _shops_ . 2021. [9] Tianye Li et al. “Learning a Model of Facial Shape and Expression from 4D scans”. In: _ACM_ _Trans._ _Graph,_ _SIG-_ _GRAPH Asia_ (2017). [10] Tzu-Mao Li et al. “Differentiable Monte Carlo Ray Tracing through Edge Sampling”. In: _ACM_ _Trans._ _Graph._ (2018). [11] Linjie Luo et al. “Multi-view Hair Capture using Orientation Fields”. In: _CVPR_ . 2012. [12] Stephen R. Marschner et al. “Light Scattering from Human Hair Fibers”. In: 2003. [13] Nvidia. _Nvidia_ _Optix_ _Ray_ _Tracing_ _Engine_ . URL: `https:` `/` `/` `developer` `.` `nvidia` `.` `com` `/` `optix` (visited on 08/11/2021). [14] Sylvain Paris, Hector M Briceno, and Franc¸ois X Sillion. “Capture of Hair Geometry from Multiple Images”. In: _ACM Trans. Graph._ (2004). [15] M. Pharr. _The Implementation of a Hair Scattering Model_ . 2016. [16] Gowri Somanath and Daniel Kurz. “HDR Environment Map Estimation for Real-Time Augmented Reality”. In: _CVPR_ . 2021. [17] Zhou Wang, Eero P Simoncelli, and Alan C Bovik. “Multiscale Structural Similarity for Image Quality Assessment”. In: _Asilomar_ _Conference_ _on_ _Signals,_ _Systems_ _&_ _Comput-_ _ers_ . 2003. [18] Ling-Qi Yan et al. “Physically-Accurate Fur Reflectance: Modeling, Measurement and Rendering”. In: _ACM Trans._ _Graph._ (2015). [19] Cem Yuksel. _Hair Models_ . 2021. URL: `www.cemyuksel.` `com/research/hairmodels` (visited on 08/11/2021). [20] Richard Zhang et al. “The Unreasonable Effectiveness of Deep Features as a Perceptual Metric”. In: _CVPR_ . 2018. IS&T International Symposium on Electronic Imaging 2022 I P i Al i h d S XX 383 5

섹션 본문

섹션 본문이 없습니다.

참고문헌 12건

  1. Towards Learning-based Inverse Subsurface Scattering 2020 10.1109/iccp48838.2020.9105209
  2. A practical and controllable hair and fur model for production path tracing 2015 10.1145/2775280.2792559
  3. Robust hair capture using simulated examples ACM Transactions on Graphics · Association for Computing Machinery · 2014 10.1145/2601097.2601194
  4. Single-view hair modeling using a hairstyle database ACM Transactions on Graphics · Association for Computing Machinery · 2015 10.1145/2766931
  5. Deep Graphics Encoder for Real-Time Video Makeup Synthesis from Example arXiv (Cornell University) · Cornell University · 2021 1048550arxiv210506407
  6. Learning a model of facial shape and expression from 4D scans ACM Transactions on Graphics · Association for Computing Machinery · 2017 10.1145/3130800.3130813
  7. Differentiable Monte Carlo ray tracing through edge sampling ACM Transactions on Graphics · Association for Computing Machinery · 2018 10.1145/3272127.3275109
  8. Multi-view hair capture using orientation fields 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2012 10.1109/cvpr.2012.6247838
  9. Capture of hair geometry from multiple images ACM Transactions on Graphics · Association for Computing Machinery · 2004 10.1145/1015706.1015784
  10. HDR Environment Map Estimation for Real-Time Augmented Reality 2021 10.1109/cvpr46437.2021.01114
  11. Multiscale structural similarity for image quality assessment 2004 10.1109/acssc.2003.1292216
  12. The Unreasonable Effectiveness of Deep Features as a Perceptual Metric arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1801.03924