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

Interactive Photo Editing on Smartphones via Intrinsic Decomposition

관련 필름·전자재료 · (15) 디스플레이 패널재료

기본 정보

저자
  1. Sumit Shekhar — Hasso Plattner Institute for Digital Engineering, University of Potsdam, Germany
  2. Max Reimann — Hasso Plattner Institute for Digital Engineering, University of Potsdam, Germany
  3. Maximilian Mayer — Hasso Plattner Institute for Digital Engineering, University of Potsdam, Germany|||Digital Masterpieces GmbH, Germany
  4. Amir Semmo — Hasso Plattner Institute for Digital Engineering, University of Potsdam, Germany|||Digital Masterpieces GmbH, Germany
  5. Sebastian Pasewaldt — Hasso Plattner Institute for Digital Engineering, University of Potsdam, Germany|||Digital Masterpieces GmbH, Germany
  6. Jürgen Döllner — Hasso Plattner Institute for Digital Engineering, University of Potsdam, Germany
  7. Matthias Trapp — Hasso Plattner Institute for Digital Engineering, University of Potsdam, Germany
DOI
10.1111/cgf.142650
저널
Computer Graphics Forum
발행년도
2021
발행기관
Wiley
피인용수
6
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1111/cgf.142650
토픽
Color Science and Applications
OpenAlex ID
W3172950807

평가 내용

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

초록

Abstract Intrinsic decomposition refers to the problem of estimating scene characteristics, such as albedo and shading, when one view or multiple views of a scene are provided. The inverse problem setting, where multiple unknowns are solved given a single known pixel‐value, is highly under‐constrained. When provided with correlating image and depth data, intrinsic scene decomposition can be facilitated using depth‐based priors, which nowadays is easy to acquire with high‐end smartphones by utilizing their depth sensors. In this work, we present a system for intrinsic decomposition of RGB‐D images on smartphones and the algorithmic as well as design choices therein. Unlike state‐of‐the‐art methods that assume only diffuse reflectance, we consider both diffuse and specular pixels. For this purpose, we present a novel specularity extraction algorithm based on a multi‐scale intensity decomposition and chroma inpainting. At this, the diffuse component is further decomposed into albedo and shading components. We use an inertial proximal algorithm for non‐convex optimization (iPiano) to ensure albedo sparsity. Our GPU‐based visual processing is implemented on iOS via the Metal API and enables interactive performance on an iPhone 11 Pro. Further, a qualitative evaluation shows that we are able to obtain high‐quality outputs. Furthermore, our proposed approach for specularity removal outperforms state‐of‐the‐art approaches for real‐world images, while our albedo and shading layer decomposition is faster than the prior work at a comparable output quality. Manifold applications such as recoloring, retexturing, relighting, appearance editing, and stylization are shown, each using the intrinsic layers obtained with our method and/or the corresponding depth data.

본문 69,902자

본문 펼치기
[DOI: 10.1111/cgf.142650](https://doi.org/10.1111/cgf.142650) EUROGRAPHICS 2021 / N. Mitra and I. Viola (Guest Editors) # Interactive Photo Editing on Smartphones via Intrinsic Decomposition Sumit Shekhar <sup>1</sup>, Max Reimann <sup>1</sup>, Maximilian Mayer <sup>1</sup> <sup>_,_</sup> <sup>2</sup>, Amir Semmo <sup>1</sup> <sup>_,_</sup> <sup>2</sup>, Sebastian Pasewaldt <sup>1</sup> <sup>_,_</sup> <sup>2</sup>, Jürgen Döllner <sup>1</sup>, and Matthias Trapp <sup>1</sup> 1Hasso Plattner Institute for Digital Engineering, University of Potsdam, Germany 2Digital Masterpieces GmbH, Germany _Volume 40_ ( _2021_ ), _Number 2_ (a) Input (b) Tattoo (c) Glass (d) Mystique (e) Divine (f) Cartoon Figure 1: _Different types of effects produced with our mobile app. It is the first that supports a large variation of image manipulation tasks_ _within a unified framework, which is based on intrinsic image decomposition._ Abstract _Intrinsic decomposition refers to the problem of estimating scene characteristics, such as albedo and shading, when one view_ _or_ _multiple_ _views_ _of_ _a_ _scene_ _are_ _provided._ _The_ _inverse_ _problem_ _setting,_ _where_ _multiple_ _unknowns_ _are_ _solved_ _given_ _a_ _single_ _known pixel-value, is highly under-constrained. When provided with correlating image and depth data, intrinsic scene decom-_ _position can be facilitated using depth-based priors, which nowadays is easy to acquire with high-end smartphones by utilizing_ _their_ _depth_ _sensors._ _In_ _this_ _work,_ _we_ _present_ _a_ _system_ _for_ _intrinsic_ _decomposition_ _of_ _RGB-D_ _images_ _on_ _smartphones_ _and_ _the_ _algorithmic as well as design choices therein. Unlike state-of-the-art methods that assume only diffuse reflectance, we consider_ _both diffuse and specular pixels. For this purpose, we present a novel specularity extraction algorithm based on a multi-scale_ _intensity decomposition and chroma inpainting. At this, the diffuse component is further decomposed into albedo and shading_ _components. We use an inertial proximal algorithm for non-convex optimization (iPiano) to ensure albedo sparsity. Our GPU-_ _based visual processing is implemented on iOS via the Metal API and enables interactive performance on an iPhone 11 Pro._ _Further, a qualitative evaluation shows that we are able to obtain high-quality outputs. Furthermore, our proposed approach_ _for specularity removal outperforms state-of-the-art approaches for real-world images, while our albedo and shading layer de-_ _composition is faster than the prior work at a comparable output quality. Manifold applications such as recoloring, retexturing,_ _relighting, appearance editing, and stylization are shown, each using the intrinsic layers obtained with our method and/or the_ _corresponding depth data._ CCS Concepts _•_ _Computing methodologies_ _,...,_ _Image-based rendering; Image processing;_ _Computational photography;_ 1. Introduction On a bright sunny day, it is quite easy for us to identify objects like a wall, a car, or a bike irrespective of their color, material or whether they are partially shaded. This remarkable capacity of human visual system (HVS) to disentangle visual ambiguities due © 2021 The Author(s). Computer Graphics Forum published by Eurographics - The European Association for Computer Graphics and John Wiley & Sons Ltd. This is an open access article under the terms of the Creative Commons Attribution NonCommercial License, which permits use, distribution and reproduction in any medium, provided the original work is properly cited and is not used for commercial purposes. to color, material, shape, and lighting is a result of many years of evolution [BBS14]. Replicating this ability for machine vision—to enable better scene understanding—has been a widely researched topic, but ever has been challenging because of its _ill-posed_ and _under-constrained_ nature. 498 _S. Shekhar et al. / Interactive Photo Editing on Smartphones via Intrinsic Decomposition_ The physical formation of an image involves various unknowns at macroscopic and microscopic levels, and decomposing them altogether makes it ill-posed. A more relaxed approximation is given by the _Dichromatic Reflection Model_ where an image ( _I_ ) is assumed to be composed of the sum of specular ( _Is_ ) and diffuse ( _Id_ ) components (at every pixel location _x_ ) [Sha85]: _I_ ( _x_ ) = _Id_ ( _x_ )+ _Is_ ( _x_ ) _._ (1) The diffuse component ( _Id_ ) can be further expressed as the product of _albedo_ (A) and _shading_ (S) [BT78]: _Id_ ( _x_ ) = _A_ ( _x_ ) _·_ _S_ ( _x_ ) _._ (2) However, even this approximation is under-constrained, because three unknowns— _A_ ( _x_ ), _S_ ( _x_ ) and _Is_ ( _x_ )—need to be solved given only the image color _I_ ( _x_ ). In this work, we propose a novel smartphone-based system to extract intrinsic layers of albedo, shading and specularity. In our system, the specularity removal is carried out as a pre-processing step followed by a depth-based energy minimization for computing the other two layers. The computed layers, apart from offering better scene understanding, facilitate a range of image-editing applications such as recoloring, retexturing, relighting, appearance editing etc. (Fig. 1). Compared to many previous works, ours is not limited in assuming a complete diffuse reflection. In general, the decomposition of an image into diffuse reflectance (albedo) and shading is referred to as Intrinsic Image Decomposition (IID). The existing IID algorithms can be broadly classified into two categories: _Learning_ -based methods: the priors on albedo and shading are incorporated as loss functions, and the decomposition is learned by training. In the past few years—with the significant improvement in deep-learning technology—such methods have become quite popular [ZKE15, KPSL16, CZL18, LVv18]. However, capturing real-world training data for IID is challenging and the existing datasets might not be sufficient [GJAF09, BKK15, BHK <sup>_∗_</sup> 16, SBZ <sup>_∗_</sup> 18]. Unsupervised learning does not require any training data, however, the results are generally of inferior quality [LVVG18, MCZ <sup>_∗_</sup> 18, LS18]. Most learning-based models have high GPU memory consumption, making them potentially unsuitable for mobile devices—especially at those image resolutions that an image-editing application typically requires. Furthermore, these models are generally not controllable at run-time, i.e., the decomposition cannot be fine-tuned to the image at hand, which is a significant limitation for interactive editing applications. _Optimization_ -based methods: a cost function based on priors is minimized to find an approximate solution. Initial techniques use simplistic priors, which are not suitable for real-world scenes [TFA05]. More complex priors improve the accuracy at the cost of associated computational complexity [ZTD <sup>_∗_</sup> 12, BBS14, BM15, WLYY17]. Readily available depth sensors fostered depth-based methods for IID [CK13, JCTL14]. Nowadays, with easily available mobile devices with depth sensors, a depthbased intrinsic image decomposition method can be a preferred choice for an intrinsic-image application in mobile environments. As an additional constraint, only a few previous methods perform both IID and specularity extraction together. Innamorati _et al_ . [IRWM17] and Shi _et al_ . [SDSY17] employ a learning-based technique: both of them train and test for single objects but do not consider a realistic scene with many objects. The algorithm by Alperovich _et al_ . [AG16] is designed for light-fields but cannot be used for a single image. The method of Beigpour _et al_ . [BSM <sup>_∗_</sup> 18] is applicable for a single image and, like ours, removes specularities in a pre-processing step. However, for specularity extraction, they do not consider chroma channels leading to artifacts in highly saturated image regions. Moreover, their method is an order of magnitude slower than ours. Unlike most of the previous standalone specularity removal techniques, we showcase our results based on a broad range of realistic images [ABC11]. Because we treat high- and low-frequency specularities differently, we obtain seamless outputs. Finally, the processing schemes of many state-of-the-art techniques are comparably slow ( _optimization-based_ _and_ _learning-_ _based_ ), resource intensive and are limited to low image resolutions ( _learning-based_ ). Thus, using an intrinsic decomposition for interactive image editing on mobile devices is considered challenging. We propose a system that provides a more practical approach to intrinsic decomposition. Specifically, we address the following design objectives: Accessibility: a decomposition is provided on readily available mobile devices with depth sensors. Speed: all post-capture processing takes at most a few seconds (on the mobile device) before the edited photo can be viewed, even when the device is offline. Thus, we cannot delegate processing to a desktop computer or the cloud. Interaction: interacting with the decomposition and editing pipeline is possible in real-time, and the navigation affordances are fairly obvious. Quality: the rendered application outputs look ( _i_ ) plausible with respect to appearance editing and ( _ii_ ) aesthetically pleasing for image-stylization tasks. To this end, we split our processing pipeline into pre-processing and image-editing stages, of which the specularity removal and image editing perform at interactive frame rates. Thereby, we provide the first mobile app that performs intrinsic decomposition in a unified framework and supports a large variation of image editing tasks (Fig. 1). This is technically achieved by utilizing the built-in depth sensor and dedicated GPU of modern smartphones for realtime capturing and interactive processing of RGB-D data. Our contributions are summarized as follows, we propose: 1. A novel, interactive specularity removal method that treats highfrequency and low-frequency specularities differently, performs chroma-inpainting to address the problem of missing or little chromaticity information for saturated pixels, and that is wellsuited for real-world images, 2. A fast and robust system for intrinsic decomposition of RGB-D images on smartphones that makes use of depth-data for local shading smoothness and enforce albedo (L1-)sparsity by employing the efficient iPiano optimization solver [OCBP14], 3. A variety of mobile-based applications—to show the ubiquitous accessibility, speed, and quality of our method—using the given depth data and/or computed intrinsic layers of albedo, shading, and specularity. © 2021 The Author(s) Computer Graphics Forum © 2021 The Eurographics Association and John Wiley & Sons Ltd. _S. Shekhar et al. / Interactive Photo Editing on Smartphones via Intrinsic Decomposition_ _Depth_ _Diffuse + Depth_ _Albedo_ 499 _Specularity_ _Removal_ _Intrinsic_ _Decomposition_ _Image_ _Editing_ _RGB-D Input_ _Output_ _Specular_ _Shading_ Figure 2: _Flowchart of our complete framework showing extraction of intrinsic layers (Sec. 3) followed by image editing (Sec. 5)._ 2. Related Work 2.1. Specularity Removal Some of the earliest methods for specularity removal were based on color segmentation, thus they were not robust against textures [KSK88, BLL96]. Mallik _et_ _al_ . [MZBK06] introduce a partial differential equation (PDE) in the SUV color space that iteratively erodes the specular component. A class of algorithms use the concept of specular-free image based on chromaticity values [TI05, SC09]. Yang _et_ _al_ . [YWA10] use a similar approach, and achieve real-time performance by employing parallel processing. Kim _et_ _al_ . [KJHK13] use a dark channel prior to obtain specular-free images, followed by an optimization framework. Guo _et al_ . [GZW18] propose a sparse low-rank reflection model and use a _L_ 1 norm constraint in their optimization to filter specularities. A broad survey of specularity removal methods is provided by Artusi _et_ _al_ . [ABC11]. Recently, Li _et_ _al_ . [LLZI17] utilize both image and depth data for removing specularity from human facial images. Most of these methods, however, employ specific object(s) or scene settings to evaluate their methods and do not consider generic real-world images. A recent method by Fu _et_ _al_ . [FZS <sup>_∗_</sup> 19] aims to address this issue; the authors assume that specularity is generally sparse and the diffuse component can be expressed as a linear combination of basis colors. They present a wide range of results, however, the optimization solving is comparably slow and is limited to low-resolution images. By contrast, our method is aimed for generic real-world high-resolution images with interactive performance on mobile devices. 2.2. Intrinsic Image Decomposition The term intrinsic decomposition was introduced in the literature by Barrow and Tenenbaum [BT78]. The Retinex theory by Land and McCann proved to be a crucial finding, which became part of many following algorithms as a prior [LM71]. In the course of previous decades, intrinsic decomposition algorithms have been proposed for image [TFA05, BBS14, BM15, ZTD <sup>_∗_</sup> 12, ZKE15,KPSL16,CZL18,MCZ <sup>_∗_</sup> 18,LS18,LXR <sup>_∗_</sup> 18,LSR <sup>_∗_</sup> 20], video [YGL <sup>_∗_</sup> 14, BST <sup>_∗_</sup> 14, MZRT16], multiple-views [LBD13, DRC <sup>_∗_</sup> 15, MQD <sup>_∗_</sup> 17] and light-fields [GEZ <sup>_∗_</sup> 17, AG16, AJSG18, BSM <sup>_∗_</sup> 18]. A survey covering many of these algorithms is provided by Bonneel _et al_ . [BKPB17]. A particular class of algorithms use depth as additional information for IID. Lee _et_ _al_ . [LZT <sup>_∗_</sup> 12] use normals to © 2021 The Author(s) Computer Graphics Forum © 2021 The Eurographics Association and John Wiley & Sons Ltd. impose constraints on shading and also use temporal constraints to obtain smooth results. Chen and Koltun [CK13] further decompose shading into direct and indirect irradiance; the authors use depth to construct position-normal vectors for regularizing them. Hachama _et_ _al_ . [HGW15] use a single image or multiple RGB-D images to construct a point cloud. The normal vectors along with low dimensional global lighting model is used to jointly estimate lighting and albedo. Similarly, we use depth information to impose local shading smoothness constraints. However, unlike previous methods, a pre-processing step of specularity removal makes our method robust against specular image pixels. Moreover, we employ an efficient iPiano optimization solver [OCBP14] for our fast and robust mobile-based solution. 3. Method A pre-processing step removes the specular highlights from the input image (Sec. 3.1), the diffuse component is further decomposed into albedo and shading layers using an efficient intrinsic decomposition optimization (Sec. 3.2). The resulting intrinsic layers are used to showcase various image editing applications (Sec. 5). A flowchart of our full pipeline is depicted in Fig. 2. 3.1. Specularity Removal Filtering It has been shown that the perception of lightness and gloss is related to image statistics and can be altered by modifying the skewness of sub-bands of luminance histogram [SLM <sup>_∗_</sup> 08]. Our specularity removal step is motivated from the above observation. Further, in order to make our method robust against color artifacts we use image intensity _L_ instead of luminance for the above [BSM <sup>_∗_</sup> 18]. The chromaticity _C_ of the input image _I_ (with color channels _R_, _G_, and _B_ ) is processed separately to handle missing color information for saturated specular pixels. _L_ = ~~�~~ _R_ <sup>2</sup> + _G_ <sup>2</sup> + _B_ <sup>2</sup> _,_ _C_ = <sup>_<u>I</u>_</sup> (3) _L_ A flowchart for our specularity removal algorithm is depicted in Fig. 3, the method broadly consists of three major steps as the following. 500 _S. Shekhar et al. / Interactive Photo Editing on Smartphones via Intrinsic Decomposition_ Intensity (In) Sub-bands Intensity (Out) Specular Mask Reducing positive coefficients of sub-bands in the masked region Inpainting missing information by iterative bilateral hole-filling Chroma (In) Chroma (Out) Figure 3: _Flowchart of our specularity removal pipeline described in Sec. 3.1. Note the chroma inpainting depicted by the inset._ 3.1.1. Identification of Specularity In general, specular reflection increases the intensity of output spectrum and, furthermore, makes it more uniform. Both of these factors are efficiently captured by the _unnormalized Wiener entropy_ ( _H_ ) introduced by Tian and Clark [TC13]. It can concisely be expressed as the product of input-image color channels _R_, _G_, and _B_ (refer to Eqns. 1 - 6 in [TC13] for a detailed derivation): _H_ ( _I_ ) = _R_ _·_ _G_ _·_ _B._ (4) The proposed unnormalized Wiener (UW) entropy encapsulates the _color-direction-changing_ and _intensity-increasing_ aspect of specularities. We can describe a specularity as a region where _H_ of the total-reflection is significantly higher than the corresponding diffuse-reflection. _H_ ( _Tot_ (λ)) _−_ _H_ ( _Dif_ (λ)) _>_ τ <sup>_′_</sup> (5) _H_ ( _Tot_ (λ)) _>_ τ <sup>_′_</sup> + _H_ ( _Dif_ (λ)) where _Tot_ (λ) is the spectrum of the total reflection, _Dif_ (λ) is the spectrum of the diffuse component and τ <sup>_′_</sup> is a particular threshold. The UW entropy for the diffuse component is assumed to have little variation within the scene and is considered a constant. Thus, a single universal threshold τ = τ <sup>_′_</sup> + _H_ ( _Dif_ (λ)) can be applied to the UW-entropy map for specular pixel identification. An image pixel is identified as specular ( _SM_ ) if _H_ ( _Tot_ (λ)) is above a threshold (τ). We assume that an image pixel is equal to the spectrum of total reflection (i.e., _H_ ( _Tot_ (λ)) = _H_ ( _I_ )), thus the specular mask is given as: (a) Input (b) τ = 0 _._ 08 (c) τ = 0 _._ 12 (d) τ = 0 _._ 17 Figure 4: _Input image and corresponding specularity mask with in-_ _creasing value of threshold_ τ _. Note that with a low threshold value,_ _even diffuse pixels are marked as specular. On the other hand, with_ _a higher threshold, some of specular pixels are missed._ BSM <sup>_∗_</sup> 18]. For this purpose, we perform multi-scale decomposition of the intensity image ( _L_ ) by repetitive edge-aware image filtering to obtain an intensity scale-space. In each repetition the spatial extent for the edge-aware filter is doubled producing a series of images of increasing smoothness. A fast way to achieve this on an iPhone is by downsampling the intensity image and then performing edge-preserving upsampling (CIEdgePreserveUpsample) with original intensity image as guide, while the downsampling factor is doubled in each repetition. Subsequently a sub-band (or a frequency band) is obtained by taking the difference between the current and the next scale. A straightforward way to reduce the specular component is to scale the positive coefficients in a sub-band with a constant κ _<_ 1. In principle, the above operation will also erode image regions which are both, diffuse and bright. We omit such cases by checking for positive coefficients only within the specular mask (Sec. 3.1.1). A common observation regarding specularity is its occurrence as smooth patches of highlights along with some sparse irregularities due to rough object surfaces. To address these two aspects of specularity distribution, we reduce the positive coefficients of high-frequency (κ _h_ ) and low-frequency (κ _l_ ) sub-bands separately (Fig. 5). For all of our experiments, we use the values _−_ 0 _._ 5 _≤_ κ _h,_ κ _l_ _≤_ 0 _._ 2. Even though we use this approach to reduce specularities, it can be easily extended (by using κ _h,_ κ _l_ _>_ 1) to © 2021 The Author(s) Computer Graphics Forum © 2021 The Eurographics Association and John Wiley & Sons Ltd. _SM_ ( _x_ ) = 1 _,_ if _H_ ( _I_ ) _>_ τ (6) 0 _,_ otherwise _._ For our experiments, τ _∈_ (0 _,_ 0 _._ 5) has been empirically determined to give plausible results (Fig. 4). The above specularity identification approach is inspired by the work of Tian and Clark [TC13]. Please refer to this work for details. 3.1.2. Intensity Reduction of Specular Pixels The highlights or specularity is efficiently captured by the positive coefficients in a luminance or intensity sub-band [BBPA15, _S. Shekhar et al. / Interactive Photo Editing on Smartphones via Intrinsic Decomposition_ seamlessly enhance it for appearance editing [BBPA15] (see supplementary material). 3.1.3. Chroma Inpainting of Specular Pixels 501 For saturated specular pixels, the chromaticity image might have little or no information. We fill in this missing detail from neighboring pixels using iterative bilateral filtering [TM98]. The initial chromaticity image with the missing information in specular pixels is considered as _C_ <sup>0</sup>, and after _k_ + 1 iteration the modified image is given as ## C k +1 ( p ) = 1 ∑ _Wp_ _q_ _∈M_ ( _p_ ) _G_ σ _s_ ( _||_ _p_ _−_ _q_ _||_ ) _G_ σ _r_ ( _||C_ <sup>_k_</sup> ( _p_ ) _−C_ <sup>_k_</sup> ( _q_ ) _||_ ) _C_ <sup>_k_</sup> ( _q_ ) _,_ (a) Input image (b) Only HF specularity removed (c) Only LF specularity removed (d) Diffuse image (HF and LF specularity removed) Figure 5: _Effect_ _of_ _high_ _frequency_ _(HF)_ _and_ _low_ _frequency_ _(LF)_ _specularity removal on an input image._ 3.2.1. Data Term The data term ensures that the image is equal to the sum of resulting albedo and shading in the log-domain. To make the solution robust, this term is weighted by pixel intensity to avoid contributions from noisy low-intensity pixels: (7) where the normalization factor _Wp_ is computed as: ## Wp = ∑ _q_ _∈M_ ( _p_ ) _G_ σ _s_ ( _||_ _p_ _−_ _q_ _||_ ) _G_ σ _r_ ( _||C_ <sup>_k_</sup> ( _p_ ) _−C_ <sup>_k_</sup> ( _q_ ) _||_ ) _._ (8) The amount of filtering in each iteration is controlled by parameters σ _s_ and σ _r_ for image _C_ <sup>_k_</sup> . As seen in Eqn. 7, the next iteration of chromaticity image is a normalized weighted average of the current one: where _G_ σ _s_ is a spatial Gaussian that decreases the contribution of distant pixels, _G_ σ _r_ is a range Gaussian that decreases the contribution of pixels that vary in intensity from _C_ <sup>_k_</sup> ( _p_ ). We search for neighboring pixels in a square pixel window, _M_ ( _p_ ), of length (5 _,_ 15) pixels. In principal, any sophisticated inpainting algorithm can be used for this purpose. However, we chose the above procedure because of its locality enabling parallel processing. The range of the inpainting parameters is: σ _s ∈_ (2 _,_ 8) and σ _r_ _∈_ (0 _._ 2 _,_ 4 _._ 0). 3.2. Intrinsic Decomposition of RGB-D Images In this section, we describe our optimization framework for decomposition of the resulting diffuse image (Fig. 7). We assume monochromatic, white illumination similar to previous IID methods, thus shading is scalar-valued and image intensity _L_ (Eqn. 3) is used as shading initialization for the optimization framework. Initial albedo is defined accordingly using Eqn. 2. We logarithmically linearize the constraints to enable simpler optimization strategies, a common practice in previous methods [BKPB17]. _id_ ( _x_ ) = _a_ ( _x_ )+ _s_ ( _x_ ) (9) In the above formulation, the lower case letters of _id_, _a_, and _s_ denotes log values of _Id_, _A_, and _S_ respectively at pixel location _x_ . In order to avoid log indeterminacy at close to zero values we add an offset for logarithm computation i.e., _id_ = _log_ ( _Id_ + ε), for all our experiments we set ε = 1 _._ 4. We enforce the constraints per color channel in the log-domain, i.e., _id_ [ _c_ ] _≈_ _a_ [ _c_ ] + _s_ for _c ∈{R,_ _G,_ _B}_ . For our decomposition, we solve for both _a_ and _s_ simultaneously by minimizing the energy function, We minimize the energy function (Eqn. 10) with respect to albedo and shading separately using an iterative solver. The data term exclusively contributes in the gradient-of-energy w.r.t. both albedo as well as shading, thus coupling both the minimization. The weighting of the energy term is controlled by λ _d_ _∈_ (0 _._ 005 _,_ 0 _._ 05). 3.2.2. Retinex Terms The Retinex Theory [LM71] forms the basis of many intrinsic decomposition techniques [BKPB17]. It imposes priors on how edges vary differently for albedo and shading. Most of the existing methods assume that an image edge is either an albedo or a shading edge. However, this is not always true and an edge can be present due to both albedo and shading. Moreover, we can identify the shading edges efficiently using the given depth data. Thus, we utilize the Retinex theory and impose constraints on albedo and shading smoothness separately. Albedo Smoothness. Ideally, an albedo image should be piecewise smooth. A straightforward way to achieve this is to perform edge-preserving smoothing. We employ a weighting function to identify and prevent smoothing at prominent albedo edges, _Ed_ ( _x_ ) = _L_ ( _x_ )� _||i_ ( _x_ ) _−_ _s_ ( _x_ ) _−_ _a_ ( _x_ ) _||_ <sup>2�</sup> _._ (11) _E_ ( _x_ ) = <sup><u>1</u></sup> 2 λ _dEd_ ( _x_ )+ λ _raEra_ ( _x_ )+ λ _rsErs_ ( _x_ ) + λ _sp||a_ ( _x_ ) _||_ 1 _wa_ ( _x_ _,_ _y_ ) _||a_ ( _x_ ) _−_ _a_ ( _y_ ) _||_ <sup>2</sup> (12) (10) where λ _dEd_, λ _raEra_, and λ _rsErs_ are data, retinex-albedo smoothness, and retinex-shading smoothness terms respectively with their corresponding weights. We use a _L_ 1 regularizer to enforce sparsity in the resulting albedo controlled by the weight λ _sp_ . © 2021 The Author(s) Computer Graphics Forum © 2021 The Eurographics Association and John Wiley & Sons Ltd. ## Era ( x ) = ∑ _y_ _∈N_ ( _x_ ) The edge weight is controlled by a parameter α _ra_, where a relatively higher value ensures texture preservation, _wa_ ( _x_ _,_ _y_ ) = exp - _−_ α _ra||a_ ( _x_ ) _−_ _a_ ( _y_ ) _||_ <sup>2�</sup> (13) 502 _S. Shekhar et al. / Interactive Photo Editing on Smartphones via Intrinsic Decomposition_ For all our experiments, we use α _ra_ _∈_ (5 _._ 0 _,_ 20 _._ 0) and consider a 3 _×_ 3 pixel neighborhood _N_ ( _x_ ) around pixel _x_ . The weighting of the energy term is regulated by λ _ra ∈_ (2 _._ 0 _,_ 40 _._ 0). Shading Smoothness. Ideally, a shading image should be smooth except for discontinuities due to irregular scene geometry or indirect illumination (such as inter-reflections and shadows). We assume only direct-illumination and ignore discontinuities due to the latter. By only taking scene geometry into consideration, we expect two scene points to have similar shading if they have similar position and normal vectors [RH01]. The position vectors are constructed as [ _x,_ _y,_ _z_ ] <sup>_⊤_</sup> where _x,_ _y_ are pixel coordinates and _z_ is the corresponding depth. The normal vector [ _nx,_ _ny,_ _nz_ ] <sup>_⊤_</sup> is constructed using the depth _D_ ( _x_ ) as, _n_ = [ _∇xD,_ _∇yD,_ 1 _._ 0] <sup>_⊤_</sup> (14) _∇xD_ and _∇yD_ represent depth gradients in horizontal and vertical directions. The normalized position vector and normal vector is combined to construct a feature vector _f_ (for a given pixel _x_ ): [ _x,_ _y,_ _z,_ _nx,_ _ny,_ _nz_ ] <sup>_⊤_</sup> . Thus, all pixels are embedded in a sixdimensional feature space. The distance between two pixels in this feature space is used to construct a weight map, _ws_ ( _x_ _,_ _y_ ) = exp( _−_ α _rs||_ _f_ ( _x_ ) _−_ _f_ ( _y_ ) _||_ <sup>2</sup> ) (15) The above weight preserves shading variations, captured as distance in feature space and the overall constraint is formulated as, for a class of problems that aim to solve for, argmin _a∈_ R <sup>_N_</sup> <sup>_g_</sup> <sup>(</sup> <sup>_a_</sup> <sup>)+</sup> <sup>_h_</sup> <sup>(</sup> <sup>_a_</sup> <sup>)</sup> (18) where _g_ ( _a_ ) is smooth and _h_ ( _a_ ) is non-smooth while both are convex, is generally given by _proximal_ _gradient_ _descent_ (PGD) [LM79]. A more efficient way to solve the above is proposed by Ochs _et al_ . [OCBP14] in their _iPiano_ algorithm with the following update scheme, + β( _a_ <sup>_k_</sup> _−_ _a_ <sup>_k−_</sup> <sup>1</sup> ) - <u>��</u> inertial term _a_ <sup>_k_</sup> <sup>+1</sup> = ( _I_ + αδ _h_ ) <sup>_−_</sup> <sup>1</sup> <u>�</u> �� <u>�</u> backward step - _a_ <sup>_k_</sup> _−_ α _∇g_ ( _a_ <sup>_k_</sup> ) - <u>��</u> <u>�</u> forward step (19) the step size parameters α and β are same as in 17. The inertial term makes iPiano more effective than PGD, where the update scheme comprises of only forward descent step and backward proximal mapping. For the special case where _h_ ( _a_ ) = λ _||a||_ 1 the proximal operator is given by _soft thresholding_, ( _I_ + αδ _h_ ) <sup>_−_</sup> <sup>1</sup> ( _u_ ) = max _{|u|−_ αλ _,_ 0 _}·_ sgn( _u_ ) (20) For our problem, the data (3.2.1) and retinex terms (3.2.2) are smooth and their sum can replace _g_ in Eqn. 18. The _L_ 1 regulariztion is achieved with _h_ = λ _sp||a||_ 1. The regularized albedo is solved for iteratively using Eqns. 19 and 20. For most of our experiments, α = 0 _._ 003 _,_ β = 0 _._ 015, and λ _sp_ = 0 _._ 15 yield plausible results. Our stopping criteria is a trade-off between performance and accuracy, we do not compute energy residue for this purpose. We aim to achieve a close to interactive performance with visually convincing application results. To this end, we empirically determined 100 iterations to be a sufficient approximation (Fig. 6). 4. Evaluation We evaluated our approach for a variety of real-world images and ground truth data. We perform qualitative comparisons with recent methods and quantitative evaluations with existing datasets for both specularity removal and intrinsic decomposition. Specularity Removal. We compare our method against recent specularity removal techniques by Fu _et_ _al_ . [FZS <sup>_∗_</sup> 19], Akashi _et_ _al_ . [AO16], Yang _et_ _al_ . [YWA10], and Shen _et_ _al_ . [SC09]. For the method of Fu _et_ _al_ ., the results were generously provided by the authors, and for others we use the implementation by Vítor Ramos [Ram20] to generate the results. We observe that most of the existing specularity removal techniques are not well suited for realworld images. The method by Fu _et al_ ., which is especially tailored for real-world scenario, also struggles to handle high-resolution images. Our proposed algorithm performs better than state-of-the-art works for natural images (Fig. 7). It is comparable to results in a controlled lab setting (see supplementary material). Moreover, our method works at interactive rates on a mobile device for highresolution images. Please refer to the supplemental material for how the intermediate steps improve the output quality. Note that the comparisons for specularity removal are performed using the desktop-based implementation of our algorithm, which makes use of guided image filtering for multi-scale decomposition of image intensity. For our mobile version, we replace guided filtering by inbuilt edge-aware filters on iOS (iPhone) to achieve interactive performance while compromising on quality. © 2021 The Author(s) Computer Graphics Forum © 2021 The Eurographics Association and John Wiley & Sons Ltd. ## Ers ( x ) = ∑ _y_ _∈N_ ( _x_ ) _ws_ ( _x_ _,_ _y_ ) _||s_ ( _x_ ) _−_ _s_ ( _y_ ) _||_ <sup>2</sup> (16) Similar to the previous term, _N_ ( _x_ ) represents the 3 _×_ 3 pixel neighborhood around pixel _x_ . The weight is controlled by a parameter α _rs_ ; for all our experiments we use α _rs ∈_ (20 _._ 0 _,_ 200 _._ 0). The weightage of the energy term is regulated by λ _rs_ _∈_ (15 _._ 0 _,_ 100 _._ 0). The feature space introduced above is based on the work of Chen and Koltun [CK13]. However, we consider this distance only in a local neighborhood to increase runtime performance. 3.2.3. Optimization Solver All the energy terms discussed above are smooth and convex except for the _L_ 1 regularizer, which is specific for albedo. This allows for a straightforward energy minimization w.r.t. shading. For both albedo and shading we minimize the energy iteratively. By using an iterative solver, we overcome the limitation of storing a large matrix in memory and calculating its inverse. Moreover, an iterative scheme allows us to stop the solver once we achieve plausible results. A shading update _s_ <sup>_k_</sup> <sup>+1</sup> is obtained by employing _Stochastic_ _Gradient Descent_ (SGD) with _momentum_ [Qia99], _s_ <sup>_k_</sup> <sup>+1</sup> = _s_ <sup>_k_</sup> _−_ α _∇E_ ( _s_ <sup>_k_</sup> )+ β( _s_ <sup>_k_</sup> _−_ _s_ <sup>_k−_</sup> <sup>1</sup> ) (17) where α and β are the step size parameters, _∇E_ is the energy gradient w.r.t. shading and _k_ is the iteration count. In order to enforce albedo sparsity, we utilize an _L_ 1 regularizer for albedo. The regularizer is convex but not smooth and thus makes the minimization of energy w.r.t. albedo challenging. The solution _S. Shekhar et al. / Interactive Photo Editing on Smartphones via Intrinsic Decomposition_ 503 Table 1: _Quantitative evaluation for intrinsic decomposition (pixel_ _value is scaled between 0 to 1), the lower the error value, the better._ <u>Datset</u> <u>MSE</u> <u>DSSIM</u> <u>Ours</u> <u>Bell</u> <u>Lettry</u> <u>Jeon</u> <u>Ours</u> <u>Bell</u> <u>Lettry</u> <u>Jeon</u> <u>LFID</u> <u>0.075</u> <u>0.056</u> <u>0.012</u> <u>0.085</u> <u>0.191</u> <u>0.144</u> <u>0.158</u> <u>0.274</u> <u>MPI-Sintel</u> <u>0.145</u> <u>0.041</u> <u>0.044</u> <u>0.042</u> <u>0.325</u> <u>0.244</u> <u>0.253</u> <u>0.288</u> Intrinsic Decomposition. We compare our intrinsic decomposition results with a RGB (Bell _et_ _al_ . [BBS14]), a RGB-D (Jeon _et_ _al_ . [JCTL14]) and a learning (Lettry _et_ _al_ . [LVVG18]) based technique to cover a broad range of methods. We use the implementations provided by the authors. Our results are comparable to the above methods (Fig. 12). Note that the methods of Bell _et_ _al_ . and Jeon _et_ _al_ . perform at an order of magnitude slower than ours on a GPU-enabled desktop system. Moreover, unlike ours the quality of their result for indoor and outdoor scene is not consistent. They perform quite well for indoor scenes however, their output quality degrade significantly for outdoor scenes (see supplementary material). Even though the time taken by Lettry _et_ _al_ . is comparable to our mobile-phone based technique, we perform comparatively better in terms of output quality. Quantitative Evaluation. For a quantitative evaluation, we require a dataset that includes ground truth depth, albedo, shading, and specularity. To this end, we use the _Light-Field_ _Intrin-_ _sic_ _Dataset_ (LFID) [SBZ <sup>_∗_</sup> 18]. We also test only the intrinsic decomposition component of our approach on the _MPI-Sintel_ dataset [BWSB12]. We use MSE and DSSIM as error metric while comparing the computed albedo (for intrinsic decomposition evaluation) and diffuse image (for specularity removal evaluation) with the respective ground truth. We compare our intrinsic decomposition results with other methods (specified in Fig. 12) in Tab. 1. For the MPI-Sintel case, we consider one frame from all the scenes, and for LFID we use three views from _Street_ _Guitar_ and _Wood_ _Metal_ light-fields. Our method performs comparatively better on LFID than MPI-Sintel dataset because the modeling assumptions for LFID is similar to ours which is physically more accurate. For specularity removal we employ the desktop implementation of our approach and achieve MSE and DSSIM values of 0 _._ 001 and 0 _._ 018 respectively. Run-time Performance. Our whole processing pipeline has been implemented on an iPhone 11 Pro smartphone running on the iOS 13 operating system with an Apple A 13 Bionic processor and 4GB of RAM. We make use of Apples _Metal_ API for GPU-based processing. The captured image is downscaled by a factor of 0 _._ 3 for interactive performance while maintaining sufficient quality. The resulting image resolution is of 1128 _×_ 1504 pixels and the corresponding depth map is either of resolution 480 _×_ 640 pixels for the front facing true-depth sensor or 240 _×_ 320 pixels for the back camera passive stereo setup. We scale the depth map using built-in filters to match the image resolution, for consistent processing. On average, the pre-processing step of specularity removal takes 0 _._ 1 seconds. For solving the optimization described in Sec. 3.2, we employ an iterative solver and analyze its performance with an increase in number of iterations for two kernel resolutions of 3 _×_ 3 and 5 _×_ 5 pixels. Our goal is to achieve visibly plausible results with interac © 2021 The Author(s) Computer Graphics Forum © 2021 The Eurographics Association and John Wiley & Sons Ltd. 3.5 2.5 1.5 0.5 0 50 100 150 200 Number of Iterations Kernel Width = 3 px. Kernel Width = 5 px. Figure 6: _Performance of the iterative optimization solver for dif-_ _ferent kernel widths and number of iterations. The values are com-_ _puted after an average of seven runs._ tive processing. We empirically determine 100 iterations as a good trade-off for the above requirement with an execution time of _≈_ 1 _._ 5 seconds for a 3 _×_ 3 pixels kernel resolution (Fig. 6). Our material editing pass requires to compute sub-bands in a pre-processing stage for each intrinsic layer, which takes _≈_ 3 _._ 5 seconds. Subsequent thereto, the editing is interactive. The other application components run interactively allowing for seamless editing. 5. Applications A perfect, physically accurate editing of a photo would require full inverse rendering with high precision. However, one can achieve convincing material [BSM <sup>_∗_</sup> 18, KRFB06] and volumetric media [NN03] editing even without the above. The intrinsic decomposition output can also be effectively used for enhancing image stylization results [MZRT16]. The following applications in our work are based on the above observations. 5.1. Material Appearance Editing Our material editing framework is based on the work of Beigpour _et al_ . [BSM <sup>_∗_</sup> 18], where the authors modify the intensity of albedo, shading, and specularity using _band-sifting_ filters [BBPA15]. The modified intrinsic layers are merged to form the output image ( _Iout_ ) with edited appearance, _Iout_ = _A_ ( _r_ 1 _m_ 1 _g_ 1 _,_ η1) _·_ _S_ ( _r_ 2 _m_ 2 _g_ 2 _,_ η2)+ _Is_ ( _r_ 3 _m_ 3 _g_ 3 _,_ η3) (21) where _rimigi_ with _i ∈{_ 1 _,_ 2 _,_ 3 _}_ represents a component of respective intrinsic layer— _A_, _S_, and _Is_ (described in Eqns. 1 and 2)—intensity, that is band-sifted. The component categorization is based on the following signal attributes: spatial frequency ( _r_ ), magnitude ( _m_ ), and sign ( _g_ ). Only a predefined set of sub-categories is defined: _ri_ _∈{H,_ _L,_ _A}_, _mi_ _∈{H,_ _L,_ _A}_, _gi_ _∈{P,_ _N,_ _A}_, where _H_ and _L_ denote high and low frequency/magnitude range, _P_ and _N_ represent positive and negative values, and _A_ denote “all”, i.e., the complete category. The amount of sifting is controlled by the scaling factor η _i_ . We can _boost_ (η _i_ _>_ 1), _reduce_ (0 _<_ η _i_ _<_ 1), or _invert_ (η _i_ _<_ 0) the selected component respectively. In our framework, we replace the original manual objectsegmentation with a mask generation step based on machine learn 504 _S. Shekhar et al. / Interactive Photo Editing on Smartphones via Intrinsic Decomposition_ Input Ours Fu _et al_ . [FZS <sup>_∗_</sup> 19] Akashi _et al_ . [AO16] Yang _et al_ . [YWA10] Shen _et al_ . [SC09] Figure 7: _Comparison of specularity removal for real-world images. The figure contains input image and the corresponding diffuse image_ _obtained using ours, Fu et al. [FZS_ <sup>_∗_</sup> _19], Akashi et al. [AO16], Yang et al. [YWA10], and Shen et al. [SC09] specularity removal methods._ (a) Input (b) Beigpour _et al_ . (c) Ours Figure 8: _Comparing our translucency effect with [BSM_ <sup>_∗_</sup> _18]._ ing [SHZ <sup>_∗_</sup> 18] or iPhone segmentation mattes [FVH19]. We enhance their transparency appearance edit by using depth-based texture warping (Fig. 8). Our framework is also able to introduce new textures in the albedo layer for the purpose of coherent retexturing (Fig. 13(a) - (c)). Moreover, our editing framework allows for multiple edit passes, which was not addressed in previous works. 5.2. Atmospheric Appearance Editing We perform atmospheric editing as _de-weathering_ and relighting in the form of _God rays_ . Our de-weathering approach is based on the (a) Input (b) Low-density fog (c) High-density fog Figure 9: _Input image and atmospheric edit with virtual fog._ work of Narasimhan _et al_ . [NN03], which enables to synthesize an image-based fog-like appearance. According to their de-weathering model, the output image ( _Iout_ ) can be expressed as a linear combination of the input image ( _Iin_ ) and the brightness of the sky ( _F_ ) using the given depth data ( _D_ ): The scattering parameter θ _∈_ (0 _._ 2 _,_ 7) controls the above linear combination. We further improved the result by using an ad © 2021 The Author(s) Computer Graphics Forum © 2021 The Eurographics Association and John Wiley & Sons Ltd. _Iout_ = _Iin ·_ _exp_ ( _−_ θ _D_ )+ _F ·_ - 1 _−_ _exp_ ( _−_ θ _D_ ) (22) _S. Shekhar et al. / Interactive Photo Editing on Smartphones via Intrinsic Decomposition_ 505 (a) Input (b) RGB-based (c) Only albedo (d) Shad. + Depth Figure 10: _Enhancements_ _and_ _variations_ _of_ _(b)_ _the_ _RGB_ _cartoon_ _stylization_ _effect_ _using_ _albedo/shading_ _decomposition_ _with_ _(c)_ _a_ _constant shading, and (d) smoothed shading and additional depth_ _edge stylization._ (a) Stylized Input (b) Raymarched (c) Normal-based Figure 11: _Comparison of shadowing/relighting methods. Here, a_ _portrait with lighting from the back (a) is used to showcase the ef-_ _fect of cartoon stylization and re-lighting using (b) a ray-marching_ _based variant and (c) a normal-angle variant for hard shadows._ vanced atmospheric-scattering model that accounts for absorption, in-scattering, and out-scattering independently [HP02] (Fig. 9). Our scene relighting approach is based on the image-based volumetric light scattering model of Mitchell [Mit08]. It consists of two steps: (1) create an occlusion map with respect to a defined point light source using depth data and (2) subsequently use the occlusion map to cast rays from the light source to every pixel. The use of an occlusion map creates an appearance of light rays shooting from the background to simulate the appearance of God rays. For both of the above edits, we make use of depth data captured by the smartphone instead of manual generation or prediction as done in previous works. We combine relighting with de-weathering to create new enhanced atmospheric edits (Fig. 13(d) - (f)). 5.3. Image Stylization using Intrinsic Layers We implement a cartoon stylization pipeline based on the extended difference-of-Gaussians (XDoG) filter by Winnemöller _et al_ . [WOG06, WKO12]. The filtering pipeline is enhanced using the computed intrinsic layers as follows. 5.3.1. Depth-based Edge Detection Color-based edge detection methods generally fail to accurately identify edges in the case of smooth or non-apparent lighting transitions between objects, and might over-emphasize noisy patterns in the image. To improve these issues and enhance geometric edges in the image, we make use of the given depth data. © 2021 The Author(s) Computer Graphics Forum © 2021 The Eurographics Association and John Wiley & Sons Ltd. We intensify depth variations by computing the _angle-sharpness_ (φ _∈_ [0 _,_ 1]), defined as the magnitude of normal vectors pointing away from the camera, φ = <sup>_<u>||Nxy||</u>_</sup> _DNz_ <sup>, where the image normal</sup> <sup>_N_</sup> <sup>(pro-</sup> duced by Eqn. 14) and depth _D_ is used to decrease the edge magnitude for distant objects of usually noisy depth information. The _angle-sharpness_ is used to boost gradients—derived from the structure tensor—in areas of high angle-sharpness, _ST_ φ = �(φω + 1) _STD,_ if φ _<_ <sup><u>(ω</u></sup> <sup>_<u>−</u>_</sup> ω <sup><u>1)</u></sup> _STD,_ otherwise (23) where _STD_ is the structure tensor calculated on the depth image in log space, and ω _∈_ [0 _,_ 1000] is a boost factor for low-luminosity edges (we use ω = 100 in our experiments). Smoothing _ST_ φ with a Gaussian yields the smoothed structure tensor from which the edge tangent flow is derived via an eigenanalysis [BWBM06]. The flow-based difference-of-Gaussians, as defined in [KD08, WKO12], is then applied on the _angle-sharpness_ φ along the flow field induced by the smoothed _ST_ φ to obtain coherent depth edges (Fig. 10(d) and supplementary material). 5.3.2. Albedo and Shading Combination In the color-based cartoon stylization pipeline, the luminance values of the input are smoothed and quantized to create a flat material effect. Through the use of our image decomposition framework, shading and albedo can be combined in multiple ways to enhance this stylization. Using albedo only, a flat cartoon like style can be created (Figs. 10(c) and 13(g)), due to the removal of shading, the output is brighter than the original image and geometric features are mainly indicated by XDoG edges. There are several ways of abstracting the shading information before recombining it with albedo for enhanced cartoon stylization. Edge-preserving smoothing of the shading layer with a large filter kernel yields an airbrush look (Fig. 10(d)), while quantizing the shading yields a look similar to a classical cartoon stylization [WOG06]. Another method for flattening shading information is to use a segmentation-based approach. We implemented a GPU-based quick-shift filter [VS08] to segment shading according to albedo clusters (Fig. 13(h)). Shading alone, combined with halftoning and edges, can create a vintage effect (Fig. 13(i)). Shading abstraction is a single-channel operation and is recombined uniformly with albedo in RGB space. 5.3.3. Shadows Shadows in hand-drawn cartoons are an important tool to convey geometric and lighting cues about the scene and are also often strategically placed to emphasize character expressions. A method based on occlusion maps can be used to generate soft-shadows with semi-realistic lighting (Fig. 11(b)). To create less realistic but more cartoon-like hard shadows, we assume that shadows are only set on a foreground object and approximate the lighting based on an angular thresholding of the depth map. For a given pixel, the re-lighted shading _s_ ˆ is defined as: _||_ <sup>_<u>n</u>_</sup> _n_ <sup>_<u>z</u>_</sup> _||_ <sup>)</sup> <sup>_<_</sup> <sup>γ</sup> _s_ ˆ = - _s,_ if - _||_ arctan( _ny,_ _nx_ ) _−_ ρ _|| <_ θ and arccos( _||_ <sup>_<u>n</u>_</sup> _n_ <sup>_<u>z</u>_</sup> _sl,_ otherwise (24) 506 _S. Shekhar et al. / Interactive Photo Editing on Smartphones via Intrinsic Decomposition_ Input Ours Bell _et al_ . [BBS14] Jeon _et al_ . [JCTL14] Lettry _et al_ . [LVVG18] Figure 12: _Comparison_ _of_ _intrinsic_ _decomposition_ _with_ _other_ _methods._ _The_ _figure_ _contains_ _input_ _image_ _and_ _the_ _corresponding_ _albedo_ _obtained_ _using_ _ours,_ _Bell_ _et_ _al._ _[BBS14],_ _Jeon_ _et_ _al._ _[JCTL14]_ _and_ _Lettry_ _et_ _al._ _[LVVG18]_ _intrinsic_ _decomposition_ _methods._ _Please_ _see_ _supplementary material for shading results._ where _l_ _∈_ [0 _,_ 2] is a luminance multiplier that either emulates shadow ( _l_ _<_ 1) or lighting ( _l_ _>_ 1), ρ is an angle that controls the shadow direction around the foreground object, and θ is the shadow circumference that is calculated by thresholding the angle deviation from ρ. To emulate the depth of the light source, normal z-angle thresholding includes only surface-normals that point at least γ degrees away from the camera (Fig. 11(c), with ρ = π _,_ θ = π _,_ γ = 0 _._ 01). 6. Discussion and Limitations Our goal is to provide photorealistic, interactive image editing using readily available RGB-D data on high-end smartphones. To this end, we implement an intrinsic decomposition technique capable of running on smartphones. The trade-offs between performance and accuracy (Sec. 4) is biased towards performance for the sake of interactivity, but nonetheless we are able to obtain high quality results. Unlike most of the previous methods, we perform a pre processing step of specularity removal and do not assume “only diffuse reflection” in the scene. We observe that the above ambiguity, apart from state-of-the-art methods, is also present in the popular intrinsic dataset – MPI-Sintel [BWSB12]. For MPI-Sintel, specularity is encoded as part of the shading information, which is physically inaccurate. Our observations suggest that specularities are formed as a complex interplay between reflectance and shading, and thus should be handled separately. The extracted intrinsic layers—along with available depth data—allows for a variety of image manipulations. However, we make some simplifying assumptions to achieve interactive processing and cope with the limited computing capabilities of mobile phones—note that most of these assumptions are also common for many state-of-the-art desktop-based methods. First of all, we only consider direct illumination and ignore the multi-bounce effects of light, such as color bleeding and soft shadows. The assumption of white colored illumination is also not valid for many © 2021 The Author(s) Computer Graphics Forum © 2021 The Eurographics Association and John Wiley & Sons Ltd. _S. Shekhar et al. / Interactive Photo Editing on Smartphones via Intrinsic Decomposition_ Input (a) Retexturing (b) Recoloring (c) Translucency Input (d) Fog (e) God rays (f) Fog + God rays Input (g) Albedo + Depth Edges (h) Quickshift Shading (i) Halftoned Shading Figure 13: _Showcasing results of our full pipeline._ 507 real-world scenes. A multi-color illuminant can cause color variations that can be mistakenly classified as albedo instead of shading. We initialize albedo with a chromaticity image for improved performance [MZRT16], and do not perform clustering in the chromaticity domain, which leads to color shifts especially in regions with low pixel-intensity. Despite the above limitations, our technique gives plausible application results at interactive frame rates. 7. Conclusions and Future Work We present a system approach that performs intrinsic image decomposition on smartphones. To the best of our knowledge, it is the first such approach for smartphones. Using the depth data captured by built-in depth sensors on smartphones, together with a novel © 2021 The Author(s) Computer Graphics Forum © 2021 The Eurographics Association and John Wiley & Sons Ltd. specularity removal pre-processing step, we are able to obtain highquality results. A GPU-based implementation using the _Metal_ API allows for close to interactive optimization solving and interactive image editing. A qualitative evaluation shows that our specularity removal method performs better than state-of-the-art approaches for real-world images. The albedo and shading layer results are on par with state-of-the-art desktop-based methods. Finally, we showcase how the intrinsic layers can be used for a variety of imageediting applications. A mobile-based intrinsic decomposition, as provided in this work, could be used for photo-realistic image editing in Augmented Reality (AR) applications. As part of future work, we aim to relax some of the existing assumptions and address image scenes with multi-color illuminant [BT17] and indirect illumination ef 508 _S. Shekhar et al. / Interactive Photo Editing on Smartphones via Intrinsic Decomposition_ fects [MSZ <sup>_∗_</sup> 19]. We also assume that the super-resolution of depth maps can further enhance our results [VAE <sup>_∗_</sup> 19]. Moreover, we believe that our specular pixel detection can be made more robust with a non-binary thresholding and better handling of bright image regions. Acknowledgements We thank the anonymous reviewers for their valuable feedback. We thank Mohammad Shafiei and Mahesh Chandra for valuable discussion w.r.t. optimization solver. We thank Florence Böttger for her help with the development of atmospheric editing pipeline. We thank Ariane Morassi Sasso, Harry Freitas da Cruz, Orhan Konak and Jessica Jall for patiently posing for the pictures. This work was funded by the German Federal Ministry of Education and Research (BMBF) (through grants 01IS15041 - “mdViProject” and 01IS19006 – “KI-Labor ITSE”) and the Research School on “Service-Oriented Systems Engineering” of the Hasso Plattner Institute. Open access funding enabled and organized by Projekt DEAL. [Correction added on 05 November 2021, after first online publication: Projekt Deal funding statement has been added.] References [ABC11] ARTUSI A., BANTERLE F., CHETVERIKOV D.: A survey of specularity removal methods. <u>Computer</u> <u>Graphics</u> <u>Forum</u> <u>30,</u> 8 (2011), 2208–2230. 2, 3 [AG16] ALPEROVICH A., GOLDLUECKE B.: A variational model for intrinsic light field decomposition. In <u>Asian</u> <u>Conference</u> <u>on</u> <u>Computer</u> <u>Vision</u> <u>(ACCV),</u> <u>November</u> <u>20-24</u> (2016), vol. 10113 of <u>Lecture</u> <u>Notes</u> <u>in Computer Science, pp. 66–82.</u> 2, 3 [AJSG18] ALPEROVICH A., JOHANNSEN O., STRECKE M., GOLDLUECKE B.: Light field intrinsics with a deep encoder-decoder network. In IEEE Conference on Computer Vision and Pattern Recognition, <u>CVPR, June 18-22 (2018), IEEE Computer Society, pp. 9145–9154.</u> 3 [AO16] AKASHI Y., OKATANI T.: Separation of reflection components by sparse non-negative matrix factorization. Computer Vision and Image <u>Understanding 146, C (May 2016), 77–85.</u> 6, 8 [BBPA15] BOYADZHIEV I., BALA K., PARIS S., ADELSON E.: Band-sifting decomposition for image-based material editing. <u>ACM</u> <u>Transactions on Graphics 34, 5 (Nov. 2015).</u> 4, 5, 7 [BBS14] BELL S., BALA K., SNAVELY N.: Intrinsic images in the wild. <u>ACM Transactions on Graphics 33, 4 (July 2014).</u> 1, 2, 3, 7, 10 [BHK <sup>_∗_</sup> 16] BEIGPOUR S., HA M. L., KUNZ S., KOLB A., BLANZ V.: Multi-view multi-illuminant intrinsic dataset. In <u>Proceedings</u> <u>of</u> <u>the</u> <u>British</u> <u>Machine</u> <u>Vision</u> <u>Conference</u> <u>(BMVC)</u> (September 2016), pp. 10.1–10.13. 2 [BKK15] BEIGPOUR S., KOLB A., KUNZ S.: A comprehensive multiilluminant dataset for benchmarking of the intrinsic image algorithms. In <u>2015</u> <u>IEEE</u> <u>International</u> <u>Conference</u> <u>on</u> <u>Computer</u> <u>Vision</u> <u>(ICCV)</u> (2015), pp. 172–180. 2 [BKPB17] BONNEEL N., KOVACS B., PARIS S., BALA K.: Intrinsic decompositions for image editing. Computer Graphics Forum 36, 2 (May 2017), 593–609. 3, 5 [BLL96] BAJCSY R., LEE S. W., LEONARDIS A.: Detection of diffuse and specular interface reflections and inter-reflections by color image segmentation. <u>International Journal of Computer Vision 17, 3 (Mar.</u> 1996), 241–272. 3 [BM15] BARRON J. T., MALIK J.: Shape, illumination, and reflectance from shading. <u>IEEE</u> <u>Transactions</u> <u>on</u> <u>Pattern</u> <u>Analysis</u> <u>and</u> <u>Machine</u> <u>Intelligence 37, 8 (2015), 1670–1687.</u> 2, 3 [BSM <sup>_∗_</sup> 18] BEIGPOUR S., SHEKHAR S., MANSOURYAR M., MYSZKOWSKI K., SEIDEL H.-P.: Light-field appearance editing based on intrinsic decomposition. <u>Journal</u> <u>of</u> <u>Perceptual</u> <u>Imaging</u> <u>1,</u> 1 (2018), 15. 2, 3, 4, 7, 8 [BST <sup>_∗_</sup> 14] BONNEEL N., SUNKAVALLI K., TOMPKIN J., SUN D., PARIS S., PFISTER H.: Interactive intrinsic video editing. <u>ACM</u> <u>Transactions on Graphics 33, 6 (Nov. 2014).</u> 3 [BT78] BARROW H., TENENBAUM J.: <u>Recovering</u> <u>intrinsic</u> <u>scene</u> <u>characteristics</u> <u>from</u> <u>images.</u> Tech. rep., Artificial Intelligence Center, SRI International, 1978. 2, 3 [BT17] BARRON J. T., TSAI Y.: Fast fourier color constancy. In <u>2017</u> <u>IEEE Conference on Computer Vision and Pattern Recognition (CVPR)</u> (2017), pp. 6950–6958. 11 [BWBM06] BROX T., WEICKERT J., BURGETH B., MRÁZEK P.: Nonlinear structure tensors. <u>Image and Vision Computing 24, 1 (2006), 41–</u> 55. 9 [BWSB12] BUTLER D. J., WULFF J., STANLEY G. B., BLACK M. J.: A naturalistic open source movie for optical flow evaluation. In Computer <u>Vision – ECCV 2012 (2012), Fitzgibbon A., Lazebnik S., Perona P., Sato</u> Y., Schmid C., (Eds.), pp. 611–625. 7, 10 [CK13] CHEN Q., KOLTUN V.: A simple model for intrinsic image decomposition with depth cues. In <u>IEEE</u> <u>International</u> <u>Conference</u> <u>on</u> <u>Computer Vision (ICCV) (USA, 2013), p. 241–248.</u> 2, 3, 6 [CZL18] CHENG L., ZHANG C., LIAO Z.: Intrinsic image transformation via scale space decomposition. In <u>IEEE</u> <u>Conference</u> <u>on</u> <u>Computer</u> <u>Vision and Pattern Recognition (CVPR) (2018), pp. 656–665.</u> 2, 3 [DRC <sup>_∗_</sup> 15] DUCHÊNE S., RIANT C., CHAURASIA G., MORENO J. L., LAFFONT P.-Y., POPOV S., BOUSSEAU A., DRETTAKIS G.: Multiview intrinsic images of outdoors scenes with an application to relighting. <u>ACM Transactions on Graphics 34, 5 (Nov. 2015).</u> 3 [FVH19] FORD B., VESTERGAARD J. S., HAYWARD D.: Advances in camera capture and photo segmentation, 2019. [https://](https://developer.apple.com/videos/play/wwdc2019/260/) [developer.apple.com/videos/play/wwdc2019/260/.](https://developer.apple.com/videos/play/wwdc2019/260/) 8 [FZS <sup>_∗_</sup> 19] FU G., ZHANG Q., SONG C., LIN Q., XIAO C.: Specular highlight removal for real-world images. <u>Computer Graphics Forum 38,</u> 7 (2019), 253–263. 3, 6, 8 [GEZ <sup>_∗_</sup> 17] GARCES E., ECHEVARRIA J. I., ZHANG W., WU H., ZHOU K., GUTIERREZ D.: Intrinsic light field images. <u>Computer</u> <u>Graphics</u> <u>Forum 36, 8 (2017), 589–599.</u> 3 [GJAF09] GROSSE R., JOHNSON M. K., ADELSON E. H., FREEMAN W. T.: Ground truth dataset and baseline evaluations for intrinsic image algorithms. In <u>International</u> <u>Conference</u> <u>on</u> <u>Computer</u> <u>Vision</u> <u>(ICCV)</u> (2009), pp. 2335–2342. 2 [GZW18] GUO J., ZHOU Z., WANG L.: Single image highlight removal with a sparse and low-rank reflection model. In European Conference on <u>Computer</u> <u>Vision</u> <u>(ECCV),</u> <u>Munich,</u> <u>Germany,</u> <u>September</u> <u>8-14</u> (2018), pp. 282–298. 3 [HGW15] HACHAMA M., GHANEM B., WONKA P.: Intrinsic scene decomposition from rgb-d images. In <u>IEEE</u> <u>International</u> <u>Conference</u> <u>on</u> <u>Computer Vision (ICCV) (2015), pp. 810–818.</u> 3 [HP02] HOFFMAN N., PREETHAM A. J.: Rendering outdoor light scattering in real time, 2002. [http://amd-dev.](http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2012/10/ATI-LightScattering.pdf) [wpengine.netdna-cdn.com/wordpress/media/2012/10/](http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2012/10/ATI-LightScattering.pdf) [ATI-LightScattering.pdf.](http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2012/10/ATI-LightScattering.pdf) 9 [IRWM17] INNAMORATI C., RITSCHEL T., WEYRICH T., MITRA N. J.: Decomposing single images for layered photo retouching. <u>Computer Graphics Forum 36, 4 (2017), 15–25.</u> 2 [JCTL14] JEON J., CHO S., TONG X., LEE S.: Intrinsic image decomposition using structure-texture separation and surface normals. In <u>European Conference on Computer Vision (ECCV) (2014), pp. 218–233.</u> 2, 7, 10 [KD08] KYPRIANIDIS J. E., DÖLLNER J.: Image abstraction by structure adaptive filtering. In <u>Theory</u> <u>and</u> <u>Practice</u> <u>of</u> <u>Computer</u> <u>Graphics</u> (2008), The Eurographics Association. 9 © 2021 The Author(s) Computer Graphics Forum © 2021 The Eurographics Association and John Wiley & Sons Ltd. _S. Shekhar et al. / Interactive Photo Editing on Smartphones via Intrinsic Decomposition_ 509 [KJHK13] KIM H., JIN H., HADAP S., KWEON I.: Specular reflection separation using dark channel prior. In <u>IEEE</u> <u>Conference</u> <u>on</u> <u>Computer</u> <u>Vision and Pattern Recognition (CVPR) (2013), p. 1460–1467.</u> 3 [KPSL16] KIM S., PARK K., SOHN K., LIN S.: Unified depth prediction and intrinsic image decomposition from a single image via joint convolutional neural fields. In <u>European</u> <u>Conference</u> <u>on</u> <u>Computer</u> <u>Vision</u> <u>(ECCV) (2016), pp. 143–159.</u> 2, 3 [KRFB06] KHAN E. A., REINHARD E., FLEMING R. W., BÜLTHOFF H. H.: Image-based material editing. <u>ACM</u> <u>Transactions</u> <u>on</u> <u>Graphics</u> <u>25, 3 (July 2006), 654–663.</u> 7 [KSK88] KLINKER G. J., SHAFER S. A., KANADE T.: The measurement of highlights in color images. <u>International</u> <u>Journal</u> <u>of</u> <u>Computer</u> <u>Vision 2, 1 (Jun 1988), 7–32.</u> 3 [LBD13] LAFFONT P., BOUSSEAU A., DRETTAKIS G.: Rich intrinsic image decomposition of outdoor scenes from multiple views. <u>IEEE</u> <u>Transactions on Visualization and Computer Graphics 19, 2 (2013), 210–</u> 224. 3 [LLZI17] LI C., LIN S., ZHOU K., IKEUCHI K.: Specular highlight removal in facial images. In IEEE Conference on Computer Vision and <u>Pattern Recognition (CVPR) (2017), pp. 2780–2789.</u> 3 [LM71] LAND E. H., MCCANN J. J.: Lightness and retinex theory. <u>Journal of the Optical Society of America 61, 1 (1971), 1–11.</u> 3, 5 [LM79] LIONS P. L., MERCIER B.: Splitting algorithms for the sum of two nonlinear operators. <u>SIAM</u> <u>Journal</u> <u>on</u> <u>Numerical</u> <u>Analysis</u> <u>16,</u> 6 (1979), 964–979. 6 [LS18] LI Z., SNAVELY N.: Learning intrinsic image decomposition from watching the world. In IEEE Conference on Computer Vision and <u>Pattern Recognition (CVPR) (2018), pp. 9039–9048.</u> 2, 3 [LSR <sup>_∗_</sup> 20] LI Z., SHAFIEI M., RAMAMOORTHI R., SUNKAVALLI K., CHANDRAKER M.: Inverse rendering for complex indoor scenes: Shape, spatially-varying lighting and svbrdf from a single image. In <u>IEEE Conference on Computer Vision and Pattern Recognition (CVPR)</u> (2020), pp. 2472–2481. 3 [LVv18] LETTRY L., VANHOEY K., VAN GOOL L.: Darn: A deep adversarial residual network for intrinsic image decomposition. In <u>2018</u> <u>IEEE Winter Conference on Applications of Computer Vision (WACV)</u> (2018), pp. 1359–1367. 2 [LVVG18] LETTRY L., VANHOEY K., VAN GOOL L.: Unsupervised deep single-image intrinsic decomposition using illumination-varying image sequences. <u>Computer</u> <u>Graphics</u> <u>Forum</u> <u>37,</u> 7 (2018), 409–419. 2, 7, 10 [LXR <sup>_∗_</sup> 18] LI Z., XU Z., RAMAMOORTHI R., SUNKAVALLI K., CHANDRAKER M.: Learning to reconstruct shape and spatially-varying reflectance from a single image. <u>ACM</u> <u>Transactions</u> <u>on</u> <u>Graphics</u> <u>37,</u> 6 (Dec. 2018). 3 [LZT <sup>_∗_</sup> 12] LEE K. J., ZHAO Q., TONG X., GONG M., IZADI S., LEE S. U., TAN P., LIN S.: Estimation of intrinsic image sequences from image+depth video. In European Conference on Computer Vision (ECCV) (2012), pp. 327–340. 3 [MCZ <sup>_∗_</sup> 18] MA W.-C., CHU H., ZHOU B., URTASUN R., TORRALBA A.: Single image intrinsic decomposition without a single intrinsic image. In <u>European</u> <u>Conference</u> <u>on</u> <u>Computer</u> <u>Vision</u> <u>(ECCV)</u> (2018), pp. 211–229. 2, 3 [Mit08] MITCHELL K.: Volumetric light scattering as a post-process. In <u>GPU Gems 3, Nguyen H., (Ed.). Addison-Wesley, 2008, pp. 275–285.</u> 9 [MQD <sup>_∗_</sup> 17] MÉLOU J., QUÉAU Y., DUROU J.-D., CASTAN F., CREMERS D.: Beyond multi-view stereo: Shading-reflectance decomposition. In Scale Space and Variational Methods in Computer Vision (2017), pp. 694–705. 3 [MSZ <sup>_∗_</sup> 19] MEKA A., SHAFIEI M., ZOLLHOEFER M., RICHARDT C., THEOBALT C.: Live illumination decomposition of videos. <u>arXiv</u> <u>preprint arXiv:1908.01961 (2019).</u> 12 © 2021 The Author(s) Computer Graphics Forum © 2021 The Eurographics Association and John Wiley & Sons Ltd. [MZBK06] MALLICK S. P., ZICKLER T., BELHUMEUR P. N., KRIEGMAN D. J.: Specularity removal in images and videos: A pde approach. In European Conference on Computer Vision (ECCV) (2006), pp. 550– 563. 3 [MZRT16] MEKA A., ZOLLHÖFER M., RICHARDT C., THEOBALT C.: Live intrinsic video. <u>ACM Transactions on Graphics 35, 4 (July 2016).</u> 3, 7, 11 [NN03] NARASIMHAN S. G., NAYAR S.: Interactive deweathering of an image using physical models. In <u>ICCV</u> <u>Workshop</u> <u>on</u> <u>Color</u> <u>and</u> <u>Photometric Methods in Computer Vision (October 2003).</u> 7, 8 [OCBP14] OCHS P., CHEN Y., BROX T., POCK T.: ipiano: Inertial proximal algorithm for non-convex optimization. <u>SIAM journal on imaging</u> <u>sciences 7, 2 (2014), 1388–1419.</u> 2, 3, 6 [Qia99] QIAN N.: On the momentum term in gradient descent learning algorithms. <u>Neural networks 12, 1 (1999), 145–151.</u> 6 [Ram20] RAMOS V.: SIHR: a MATLAB/GNU Octave toolbox for single image highlight removal. <u>Journal</u> <u>of</u> <u>Open</u> <u>Source</u> <u>Software</u> <u>5,</u> 45 (Jan. 2020), 1822. 6 [RH01] RAMAMOORTHI R., HANRAHAN P.: An efficient representation for irradiance environment maps. In <u>Proceedings</u> <u>of</u> <u>the</u> <u>28th</u> <u>Annual</u> <u>Conference</u> <u>on</u> <u>Computer</u> <u>Graphics</u> <u>and</u> <u>Interactive</u> <u>Techniques</u> (2001), SIGGRAPH ’01, p. 497–500. 6 [SBZ <sup>_∗_</sup> 18] SHEKHAR S., BEIGPOUR S., ZIEGLER M., CHWESIUK M., PALEN D., MYSZKOWSKI K., KEINERT J., MANTIUK R., DIDYK P.: Light-field intrinsic dataset. In <u>British</u> <u>Machine</u> <u>Vision</u> <u>Conference</u> <u>(BMVC), Newcastle, UK, September 3-6 (2018), p. 120.</u> 2, 7 [SC09] SHEN H.-L., CAI Q.-Y.: Simple and efficient method for specularity removal in an image. <u>Applied Optics 48, 14 (May 2009), 2711–</u> 2719. 3, 6, 8 [SDSY17] SHI J., DONG Y., SU H., YU S. X.: Learning non-lambertian object intrinsics across shapenet categories. In <u>IEEE</u> <u>Conference</u> <u>on</u> <u>Computer</u> <u>Vision</u> <u>and</u> <u>Pattern</u> <u>Recognition</u> <u>(CVPR)</u> (2017), pp. 1685– 1694. 2 [Sha85] SHAFER S. A.: Using color to separate reflection components. <u>Color Research & Application 10, 4 (1985), 210–218.</u> 2 [SHZ <sup>_∗_</sup> 18] SANDLER M., HOWARD A., ZHU M., ZHMOGINOV A., CHEN L.: Mobilenetv2: Inverted residuals and linear bottlenecks. In <u>IEEE Conference on Computer Vision and Pattern Recognition (CVPR)</u> (2018), pp. 4510–4520. 8 [SLM <sup>_∗_</sup> 08] SHARAN L., LI Y., MOTOYOSHI I., NISHIDA S., ADELSON E. H.: Image statistics for surface reflectance perception. <u>Journal of the</u> <u>Optical Society of America A 25, 4 (Apr 2008), 846–865.</u> 3 [TC13] TIAN Q., CLARK J. J.: Real-time specularity detection using unnormalized wiener entropy. In International Conference on Computer <u>and Robot Vision (2013), pp. 356–363.</u> 4 [TFA05] TAPPEN M. F., FREEMAN W. T., ADELSON E. H.: Recovering intrinsic images from a single image. <u>IEEE Transactions on Pattern</u> <u>Analysis and Machine Intelligence 27, 9 (Sept. 2005), 1459–1472.</u> 2, 3 [TI05] TAN R. T., IKEUCHI K.: Separating reflection components of textured surfaces using a single image. <u>IEEE</u> <u>Transactions</u> <u>on</u> <u>Pattern</u> <u>Analysis and Machine Intelligence 27, 2 (Feb. 2005), 178–193.</u> 3 [TM98] TOMASI C., MANDUCHI R.: Bilateral filtering for gray and color images. In <u>Sixth</u> <u>International</u> <u>Conference</u> <u>on</u> <u>Computer</u> <u>Vision</u> <u>(IEEE Cat. No.98CH36271) (1998), pp. 839–846.</u> 5 [VAE <sup>_∗_</sup> 19] VOYNOV O., ARTEMOV A., EGIAZARIAN V., NOTCHENKO A., BOBROVSKIKH G., BURNAEV E., ZORIN D.: Perceptual deep depth super-resolution. In IEEE International Conference on Computer <u>Vision (ICCV) (2019), pp. 5652–5662.</u> 12 [VS08] VEDALDI A., SOATTO S.: Quick shift and kernel methods for mode seeking. In <u>European</u> <u>Conference</u> <u>on</u> <u>Computer</u> <u>Vision</u> <u>(ECCV)</u> (2008), pp. 705–718. 9 510 _S. Shekhar et al. / Interactive Photo Editing on Smartphones via Intrinsic Decomposition_ [WKO12] WINNEMÖLLER H., KYPRIANIDIS J. E., OLSEN S. C.: Xdog: an extended difference-of-gaussians compendium including advanced image stylization. Computers & Graphics 36, 6 (2012), 740–753. 9 [WLYY17] WANG Y., LI K., YANG J., YE X.: Intrinsic decomposition from a single rgb-d image with sparse and non-local priors. In <u>IEEE International Conference on Multimedia and Expo (ICME) (2017),</u> pp. 1201–1206. 2 [WOG06] WINNEMÖLLER H., OLSEN S. C., GOOCH B.: Real-time video abstraction. <u>ACM Transactions On Graphics (TOG) 25, 3 (2006),</u> 1221–1226. 9 [YGL <sup>_∗_</sup> 14] YE G., GARCES E., LIU Y., DAI Q., GUTIERREZ D.: Intrinsic video and applications. <u>ACM</u> <u>Transactions</u> <u>on</u> <u>Graphics</u> <u>33,</u> 4 (July 2014). 3 [YWA10] YANG Q., WANG S., AHUJA N.: Real-time specular highlight removal using bilateral filtering. In European Conference on Computer <u>Vision (ECCV) (2010), pp. 87–100.</u> 3, 6, 8 [ZKE15] ZHOU T., KRAHENBUHL P., EFROS A. A.: Learning datadriven reflectance priors for intrinsic image decomposition. In <u>IEEE</u> <u>International Conference on Computer Vision (ICCV) (2015), pp. 3469–</u> 3477. 2, 3 [ZTD <sup>_∗_</sup> 12] ZHAO Q., TAN P., DAI Q., SHEN L., WU E., LIN S.: A closed-form solution to retinex with nonlocal texture constraints. <u>IEEE</u> <u>Transactions</u> <u>on</u> <u>Pattern</u> <u>Analysis</u> <u>and</u> <u>Machine</u> <u>Intelligence</u> <u>34,</u> 7 (July 2012), 1437–1444. 2, 3 © 2021 The Author(s) Computer Graphics Forum © 2021 The Eurographics Association and John Wiley & Sons Ltd.

섹션 본문

섹션 본문이 없습니다.

참고문헌 68건

  1. Quick Shift and Kernel Methods for Mode Seeking Lecture notes in computer science · Springer Science+Business Media · 2008 10.1007/978-3-540-88693-8_52
  2. A Naturalistic Open Source Movie for Optical Flow Evaluation Lecture notes in computer science · Springer Science+Business Media · 2012 10.1007/978-3-642-33783-3_44
  3. Real-Time Specular Highlight Removal Using Bilateral Filtering Lecture notes in computer science · Springer Science+Business Media · 2010 10.1007/978-3-642-15561-1_7
  4. Specularity Removal in Images and Videos: A PDE Approach Lecture notes in computer science · Springer Science+Business Media · 2006 10.1007/11744023_43
  5. Separation of reflection components by sparse non-negative matrix factorization Computer Vision and Image Understanding · Elsevier BV · 2015 10.1016/j.cviu.2015.09.001
  6. Image-based material editing 2005 10.1145/1086057.1086187
  7. On the momentum term in gradient descent learning algorithms Neural Networks · Elsevier BV · 1999 10.1016/s0893-6080(98)00116-6
  8. Using color to separate reflection components Color Research & Application · Wiley · 1985 10.1002/col.5080100409
  9. Intrinsic video and applications ACM Transactions on Graphics · Association for Computing Machinery · 2014 10.1145/2601097.2601135
  10. iPiano: Inertial Proximal Algorithm for Nonconvex Optimization SIAM Journal on Imaging Sciences · Society for Industrial and Applied Mathematics · 2014 10.1137/130942954
  11. Band-Sifting Decomposition for Image-Based Material Editing ACM Transactions on Graphics · Association for Computing Machinery · 2015 10.1145/2809796
  12. Splitting Algorithms for the Sum of Two Nonlinear Operators SIAM Journal on Numerical Analysis · Society for Industrial and Applied Mathematics · 1979 10.1137/0716071
  13. Shape, Illumination, and Reflectance from Shading IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2014 10.1109/tpami.2014.2377712
  14. Detection of diffuse and specular interface reflections and inter-reflections by color image segmentation International Journal of Computer Vision · Springer Science+Business Media · 1996 10.1007/bf00128233
  15. Multiview Intrinsic Images of Outdoors Scenes with an Application to Relighting ACM Transactions on Graphics · Association for Computing Machinery · 2015 10.1145/2756549
  16. Intrinsic images in the wild ACM Transactions on Graphics · Association for Computing Machinery · 2014 10.1145/2601097.2601206
  17. A Closed-Form Solution to Retinex with Nonlocal Texture Constraints IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2012 10.1109/tpami.2012.77
  18. Rich Intrinsic Image Decomposition of Outdoor Scenes from Multiple Views IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2012 10.1109/tvcg.2012.112
  19. Bilateral filtering for gray and color images 2002 10.1109/iccv.1998.710815
  20. A Simple Model for Intrinsic Image Decomposition with Depth Cues 2013 10.1109/iccv.2013.37
  21. Separating reflection components of textured surfaces using a single image IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2005 10.1109/tpami.2005.36
  22. Image statistics for surface reflectance perception Journal of the Optical Society of America A · Optica Publishing Group · 2008 10.1364/josaa.25.000846
  23. An efficient representation for irradiance environment maps 2001 10.1145/383259.383317
  24. Ground truth dataset and baseline evaluations for intrinsic image algorithms 2009 10.1109/iccv.2009.5459428
  25. A Survey of Specularity Removal Methods Computer Graphics Forum · Wiley · 2011 10.1111/j.1467-8659.2011.01971.x
  26. Recovering intrinsic images from a single image IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2005 10.1109/tpami.2005.185
  27. The measurement of highlights in color images International Journal of Computer Vision · Springer Science+Business Media · 1988 10.1007/bf00836279
  28. Simple and efficient method for specularity removal in an image Applied Optics · Optica Publishing Group · 2009 10.1364/ao.48.002711
  29. Estimation of Intrinsic Image Sequences from Image+Depth Video Lecture notes in computer science · Springer Science+Business Media · 2012 10.1007/978-3-642-33783-3_24
  30. Nonlinear structure tensors Image and Vision Computing · Elsevier BV · 2005 10.1016/j.imavis.2005.09.010
  31. Specular Reflection Separation Using Dark Channel Prior 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2013 10.1109/cvpr.2013.192
  32. Real-time video abstraction ACM Transactions on Graphics · Association for Computing Machinery · 2006 10.1145/1141911.1142018
  33. Interactive intrinsic video editing ACM Transactions on Graphics · Association for Computing Machinery · 2014 10.1145/2661229.2661253
  34. Real-Time Specularity Detection Using Unnormalized Wiener Entropy 2013 10.1109/crv.2013.45
  35. Lightness and Retinex Theory Journal of the Optical Society of America · Optica Publishing Group · 1971 10.1364/josa.61.000001
  36. Learning Data-Driven Reflectance Priors for Intrinsic Image Decomposition 2015 10.1109/iccv.2015.396
  37. Intrinsic Scene Decomposition from RGB-D Images 2015 10.1109/iccv.2015.99
  38. A Comprehensive Multi-Illuminant Dataset for Benchmarking of the Intrinsic Image Algorithms 2015 10.1109/iccv.2015.28
  39. Unified Depth Prediction and Intrinsic Image Decomposition from a Single Image via Joint Convolutional Neural Fields Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-46484-8_9
  40. Live intrinsic video ACM Transactions on Graphics · Association for Computing Machinery · 2016 10.1145/2897824.2925907
  41. Fast Fourier Color Constancy 2017 10.1109/cvpr.2017.735
  42. Learning Non-Lambertian Object Intrinsics Across ShapeNet Categories 2017 10.1109/cvpr.2017.619
  43. Intrinsic Image Decomposition Using Structure-Texture Separation and Surface Normals Lecture notes in computer science · Springer Science+Business Media · 2014 10.1007/978-3-319-10584-0_15
  44. A Variational Model for Intrinsic Light Field Decomposition Lecture notes in computer science · Springer Science+Business Media · 2017 10.1007/978-3-319-54187-7_5
  45. Intrinsic Decompositions for Image Editing Computer Graphics Forum · Wiley · 2017 10.1111/cgf.13149
  46. Multi-view Multi-illuminant Intrinsic Dataset 2016 10.5244/c.30.10
  47. Beyond Multi-view Stereo: Shading-Reflectance Decomposition Lecture notes in computer science · Springer Science+Business Media · 2017 10.1007/978-3-319-58771-4_55
  48. Decomposing Single Images for Layered Photo Retouching Computer Graphics Forum · Wiley · 2017 10.1111/cgf.13220
  49. Specular Highlight Removal in Facial Images 2017 10.1109/cvpr.2017.297
  50. Intrinsic decomposition from a single RGB-D image with sparse and non-local priors 2022 IEEE International Conference on Multimedia and Expo (ICME) · 2017 10.1109/icme.2017.8019390
  51. Light Field Intrinsics with a Deep Encoder-Decoder Network 2018 10.1109/cvpr.2018.00953
  52. Intrinsic Image Transformation via Scale Space Decomposition 2018 10.1109/cvpr.2018.00075
  53. Light-Field Appearance Editing based on Intrinsic Decomposition Journal of Perceptual Imaging · Society for Imaging Science & Technology · 2018 10.2352/j.percept.imaging.2018.1.1.010502
  54. Unsupervised Deep Single‐Image Intrinsic Decomposition using Illumination‐Varying Image Sequences Computer Graphics Forum · Wiley · 2018 10.1111/cgf.13578
  55. Single Image Intrinsic Decomposition Without a Single Intrinsic Image Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01264-9_13
  56. Single Image Highlight Removal with a Sparse and Low-Rank Reflection Model Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01225-0_17
  57. Learning to reconstruct shape and spatially-varying reflectance from a single image ACM Transactions on Graphics · Association for Computing Machinery · 2018 10.1145/3272127.3275055
  58. MobileNetV2: Inverted Residuals and Linear Bottlenecks 2018 10.1109/cvpr.2018.00474
  59. DARN: A Deep Adversarial Residual Network for Intrinsic Image Decomposition 2018 10.1109/wacv.2018.00153
  60. Learning Intrinsic Image Decomposition from Watching the World 2018 10.1109/cvpr.2018.00942
  61. Interactive Deweathering of An Image Using Physical Model 2003
  62. Perceptual Deep Depth Super-Resolution 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · 2019 10.1109/iccv.2019.00575
  63. Specular Highlight Removal for Real‐world Images Computer Graphics Forum · Wiley · 2019 10.1111/cgf.13834
  64. SIHR: a MATLAB/GNU Octave toolbox for single image highlight removal The Journal of Open Source Software · Open Journals · 2020 10.21105/joss.01822
  65. Inverse Rendering for Complex Indoor Scenes: Shape, Spatially-Varying Lighting and SVBRDF From a Single Image 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2020 10.1109/cvpr42600.2020.00255
  66. RECOVERING INTRINSIC SCENE CHARACTERISTICS FROM IMAGES 1978
  67. Image-based material editing ACM Transactions on Graphics · Association for Computing Machinery · 2006 10.1145/1141911.1141937
  68. XDoG: An eXtended difference-of-Gaussians compendium including advanced image stylization Computers & Graphics · Elsevier BV · 2012 10.1016/j.cag.2012.03.004