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

Light FieldsReconstructing Geometry and Reflectance Properties

간접 관련 모빌리티 소재 · (3) 자동차 인테리어 소재 (2) 샤무드(인공피혁)(24) 패션(코오롱FnC)

기본 정보

저자
  1. Gutsche, Marcel
DOI
10.11588/heidok.00025113
저널
heiDOK (Heidelberg University)
발행년도
2018
발행기관
Heidelberg University
피인용수
0
라이선스
other-oa
논문 유형
–
언어
–
원문 페이지
–
토픽
Color Science and Applications
OpenAlex ID
W6922504063

평가 내용

관련도
간접 관련
사업분야
모빌리티 소재 · (3) 자동차 인테리어 소재
부 분야
(2) 샤무드(인공피혁), (24) 패션(코오롱FnC)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
material properties, specular reflections, BRDF, surface normals, reflectance properties
판단 근거
본 논문은 빛의 장(Light Field)을 이용해 물체의 기하학적 구조와 반사 특성(BRDF)을 추출하는 알고리즘을 다룹니다. 이는 자동차 인테리어 소재나 인공피혁 등 코오롱의 다양한 표면 소재(Surface material)의 광학적 특성을 정밀하게 분석하고 평가하는 기술로 응용 가능합니다.
R&D 활용 포인트
자동차 내장재(시트, 인공피혁)나 기능성 섬유의 표면 질감 및 광택(Specular) 특성을 비파괴적으로 정밀 측정하고 품질을 관리하는 분석 모델로 활용할 수 있습니다.
평가 입력
본문 143,676자 중 30,032자 발췌

초록

Computer vision plays an important role in the progress of automation and digitalization of our society. One of the key challenges is the creation of accurate 3D representations of our environment. The rich information in light fields can enable highly accurate depth estimates, but requires the development of new algorithms.
\n
\nEspecially specular reflections pose a challenge for many reconstruction algorithms. This is due to the violation of the brightness consistency assumption, which only holds for Lambertian surfaces. Most surfaces are to some extent specular and an appropriate handling is central to avoid erroneous depth maps. 
\n
\nIn this thesis we explore the potential of using specular highlights to determine the orientation of surfaces. To this end, we examine epipolar images in light field set ups. In light field data, reflectance properties can be characterized by intensity variations in the epipolar plane space. This space is analysed and compared to the expected reflectance, which is modelled using the render equation with different bidirectional reflection distribution functions. 
\n
\nThis approach allows us to infer highly accurate surface normals and depth estimates. Furthermore, it reveals material properties encoded in the reflectance by inspecting the intensity profile. 
\n
\nOur results demonstrate the potential to increase the accuracy of the depth maps. Multiple cameras in a light field set up let us retrieve additional material properties encoded in the reflectance.

본문 143,676자

본문 펼치기
#### Dissertation submitted to the Combined Faculties for the Natural Sciences and for Mathematics of the Ruperto-Carola University of Heidelberg, Germany for the degree of Doctor of Natural Sciences put forward by M.Sc. Marcel Gutsche born in Frankfurt am Main, Germany Date of oral exam: July, 16th 2018 ## Light Fields Reconstructing Geometry and Reflectance Properties ###### Referees: PD Dr. rer. nat. Christoph Garbe Prof. Dr. rer. nat. Karl-Heinz Brenner iv Zusammenfassung: Maschinelles Sehen spielt eine wichtige Rolle im Fortschritt der Automatisierung und der Digitalisierung in unserer Gesellschaft. Die Konstruktion exakter 3D-Modelle ist dabei eine zentrale Herausforderung. Das Lichtfeld beschreibt dabei für jeden Raumpunkt und jeden Raumwinkel die Lichtstrahlen. Diese Datenfülle die Lichtfelder bieten erlaubt präzise Tiefenschätzungen, erfordert aber auch die Entwicklung neuer Algorithmen. Insbesondere spekulare Reflexionen bereiten existierenden Algorithmen Probleme. Der Grund dafür liegt in der vereinfachenden Annahme der meisten Algorithmen, dass die Helligkeit eines Objektpunktes konstant über verschiedene Ansichten bleibt. Die meisten Oberflächen erzeugen teilweise spekulare Reflektionen, was bei der Erstellung von Tiefenkarten berücksichtigen werden muss. In dieser Arbeit entwickeln wir verbesserte Algorithmen, die basierend auf Glanzlichtern die Oberflächenneigung schätzen. Dazu werden Epipolarbilder untersucht, die mit Lichtfeldaufbauten gewonnen werden. Lichtfelder bieten die Möglichkeit, Reflektionseigenschaften anhand von Intensitätsvariationen im Epipolarraum zu charakterisieren. Dieser Raum wird analysiert und mit der erwarteten Reflektanz verglichen, die mit Hilfe der Rendergleichung und verschiedenen bidirektionalen Reflektanzverteilungsfunktionen modelliert wird. Damit können nicht nur hoch präzise Oberflächennormalen und Tiefenkarten bestimmt werden, sondern auch Materialeigenschaften, welche in den Reflexionscharakteristiken enthalten sind. Die Ergebnisse dieser Arbeit zeigen, dass mit den neuen Algorithmen genauere Tiefenkarten erstellt und zusätzlich Materialeigenschaften gemessen werden können, wenn mehrere Kameras in einem Lichtfeldaufbau benutzt werden. Abstract: Computer vision plays an important role in the progress of automation and digitalization of our society. One of the key challenges is the creation of accurate 3D representations of our environment. The rich information in light fields can enable highly accurate depth estimates, but requires the development of new algorithms. Especially specular reflections pose a challenge for many reconstruction algorithms. This is due to the violation of the brightness consistency assumption, which only holds for Lambertian surfaces. Most surfaces are to some extent specular and an appropriate handling is central to avoid erroneous depth maps. In this thesis we explore the potential of using specular highlights to determine the orientation of surfaces. To this end, we examine epipolar images in light field set ups. In light field data, reflectance properties can be characterized by intensity variations in the epipolar plane space. This space is analysed and compared to the expected reflectance, which is modelled using the render equation with different bidirectional reflection distribution functions. This approach allows us to infer highly accurate surface normals and depth estimates. Furthermore, it reveals material properties encoded in the reflectance by inspecting the intensity profile. Our results demonstrate the potential to increase the accuracy of the depth maps. Multiple cameras in a light field set up let us retrieve additional material properties encoded in the reflectance. vi ## Acknowledgements The research I did from 2014 to 2017 at the HCI in Heidelberg would not have been possible without all the great people I had the honour to work with. Special thanks to Dr. Christoph Garbe, who made this dissertation possible and whose guidance and practical views were always valuable and encouraging. My gratitude also to Prof. Brenner, who agreed to be my second referee. It was a pleasure working with the whole Light Field group / HD Vision Systems consisting of Christoph Garbe, Maximilian Diebold, Hendrik Schilling, Hamza Aziz, Alessandro Vianello, Sven Wanner and Wolfgang Mischler and our Ground Truth co-group Karsten Krispin, Katrin Honauer, Oliver Zendel, Alexander Brock and Burkhard Güssefeld. They did not only provide intelligent counsel in every subject related matter, but also were fantastic table football companions. I am thankful for the financial support to Prof. Katja Mombaur, Prof. Bernd Jähne and the HGS MathComp which allowed me to fully concentrate on the research. I also thank my friends and my family for their unconditional support during all these years. Especially I want to thank Johann Brehmer, Merle Reinhart, Florian Dinger, Svenja Reith, Karsten Krispin and Hendrik Schilling for taking their time to proofread parts of this thesis. ix ## Contents Acknowledgements ix 1 Introduction 1 1.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.3 Contribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.4 Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2 Theory of Light Fields and Reflectance 9 2.1 Light Transport . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.1.1 The Bidirectional Reflectance Distribution Function . . . . 13 2.1.2 Light Model . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.2 From Stereo to Light Fields . . . . . . . . . . . . . . . . . . . . . 19 2.2.1 Stereo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2.2 Light Fields . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.2.3 Structure Tensor . . . . . . . . . . . . . . . . . . . . . . . 24 2.2.4 Hough Transform . . . . . . . . . . . . . . . . . . . . . . . 25 3 Capturing the Light Field 27 3.1 Capturing Devices . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.1.1 Translation Stage . . . . . . . . . . . . . . . . . . . . . . . 28 3.1.2 Camera Array . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.1.3 Microlens Arrays . . . . . . . . . . . . . . . . . . . . . . . 29 3.2 Optimal Trajectories through the BRDF Space . . . . . . . . . . . 30 3.2.1 Geometric Consideration of the Camera Setup . . . . . . . 31 3.2.2 Half-way Vector Parametrization . . . . . . . . . . . . . . 32 3.2.3 Linear Camera Motion and Fixed Light Position . . . . . . 34 3.2.4 Linear Camera Motion and a Co-Moving Light Source . . 35 xi Contents 3.2.5 Fixed Camera and Light Source, Rotating Object . . . . . 36 3.2.6 Optimal Acquisition . . . . . . . . . . . . . . . . . . . . . 36 4 Surface Normal Estimation via Geometrical Optics 39 4.1 The Inverse Problem . . . . . . . . . . . . . . . . . . . . . . . . . 39 4.2 Solving the Inverse Problem by Geometry . . . . . . . . . . . . . 41 4.3 Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5 Simultaneous BRDF and Surface Normal Extraction 47 5.1 Solving the Inverse Problem using a BRDF Model . . . . . . . . . 47 5.2 Implementation for Real and Synthetic Light Field Data . . . . . 51 5.2.1 Preprocessing . . . . . . . . . . . . . . . . . . . . . . . . . 52 5.2.2 Occlusion Handling . . . . . . . . . . . . . . . . . . . . . . 54 5.2.3 Specular Highlight Detection . . . . . . . . . . . . . . . . . 55 5.2.4 Joint Estimation of Surface Normals and BRDF Parameters 55 5.2.5 Initialization and Optimization . . . . . . . . . . . . . . . 58 5.3 Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 5.3.1 Metrics for Surface Normal Analysis . . . . . . . . . . . . 60 5.3.2 Comparison of Fresnel Effects for Different Materials . . . 61 5.3.3 Synthetic Evaluation . . . . . . . . . . . . . . . . . . . . . 62 5.3.4 Evaluation on Real World Objects . . . . . . . . . . . . . . 65 6 Consistent Estimation of BRDF, Surface Normals and Depth 71 6.1 Sparse Depth Estimation . . . . . . . . . . . . . . . . . . . . . . . 74 6.1.1 Zero Crossings . . . . . . . . . . . . . . . . . . . . . . . . 74 6.1.2 Line Fitting . . . . . . . . . . . . . . . . . . . . . . . . . . 74 6.2 Optimization with an Occlusion Aware Bilateral Regularization Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 6.2.1 Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . 77 6.2.2 Objective Function for Diffuse Regions . . . . . . . . . . . 78 6.2.3 Occlusions . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 6.2.4 Iteration Scheme . . . . . . . . . . . . . . . . . . . . . . . 80 xii Contents 6.2.5 Activation of the BRDF-Surface Normal Optimizer . . . . 81 6.3 Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 6.3.1 Synthetic . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 6.3.2 Real . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 7 Conclusion 87 7.1 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 7.2 Conclusions and Outlook . . . . . . . . . . . . . . . . . . . . . . . 88 A Appendix 91 List of Own Publications 93 List of Figures 95 Bibliography 101 xiii # 1 ## Introduction #### 1.1 Motivation One of the central challenges in computer vision is to recover the constituents of a 3D scene, including the geometry, the illumination and material properties. Disentangling all these elements from 2D images is commonly referred to as _inverse_ _rendering_ and a holy grail in computer vision. These physical qualities of our surrounding surfaces, namely distance, orientation and material properties can be summarized by the term _early_ _vision_, as stated by Poggio, Torre, and Koch [45]. In contrast, high-level vision tasks are more concerned with image semantics, meaning object detection, segmentation and classification. This thesis deals with the former, the reconstruction of distance, orientation and material properties using light fields. Knowing all the constituents of a scene in terms of geometry, illumination and reflection properties would tremendously help with a variety of tasks. The applications of robust and precise reconstruction algorithms are almost endless and cover general navigation tasks through 3D space as well as content creation of real objects for more and more widespread 3D printers. There is currently a booming market for autonomous vehicles, such as drones, robots or self-driving cars, all in need for 3D maps of their surroundings to navigate safely. 1 1 Introduction In blockbuster films, computer generated imagery (CGI), based on 3D models of faces is used to generate digital make up with astonishing results, see Figure 1.1. Many high-level computer vision tasks that are challenging based on only 2D imagery become almost trivial when additional depth information is incorporated, such as the segmentation of foreground and background objects. These findings have led to an enormous interest in research and camera development, such that even consumer devices are equipped with RBGD cameras, where additionally to the red, blue and green channel also depth is recorded. Recovering the underlying 3D world from 2D images is not only useful in a variety of applications, but it also provides interesting and challenging questions in the area of inverse rendering, the process of recovering the geometry, material properties and illumination leading to the observed images. A hard problem, which is still unsolved. In particular the effect of reflective materials on the appearance of objects is complex, handling these specular reflections is challenging. One key ingredient for the recovery of the 3D information is the relation of the same 3D point in, at least, two different views. The simplest approach is to assume constant brightness between the images. But many materials like metals or plastics do not reflect light equally in all directions. This aspect of non-uniform light distribution is discussed in great detail and possible solutions are addressed in this thesis. The problem affects many applications. Examples include automated defect detection, where metallic surfaces are challenging to handle, and dental reconstruction techniques for the creation of custom-fit dentures. Non-uniform light distributions are the central topic of this thesis. We discuss it in detail and explore possible solutions. An elegant way of representing and thinking about these non-uniform distributions is the light field representation. It describes the amount of light for each point in space and for each direction. In addition to the 3D geometry, this formalism also describes the reflectance properties of the surfaces. There are many ways to capture part of the light field. For still scenes, gantries with a single 2 1.1 Motivation (a) Digital make up based on the 3D location of a face featuring Davy Jones for Disney’s Pirates of the Caribbean. Image taken from [14]. (b) Parrot drone for creating 3D models from above. Image taken from [43]. (c) 3D printer for metal objects. Image taken from [54]. Figure 1.1: Many technologies today depend on accurate 3D models. 3 1 Introduction mounted camera are used. Camera arrays allow for dynamic scenes, but require more sophisticated calibration procedures. Also, light field cameras for the consumer market are available. They provide the angular separation using mircolens arrays in front of the image sensor. The huge amount of data in light fields is both a blessing and a challenge: while it is the reason behind their usefulness for many applications, it also makes them notoriously difficult to process. But according to Moore’s law, these computational challenges will rather sooner than later pose a less urgent problem. Since many real world objects have specular characteristics, handling these phenomena correctly in the 3D reconstruction process helps to build robust navigation algorithms which do not falter in uncontrolled environments. Motivated by the possible applications and the holy grail of perfect inverse rendering in mind, this thesis addresses the question of how to take advantage of specular highlights in the 3D reconstruction process, especially in combination with light field capture. #### 1.2 Related Work A plethora of methods for 3D reconstruction have been established. Many methods rely on triangulation, similar to the human vision system. Active systems are another important group of techniques. They are based on the duration between emitting and receiving a signal. Examples include time of flight cameras (ToF [15]), radar, lidar, sonar and ultrasound. In contrast, passive systems do not emit a signal and only capture incoming light with one, two or more cameras. Methods have been proposed to estimate scene geometry from a single image [32, 33]. These techniques require either strong prior knowledge or use deep neural networks with a need for large training data sets. Due to their reliance 4 1.2 Related Work on a single image they suffer from low accuracy and can only provide depth estimates up to a scale factor, also referred to as scale ambiguity. Other interesting techniques use more images from a single view. In methods based on photometric stereo, images are acquired from the same position under changing light conditions. This approach, first proposed by Woodham [64], uses the information that the intensity varies with the angle between the surface normal and the direction of the incoming light. Using enough measurements with different light positions, the surface normal can be constrained to a unique solution. Other work also includes specular highlights in their photometric stereo approaches [22, 35]. Depth from defocus uses multiple views from the same position but with different foci to estimate depth. The amount of blurring caused by the distance to the focal plane corresponds to the depth. This is especially used to get depth information in microscopy. The methods presented in this thesis are based on 3D reconstruction from structured light fields. In general, light fields can be described by the plenoptic function [2], which describes the light as intensity as a function of both position and direction. It represents a high-dimensional function which contains all information about the light emitted or reflected at an object surface. To reduce its dimensionality, Gortler _et_ _al._ [18] and Levoy _et_ _al._ [31] introduce the use of a 4D subset from the full light field which enables sampling of the light field using multiple cameras. Over the last years, state of the art light field scene reconstruction methods provide an increasing precision of depth estimates, even for difficult materials, at the cost of high runtimes [39, 65, 56, 13]. The accurate description of material properties is a topic often discussed in the computer graphics community with its interest in realistic rendering. Many models in particular for forward reflections have been developed. But typically they prioritize the aesthetics of the rendering as well as the computational effi 5 1 Introduction ciency over the physical accuracy. In Chapter 2 we will discuss the theory behind material properties encoded in the bidirectional distribution function (BRDF) in more detail. In the computer vision community specularities are often treated as undesired component. Hence, first publications were concerned with the detection of specular highlights and the exclusion of such areas to avoid failure of algorithms based on Lambertian assumptions [4, 16, 29]. Early examinations of the information in specular highlights available for a moving observer with a static light source were conducted by Zisserman _et al._ [66]. They concluded that the information contained in the specular highlight by two or more images is sufficient to solve the convex/concave ambiguity, _i.e._ distinguishing if a surface is bending inward or outward. However, they could not further constrain the curve generated by the moving observer on the surface. Ramamoorthi and Hanrahan [46] describe the reflected light fields as the convolution of the light distribution with the BRDF, and the reconstruction of the scene geometry as deconvolution. Jin _et_ _al._ [25] proposed another approach which utilizes a rank based cost function in a multi-view stereo setting. Other multi-view methods exploit multiple orientations in epipolar images, or similar features [10, 62, 11, 59]. Similar to the methods presented in this thesis is the work of Adato _et_ _al._ [1] but it is restricted to mirror like surfaces. They use the apparent displacement of the surface highlight in an optical flow frame work. Nair _et_ _al._ [38] incorporate reflections and material properties in their stereo framework, but they do not actually handle lighting. Instead, they attribute all shading effects to the diffuse colour. Oxholm _et_ _al._ use a multi-view setup to infer geometry and reflectance properties by means of a probabilistic model [42]. In contrast to the method presented here they need a full illumination model, whereas our method only needs the 6 1.3 Contribution position of the strongest light source, which can be inferred by many different methods. Jachnik _et_ _al._ use methods based on self-localization and mapping algorithms (SLAM) to recover the specular and diffuse components of surfaces to apply augmented reality [23]. However, they assume planar surfaces and do not provide surface normal accuracies. Wang _et_ _al._ proposed a BRDF invariant theory to recover shape from light fields [60]. Their method generates depth and surface normals from input images, but relies on quadratic shape priors and smoothness constraints in neighbouring regions, whereas the method developed in this thesis provides pixel-wise depth and surface normal estimates. #### 1.3 Contribution In this thesis, we develop methods for 3D reconstruction in the situation where the position of the light source and cameras are known. While we do not present a one-step solution for the holy grail of inverse rendering, which would include inferring the position of cameras and light sources, we make the following novel contributions: - A novel algorithm for estimating surface normals based on the position of specular highlights in a light field camera set up. - A procedure to estimate surface normals and BRDF parameters based on intensity variations in epipolar plane images. - The integration of the surface normal and BRDF parameter estimator in general framework for deriving depth, material properties and surface nor 7 1 Introduction mals. #### 1.4 Outline In Chapter 2 the theoretical background for this thesis is provided. Starting from the mechanics of light transport, we explain the interaction processes, in particular the reflection on surfaces, and discuss the theory of 3D reconstruction based on light field data. Chapter 3 is devoted to the light field acquisition process. We present the hardware used for gathering real data in this thesis, and show results for an optimal capturing setup. In Chapter 4, we develop methods to reconstruct the surface normal from specular highlights in a cross shaped light field array. Here we only take the maximum position of the highlight for estimation. This leads to an interesting geometrical optimization problem. In Chapter 5 we extend these techniques of by also taking into account the total intensity distribution. We demonstrate that this allows us to extract surface material properties in addition to the surface normal orientation. Chapter 6 is the culmination of our work: We finally develop techniques to simultaneously estimate the depth, the material properties and the surface normal orientation. Chapter 7 gives a brief summary of this thesis and addresses possible future work. 8 # 2 ## Theory of Light Fields and Reflectance In this chapter an introduction about the theory of light transport and 3D reconstructions is presented. It does not go into all the details, but gives the basic insights and formulas which this thesis is build upon. A more throughout introduction and more details can be found in the books _Digitale_ _Bildverarbeitung,_ _6th_ _revised_ _and_ _extended_ _edition_ from Jähne [24] or in _Multiple_ _View_ _Geometry_ _in_ _Computer_ _Vision_ from Hartley and Zisserman[21]. Most of the explanations with regards to the bidirectional distribution functions (BRDFs) can be found in more detail in “An Overview of BRDF Models” from Montes Soldado and Ureña Almagro[37]. #### 2.1 Light Transport For the understanding of the image formation process the concepts of the interaction between light and matter are highlighted. Depending on the material light will be partly transmitted, absorbed or reflected, see Figure 2.1. The reflection and transmission processes are governed by the Fresnel equations. They depend on the polarization of the light, the angle between the incoming light ray ωi and the surface normal n, as well as on the material properties summarized by the 9 2 Theory of Light Fields and Reflectance ##### Surface ##### Reflection ##### Absorption Transmission Figure 2.1: Light at an interface can be transmitted, absorbed or reflected. The total energy of the light is conserved. Second order effects, such as subsurface scattering, are not shown here. 10 2.1 Light Transport refractive index _n_ of the media at the interface. Additionally photons can be absorbed either by exciting vibrational modes of molecules or by exciting energy levels in the atom. We will ignore quantum specifics of light such as diffraction, but concentrate on the effects essential in geometrical optics. Before going into the details some radiometric terms are presented. The energy of a photon is given by _Qγ_ = <sup>_<u>hc</u>_</sup> (2.1) _λ_ <sup>_,_</sup> where _h_ is Planck’s constant and _c_ the speed of light. The flux or power is hence Φ = <sup>_<u>dQ</u>_</sup> _dt_ <sup>_._</sup> (2.2) The irradiance is the flux per surface area, given as _E_ = <sup>_<u>d</u>_</sup> <sup><u>Φ</u></sup> (2.3) _dA_ <sup>_._</sup> For example the radiation of the Sun causes an irradiance above the Earth of 1 _._ 361 kW m <sup>−2</sup>, known as the solar constant. The radiance, given as _<u>d</u>_ <sup>2</sup> <u>Φe</u> _L_ e _,_ Ω = _d_ Ω _dA_ cos _θ_ <sup>_,_</sup> (2.4) 11 2 Theory of Light Fields and Reflectance describes the amount of energy per time per unit area per solid angle and therefore has the units W sr <sup>−1</sup> m <sup>−2</sup> . The factor _A_ cos _θ_ represents the projected area under which the radiance is emitted, _e.g._ _A_ projected = _A_ - (n · ω) = _A_ cos _θ,_ (2.5) where n is the normalized surface normal of _A_ and ω the normalized direction of the in or outgoing light ray. The radiance is constant along geometrical lines of sight and does not fall off in contrast to the irradiance. This means that when a surface emits a radiance _Le_ the same radiance will be received by an optical system. However, this is not valid for point light sources, which are not fully resolvable in the imaging system. Here we would have to take the inverse square law into account. We distinguish between diffuse and specular reflection. For a purely specular reflection the angle of the incident light is equal to the angle of reflection, _e.g._ a mirror. Diffuse reflection occurs on rough surfaces or due to scattering centers beneath the surface. If the light is distributed in all directions with equal likelihood we have a purely diffuse material. Almost all material have some mixture of a specular and a diffuse component. Plaster or marble are examples for very diffuse materials, while thin aluminium layers are strongly specular in the visible light. Diffuse surfaces are also called Lambertian reflectors, since they obey the Lambertian cosine law _L_ - = <sup>_<u>kd</u>_</sup> (2.6) _π_ <sup>_L_</sup> <sup>i cos</sup> <sup>_θ_</sup> <sup>i</sup> <sup>_,_</sup> s where _L_ i is the incident radiance and _θ_ i he angle between the surface normal and the incoming light, _kd_ ∈ [0 _,_ 1] is the diffuse albedo of the material and _L_ the outgoing radiance. The factor of _π_ <u>1</u> <sup>is</sup> <sup>due</sup> <sup>to</sup> <sup>the</sup> <sup>integration</sup> <sup>of</sup> <sup>the</sup> <sup>cosine</sup> weighted hemisphere. 12 2.1 Light Transport ###### 2.1.1 The Bidirectional Reflectance Distribution Function Non Lambertian surfaces have a more complicated behaviour. Depending on the material we have larger reflection contributions towards certain directions, mostly in the direction of total reflection. This phenomenon is called specularity and in its most extreme form represents a perfect mirror, and all incoming rays obey the law of reflection. The bidirectional reflectance distribution function (BRDF) describes the ratio of reflected radiance _Lr_ to the incoming irradiance _Ei_, depending on the in and outgoing directions (ωi _,_ ωo) of the light. It is defined as _<u>dL</u>_ <u>o(ωo)</u> _fr_ (ωi _,_ ωo) = _L_ i(ωi) cos( _θ_ i) _d_ ωi (2.7) We note, that if _f_ r(ωi _,_ ωo) is constant, integration yields the diffuse reflection, such that _f_ r, diffuse(ωi _,_ ωo) = <sup>_<u>kd</u>_</sup> (2.8) _π_ <sup>_._</sup> To be physically plausible, a BRDF has to have the following properties: - The BRDF must conserve energy, ∀ωi _,_ �Ω <sup>_f_</sup> <sup>r(ωi</sup> <sup>_,_</sup> <sup>ωo)</sup> <sup>cos</sup> <sup>_θ_</sup> <sup>r</sup> <sup>_d_</sup> <sup>ωo</sup> <sup>≤</sup> <sup>1,</sup> - it must be positive, _e.g._ _f_ r(ωi _,_ ωo) ≥ 0 - and it must satisfy the Helmholtz reciprocity: _f_ r(ωi _,_ ωo) = _f_ r(ωo _,_ ωi). This four dimensional function can additionally simplified by assuming isotropic reflection, meaning, that the BRDF is invariant with respect to rotations around the surface normal. Figure 2.2 shows an overview of different BRDF models, 13 2 Theory of Light Fields and Reflectance classifying them in theoretical and empirical models. Theoretical models try to mirror the physical interactions between photons and matter as exact as possible while empirical models try to create realistically looking models which can be computed efficiently. A third group not shown in the image are measured BRDFs. Instead of figuring out a parametric model a goniometer, a device which automatically drives light source and sensor to a wide range on the hemisphere, is used to capture the BRDF for many combinations of incoming and outgoing directions. One examples for such a database for different materials is the MERL database[36]. Of course, such measurements are demanding and have a limited angular resolution. In computer graphics BRDFs are often not physically plausible to allow efficient computation. The most simple one is the Phong model[44]. It is given by _f_ r(ωi _,_ ωo) = _kd_ + _ks_ (ωr · ωo) <sup>_α_</sup> _,_ (2.9) where ωr is the reflection vector, calculated by ωr = 2(ωi·n)n−ωi. The constants _kd_, _ks_ and _α_ are non physical and refer to the diffuse and specular reflectivity and _α_ controls the sharpness of the specular peak. Higher values represent a more narrow intensity maximum. Instead of using the incoming and outgoing light vectors, see (Figure 2.3a) one can establish another parametrization for isotropic BRDFs using the halfway vector h . The halfway vector parametrization was proposed by [48] mainly to simplify calculations for isotropic BRDFs. In the parametrization the halfway vector is given by ωi + ωo h = ∥ωi + ωo∥ <sup>_._</sup> The direction of the halfway vector is described by the angles Θ _h_ and Φ _h_ . The 14 2.1 Light Transport Figure 2.2: There is a plethora of different BRDF models, which can be categorized according to different attributes [37]. 15 2 Theory of Light Fields and Reflectance second pair of angles Θ _d_ and Φ _d_ describe the orientation of the incoming ray relative to the half vector (Figure 2.3b). n t (a) Spherical parametrization. n h t (b) Half vector parametrization. Figure 2.3: The halfway vector parameterization allows for a mor efficient computation of the Blinn-Phong model and is especially useful for isotropic BRDFs. Building up on this parametrization is the Blinn-Phong model where the dot product ωr - ωo is replaced by h - n. This approximation is exact as long as ωo _,_ ωi _,_ ωr and n all lie in the same plane. Otherwise we get small deviations from the Phong model. The Blinn-Phong model can hence be written as _f_ r(ωi _,_ ωo) = _kd_ + _ks_ (n · h ) <sup>_m_</sup> _,_ (2.10) where _m_ has the same function as _α_ for the pure Phong model. From here on many different BRDF models have been proposed, such as the Lommel-Seeliger model[55], which is interesting, because it explains why the Moon does not appear to be a Lambertian reflector. Other more physically correct models build on the assumption of a microfacet model. The surface is modelled by randomly distributed micro reflectors, which act as tiny mirrors, see Figure 2.4. A number of different models use this underlying microfacet model, for example the Torrance-Sparrow[58], Cook-Torrance[58], Ward[63], Oren-Nayar[41] 16 2.1 Light Transport Figure 2.4: The microfacet model describes reflection properties by modeling a surface with randomly oriented microsurfaces. The underlying probability distribution, as well as the roughness of the surface dominate the appearance of a surface. and the Ashikhmin-Shirley model[3]. Exemplary the Cook-Torrance model is presented in a little more detail. The BRDF term for this model is given by _f_ r(ωi _,_ ωo) = _kd_ + _ks_ _<u>D</u>_ <u>(h)</u> _<u>F</u>_ <u>(ωo)</u> _<u>G</u>_ <u>(ωo</u> _<u>,</u>_ ωi) _,_ (2.11) 4(ωo · n)(n · ωi) where _D_ is the microfacet distribution, _F_ the Fresnel factor and _G_ the geometric attenuation factor, which expresses the ratio of light which is occluded by other microfacets. The distribution term _D_ controls how the microfacets are distributed, often a Gaussian distribution function is used. Another common function is the Beckmann distribution[6], given by _D_ (h) = <sup><u>exp (−</u></sup> <sup><u>tan2(</u></sup> <sup>_<u>α</u>_</sup> <sup><u>)</u></sup> <sup>_<u>/m</u>_</sup> <sup>2)</sup> _,_ _α_ = arccos(n · h) _,_ (2.12) _πm_ <sup>2</sup> cos <sup>4</sup> ( _α_ ) where _m_ describes the roughness of the material. A larger roughness value leads 17 2 Theory of Light Fields and Reflectance to a more diffuse appearance. The Fresnel factor describes how much of the incident light is transmitted or reflected depending on the refraction indices _n_ 1 _, n_ 2 of the media at the interface. Additionally, the Fresnel equation takes into account polarization. We do not want to go into the details of the Fresnel equations, but just present the commonly used Schlick[53] approximation _F_ ( _θ_ ) = _F_ 0 + (1 − _F_ 0)(1 − cos _θ_ ) <sup>5</sup> (2.13) _,_ (2.14) �2 _F_ 0 = - _<u>nn</u>_ <u>11 − +</u> _nn_ 22 s where _θ_ is the angle between the surface normal and the incident light ray. The geometric attenuation term expresses that neighboring parts can block of some light, that would otherwise reach a microfacet. This can be the case either when the light enters or exits the surface. Hence, it is given as _._ (2.15) _G_ = min �1 _,_ <sup><u>2(h · n</u></sup> ωo <sup><u>)(</u></sup> - h <sup>ωo · n)</sup> _,_ <sup><u>2(h ·</u></sup> ω <sup>n</sup> - <sup><u>)(</u></sup> - h <sup>ωi · n)</sup> In practice these different models are often used combined to get realistic looking materials in computer graphics. ###### 2.1.2 Light Model Having all ingredients to describe the light interaction at a surface, the question remains how the flow of light in a complex scene can be described. Again, we 18 2.2 From Stereo to Light Fields will point to ideas commonly used in computer graphics. The governing equation for the light transport is given by the render equation. It describes the amount of radiance emitted from a point in space x in direction ωo of an observer. The amount of reflected light depends on the material properties, as discussed earlier. The incident angle of the light with respect to the surface normals is represented by the shading term n - wi and is heavily used in techniques such as shape from shading. The full equation is given by _L_ (x _,_ ωo) = _Le_ (ωo) + Ω <sup>_fr_</sup> <sup>(ωo</sup> <sup>_,_</sup> <sup>ωi)</sup> <sup>_L_</sup> <sup>(ωi) (n · ωi)</sup> <sup>_d_</sup> <sup>ωi</sup> <sup>_,_</sup> (2.16) where _Le_ is an emission term, _e.g._ for a light source and Ωis the half sphere around the surface normal. In practice it is impossible to find an analytical solution to this integral. This is due to the fact, that we need to take into account the incoming light contributions from all directions in the upper half sphere. The calculated radiance can then again contribute to the radiance of other points and depending on the geometry we have a complicated interaction scheme with a recursive definition. In computer graphics this problem can solved by ray tracing, where light rays are cast from an observer into the scene. Therefore, a Monte Carlo sampling method is used. The inverse process, the recovery of the light model parameters from several images is an even harder task, and mainly the goal of this thesis. But before introducing the techniques for recovering the BRDF and surface normals from multiple views, we will review the foundations of 3D reconstruction. #### 2.2 From Stereo to Light Fields We will now present the theoretical foundation of 3D reconstruction in light fields. Before going into the details of light field imaging we recapture simple depth estimation via triangulation, which is the basis for stereo methods using only two views. 19 2 Theory of Light Fields and Reflectance 3D point x xl xr Image plane f f Left camera b Right camera Figure 2.5: Scene geometry for estimating depth by triangulation. The different positions _xl_ and _xr_ for the projections of the 3D point x result in the disparity _d_ = _xl_ - _xr_ . The depth _z_ can then be inferred by _z_ = <sup>_<u>bf</u>_</sup> _d_ <sup>.</sup> ###### 2.2.1 Stereo When we image the same 3D scene from two different view points we have some constraints between these two projections. The underlying mathematical theory is the epipolar geometry. We assume rectified, calibrated images and a pinhole camera model. This means, that all epipolar lines are parallel to both image planes. Given two parallel, identical cameras we can infer the depth of a point x using the different positions in the image, under which this object appears, see Figure 2.5. This difference in location on the image sensor is called parallax or disparity _d_ and relates to the depth _z_ via _z_ = <sup>_<u>b</u>_</sup> <sup><u>·</u></sup> <sup>_<u>f</u>_</sup> (2.17) _d_ <sup>_,_</sup> 20 2.2 From Stereo to Light Fields where _f_ is the focal length of the camera in px and the baseline _b_ between the two camera projection centres. The greatest challenge is to actually find the same 3D point in both images. To do so, many methods rely on feature points, based on edges or corners. There is a whole family of these features, such as SIFT[34], SURF[5], ORB[47] and many others. In principal, all pixels have to be touched to find these feature points in the other image, which - with increasing image resolution - can be very time consuming, _e.g._ O( _nm_ ). Due to the rectification the search space can be constrained to the same epipolar lines, _e.g._ the same image row. There are three major problems in finding good feature points, or to retrieve them. Occlusions appear when a 3D point is visible in one view, but not the other. For these points it is not possible to infer the depth via triangulation. Featureless regions, such as blank walls, are difficult to handle as well. The lack of a significant feature prevents the correspondence search. Usually, interpolation methods are established to fill these regions. Changing brightness for specular materials from one view to another can in principal be modelled and hence accounted for, but requires more information about the scene. This is the main focus of this thesis. ###### 2.2.2 Light Fields Instead of two views, light fields utilize many views to enhance the disparity estimation, see Figure 2.6. Stacking the same image row from each view on top of another we build a so called epipolar plane image (EPI), see Figure 2.7. The slopes of the resulting lines directly relate to the disparity between the different views. 21 2 Theory of Light Fields and Reflectance 3D Surface Point Figure 2.6: To capture a structured light field, we add more cameras. For the ease of computation we keep the baseline between camera pairs constant. A common parametrization for a light field is the so called Lumigraph [17, 30]. It is defined using two parallel planes Ωand Π. The first plane Ωaddresses coordinates ( _x, y_ ) ∈ Ωin the image domain . The second plane Π contains the focal points ( _s, t_ ) ∈ Π of all cameras. The intensity for each pixel in each view is hence encoded in the light field _L_ : Ω × Π → `R` ( _s, t, x, y_ ) �→ _L_ ( _s, t, x, y_ ) _._ (2.18) To slice out an epipolar plane image (EPI), we fix the image dimension corresponding to the camera direction, _i.e._ for the horizontal direction we fix _y_ = _y_ <sup>∗</sup> and _t_ = _t_ <sup>∗</sup> . Thus an EPI is defined as 22 2.2 From Stereo to Light Fields Figure 2.7: Object with a specular highlight. An epipolar plane image was built from different views and the same image row indicated by the red line. The EPI was reshifted for better visibility of the line structures. 23 2 Theory of Light Fields and Reflectance _St_ ∗ _,y_ ∗( _s, x_ ) := _L_ ( _s, t_ <sup>∗</sup> _, x, y_ <sup>∗</sup> ) _._ (2.19) The orientation in these EPIs directly encodes the disparity and hence the depth. ###### 2.2.3 Structure Tensor A very interesting opportunity arises now. Instead of searching for similar features among the different views, we can directly compute the local orientation in the EPI. One common used operator for orientation estimation is the structure tensor _S_ which relates a tensor based on the partial image gradients I _x,_ I _y_ to each pixel _p_, _e.g._ ( I _x_ ( _p_ )) <sup>2</sup> I _x_ ( _p_ ) I _y_ ( _p_ ) J _xx_ J _xy_ _S_ ( _p_ ) =     I _x_ ( _p_ ) I _y_ ( _p_ ) ( I _y_ ( _p_ )) <sup>2</sup>   =: J _xy_ J _yy_  (2.20)  _,_ where the partial gradients are usually a result of a convolution with one of the common edge detection filters, _e.g._ Sobel or Scharr, where the latter provides a better rotational symmetry. The disparity is then given by _d_ = tan �12 <sup>arctan</sup> - J _xx_ <u>2 −</u> <u>J</u> _<u>xy</u>_ J _yy_ _,_ (2.21) �� as stated by S. Wanner and B. Goldluecke [49]. 24 2.2 From Stereo to Light Fields Additionally, a confidence measure called the coherence _c_ ∈ [0 _,_ 1] [8] can be calculated by _c_ = _,_ (2.22) ~~�~~ <u>�</u> ( J _xx_ + J _yy_ ) <sup>2</sup> - <sup><u>(</u></sup> <sup><u>J</u></sup> <sup>_<u>xx</u>_</sup> <sup><u>−</u></sup> <sup><u>J</u></sup> <sup>_<u>yy</u>_</sup> <sup><u>)2 + 4(</u></sup> <sup><u>J</u></sup> <sup>_<u>xy</u>_</sup> <sup><u>)2</u></sup> where _c_ = 1 relates to a sharp orientation in a specific orientation and _c_ = 0 relates to a uniform region where no clear orientation is visible. ###### 2.2.4 Hough Transform Besides, estimating the orientation only locally, also global methods, which take the whole EPI information into account are available. The Hough Transform is a widely known method which maps image features, such as lines or circles, to a parameter space, see Figure 2.8. Lines, circles or other parameterizable shapes become then easily identifiable in the parameter space. However, this comes at a great computationally cost, since al possible parameters must be traversed. Additionally, the classical Hough transform suffers from the implicit discretization in the parameter space. To reduce computational overhead and address the discretization issue, random sampling methods are of great use and referred to as probabilistic Hough transform [57, 27]. 25 2 Theory of Light Fields and Reflectance 10 20 30 50 100 150 200 250 40 50 60 70 80 90 100 _θ_ [rad] 20 40 60 80 100 0 1 2 3 4 t - <sup>_<u>π</u>_</sup> 2 <sup>_<u>π</u>_</sup> - <sup>_<u>π</u>_</sup> 3 6 <sup>_<u>π</u>_</sup> - <sup>_<u>π</u>_</sup> 2 3 <sup>_<u>π</u>_</sup> 0 _<u>π</u>_ _<u>π</u>_ _<u>π</u>_ 6 6 3 2 Figure 2.8: Representation of a straight line in Hough space in the _y t_ -plane. On the left hand side the line in image space is visualized. The right hand side shows the corresponding hough transformation with intensity values on a logarithmic scale. Image taken from [19]. 26 # 3 ## Capturing the Light Field The following chapter deals with the aspects of capturing light field data, especially in combination with specular highlights. Part of it emerged in collaboration with Bosch to develop an understanding of the challenges of light field capture for specular highlights. The first part deals with different hardware setups to capture a light field. The second analyses specific trajectories to probe a sufficient part of the object to reconstruct the BRDF. Especially for light field capturing a precise camera calibration is necessary. For this thesis we used fractal calibration targets to get robust results, especially at the image edges [51]. #### 3.1 Capturing Devices In the following, different measurement techniques to capture a light field are presented. 27 3 Capturing the Light Field Figure 3.1: Light fields can be captured using a translation stage with a mounted camera. This is a cost-effective setup, but only static scenes can be captured. ###### 3.1.1 Translation Stage A camera can be mounted on a movable platform, also known as translation stage. The accuracy is in the order of micrometers for translation ranges of up to a meter. An example for a linear translation stage can be seen in Figure 3.1. The need for only a single camera makes it cost efficient, and easier to calibrate since the intrinsic parameters do not change from view to view. Dynamic scenes can not be captured. Special care must be taken to prevent changing illumination, which would negatively affect the analysis of the material properties. ###### 3.1.2 Camera Array In contrast to a translation stage a camera array consists of multiple cameras which have a fixed relation to each other. This way, it is possible to capture dynamic scenes. Here precise calibration between the cameras is critical. An 28 3.1 Capturing Devices Figure 3.2: With a linear camera array in a verged setup also dynamic scenes can be captured. technical hurdle is the synchronized capture and the storage of the often enormous amounts of data in parallel. A linear camera array is displayed in Figure 3.2, where the cameras are verged to one focal point. ###### 3.1.3 Microlens Arrays A third option, not used in this thesis, are microlens arrays in front of a single image sensor, see Figure 3.3. Each photon is redirected to a different set of pixels on the sensor depending on its direction. The direction of the light ray can be inferred by the position on the pixel grid. The advantage is the low cost, but it suffers from a small baseline and a greatly reduced effective resolution. Nonetheless, this technique made its way into the consumer market, where the user can profit from certain light field applications, such as refocusing. Precise 3D reconstruction is not achievable, due to the small baseline. Recently ideas have emerged to use transparent photo-detectors based on graphene [40] to capture 29 3 Capturing the Light Field Main lens Object Microlens array Photosensor Figure 3.3: Consumer cameras such as the Lytro use a microlens array to capture a light field. Proportions are not to scale. a light field. This would circumvent the inherent trade-off between image and angular resolutions for single sensor platforms. #### 3.2 Optimal Trajectories through the BRDF Space An optimal acquisition setup should make it possible to acquire as much information about the surface properties as possible. The diffuse part is not changing much from view to view, so the most interesting changes are happening close to the specular lobe. In the following we will discuss how we can ascertain that a large portion in the light field contains information relevant for BRDF extraction. 30 3.2 Optimal Trajectories through the BRDF Space p0 l n r v1 vn Figure 3.4: The surface normal range which can be recovered by a light field setup is limited by the geometry between cameras v1 _,_ v2 _, ...,_ vn, object and light source. ###### 3.2.1 Geometric Consideration of the Camera Setup Before we go into details about optimality we want to answer the simple question which surface normal range can be, in principle, recovered from a light field setup. Let us assume a linear light field setup with _n_ cameras and a baseline _b_ therefore spanning a distance of _Ds_ = _nb_ . A point of a specular surface of interest may be at the location p0 and a point light source at the position L, see Figure 3.4. 31 3 Capturing the Light Field Assuming perfect reflection, a light ray l will be reflected into the direction r according to r = l - 2( l - n ) n _,_ (3.1) where n is the surface normal. To capture the maximum of the specular part, r must reside within v1 and vn . Otherwise, we still can see some part of the lobe, but the exact reconstruction becomes more difficult as we can see in chapter 4. ###### 3.2.2 Half-way Vector Parametrization There are several remarks which highlight the most important implications: We can expect specular reflection if the surface normal and the half vector are aligned (Θ _h_ = 0). For isotropic BRDFs we have no dependence on Φ _h_, reducing the BRDF to three dimensions. Viewing 2D slices along the Φ _d_ direction yields, that most information is contained at Φ _d_ = <sup>_<u>π</u>_</sup> 2 <sup>and</sup> <sup>the</sup> <sup>other</sup> <sup>slices</sup> <sup>look</sup> <sup>like</sup> <sup>similar</sup> versions with some parts excluded. Another interesting characteristic is that the specular reflection varies mostly along the Θ _h_ axis and less so along the other axes. In Figure 3.5 a subspace of BRDF from three different materials is shown. By capturing light fields with a single moving camera we essentially cut out trajectories from the BRDF subspace. The trajectory depends on the camera path and the position of the light source. A desirable path would move in the 2D BRDF slice along the Θ _h_ dimension with a small and constant Θ _d_, to guarantee specular highlights. 32 3.2 Optimal Trajectories through the BRDF Space Gold paint Blue phenolic Aluminium oxide Figure 3.5: Inspecting 2D slices of BRDFs in half-way vector space we can see how the characteristics of different materials differ. For example the fall off rate for aluminum oxide is much larger than for gold paint. The data is scaled logarithmically for better visibility and taken from the MERL database[36]. Object Surface normal Camera Light source Linear camera motion Fixed light source Light source and camera move together linearly Light source and camera fixed Object rotates Figure 3.6: We investigate three different acquisition setups for light field data. 33 3 Capturing the Light Field ###### 3.2.3 Linear Camera Motion and Fixed Light Position To illustrate the importance of knowing the surface normal to estimate the BRDF of a given object we will investigate the trajectories through the 2D BRDF space defined by the two angles in half-way vector parametrization. In Figure 3.7 we see different trajectories based on various normal orientations for an acquisition setup where the camera is moving linearly. If we recall that the specular area of the BRDF runs along the Θ _d_ -axis, we notice that the red trajectory - where the surface normal is slightly out of the plane spanned by the object point, the camera and the light source - does not touch the y-axis, effectively resulting in a reduced peak width in the corresponding 1D-BRDF slice taken from the EPI. 0. 4π Surface frontal to camera Normal tilted horizontally Normal more tilted and slight tilt vertically 0. 3π 0. 2π 0. 1π 0π 0π 0. 25π 0. 5π Θh Figure 3.7: Trajectories through the 2D BRDF space for a straight moving camera and a fixed light source. The camera moves in the x direction perpendicular to its viewing direction anti-parallel to the surface normal (in the blue case). The green trajectory describes a path were the surface normal is tilted by 22 <sup>◦</sup> around the y-axis (pointing upwards). The red trajectory is tilted by 45 <sup>◦</sup> around the y-axis and small amount around the x-axis facing now upwards. 34 3.2 Optimal Trajectories through the BRDF Space ###### 3.2.4 Linear Camera Motion and a Co-Moving Light Source For the case of a moving light source, depicted in Figure 3.8, we see that the trajectory through the 2D BRDF slice crosses a much narrower part along the Θ _d_ axis than in the case of a fixed light source. That the trajectory is still crossing along the Θ _d_ axis stems from the fact, that the distance between the camera and light source pair and the object point is changing and therefore the difference angle increases with decreasing distance to the object point. Basically, the larger the distance between light source and camera, the greater is the coverage in the Θ _d_ direction. This effect could be suppressed entirely using a confocal setup, where the light source and the camera are basically at the same position. This would open up the possibility to use only 1D BRDF slices, since we would set Θ _d_ to zero. 0. 4π Surface frontal to camera Normal tilted horizontally Normal more tilted and slight tilt vertically 0. 3π 0. 2π 0. 1π 0π 0π 0. 25π 0. 5π Θh Figure 3.8: Trajectories through the 2D BRDF space for a straight moving camera and a co-moving light source. The different colors encode the same normal displacements as in Figure 3.7. 35 3 Capturing the Light Field ###### 3.2.5 Fixed Camera and Light Source, Rotating Object In Figure 3.9 we the the BRDF trajectories for an object describing a circular motion in front of the camera. The extension along the Θ _d_ axis is much smaller than previous cases. Again the BRDF trajectory for the slightly vertical tilted normal is not reaching Θ _h_ = 0. 0. 4π Surface frontal to camera, d = 1 Normal tilted horizontally, d = 5 Normal more tilted and slight tilt vertically, d = 20 0. 3π 0. 2π 0. 1π 0π 0π 0. 25π 0. 5π Θh Figure 3.9: Trajectories for circular motion. The distance between camera and light source is given by _d_ . ###### 3.2.6 Optimal Acquisition To capture all of the BRDF information multiple combinations of light source and camera position must be probed. A possible implementation would involve a circular light field with a fixed light source. To probe along the Θ _d_ -axis, the light position must be varied, e.g. in a circular fashion around the object. Figure 3.10 shows a resulting BRDF coverage by such a setup. It must be noted that surface 36 3.2 Optimal Trajectories through the BRDF Space BRDF Cover for a Circular Light Field with varying Light Position 0.5π 0.4π 0.3π 0.2π 0.1π 0π 0π 0.1π 0.2π 0.3π 0.4π 0.5π Θh 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0 Figure 3.10: BRDF coverage of a circular light field with different light positions. Differently colored lines encode the light position. The light position is also varied in a circular fashion around the object. Zero indicates the start position close to the camera and one the opposite site of the circle. The camera is stationary and the surface normal is in the same plane spanned by the light source and camera. normals which lie not in the same plane as the camera and the light source will not fully reach the Θ _d_ -axis and therefore have reduced intensities. To address this challenge the object needs to turn around an additional axis. Basically, what we have then is a goniometer. To limit the search area to the high intensity regions of the specular peak and the Fresnel effect, two light positions are sufficient. The first one very close to the camera and the second in opposite direction, to capture the Fresnel contribution. 37 # 4 ## Surface Normal Estimation via Geometrical Optics In this chapter we will discuss a method to extract surface normals from specular highlights for glossy materials. We assume a given depth and illumination. We make no assumptions about the shape of the BRDF but instead focus on the highlight position. #### 4.1 The Inverse Problem Reconstructing the geometry, light source and material properties is way more challenging than the forward process, where everything is known and images can easily be rendered. This becomes especially evident when considering how many different combinations of materials, textures, geometries and lightning conditions could lead to the same image. This intrinsic ambiguity is difficult to resolve and human brains have a broad collection of heuristics to deal with it, even if they close one eye, and stay still, and do not defocus. Using two or more images allows us, with some assumptions, to use triangulation to infer the depth of a scene as explained in section 2.2. The assumption of brightness constancy, which only holds for Lambertian surfaces, is in reality 39 4 Surface Normal Estimation via Geometrical Optics Figure 4.1: EPI with specular highlight. often violated. Triangulation entirely fails if a point in 3D space is only visible in one image. This leads to a tricky trade-off, especially in stereo vision, where a large base line leads to higher accuracy but also to more occluded areas. Here light fields provide a nice best-of-all solution, since they can cover a large base line to give better accuracy but also provide information in between to reduce occlusions. They also offer a possibility to reconstruct non Lambertian surfaces. Specular highlights appear almost everywhere in real life and are due to the microscopic structure of physical objects. As explained in section 2.1, diffuse materials have a random distribution of mircofacets around the surface normal and hence appear the same from different vantage points. If this distribution favors a direction, we see a highlight when the viewing direction aligns with the resulting reflectance angle. Here, standard 3D reconstruction algorithms based on the brightness constancy start to break down. A bright pixel in one view appears less intense in another. Without any further assumptions about the reflectance properties the only way to handle this missing correspondence, is to use neighbouring regions where correspondences have been found. In the EPI, see Figure 4.1, we can observe the gradual intensity change from one view to another. 40 4.2 Solving the Inverse Problem by Geometry Camera Direction 2 Light Source v l r Specular Reflection Diffuse Reflection Surface Point Camera Direction 2 Figure 4.2: Sketch of the cross array setup. q1 and q2 are the nearest points to r. Hence, in the closest view we will see an intensity maximum. #### 4.2 Solving the Inverse Problem by Geometry The surface normal n can be calculated if the direction of the light source l and the direction of reflection r is known r + l n = ∥r + l∥ <sup>_._</sup> (4.1) Unfortunately, we do not know neither the direction of reflection r nor the surface normal n . All we have are our different camera positions _ω_ o and intensity maxima along each direction of our cross setup which we can relate to a 3D point p0 . We make two assumptions about the reflecting light cone. 41 4 Surface Normal Estimation via Geometrical Optics 1. The intensity is highest in the direction of the reflection. 2. The decrease in intensity away from the reflection ray is rotationally symmetric. Using these assumptions we can infer from two intensity maximum positions the direction of reflection r _._ We suppose that _ω_ i as well as our 3D surface point p0 is known. The camera centres lie on two independent lines with directions g1 = (1 _,_ 0 _,_ 0) <sup>_T_</sup> and g2 = (0 _,_ 1 _,_ 0) <sup>_T_</sup> and a support point at (0 _,_ 0 _,_ 0) <sup>_T_</sup> . When observing a specular peak along g1 and g2, we eventually spot a maximum in intensity in the view closest to q1 and q2, see Figure 4.2. If we presume isotropic reflection, meaning that the intensity lobe has a rotational symmetry around r, we can conclude that the points q1 and q2 have minimal distance to the yet unknown r. This leads to an interesting geometric problem, where we want to solve for r and hence for the surface normal n . This can be solved analytically, but leads to a very long unusable expression (see section A.1 for details). Thus, we formulate this as an optimization problem. For a given reflection vector we expect the specular highlights at certain points in our camera geometry. Hence we minimize the difference of these proposed highlight positions _qi_ <sup>′</sup> <sup>to</sup> <sup>the</sup> <sup>measured</sup> <sup>positions</sup> <sup>_qi_</sup> <sup>.</sup> <sup>The</sup> <sup>objective</sup> <sup>function</sup> <sup>_f_</sup> <sup>is</sup> <sup>then</sup> <sup>given</sup> <sup>by</sup> argmin q `i` <sup>′</sup> _f_ = ( qi - qi <sup>′)2</sup> <sup>_._</sup> (4.2) _i_ We do not limit ourselves to only two independent directions, since we can have, at least in theory, arbitrary many. The qi <sup>′</sup> <sup>are</sup> <sup>calculated</sup> <sup>by</sup> <sup>′</sup> i <sup>=</sup> <sup>pi</sup> <sup>+</sup> <sup><u>(</u></sup> <sup><u>p0</u></sup> <sup><u>−</u></sup> <sup><u>pi</u></sup> <sup><u>) ·</u></sup> <sup><u>s</u></sup> q <sup>′</sup> <sup><u>−</u></sup> <sup><u>pi</u></sup> <sup><u>) ·</u></sup> <sup><u>s</u></sup> gi (4.3) gi - s 42 with 4.3 Results s = r × ( gi × r) _._ (4.4) and pi is the support vector for the camera directions which is in general set to zero for all _i_ . For two independent directions of observers the solution is unique up to the magnitude of the direction vector of r. #### 4.3 Results To quantify the effects of noise in the image signal and the number of cameras the intensity distribution for a single 3D point was simulated. The intensity distribution is generated with a Blinn-Phong model with the parameters _kd_ = 10 _._ 0, _ks_ = 10000 _._ 0 and _m_ = 3 _._ 0. The geometry is given by a single 3D point at (0 _,_ 0 _,_ −10) <sup>_T_</sup>, a point light source at (0 _,_ 0 _,_ 0) <sup>_T_</sup> and a camera cross setup with a distance of 50 between the most left and most right camera, all in arbitrary units. We randomly draw 100 surface normals with an angle up to 45 <sup>◦</sup> with respect to the virtual camera ray. In one experiment we take a fixed number of 17 cameras per view direction and increase the relative noise from 10 <sup>−4</sup> up to 10 <sup>2</sup>, see Figure 4.3. The angular error remains below 4 <sup>◦</sup> up to a relative noise of 0 _._ 01 and increases then up to 17 <sup>◦</sup> for a relative noise of 4 _._ 0. This limit is due to the initial range of possible surface normals, where by rare chance it is very unlikely to produce an angle error larger than 20 <sup>◦</sup> . In Figure 4.4 a similar experiment was carried out. Instead of increasing the noise, the noise is kept constant to 0 _._ 05 of the intensity signal and the number of cameras used is increased. The decrease of the angular error is to be expected, since errors here result mostly from the insufficient angular sampling of the cameras. By adding more and more cameras the error goes down up to one degree. 43 4 Surface Normal Estimation via Geometrical Optics In principal we can calculate the surface normal in a simple an efficient fashion, but we face three major practical issues: 1. At least two peaks must be visible. If one of the peaks is outside the visible range we need to extrapolate, which will likely lead to poor results. 2. The result suffers angular discretization depending on the number of views. This can be avoided by using an interpolation method. This directly leads to questions about how to model intensity distributions in light fields and is tackled in section 5.1. 3. Due to the unique solution we can not evaluate the "goodness" of the approximation. To circumvent all these issues we will derive a method which includes all intensity values from all views by applying an appropriate reflection model. None the less it provides a fast method for deriving the surface normal components if specular highlights are visible. 44 4.3 Results Figure 4.3: Accuracy depending on the relative <u>signal</u> <u>noise.</u> The error-bars represent the standard deviation given by _σ_ = _<u>i</u>_ <u>=1</u> <sup>(</sup> <sup>_xi_</sup> <sup>−</sup> <sup>_<u>x</u>_</sup> <sup><u>)2</u></sup> _N_ −1 ~~�~~ <u>�</u> _N_ _<u>i</u>_ <u>=1</u> <sup>(</sup> <sup>_xi_</sup> <sup>−</sup> <sup>_<u>x</u>_</sup> <sup><u>)2</u></sup> represent the standard deviation given by _σ_ = . The angular error _N_ −1 does not approach zero due to quantization of the highlight position by the fixed ~~�~~ <u>�</u> _N_ number of cameras. 45 4 Surface Normal Estimation via Geometrical Optics Figure 4.4: Accuracy depending on the number of cameras used. 46 # 5 ## Simultaneous BRDF and Surface Normal Extraction The following chapter has been published in part in [20]. Additional results are highlighted if they appear in the thesis for the first time. #### 5.1 Solving the Inverse Problem using a BRDF Model As seen in chapter 4, we can infer surface normals using the maxima of two linearly independent camera directions. While this is already useful if both directions include the reflection lobe, we are at a loss if this is not the case. To infer normals, even when the reflection peak is outside the viewing geometry, we use not only the position of the maximum, but the full intensity distribution. The intensity variation along one viewing direction constrains the surface normal in one dimension. Therefore, we use an orthogonal second direction, which is given by a cross-shaped camera array, to constrain the surface normal in two dimensions. In our approach we use the intensity distribution as observed from both acquisition directions. We can picture the different intensity distributions as cuts through the 3D specular lobe. This means that we can still deliver estimates, 47 5 Simultaneous BRDF and Surface Normal Extraction even if only a part of the specular lobe is visible. Recalling chapter 2, we can model the incoming intensity from a point x by _L_ ( x _, ω_ o ) = _Le_ ( _ω_ o ) + Ω <sup>_fr_</sup> <sup>(</sup> <sup>n</sup> <sup>_, ω_</sup> <sup>o</sup> <sup>_, ω_</sup> <sup>i</sup> <sup>)</sup> <sup>_L_</sup> <sup>(</sup> <sup>_ω_</sup> <sup>i</sup> <sup>) (</sup> <sup>n</sup> <sup>·</sup> <sup>_ω_</sup> <sup>i</sup> <sup>)</sup> <sup>_dω_</sup> <sup>i</sup> <sup>_._</sup> (2.16 rev.) There are two major challenges in solving this equation. Firstly, we need to integrate over all incoming light directions, and hence need to know the incoming radiation for all points. Secondly, light bounces of each surface, leading to a complicated interaction between active light sources, reflecting surfaces and the geometric relation between them. While the first challenge could be tackled by capturing the light using a dome, multiple light bounces are very difficult to resolve inversely. To simplify the problem we assume single light bounces and dominant light sources. We separate the incoming light dependency into a dominant term _Ld_ and a perturbation term _Lp_ _L_ = _Ld_ + _Lp,_ (5.1) where we assume, that the perturbation is negligible. Assuming a discrete number _N_ of dominant incoming light directions and assuming single light bounces we yield _Ld_ = _N_ _j_ =1 _fr_ ( n _, ω_ o _, ω_ i _,_ j ) _L_ ( _ω_ i _,_ j ) ( n - _ω_ i _,_ j ) _._ (5.2) 48 5.1 Solving the Inverse Problem using a BRDF Model Data Model Observer Position Observer <mark>Position</mark> Figure 5.1: An intensity distribution can be obtained using the disparity in the EPI. Given a correct disparity, the intensity distribution depends on the relative orientation of the surface, the material properties and the illumination. 49 5 Simultaneous BRDF and Surface Normal Extraction This leads to a nonlinear regression problem in the form of argmin _f_ = Θ _,_ n _M_ _x_ =1 ∥ _Ld_ ( Θ _,_ n _, ω_ o _,_ x ) − _I_ ( _ω_ o _,_ x )∥ _,_ (5.3) where Θ are the BRDF parameters and _I_ ( _ω_ o _,_ x ) is the measured intensity for the 3D point in the _x_ -th view, considering _M_ different views. Using traditional solving schemes, such as the Levenberg-Marquardt algorithm, we need to provide parameter initializations which allow for a successful convergence. For the BRDF parameter these depend on the width and relative height of the peak, see Figure 5.1. A good initialization for the surface normal is given by <u>wi</u> <u>+</u> <u>wo</u> _<u>,</u>_ <u>x</u> n init = ∥ wi + wo _,_ x ∥ <sup>_,_</sup> (5.4) where the _x_ -th optical system is usually in the center of the cross setup. As can been seen from the form of objective function, minimization can be trapped in a local minimum, see Figure 5.3. To make the convergence more robust, we restart the optimization with random normals, in case the residual is above a certain threshold. The surface normals are very accurate as can be seen in subsection 5.3.3, but we have to keep in mind that we assume the 3D point a priori, which is in general not given. Especially for regions where specular reflection occurs the reconstruction of the geometry is very difficult. So this method can only be applied if the geometry is known beforehand, _e.g._ by using a CAD model of the object of interest. Therefore, the next chapter deals with estimating also the disparity simultaneously. 50 5.2 Implementation for Real and Synthetic Light Field Data Figure 5.2: Process of simultaneously estimating surface normals and BRDF parameters. #### 5.2 Implementation for Real and Synthetic Light Field Data The processing pipeline is depicted in Figure 5.2. As input the method requires the calibrated camera and light source positions, as well as approximate depth estimates. To calculate an initial disparity map we use the structure tensor method proposed by Wanner _et_ _al._ [61]. EPIs encode, besides the depth information, also the intensity distribution, along each orientation line, needed to determine material properties. Regarding the surface points visible in the center view, we use the disparity, to map the input intensities to an image stack _L_ <sup>′</sup> ( _k, x, y_ ) where _L_ <sup>′</sup> _x_ <sup>∗</sup> _,y_ <sup>∗(</sup> <sup>_k_</sup> <sup>) represents</sup> the intensity distribution for a single surface point as observed from different views, see subsection 5.2.1. A second stack is generated accordingly using the disparity as input data. This way, occlusion maps can be computed easily, as detailed in subsection 5.2.2. They prevent the algorithm from mixing foreground and background information. By regarding the unoccluded intensity values, we can identify surface points which exhibit specular characteristics by measuring the intensity change along the views, see subsection 5.2.3. Finally, we optimize the BRDF parameters and the surface normal independently for each pixel, for the regions where we identified specular intensity variations, see subsection 5.2.5. Our method works on the following assumptions: 51 5 Simultaneous BRDF and Surface Normal Extraction - We assume an approximate disparity map, in our implementation we utilize the structure tensor. - The cameras, as well as the light source is calibrated in terms of location and camera intrinsics. - The light transport is dominated by the single-bounce reflection of a point light source. - At least two independent viewing directions are needed, _e.g._ by using a cross setup. ###### 5.2.1 Preprocessing To compute the intensity changes of object points in an efficient manner, we need to address all pixels related to a specific surface point. This principle is similar to the reshifting in EPI processing as introduced by Diebold and Goldluecke [12]. The specific shifting is given for the horizontal light field by s _I_ <sup>′</sup> ( _k, x, y_ ) = _I_ ( _k, x_ + _d_ - ( _c_ - _k_ ) _, y_ ) _,_ (5.5) which maps all related pixels to a vertical line, which is easy to access for further processing, see Figure 5.4. The variable _c_ corresponds to the index of the center view and _d_ to the disparity of the center view at ( _x, y_ ). The vertical viewing direction is handled analogously. It is important to note here, that the method is especially well suited to smooth, texture-less regions. Here, erroneous disparities have a low impact on the accuracy of the normal estimation, since even if intensity information from neighbouring surface points are mistakenly used, the material properties change slowly compared to the error in the disparity. These areas are particularly difficult for conventional methods, which rely on structural information, such as strong image gradients. This way we can utilize even ap 52 5.2 Implementation for Real and Synthetic Light Field Data Figure 5.3: The residual of the objective function as heat maps for different pairs53 of variables. On the left side all variable are a initialised according to a best guess. On the right hand side we see the residual after optimisation. The minimum is highlighted with a red cross. If we compare the left and right hand side we see that there are possibilities for getting stuck in a local minimum. 5 Simultaneous BRDF and Surface Normal Extraction proximate disparities. In the case of strong material changes, we expect precise disparity measurements of the structure tensor, and expect that these methods complement each other particularly well. ###### 5.2.2 Occlusion Handling To get useful intensity variations from the surface points along _I_ <sup>′</sup> ( _k_ ), occlusions need to be treated carefully. To this end we handle these explicitly. Due to the dense information provided by the light field this can be done by examining the approximate disparity maps which are denoted by _d_ ( _k, x, y_ ). The disparity maps are shifted in the same way as image intensities to calculate occlusion boundaries. Given _d_ <sup>′</sup> ( _k, x, y_ ) = _d_ ( _k, x_ + _d_ - ( _c_ - _k_ )) _, y_ ) _,_ (5.6) we can identify occlusions easily by looking for strong changes along _d_ <sup>′</sup> ( _k_ ). To this end we apply a Gaussian derivative filter _g_ on _d_ <sup>′</sup> ( _k_ ) and threshold it depending on the noisiness of our input disparity. Our occlusion map Γ is then given by _a_ ( _x, y_ ) = <sup>_<u>∂</u>_</sup> (5.7) _∂k_ <sup>(</sup> <sup>_g_</sup> <sup>∗</sup> <sup>_d_</sup> <sup>′(</sup> <sup>_k, x, y_</sup> <sup>))</sup> _,_ (5.8) Γ( _k, x, y_ ) =   1 _,_ if _a_ ≥ _to_ 0 _,_ otherwise  where _to_ is a threshold depending on the noise ratio in the disparity map. This way we can incorporate even multiple occlusions in our framework. 54 5.2 Implementation for Real and Synthetic Light Field Data ###### 5.2.3 Specular Highlight Detection Since we can only extract reliable information from regions with specular highlights, see subsection 5.2.4, we need to decide for which regions of the image we should carry out our analysis. To this end we test if the intensity variation along _I_ <sup>′</sup> ( _k_ ) is above a certain threshold _ts_ which is calculated analogous to Equation 5.7. Then, we only apply our algorithm at locations where our confidence mask _χ_ is one, see Figure 5.14 c), where the masked regions are white. _<u>∂</u>_ _∂k_ <sup>(</sup> <sup>_g_</sup> <sup>∗</sup> <sup>_I_</sup> <sup>′(</sup> <sup>_u, v, k_</sup> <sup>))</sup> (5.9) _a_ ( _u, v_ ) = _χ_ ( _u, v_ ) = _k_   _k_ 1 _,_ if _a_ ( _u, v_ ) ≥ _to_ _._ (5.10) 0 _,_ otherwise  ###### 5.2.4 Joint Estimation of Surface Normals and BRDF Parameters Given the visible maximum of the intensity of one surface point, as observed by a linear camera array, we can constrain the surface normal by the plane spanned by the object point and the different cameras. Given a second maximum by a linearly independent camera array we tighten that constraint to get the complete 2D surface normal. An analytical solution for this problem exists, but has the disadvantage, that both highlight maxima must be visible. To circumvent this restriction and to leverage the information contained in the light field, we optimize the surface normals of one surface point jointly with the BRDF parameters 55 5 Simultaneous BRDF and Surface Normal Extraction Figure 5.4: a) The orientation in the horizontal EPI directly relates to the disparity of the input image. b) Reshifting the EPI by the extracted disparity allows to investigate the intensity distribution by moving along the views which are here along the y-direction. c) Similarly the disparity for all views can be viewed in a "disparity EPI". d) Reshifting it leads to a straight forward computation of occlusions by looking at gradients in the y-direction. 56 5.2 Implementation for Real and Synthetic Light Field Data ### x x x 0 20 40 60 80 100 Viewpoint k (a) Center view of the Stanford Bunny. The markers indicate the positions of the corresponding intensity distributions depicted in Figure 5.5b. The red marker identifies a region with Lambertion reflection, the purple one with specular components only in the vertical direction and in the last one both intensity maxima are clearly visible. Figure 5.5: Overview of different intensity distributions. (b) Intensity distribution for different surface normals. Red corresponds to the horizontal camera array and blue to the vertical. The dashed lines indicates the model initialization, and the solid line the recovered model. From top to bottom: No intensity variation visible - the Lambertian case (marked red in Figure 5.5a). Variation along the vertical direction visible (purple). Both peaks visible (blue). The corresponding angular errors for the normal reconstruction at these points are 54 _._ 6 <sup>◦</sup>, 4 _._ 2 <sup>◦</sup> and 0 _._ 5 <sup>◦</sup> . 57 5 Simultaneous BRDF and Surface Normal Extraction taken into account all observations. This way we can take advantage of even slight intensity variations from the tails of the specular highlights and do not require the observation of the specular peak in both viewing directions. Of course some part of the specular region must still be visible. In essence there are three different situations, see Figure 5.5b: 1. Along both viewing directions no intensity changes are visible. Thus, we cannot estimate the surface normal because we only see the diffuse part of our surface point. Since we have no specularities, while our method can not compute normals in this case. However, conventional methods can be applied in these cases without problems. 2. One viewing direction exhibits some intensity variation. We can say that the surface normal must be on one curve constraint by our model and can exclude all normals which would lead to an intensity variation in the second viewing direction. So basically, the wider the peak the lesser the surface normal error. 3. Both viewing directions exhibit some intensity variation. In theory, the surface normal is uniquely identifiable. ###### 5.2.5 Initialization and Optimization It is very important to choose a reasonable initial guess to ensure convergence to the global optimum. We initialize the surface normals by the half-way vector between the light source and the central camera. If the surface normal coincides with the half-way vector we have the largest possible BRDF peak, compare Figure 5.5b. The BRDF parameter _kd_ and _ks_ are initialized to match very roughly 58 5.3 Results the given intensity distribution by calculating _ks_ = max( _I_ <sup>′</sup> ( _k_ )) _,_ (5.11) _kd_ = min( _I_ <sup>′</sup> ( _k_ )) _._ (5.12) To avoid ambiguous solutions we remove the common constraint of _ks_ + _kd_ ≤ 1 and set the amount of incoming light _L_ 0 equal to one. So the outgoing light will be completely determined by _ks_ and _kd_ . For each pixel we have as many measurements yi as viewpoints _k_ . Thus, we minimize arg min n _,kd,ks,m_ _i_ ∥ yi - _Li_ ( v )∥ _,_ (5.13) where _i_ is the index variable for each view, where we have no occlusion with respect to the center view. To ease the solving procedure the surface normal is parametrized in spherical coordinates _θ_ and _φ_ . We first keep the BRDF parameter constant and vary only the surface normals. In a second step we vary the BRDF parameters and the surface normal jointly. This way we force the solver to explain a constant intensity distribution by moving the surface normal in contrast to simply reducing _ks_ . This uses information where we have no intensity variation and can exclude a range of surface normals which otherwise would create a visible highlight. #### 5.3 Results The resulting intensity distributions for each surface point obtained by the lightfield acquisition has sufficient information to achieve high-accuracy surface normals and determine BRDF parameters. 59 5 Simultaneous BRDF and Surface Normal Extraction ###### 5.3.1 Metrics for Surface Normal Analysis Angle Error Distribution 400 200 0 0 30 60 90 120 ang_err Figure 5.6: Distribution of the angular error in degree before filtering out diffuse regions. The algorithm fails for diffuse regions, where no intensity variation is present. Hence we will suppress the activation on those regions. To quantify the reliability of the surface normal estimation described in section 5.1 we produced ten thousand random normals with random BRDF parameters. We simulate the light reflection process captured by a cross camera array and an additional relative noise of 0 _._ 02 to the resulting intensities. The surface normals can point up to an angle of 60 <sup>◦</sup> away from the center camera. This way we ensure that we also take into account that a specular surface appears diffuse if the inclination angle is relatively large in comparison to the bulb of the highlight. In Figure 5.6 we see the distribution of the angular error in the prediction. In the distribution are 9267 observations with an angular error of 5 <sup>◦</sup> or more. There are two main error sources: 60 5.3 Results 1. The signal consists only of the non-varying part of the intensity distribution. 2. The regression is stuck in a local minimum. To differentiate these two cases we look at the residual and at the relative intensity difference _r_ which we define as _r_ = <sup>_<u>I</u>_</sup> <sup><u>max −</u></sup> <sup>_<u>I</u>_</sup> <sup><u>min</u></sup> _I_ max _,_ (5.14) with _r_ ∈ [0 _,_ 1]. A relative intensity difference close to zero indicates the first case, namely that we are probing a seemingly diffuse part. In Figure 5.7 we see the color coded angular error depending on the residual and the relative intensity difference. We see that a number of observations with low residual have a high error but a low relative intensity difference. Combining both metrics allows for efficient classification of correctly determined surface normals. In this artificial case we would neglect all observations with a residual larger than 0 _._ 1 and a relative intensity difference lower than 0 _._ 2. Applying these thresholds leads to the angular error distribution depicted in Figure 5.8 consisting of 180 observations. In general these thresholds need to be adjusted depending on the noise prevalent in the data. ###### 5.3.2 Comparison of Fresnel Effects for Different Materials Figure 5.9 shows the BRDF along the Θ _h_ axis for different materials (mostly which exhibits specular features). Metallic materials exhibit similar BRDFs for both investigated cases (Θ _d_ = 0 and Θ _d_ = 90 <sup>◦</sup> ), but differ greatly in the amount of reflected light. In the case where the Fresnel effect plays an additional role the distinction between different materials is more evident since the absolute values 61 5 Simultaneous BRDF and Surface Normal Extraction Angular Error depending on Residual and Relative Intensity Difference 1 0.75 0.50 0.25 0 <u>ang_err</u> 5 4 3 2 1 0 0 0.5 1 1.5 residual Figure 5.7: Angular error in degree depending on the residual and the relative intensity difference. The relative intensity difference is defined as _r_ = _xfracI_ max − _I_ min _I_ max. We see that we can effectively filter out regions where the residual is low, while the intensity difference is only reliable if _r_ _>_ 0 _._ 25. of the intensities are several orders of magnitude higher. ###### 5.3.3 Synthetic Evaluation For the evaluation of our algorithm we used rendered images obtained with Blender [9]. Our cross array consists of 101 cameras in horizontal as well as in vertical direction. In Figure 5.11 we show how the angular error decreases with the number of views. To evaluate the error in the BRDF we use the following metric to quantify a relative error: ~~�~~ <u>��</u> _<u>pi,</u>_ <u>real</u> _pi,_ <u>−real</u> _<u>pi,</u>_ <u>est</u> _,_ (5.15) <u>�2</u> _e_ = _i_ where _pi_ stands for the _i_ -th BRDF parameter. 62 5.3 Results 40 20 0 Angle Error Distribution 0 0.5 1 1.5 2 2.5 ang_err Figure 5.8: Distribution of the angular error after excluding diffuse areas and non converged optimizations. The evaluation of the synthetic data shows that many surface normals have an angular error of less than 1 <sup>◦</sup> and almost all areas have an angular error of less than 5 <sup>◦</sup> (Figure 5.14). Surface normals where the intensity variation is not above a certain threshold, were not calculated. In Figure 5.12 we used a constant disparity for each view to simulate unknown depth. We keep the disparity map constant at roughly the average distance of the bunny. Thus, we have a greater impact on the accuracy in the background, where the relative disparity error is larger. Despite the introduced inaccuracies the angular error is rather small (still around 1 <sup>◦</sup> ) for regions with strong specular highlights. Due to the constant disparity, we could not create a sensible specular mask, so we omitted the mask completely for the inaccurate case. 63 5 Simultaneous BRDF and Surface Normal Extraction 10 <sup>3</sup> 10 <sup>2</sup> 10 <sup>1</sup> 10 <sup>0</sup> 10 <sup>−1</sup> 10 <sup>−2</sup> 10 <sup>−3</sup> 10 <sup>−4</sup> <u>Purely specular, Θd</u> <u>= 0</u> <sup>◦</sup> alumina-oxide aluminium chrome-steel chrome gold-paint silver-metallic-paint specular-white-phenolic steel yellow-plastic 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> Θh[ <sup>◦</sup> ] <u>With Fresnel, Θd</u> <u>= 90</u> <sup>◦</sup> 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> Θh[ <sup>◦</sup> ] Figure 5.9: Comparison of BRDFs of different materials from the MERL database. On the left hand side only the purely specular component is present. On the right hand side Fresnel effects become apparent. For better visibility both axes are scaled logarithmically. 64 5.3 Results <u>Relative BRDF Error</u> 0. 0 <sup>◦</sup> 18. 0 <sup>◦</sup> 36. 0 <sup>◦</sup> 54. 0 <sup>◦</sup> 72. 0 <sup>◦</sup> 90. 0 <sup>◦</sup> 2.0 1.8 1.6 1.4 1.2 1.0 0.8 0.6 0.4 0.2 0. 0 <sup>◦</sup> 18. 0 <sup>◦</sup> 36. 0 <sup>◦</sup> 54. 0 <sup>◦</sup> 72. 0 <sup>◦</sup> 90. 0 <sup>◦</sup> <u>Angle Error in degree</u> 0. 0 <sup>◦</sup> 18. 0 <sup>◦</sup> 36. 0 <sup>◦</sup> 54. 0 <sup>◦</sup> 72. 0 <sup>◦</sup> 90. 0 <sup>◦</sup> 60 54 48 42 36 30 24 18 12 6 Figure 5.10: Analysis of the angular error and the relative error in the BRDF parameters, dependent on the angle error of the light direction. We rotated the light direction around the x and the y-axis up to 90 <sup>◦</sup> . We took 10 different samples and took the median for each different light orientation. ###### 5.3.4 Evaluation on Real World Objects To examine the feasibility of our concept for real world data we used a strongly specular coin (see Figure 5.15). To capture the data we use a gantry with two orthogonal axes to capture images in a cross setup. We used 101 images for the horizontal and for vertical axis respectively. The surface normals reveal slight scratches. The intensity distribution together with the fit shows, that the BlinnPhong model is not well suited to fully explain the observed intensities. So far our method only makes use of local information. Introducing smoothness constraints should improve the estimates. Towards this end, it would be reasonable to integrate this BRDF based normal estimation method with a conventional depth estimation technique, within a unified framework which jointly optimizes depth, BRDF parameters and surface normals. This is done and will be explained in chapter 6. 65 5 Simultaneous BRDF and Surface Normal Extraction ###### 10 0 10 -1 10 -2 10 -3 10 -4 10 -5 10 -6 10 -7 0 50 100 150 200 Number of views Figure 5.11: Analysis of the angular error, dependent on the number of views. The precisions increases remarkably up to 30 views. With more than 150 views discretization errors play a significant role and we can’t increase the precision anymore. 66 5.3 Results Figure 5.12: Comparison of angular errors for the reconstruction with correct disparity maps (left) and with a constant disparity roughly in the plane of the bunny. This means that the framework can be used in a wide range of applications to improve the geometry reconstruction in the presence of specular reflections. 67 5 Simultaneous BRDF and Surface Normal Extraction 10 <sup>5</sup> 10 <sup>4</sup> 10 <sup>3</sup> 10 <sup>2</sup> 10 <sup>1</sup> 10 <sup>0</sup> 10 <sup>-1</sup> 10 <sup>~~-3~~</sup> 10 <sup>~~-2~~</sup> 10 <sup>~~-1~~</sup> 10 <sup>~~0~~</sup> 10 <sup>~~1~~</sup> 10 <sup>~~2~~</sup> 10 <sup>~~3~~</sup> 10 <sup>4</sup> Relative noise in % 10 <sup>6</sup> 10 <sup>5</sup> 10 <sup>4</sup> 10 <sup>3</sup> 10 <sup>2</sup> 10 <sup>1</sup> 10 <sup>0</sup> 10 <sup>-1</sup> 10 <sup>-2</sup> 10 <sup>~~-3~~</sup> 10 <sup>~~-2~~</sup> 10 <sup>~~-1~~</sup> 10 <sup>~~0~~</sup> 10 <sup>~~1~~</sup> 10 <sup>~~2~~</sup> 10 <sup>~~3~~</sup> 10 <sup>4</sup> Relative noise in % Figure 5.13: Comparison of angular and BRDF error improvements for the reconstruction with increasing amount of noise on the intensity values. Since the optimization may get stuck to a local minimum more easily in the presence of noise, we use the improvement yielded by the optimization with respect to the initialization as metric. The improvement is calculated by _p_ = _<u>vv</u>_ <u>initopt</u> <sup>,</sup> <sup>where</sup> <sup>_v_</sup> stands for the angular error or the BRDF error accordingly. 68 5.3 Results Figure 5.14: _a)_ Original center view image. _b)_ Color coded ground truth surface normals. _c)_ Reconstructed surface normals. White areas were omitted, since there was not enough signal to calculate reliable estimates. _d)_ Angular error in degree. 69 5 Simultaneous BRDF and Surface Normal Extraction Figure 5.15: _a)_ Original center view image. _b)_ Color coded surface normals. White areas were omitted by our specular detection routine. c) Intensity curves for the horizontal and vertical view. The straight lines indicate the estimated model and the dashed line the initialization. 70 # 6 ## Consistent Estimation of BRDF, Surface Normals and Depth We have seen that for a given depth and given light sources, surface normal estimates are very precise. Unfortunately, most of the time we have limited knowledge of the scene depth for specular regions. To this end, the following method estimates disparity, BRDF and surface normals at the same time. The underlying algorithm for estimating occlusion aware depth estimates has been published in [52, 26], where also the synthetic results in this chapter of BRDF model incorporation are presented. The results on real world data have not been published yet. As can be seen in Figure 6.1, depending on the disparity the resulting intensity distributions vary. This is a major issue, since this could imply that intensities are sampled from neighbourhood instead of distinguished, isolated 3D point. It is also challenging for the optimization, due to the non-differentiability of this change. Approaches for Lambertian surfaces use a Hough based method to minimize the intensity variance along EPI lines[28]. Using a BRDF model as metric for minimization in a voting based algorithm is unfeasible for two reasons: 1. Different disparities can lead to two equally likely hypothesis. 2. The additional non-linear regression step makes the algorithm infeasible 71 6 Consistent Estimation of BRDF, Surface Normals and Depth 0 10 20 30 40 0 1000 2000 Intensity profiles for slightly different disparities 1.0 0.8 0.6 0.4 0.2 d = 24.026 d = 24.019 0 5 10 15 20 25 30 35 40 Camera view Figure 6.1: Centre view, EPI and sampled intensities for two slightly different disparity values. The EPI is taken from the red dotted row, was reshifted by a focus value of 24 and scaled in height, to improve the visibility of the line features. The line profiles are taken from the blue/orange marked lines. 72 slow. Data: Light field data from multiple orientations, obeying at least two independent linear light field constraints. (lf _i_ ) Result: Disparity and surface normal map (disp_map _,_ normal_map). disp_map ← init_with_zerocrossings(lf _i_ ); disp_map ← fill_by_neighbors(lf _i,_ disp_map); residual ← objective_function(lf _i,_ disp_map); while _residual_ _>_ _threshold_ _or_ _max_ _iterations_ _reached_ do //Minimize objective function using Patchmatch foreach _pixel_ _in_ _center_ _view_ do foreach _disparity_ _in_ _semi_random_orientations_ do new_residual ← objective_function(lf _i,_ disp_map); if _new_residual_ _<_ _residual_ then disp_map ← update_disp_map(); end end if _residual_ _>_ _threshold_ _and_ _max_ _lambertian_ _iterations_ _reached_ then switch objective function for current pixel to BRDF model and repeat current loop; end end end Algorithm 1: Computation of coherent normal and disparity map. Instead a randomized algorithm similar to PatchMatch[7] is used. We first construct a sparse depth map based on image gradient features. Assume brightness constancy this sparse map is filled with neighbouring information. As soon as we can not find a meaningful hypothesis for a Lambertian surface, we switch to a specular reflection model. This way we limit expensive computations only to regions where specular highlights are likely. The different steps are shown in algorithm 1 and are elaborated in the next sections. 73 6 Consistent Estimation of BRDF, Surface Normals and Depth #### 6.1 Sparse Depth Estimation Our method builds on the tracking of sparse features along lines on the EPI to derive orientations. Figure 6.2 shows a visualization of the approach. ###### 6.1.1 Zero Crossings As features we use the location of zero crossings of the second derivative in the intensity domain. The vertical direction _s_ in an EPI corresponds to the camera location, while the horizontal direction _u_ corresponds to the image position. Thus, we localize image features in horizontal direction only, by calculating the 1D second order derivative, as depicted Figure 6.2, and detect zero-crossings with subpixel accuracy using linear interpolation. In classical image processing, the position of a feature in an image can be determined by its location in memory and vice versa. Since it is not possible this way to save extracted features with floating point precision, they have to be saved in designated lists. While this means that conventional image processing implementations can’t be utilized, it also means that there is a much larger degree of freedom when it comes to designing the evaluation of features. ###### 6.1.2 Line Fitting Since the distribution of features is quite dense and the amount of zero crossings per EPI is in the order of ∼ 10 <sup>5</sup>, for an EPI with dimensions of 100 × 1000 pixels, it is necessary to classify related features by a number of constraint beforehand. Thus, a classification similar to a tree search is implemented, allowing for dynamic adjustments to the constraints during classification and providing an efficient 74 6.1 Sparse Depth Estimation Figure 6.2: Left: Intensity with corresponding subpixel accurate second order derivative features (crosses). Right: Simplified EPI with zero crossings and line hypothesis. The solid line corresponds to a correct match, the dashed and dotted lines refer to rejected candidates due to violated constraints. way of keeping track of already processed zero crossings. To establish a valid list of corresponding zero crossings which lie on a line we use a variant of the RANSAC algorithm. Because the number of zero-crossings can be quite high, especially for noisy images and smooth surfaces, we filter candidates using the image gradient. Our method iterates all feature points in the first view in the EPI. For each of these starting points, all zero-crossings in the last view which lie within the disparity range and whose gradient difference to the starting point is below a threshold, a candidate line is constructed. Then, all points in the EPI with a line-distance (in _u_ direction) and a gradient difference below respective thresholds, are added to the line. From all candidates, the one with the highest number of supporting zero crossings is selected. In case of multiple lines with the same number of support points, the line with the lowest _u_ -variance is chosen. Here we take all combinations of two feature points within the disparity range from the first and last view to construct a model hypothesis. Each point with a distance lower than a certain threshold will support this hypothesis and the corresponding least square model will be calculated. Since we assume perfectness in the vertical EPI direction, where changes corresponds to different camera views, we are only interested in the point line distance in the horizontal EPI direction. Hence, for an arbitrary parametrized line model _x_ = _f_ ( _y, θ_ ), where _y_ 75 6 Consistent Estimation of BRDF, Surface Normals and Depth is the y-coordinate of the zero crossing in the EPI and _θ_ the parameter vector, we define our residual for the RANSAC algorithm for each point ( _xi, yi_ ) as _ri_ = _f_ ( _yi, θ_ ) − _xi._ (6.1) It turns out that even though it is possible to constrain most lines to an unambiguous set of zero crossings, there are areas in the EPIs where multiple zero crossings are valid options to include. For these cases a consistent additional metric is needed in order to decide which choice of zero crossings presents a best fit to the pool. One way to identify zero crossings belonging to the same line is to look for zero crossings with similar intensity values. However, this is not useful in areas of uniform intensity, so additionally a uniform gradient is enforced. The gradient includes information about how brightness changes in a local neighborhood, so even for features with similar color the gradient can vary. There are not only way more possible numerical values for the gradient than for the intensity, allowing for a more precise constraint, there are also other possible usages for gradient information. In areas of unvarying intensity, noise or specularities, a large number of trivial zero crossings might be registered impacting the fitting performance. Depending on noise distribution, gradient information can be used to help identify those zero crossings. Finally, we keep the lines with the most zero crossings and the lowest total variance defined as The resulting slope of the line can be converted to a disparity� _ri_ in a solution space. _d_ between different views. Given the line parametrization in normal form _r_ = _x_ - cos ( _α_ ) + _y_ - sin ( _α_ ) _,_ (6.2) where _α_ is the inclination angle and _r_ the length of the normal segment. The 76 6.2 Optimization with an Occlusion Aware Bilateral Regularization Scheme disparity is then given by _d_ = − tan ( _α_ ) <sup>−1</sup> (6.3) #### 6.2 Optimization with an Occlusion Aware Bilateral Regularization Scheme The line fitting method based on zero crossings, as presented above, provides high quality estimates as long as image features (edges, texture) are present. However, for a full scene, additional processing is required to determine depth estimates in areas with no feature points. Both the data and the smoothness term of the minimization metric are highly non-differentiable due to the sharp occlusion boundaries and hard cutoff thresholds in the smoothness term. Therefore, the optimization scheme is based on a randomized approach. ###### 6.2.1 Initialization Initially the sparse disparity map is filled based on the nearest evaluated disparity neighbors _l_ and _r_ with disparity _dl_ and _dr_ . The resulting disparity _dc_ is weighted based on the color difference with respect to the current pixel _c_ _dc_ = _wldl_ + _wrdr,_ (6.4) <u>∥</u> <u>I</u> _<u>c</u>_ <u>−</u> <u>I</u> _<u>i</u>_ <u>∥</u> _wi_ = <u>�</u> _i_ <sup>_w_</sup> _i_ _,_ (6.5) 77 6 Consistent Estimation of BRDF, Surface Normals and Depth where I _i_ denotes the color at the i-th pixel. Additionally a quality metric _q_ is used to decide, if the disparity should be taken from the horizontal or the vertical part of the cross light field. It is defined as _q_ = ∥ I _c_ - I _l_ ∥∥ I _c_ - I _r_ ∥∥ _dc_ - _dl_ ∥∥ _dc_ - _dr_ ∥ _._ (6.6) This metric takes into account the color difference as well as the disparity differences of the respective pixels . The final disparity for the so far uninitialized pixel is taken from the light field direction where this score is lower. ###### 6.2.2 Objective Function for Diffuse Regions Since the values are probably not correct, an iteration scheme will optimize these starting disparities. As regularization term we use a modified bilateral filter _B_ to preserve sharp disparity discontinuities. Similar to a canonical bilateral filter, we smooth values not only depending on the distance to the current pixel but also based on the distance in the disparity and the color space. To further keep crisp edges, we apply a hard cutoff when either the disparity difference is above a certain threshold _td_ or the color difference is above a certain threshold _tc_ . _B_ ( _u, d_ ) = <sup><u>1</u></sup> _ωu_ _q_ ∈ _S_ ( _fn_ (∥ _u_ - _q_ ∥) _fI_ (∥ I ( _u_ ) − I ( _q_ )∥) _fd_ (∥ _d_ ( _u_ ) − _d_ ( _q_ )∥)) <sup>−1</sup> _ξ_ ( _d_ ( _q_ )) _,_ (6.7) 78 6.2 Optimization with an Occlusion Aware Bilateral Regularization Scheme where _ω_ <u>1</u> _u_ <sup>is</sup> <sup>the</sup> <sup>normalization</sup> <sup>term</sup> <sup>and</sup> <sup>the</sup> <sup>different</sup> <sup>_fi_</sup> <sup>are</sup> <sup>slight</sup> <sup>modifications,</sup> such as a hard cutoff threshold, _._ (6.8) _fi_ ( _x_ ) =   _x,_ if _x_ ≤ _ti_ 0 _,_ otherwise  For the spatial distance this is given by the filter mask size. Weighting neighbouring disparities for the current pixel would only make sense for a planar surface coplanar to the image plane. Therefore, the function _ξ_ corrects the neighboring disparities by a surface normal estimation, _e.g._ _ξ_ ( _d_ ( _q_ )) = _d_ ( _q_ ) + _nd_ ( _q_ ) · ( _u_ - _q_ ) _,_ (6.9) where _nd_ is the surface normal in disparity space at the neighbour pixel _q_ . The surface normal in disparity space is a weighted disparity gradient, again, with a hard cutoff threshold, to preserve sharp edges. In a randomized fashion we want to minimize the following objective function with respect to the disparity argmin _σ_ <sup>2</sup> _d_ argmin diffuse <sup>2</sup> <sup>(</sup> <sup>_u, d_</sup> <sup>) +</sup> <sup>_λ_</sup> <sup>(</sup> <sup>_d_</sup> <sup>−</sup> <sup>_B_</sup> <sup>(</sup> <sup>_u, d_</sup> <sup>))2</sup> <sup>_,_</sup> (6.10) where the squared error of the data term in EPI space is given by _I_ ( _u, c_ ) − _I_ ( _u_ + _d_ - ( _c_ - _k_ ) _, k_ ) _._ (6.11) �2 _σ_ diffuse <sup>2</sup> <sup>(</sup> <sup>_u, d_</sup> <sup>) =</sup> _k_ �� Normally, _c_ corresponds to the centre view, but could be in principle any other 79 6 Consistent Estimation of BRDF, Surface Normals and Depth view. It minimizes the variance _σ_ <sup>2</sup> of the colour intensity _I_ along a corresponding line defined by an estimated disparity _d_ in the EPI. The weighting _λ_ between the smoothness term and the data term is slowly ramped up from iteration to iteration. This low start up of the regularization allows to correct obvious errors from the initialization and to fill between the sparse initial estimates which would otherwise be slowed down by the smoothing term. ###### 6.2.3 Occlusions Occlusion is handled using information from our depth model. This way we can simply use a threshold Θ _d_ when evaluating the neighbours to the left and right in the centre view, respectively top and bottom for the vertical direction of the cross light field. A disparity sample _d_ in the disparity map is considered to be occluded by another sample _di_ if _di_ - _d >_ Θ _d._ (6.12) The calculation deciding whether a sample is occluded or not is carried out during the evaluation of the cost terms. Thus, updates to the model during an iteration of the optimization directly affects the costs of all future evaluations, speeding up the propagation of locally good solutions. ###### 6.2.4 Iteration Scheme What is left for a randomized iteration scheme for determining disparity values, is the sampling of hypothesis. We limit the solution range to a minimal and maximal disparity _d_ min and _d_ max, which is given by the capturing setup. To quickly 80 6.2 Optimization with an Occlusion Aware Bilateral Regularization Scheme pixel processing order neighbor candidates even iterations odd iterations disparity prediction current pixel pixel processing order neighbor candidates current pixel disparity prediction Figure 6.3: To achieve fast propagation of good disparity values over great distances, neighbours are used as hypothesis for the current pixel[50]. propagate correct solutions from neighboring pixels, a PatchMatch approach is used, see Figure 6.3. This means that additionally to a random hypothesis, neighbor pixel solutions are also evaluated, due to their likeliness to provide a good solution. For all even iterations the disparity from the left and top neighbours is evaluated and for all odd iterations the right and bottom pixels are selected. ###### 6.2.5 Activation of the BRDF-Surface Normal Optimizer After some iterations, usually somewhere around 2 to 5, there will still be a high residual for locations where we have specular reflections. Here, we replace the diffuse error metric _σ_ diffuse <sup>2</sup> <sup>(</sup> <sup>_u, d_</sup> <sup>)</sup> <sup>with</sup> <sup>the</sup> <sup>residual</sup> <sup>presented</sup> <sup>in</sup> <sup>chapter</sup> <sup>5.</sup> Additionally we convert the reconstructed surface normals from 3D space to disparity space and use them in analogy to Equation 6.9 to further enhance the reconstruction. _σ_ spec <sup>2</sup> <sup>=</sup> _j_ ∥ _Ld_ ( Θ _,_ n _, ω_ o _,_ j ) − _I_ ( _ω_ o _,_ j )∥ <sup>2</sup> _._ (5.3 rev.) 81 6 Consistent Estimation of BRDF, Surface Normals and Depth This way we can reach a low error even for specular surfaces. #### 6.3 Results In this section we present disparity and normal maps from synthetic and real scenes. For the synthetic scene generated with Blender, we provide and errors for the surface normals and disparities compared to the ground truth. For the real scenes we present comparisons of disparity maps with and without additional BRDF surface normal information. ###### 6.3.1 Synthetic In Figure 6.4 we see the reconstructed disparity and surface normals of the Stanford bunny. In contrast to chapter 5, we were able to give accurate disparity estimates for specular regions. It is interesting to note, that the accuracy in regions where the specular peak is clearly visible in both light field directions, is even higher than for the diffuse parts. This clearly indicates, that additional information from the intensity distribution leads to globally consistent depth estimates. In analogy to chapter 5 we only keep surface normals where the residual of the fit is low enough and the general variability of the intensity signal is high enough. Thus, we can assume that these detected surface normals are a result of the actual surface and not an artifact of the non-linear optimization. The largest disparity differences, up to ≈ 0 _._ 2 are at boundary of diffuse and specular regions. Here the signal of the specular part is not strong enough to give reliable information about the surface orientation, but strong enough to disturb the constant intensity assumption. 82 Ground Truth Calculated 6.3 Results Difference 7.5 7.0 6.5 6.0 5.5 5.0 4.5 4.0 Figure 6.4: Synthetic evaluation of the Stanford bunny. The top row presents the disparities calculated using the OBER method without additional BRDF term for specular surfaces. The middle row shows disparities using OBER with additional surface normal optimisation using a BRDF model. The last row shows the surface normals obtained for specular regions. From left to right: the ground truth, the derived values from the optimization scheme and the difference to the ground truth are presented. The disparity difference is given by _d_ calc − _d_ gt, whereas for the surface normal, the difference is the angular error to the ground truth in degree. The surface normals are converted to RGB images by using the commonly used conversion _RGB_ = ( n + 1) _/_ 2. We notice that the usage of the surface normal optimization greatly improves the accuracy of the disparity estimate and hence the depth. The surface normals achieve an accuracy of less than 3 <sup>◦</sup> . 83 6 Consistent Estimation of BRDF, Surface Normals and Depth ###### 6.3.2 Real Given a measurements geometry described in chapter 3, we are able to observe a large fraction of the specular lobe. This can be mainly achieved by either a large distance between the outermost cameras or small distance between the cameras and the object. Here we want to push the boundaries by explicitly choosing suboptimal acquisition settings. We used a cross light field setup with a baseline of 2 mm and 41 views per axis. The image sensor has a resolution of 2160 × 2560 pixels. The camera, as well as the light source were carefully calibrated. The distance of the center camera to the objects was roughly 85 cm. The light source was located at (−397 _._ 0 _,_ −83 _._ 2 _,_ 20 _._ 9)mm with respect to the camera center. The coordinate system is right hand sided with _z_ -axis pointing towards the objects and the _y_ axis pointing upwards. In Figure 6.5 we can see the resulting disparities and normal maps on real scenes. Only these areas exhibit any information about surface orientation, which specular lobe intersected with the camera geometry. This was also the case for the synthetic images, but is here even more pronounced. 84 6.3 Results Center view Disparity OBER OBER + SNOpt Surface Normals Figure 6.5: Overview of real world results. From left to right: Center view, disparity using OBER only, disparity and surface normals with additional Surface Normal Optimizer. We see a small improvement in specular regions in the disparity map and can reconstruct plausible surface normals for the regions, where we the intensity change along the views is strong enough. 85 # 7 ## Conclusion In the following, we review the presented insights about disparity estimation and surface normal reconstruction using light fields. Additionally, we provide a brief outlook on possible future research questions. #### 7.1 Summary After giving a brief overview of the fundamental principals in chapter 2, we showed to optimally acquire a light field for surface normal reconstruction in chapter 3. Here different configurations of a single light source and a moving camera were discussed. In essence, the configuration of light source, surface normal and camera must fulfill the law of reflection to retrieve specular highlights. In chapter 4 we have derived how surface normals can be recovered based on two visible intensity peaks in a cross light field setup. Geometric considerations imply that the camera position of these peaks and a single 3D point on a surface are sufficient to recover the surface orientation. Only taking this limited amount of information into account has the advantage that the surface normal can be efficiently computed. However, this approach ignores large parts of the light field data, which could further increase the accuracy. 87 7 Conclusion To use the full extend of the light field, the expected reflectance distribution based on BRDF models was considered in chapter 5. This approach offers multiple benefits. First, it allows to recover the surface normals when only parts of the peaks are visible. Second, the shape of the reflected intensity distribution contains information on the material properties. Third, it increases the accuracy compared to using only the maximum peak intensity due to an adequate interpolation. The problem of simultaneously estimating depth and surface orientation is tackled in chapter 6. Here, we use the surface normal optimization method based on BRDF models presented in chapter 5 in combination with an occlusion aware bilateral filter for improving sparse depth estimates. The BRDF optimization is turned on for image regions were the model of occlusions and a Lambertian reflection disagrees with the data term. This combined approach increases the precision of the disparity estimation and gives precise surface normals. Recovering the 3D scene together with material properties and illumination still poses a great challenge in computer vision. Many available approaches ignore the additional information specular highlights can provide. This is partly due to saturated images but also to the inherent ambiguity in the image formation process caused by the illumination, material properties and geometry of a scene. Each of these influences the light transport, and they are difficult to separate. To approach this hard problem, we developed new algorithms which use the special properties of structured light fields. #### 7.2 Conclusions and Outlook Recent progress in the area of computer vision has been aligned with the tremendous improvement of camera sensors and computational capabilities. Despite these advances, analysing light field data poses high demands on computational 88 7.2 Conclusions and Outlook hardware, due to its high dimensionality. This calls for the development of efficient algorithms. Additionally, computing power will likely increase further, as can be observed in the trend of ever more powerful graphic cards to support deep learning algorithms. Hence, the capturing and processing of light field data will become more affordable leading to a rise in its use. The reconstruction of global illumination and shadows is a highly challenging task. Creating more accurate and versatile algorithms depends on increasing computational power. Even the generation of physical realistic scenes is difficult to create in real time without relying on shortcuts, such as ambient lighting. The inverse process is, as we have seen, much harder. A lot of algorithmic choices still depend on handcrafted thresholds, often derived from trial and error. For example, in chapter 6 we use a threshold to decide between a constant reflection model or a more complex BRDF. In future work, we could use neural networks to learn these thresholds from examples. Further research is required to develop more tractable lighting models to ease reconstruction processes and use the recovered geometry for a global model to estimated shadowed regions. One step in that direction would be to solve for the surface orientation and depth of a surface in a more tightly joint fashion. The holy grail of inverse rendering is still not reached, but there is light at the end of the tunnel. 89 # A ## Appendix #### A.1 Analytical Solution for Geometrical Reconstruction of the Surface Normal The analytical solution to section 4.2 can be derived by simplifying Equation 4.3 <sup>′</sup> i <sup>=</sup> <sup>pi</sup> <sup>+</sup> <sup><u>(</u></sup> <sup><u>p0</u></sup> <sup><u>−</u></sup> <sup><u>pi</u></sup> <sup><u>) ·</u></sup> <sup><u>nr</u></sup> q <sup>′</sup> gi - nr gi _._ (4.3 rev.) Setting pi to zero and _dr,z_ = 1, since the direction of dr depends only on two variables, the third is subject to normalization. Thus, we can setup a system of two equations q1 = <sup><u>p0</u></sup> <sup><u>·</u></sup> <sup><u>nr</u></sup> <sup>_<u>,</u>_</sup> <sup><u>1</u></sup> g1 - nr _,_ 1 q2 = <sup><u>p0</u></sup> <sup><u>·</u></sup> <sup><u>nr</u></sup> <sup>_<u>,</u>_</sup> <sup><u>2</u></sup> g1 - nr _,_ 1 g2 - nr _,_ 2 g1 (A.1) g2 _,_ (A.2) where for the first equation only the first component is relevant and for the second the second component. This leads to 91 A Appendix ( g1 - nr _,_ 1 ) _q_ 1 = p0 - nr _,_ 1 (A.3) ( g2 - nr _,_ 2 ) _q_ 2 = p0 - nr _,_ 2 (A.4) and with nr = dr × ( gi × dr ) _._ (4.4 rev.) to (1 + _d_ <sup>2</sup> _y_ (1 + _d_ <sup>2</sup> _x_ <sup>2</sup> _y_ <sup>)</sup> <sup>_px_</sup> <sup>−</sup> <sup>_dxdypy_</sup> <sup>−</sup> <sup>_dxpz_</sup> <sup>−</sup> <sup>(1 +</sup> <sup>_d_</sup> <sup>2</sup> _y_ <sup>2</sup> _x_ <sup>)</sup> <sup>_py_</sup> <sup>−</sup> <sup>_dxdypx_</sup> <sup>−</sup> <sup>_dypz_</sup> <sup>−</sup> <sup>(1 +</sup> <sup>_d_</sup> <sup>2</sup> _x_ <sup>2</sup> _y_ <sup>)</sup> <sup>_q_</sup> <sup>1</sup> <sup>= 0</sup> (A.5) <sup>2</sup> _x_ <sup>)</sup> <sup>_q_</sup> <sup>1</sup> <sup>= 0</sup> <sup>_._</sup> (A.6) This can be solved analytically for _dx_ and _dy_ with a CAS program, _e.g._ Mathematica. Unfortunately this solution is way to large to be of any use. An iterative approach usually converges in four iterations which is much faster. 92 ## List of Own Publications [13] Diebold, M., Blum, O., Gutsche, M., Wanner, S., Garbe, C. S., Baker, H., and Jähne, B. “Light-field camera design for high-accuracy depth estimation”. In: _SPIE_ _Optical_ _Metrology_ . International Society for Optics and Photonics. 2015, pp. 952803–952803. [19] Gutsche, M. “Surface velocity measurements at the aeolotron by means of active thermography”. MA thesis. Heidelberg University, 2014. [20] Gutsche, M., Schilling, H., Diebold, M., and Garbe, C. “Surface Normal Reconstruction From Specular Information in Light Field Data”. In: _The_ _IEEE_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _(CVPR)_ _Workshops_ . July 2017. [26] Johannsen, O. et al. “A Taxonomy and Evaluation of Dense Light Field Depth Estimation Algorithms”. In: _The_ _IEEE_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _(CVPR)_ _Workshops_ . July 2017. [51] Schilling, H., Diebold, M., Gutsche, M., and Jähne, B. “On the design of a fractal calibration pattern for improved camera calibration”. In: _tm-_ _Technisches_ _Messen_ (2017). 93 ## List of Figures 1.1 Many technologies today depend on accurate 3D models. . . . . . 3 2.1 Light at an interface can be transmitted, absorbed or reflected. The total energy of the light is conserved. Second order effects, such as subsurface scattering, are not shown here. . . . . . . . . . 10 2.2 There is a plethora of different BRDF models, which can be categorized according to different attributes [37]. . . . . . . . . . . . . 15 2.3 The halfway vector parameterization allows for a mor efficient computation of the Blinn-Phong model and is especially useful for isotropic BRDFs. . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.4 The microfacet model describes reflection properties by modeling a surface with randomly oriented microsurfaces. The underlying probability distribution, as well as the roughness of the surface dominate the appearance of a surface. . . . . . . . . . . . . . . . . 17 2.5 Scene geometry for estimating depth by triangulation. The different positions _xl_ and _xr_ for the projections of the 3D point x result in the disparity _d_ = _xl_ - _xr_ . The depth _z_ can then be inferred by _z_ = <sup>_<u>bf</u>_</sup> _d_ <sup>.</sup> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.6 To capture a structured light field, we add more cameras. For the ease of computation we keep the baseline between camera pairs constant. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.7 Object with a specular highlight. An epipolar plane image was built from different views and the same image row indicated by the red line. The EPI was reshifted for better visibility of the line structures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 95 List of Figures 2.8 Representation of a straight line in Hough space in the _y t_ -plane. On the left hand side the line in image space is visualized. The right hand side shows the corresponding hough transformation with intensity values on a logarithmic scale. Image taken from [19]. 26 3.1 Light fields can be captured using a translation stage with a mounted camera. This is a cost-effective setup, but only static scenes can be captured. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.2 With a linear camera array in a verged setup also dynamic scenes can be captured. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.3 Consumer cameras such as the Lytro use a microlens array to capture a light field. Proportions are not to scale. . . . . . . . . . 30 3.4 The surface normal range which can be recovered by a light field setup is limited by the geometry between cameras v1 _,_ v2 _, ...,_ vn, object and light source. . . . . . . . . . . . . . . . . . . . . . . . . 31 3.5 Inspecting 2D slices of BRDFs in half-way vector space we can see how the characteristics of different materials differ. For example the fall off rate for aluminum oxide is much larger than for gold paint. The data is scaled logarithmically for better visibility and taken from the MERL database[36]. . . . . . . . . . . . . . . . . . 33 3.6 We investigate three different acquisition setups for light field data. 33 3.7 Trajectories through the 2D BRDF space for a straight moving camera and a fixed light source. The camera moves in the x direction perpendicular to its viewing direction anti-parallel to the surface normal (in the blue case). The green trajectory describes a path were the surface normal is tilted by 22 <sup>◦</sup> around the y-axis (pointing upwards). The red trajectory is tilted by 45 <sup>◦</sup> around the y-axis and small amount around the x-axis facing now upwards. . 34 3.8 Trajectories through the 2D BRDF space for a straight moving camera and a co-moving light source. The different colors encode the same normal displacements as in Figure 3.7. . . . . . . . . . . 35 96 List of Figures 3.9 Trajectories for circular motion. The distance between camera and light source is given by _d_ . . . . . . . . . . . . . . . . . . . . . 36 3.10 BRDF coverage of a circular light field with different light positions. Differently colored lines encode the light position. The light position is also varied in a circular fashion around the object. Zero indicates the start position close to the camera and one the opposite site of the circle. The camera is stationary and the surface normal is in the same plane spanned by the light source and camera. 37 4.1 EPI with specular highlight. . . . . . . . . . . . . . . . . . . . . . 40 4.2 Sketch of the cross array setup. q1 and q2 are the nearest points to r. Hence, in the closest view we will see an intensity maximum. 41 4.3 Accuracy depending on the relative signal noise. <u>The</u> <u>error-bars</u> represent the standard deviation given by _σ_ = _<u>i</u>_ <u>=1</u> <sup>(</sup> <sup>_xi_</sup> <sup>−</sup> <sup>_<u>x</u>_</sup> <sup><u>)2</u></sup> _N_ −1 - <u>�</u> _N_ _<u>i</u>_ <u>=1</u> <sup>(</sup> <sup>_xi_</sup> <sup>−</sup> <sup>_<u>x</u>_</sup> <sup><u>)2</u></sup> represent the standard deviation given by _σ_ = . The _N_ −1 - <u>�</u> _N_ angular error does not approach zero due to quantization of the highlight position by the fixed number of cameras. . . . . . . . . 45 4.4 Accuracy depending on the number of cameras used. . . . . . . . 46 5.1 An intensity distribution can be obtained using the disparity in the EPI. Given a correct disparity, the intensity distribution depends on the relative orientation of the surface, the material properties and the illumination. . . . . . . . . . . . . . . . . . . . . . . . . . 49 5.2 Process of simultaneously estimating surface normals and BRDF parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 5.3 The residual of the objective function as heat maps for different pairs of variables. On the left side all variable are a initialised according to a best guess. On the right hand side we see the residual after optimisation. The minimum is highlighted with a red cross. If we compare the left and right hand side we see that there are possibilities for getting stuck in a local minimum. . . . . 53 97 List of Figures 5.4 a) The orientation in the horizontal EPI directly relates to the disparity of the input image. b) Reshifting the EPI by the extracted disparity allows to investigate the intensity distribution by moving along the views which are here along the y-direction. c) Similarly the disparity for all views can be viewed in a "disparity EPI". d) Reshifting it leads to a straight forward computation of occlusions by looking at gradients in the y-direction. . . . . . . . . . . . . . 56 5.5 Overview of different intensity distributions. . . . . . . . . . . . . 57 5.6 Distribution of the angular error in degree before filtering out diffuse regions. The algorithm fails for diffuse regions, where no intensity variation is present. Hence we will suppress the activation on those regions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 5.7 Angular error in degree depending on the residual and the relative intensity difference. The relative intensity difference is defined as _r_ = _xfracI_ max − _I_ min _I_ max. We see that we can effectively filter out regions where the residual is low, while the intensity difference is only reliable if _r_ _>_ 0 _._ 25. . . . . . . . . . . . . . . . . . . . . . . . 62 5.8 Distribution of the angular error after excluding diffuse areas and non converged optimizations. . . . . . . . . . . . . . . . . . . . . . 63 5.9 Comparison of BRDFs of different materials from the MERL database. On the left hand side only the purely specular component is present. On the right hand side Fresnel effects become apparent. For better visibility both axes are scaled logarithmically. . . . . . . . . . . . 64 5.10 Analysis of the angular error and the relative error in the BRDF parameters, dependent on the angle error of the light direction. We rotated the light direction around the x and the y-axis up to 90 <sup>◦</sup> . We took 10 different samples and took the median for each different light orientation. . . . . . . . . . . . . . . . . . . . . . . 65 98 List of Figures 5.11 Analysis of the angular error, dependent on the number of views. The precisions increases remarkably up to 30 views. With more than 150 views discretization errors play a significant role and we can’t increase the precision anymore. . . . . . . . . . . . . . . . . 66 5.12 Comparison of angular errors for the reconstruction with correct disparity maps (left) and with a constant disparity roughly in the plane of the bunny. . . . . . . . . . . . . . . . . . . . . . . . . . . 67 5.13 Comparison of angular and BRDF error improvements for the reconstruction with increasing amount of noise on the intensity values. Since the optimization may get stuck to a local minimum more easily in the presence of noise, we use the improvement yielded by the optimization with respect to the initialization as metric. The improvement is calculated by _p_ = <sup>_<u>v</u>_</sup> _v_ <sup><u>init</u></sup> opt <sup>, where</sup> <sup>_v_</sup> <sup>stands</sup> for the angular error or the BRDF error accordingly. . . . . . . . 68 5.14 _a)_ Original center view image. _b)_ Color coded ground truth surface normals. _c)_ Reconstructed surface normals. White areas were omitted, since there was not enough signal to calculate reliable estimates. _d)_ Angular error in degree. . . . . . . . . . . . . . . . . 69 5.15 _a)_ Original center view image. _b)_ Color coded surface normals. White areas were omitted by our specular detection routine. c) Intensity curves for the horizontal and vertical view. The straight lines indicate the estimated model and the dashed line the initialization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 6.1 Centre view, EPI and sampled intensities for two slightly different disparity values. The EPI is taken from the red dotted row, was reshifted by a focus value of 24 and scaled in height, to improve the visibility of the line features. The line profiles are taken from the blue/orange marked lines. . . . . . . . . . . . . . . . . . . . . 72 99 List of Figures 6.2 Left: Intensity with corresponding subpixel accurate second order derivative features (crosses). Right: Simplified EPI with zero crossings and line hypothesis. The solid line corresponds to a correct match, the dashed and dotted lines refer to rejected candidates due to violated constraints. . . . . . . . . . . . . . . . . . . . . . . 75 6.3 To achieve fast propagation of good disparity values over great distances, neighbours are used as hypothesis for the current pixel[50]. 81 6.4 Synthetic evaluation of the Stanford bunny. . . . . . . . . . . . . 83 6.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 100 ## Bibliography [1] Adato, Y., Vasilyev, Y., Zickler, T., and Ben-Shahar, O. “Shape from Specular Flow”. In: _Pattern_ _Analysis_ _and_ _Machine_ _Intelligence,_ _IEEE_ _Transac-_ _tions on_ [32.11 (Nov. 2010), pp. 2054–2070. issn: 0162-8828. doi: 10.1109/](http://dx.doi.org/10.1109/TPAMI.2010.126) [TPAMI.2010.126.](http://dx.doi.org/10.1109/TPAMI.2010.126) [2] Adelson, E. and Bergen, J. “The plenoptic function and the elements of early vision”. In: _Computational_ _models_ _of_ _visual_ _processing_ 1 (1991). [3] Ashikhmin, M. and Shirley, P. “An anisotropic phong BRDF model”. In: _Journal_ _of_ _graphics_ _tools_ 5.2 (2000), pp. 25–32. [4] Bajcsy, R., Lee, S., and Leonardis, A. “Color image segmentation with detection of highlights and local illumination induced by inter-reflections”. In: _Pattern_ _Recognition,_ _1990._ _Proceedings.,_ _10th_ _International_ _Conference_ _on_ . Vol. i. June 1990, pp. 785–790. doi: [10.1109/ICPR.1990.118217.](http://dx.doi.org/10.1109/ICPR.1990.118217) [5] Bay, H., Tuytelaars, T., and Van Gool, L. “Surf: Speeded up robust features”. In: _Computer_ _vision–ECCV_ _2006_ (2006), pp. 404–417. [6] Beckmann, P. and Spizzichino, A. “The scattering of electromagnetic waves from rough surfaces”. In: _Norwood,_ _MA,_ _Artech_ _House,_ _Inc.,_ _1987,_ _511_ _p._ (1987). [7] Besse, F., Rother, C., Fitzgibbon, A., and Kautz, J. “PMBP: PatchMatch Belief Propagation for Correspondence Field Estimation”. In: _International_ _Journal_ _of_ _Computer_ _Vision_ 110.1 (2014), pp. 2–13. issn: 0920-5691. doi: [10.1007/s11263-013-0653-9.](http://dx.doi.org/10.1007/s11263-013-0653-9) [8] Bigun, J. _Optimal_ _orientation_ _detection_ _of_ _linear_ _symmetry_ . 1987. [9] Blender Online Community. _Blender_ _-_ _a_ _3D_ _modelling_ _and_ _rendering_ _pack-_ _age_ [. Blender Institute, Amsterdam: Blender Foundation, 2016. url: http:](http://www.blender.org) [//www.blender.org.](http://www.blender.org) 101 Bibliography [10] Bolles, R., Baker, H., and Marimont, D. “Epipolar-plane image analysis: An approach to determining structure from motion”. In: _International_ _Journal_ _of_ _Computer_ _Vision_ 1.1 (1987), pp. 7–55. [11] Criminisi, A., Kang, S. B., Swaminathan, R., Szeliski, R., and Anandan, P. “Extracting layers and analyzing their specular properties using epipolarplane-image analysis”. In: _Computer Vision and Image Understanding_ 97.1 (2005), pp. 51–85. issn: 1077-3142. doi: [10.1016/j.cviu.2004.06.001.](http://dx.doi.org/10.1016/j.cviu.2004.06.001) [12] Diebold, M. and Goldluecke, B. “Epipolar Plane Image Refocusing for Improved Depth Estimation and Occlusion Handling”. In: _Vision,_ _Modeling_ _and_ _Visualization_ _Workshop_ _VMV_ . 2013. [14] _Digital_ _Special_ _Effect_ _Makeup_ _vs._ _Physical_ _Makeup_ _in_ _Movies_ _-_ _Media-_ _Makeup.Today_ . [http://mediamakeup.today/digital-special-effect-](http://mediamakeup.today/digital-special-effect-makeup-vs-physical-makeup-in-movies/) [makeup-vs-physical-makeup-in-movies/.](http://mediamakeup.today/digital-special-effect-makeup-vs-physical-makeup-in-movies/) (Accessed on 04/30/2018). [15] Ganapathi, V., Plagemann, C., Koller, D., and Thrun, S. “Real time motion capture using a single time-of-flight camera”. In: _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _(CVPR),_ _2010_ _IEEE_ _Conference_ _on_ . IEEE. 2010, pp. 755–762. [16] Gershon, R., Jepson, A. D., and Tsotsos, J. K. “The Use of Color in Highlight Identification.” In: _IJCAI_ . 1987, pp. 752–754. url: [http://ijcai.](http://ijcai.org/Past%20Proceedings/IJCAI-87-VOL2/PDF/034.pdf) [org/Past%20Proceedings/IJCAI-87-VOL2/PDF/034.pdf.](http://ijcai.org/Past%20Proceedings/IJCAI-87-VOL2/PDF/034.pdf) [17] Gortler, S., Grzeszczuk, R., Szeliski, R., and Cohen, M. “The Lumigraph”. In: 1996, pp. 43–54. [18] Gortler, S. J., Grzeszczuk, R., Szeliski, R., and Cohen, M. F. “The lumigraph”. In: _Proceedings of the 23rd annual conference on Computer graphics_ _and_ _interactive_ _techniques_ . ACM. 1996, pp. 43–54. [19] Gutsche, M. “Surface velocity measurements at the aeolotron by means of active thermography”. MA thesis. Heidelberg University, 2014. [21] Hartley, R. and Zisserman, A. _Multiple View Geometry in Computer Vision_ . second. Cambridge University Press, 2004. 102 Bibliography [22] Holroyd, M., Lawrence, J., Humphreys, G., and Zickler, T. “A photometric approach for estimating normals and tangents”. In: _ACM_ _Transactions_ _on_ _Graphics_ _(TOG)_ 27.5 (2008), p. 133. [23] Jachnik, J., Newcombe, R. A., and Davison, A. J. “Real-time surface lightfield capture for augmentation of planar specular surfaces”. In: _Mixed_ _and_ _Augmented_ _Reality_ _(ISMAR),_ _2012_ _IEEE_ _International_ _Symposium_ _on_ . IEEE. 2012, pp. 91–97. [24] Jähne, B. _Digitale Bildverarbeitung, 6th revised and extended edition_ . Berlin: Springer, 2005. [25] Jin, H., Soatto, S., and Yezzi, A. J. “Multi-view stereo beyond lambert”. In: _Computer_ _Vision_ _and_ _Pattern_ _Recognition,_ _2003._ _Proceedings._ _2003_ _IEEE_ _Computer_ _Society_ _Conference_ _on_ . Vol. 1. IEEE. 2003, pp. I–171. [27] Kälviäinen, H., Hirvonen, P., Xu, L., and Oja, E. “Probabilistic and nonprobabilistic Hough transforms: overview and comparisons”. In: _Image_ _and_ _vision_ _computing_ 13.4 (1995), pp. 239–252. [28] Kim, C., Zimmer, H., Pritch, Y., Sorkine-Hornung, A., and Gross, M. H. “Scene reconstruction from high spatio-angular resolution light fields.” In: _ACM_ _Trans._ _Graph._ 32.4 (2013), pp. 73–1. [29] Lee, S. W. and Bajcsy, R. “Detection of specularity using color and multiple views”. In: _Computer Vision ECCV’92_ . Ed. by Sandini, G. Vol. 588. Lecture Notes in Computer Science. Springer Berlin Heidelberg, 1992, pp. 99–114. isbn: 978-3-540-55426-4. doi: [10.1007/3-540-55426-2_13.](http://dx.doi.org/10.1007/3-540-55426-2_13) [30] Levoy, M. and Hanrahan, P. “Light field rendering”. In: 1996, pp. 31–42. [31] Levoy, M. and Hanrahan, P. “Light field rendering”. In: _Proceedings_ _of_ _the_ _23rd_ _annual_ _conference_ _on_ _Computer_ _graphics_ _and_ _interactive_ _techniques_ . ACM. 1996, pp. 31–42. [32] Liu, B., Gould, S., and Koller, D. “Single image depth estimation from predicted semantic labels”. In: _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _(CVPR),_ _2010_ _IEEE_ _Conference_ _on_ . IEEE. 2010, pp. 1253–1260. 103 Bibliography [33] Liu, F., Shen, C., and Lin, G. “Deep convolutional neural fields for depth estimation from a single image”. In: _Proceedings_ _of_ _the_ _IEEE_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ . 2015, pp. 5162–5170. [34] Lowe, D. G. “Object recognition from local scale-invariant features”. In: _Computer_ _vision,_ _1999._ _The_ _proceedings_ _of_ _the_ _seventh_ _IEEE_ _international_ _conference_ _on_ . Vol. 2. Ieee. 1999, pp. 1150–1157. [35] Lu, F., Matsushita, Y., Sato, I., Okabe, T., and Sato, Y. “Uncalibrated photometric stereo for unknown isotropic reflectances”. In: _Proceedings_ _of_ _the_ _IEEE_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ . 2013, pp. 1490–1497. [36] Matusik, W. “A data-driven reflectance model”. PhD thesis. Massachusetts Institute of Technology, 2003. [37] Montes Soldado, R. and Ureña Almagro, C. “An Overview of BRDF Models”. In: (2012). [38] Nair, R., Fitzgibbon, A., Kondermann, D., and Rother, C. “Reflection Modeling for Passive Stereo”. In: _2015 IEEE International Conference on Com-_ _puter_ _Vision_ _(ICCV)_ . IEEE. 2015, pp. 2291–2299. doi: [10.1109/iccv.](http://dx.doi.org/10.1109/iccv.2015.264) [2015.264.](http://dx.doi.org/10.1109/iccv.2015.264) [39] Navarro, J. and Buades, A. “Robust and dense depth estimation for light field images”. In: _IEEE_ _Transactions_ _on_ _Image_ _Processing_ 26.4 (2017), pp. 1873–1886. [40] Norris, T. B., Zhong, Z., Fessler, J. A., Liu, C.-H., and Chang, Y.-C. _Light_ _field_ _imaging_ _with_ _transparent_ _photodetectors_ . US Patent App. 15/430,043. Feb. 2017. [41] Oren, M. and Nayar, S. K. “Generalization of Lambert’s reflectance model”. In: _Proceedings_ _of_ _the_ _21st_ _annual_ _conference_ _on_ _Computer_ _graphics_ _and_ _interactive_ _techniques_ . ACM. 1994, pp. 239–246. 104 Bibliography [42] Oxholm, G. and Nishino, K. “Multiview shape and reflectance from natural illumination”. In: _Proceedings of the IEEE Conference on Computer Vision_ _and_ _Pattern_ _Recognition_ . 2014, pp. 2155–2162. [43] _Parrot_ _positions_ _its_ _consumer_ _drones_ _for_ _3D_ _modeling,_ _mapping_ _and_ _agri-_ _cultural_ _uses_ _|_ _TechCrunch_ . [https://techcrunch.com/2017/05/08/](https://techcrunch.com/2017/05/08/parrot-positions-its-consumer-drones-for-3d-modeling-mapping-and-agricultural-uses/) [parrot-positions-its-consumer-drones-for-3d-modeling-mapping-](https://techcrunch.com/2017/05/08/parrot-positions-its-consumer-drones-for-3d-modeling-mapping-and-agricultural-uses/) [and-agricultural-uses/.](https://techcrunch.com/2017/05/08/parrot-positions-its-consumer-drones-for-3d-modeling-mapping-and-agricultural-uses/) (Accessed on 04/30/2018). [44] Phong, B. T. “Illumination for computer generated pictures”. In: _Commu-_ _nications_ _of_ _the_ _ACM_ 18.6 (1975), pp. 311–317. [45] Poggio, T., Torre, V., and Koch, C. “Computational Vision and Regularization Theory”. In: _Nature_ 317 (1985), pp. 314–319. [46] Ramamoorthi, R. and Hanrahan, P. “A signal-processing framework for inverse rendering”. In: _Proceedings_ _of_ _the_ _28th_ _annual_ _conference_ _on_ _Com-_ _puter_ _graphics_ _and_ _interactive_ _techniques_ . ACM. 2001, pp. 117–128. doi: [10.1145/383259.383271.](http://dx.doi.org/10.1145/383259.383271) [47] Rublee, E., Rabaud, V., Konolige, K., and Bradski, G. “ORB: An efficient alternative to SIFT or SURF”. In: _Computer_ _Vision_ _(ICCV),_ _2011_ _IEEE_ _international_ _conference_ _on_ . IEEE. 2011, pp. 2564–2571. [48] Rusinkiewicz, S. M. “A new change of variables for efficient BRDF representation”. In: _Rendering_ _techniques_ _98_ . Springer, 1998, pp. 11–22. [49] S. Wanner and B. Goldluecke. “Variational Light Field Analysis for Disparity Estimation and Super-Resolution”. In: (2013). [50] Schilling, H. “OBER - Occluded Bilateral EPI Regularization”. In: _The_ _IEEE_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _(CVPR)_ _Workshops,_ _Poster_ . 2017. [51] Schilling, H., Diebold, M., Gutsche, M., and Jähne, B. “On the design of a fractal calibration pattern for improved camera calibration”. In: _tm-_ _Technisches_ _Messen_ (2017). 105 Bibliography [52] Schilling, H., Diebold, M., Rother, C., and Jähne, B. “Trust your Model: Light Field Depth Estimation with inline Occlusion Handling”. In: _The_ _IEEE_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _(CVPR)_ . 2018. [53] Schlick, C. “An Inexpensive BRDF Model for Physically-based Rendering”. In: _Computer_ _graphics_ _forum_ . Vol. 13. 3. Wiley Online Library. 1994, pp. 233–246. [54] _Sciaky’s First Sale of Big Metal 3D Printer - 3D Printing Industry_ [. https:](https://3dprintingindustry.com/news/sciaky-makes-first-official-sale-giant-metal-3d-printer-30952/) [//3dprintingindustry.com/news/sciaky- makes- first- official-](https://3dprintingindustry.com/news/sciaky-makes-first-official-sale-giant-metal-3d-printer-30952/) [sale-giant-metal-3d-printer-30952/.](https://3dprintingindustry.com/news/sciaky-makes-first-official-sale-giant-metal-3d-printer-30952/) (Accessed on 04/30/2018). [55] Seeliger, H. _Zur Theorie der Beleuchtung der grossen Planeten insbesondere_ _des Saturn: Aus den Abhandlungen der k. bayer. Akademie der Wiss. II Cl._ _16_ _Bd._ _II_ _Abth_ . Verlag der k. Akademie in Comm. bei G. Franz, 1887. [56] Si, L. and Wang, Q. “Dense Depth-Map Estimation and Geometry Inference from Light Fields via Global Optimization”. In: _Asian_ _Conference_ _on_ _Computer_ _Vision_ . 2016. [57] Stephens, R. S. “Probabilistic approach to the Hough transform”. In: _Image_ _and_ _vision_ _computing_ 9.1 (1991), pp. 66–71. [58] Torrance, K. E. and Sparrow, E. M. “Theory for off-specular reflection from roughened surfaces”. In: _Josa_ 57.9 (1967), pp. 1105–1114. [59] Tsin, Y., Kang, S. B., and Szeliski, R. “Stereo matching with reflections and translucency”. In: _Computer_ _Vision_ _and_ _Pattern_ _Recognition,_ _2003._ _Proceedings._ _2003_ _IEEE_ _Computer_ _Society_ _Conference_ _on_ . Vol. 1. IEEE. 2003, pp. I–702. [60] Wang, T.-C., Chandraker, M., Efros, A. A., and Ramamoorthi, R. “SVBRDFInvariant Shape and Reflectance Estimation From Light-Field Cameras”. In: _The_ _IEEE_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _(CVPR)_ . June 2016. 106 Bibliography [61] Wanner, S. and Goldluecke, B. “Globally consistent depth labeling of 4D light fields”. In: _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _(CVPR),_ _2012_ _IEEE_ _Conference_ _on_ . IEEE. 2012, pp. 41–48. [62] Wanner, S. and Goldluecke, B. “Reconstructing Reflective and Transparent Surfaces from Epipolar Plane Images”. In: _Pattern Recognition_ . Ed. by Weickert, J., Hein, M., and Schiele, B. Vol. 8142. Lecture Notes in Computer Science. Springer Berlin Heidelberg, 2013, pp. 1–10. isbn: 978-3-642-406010. doi: [10.1007/978-3-642-40602-7_1.](http://dx.doi.org/10.1007/978-3-642-40602-7_1) [63] Ward, G. J. “Measuring and Modeling Anisotropic Reflection”. In: _SIG-_ _GRAPH_ _Comput._ _Graph._ 26.2 (July 1992), pp. 265–272. issn: 0097-8930. doi: [10.1145/142920.134078.](http://dx.doi.org/10.1145/142920.134078) [64] Woodham, R. J. “Photometric method for determining surface orientation from multiple images”. In: _Optical_ _engineering_ 19.1 (1980), pp. 191139– 191139. [65] Zhang, S., Sheng, H., Li, C., Zhang, J., and Xiong, Z. “Robust depth estimation for light field via spinning parallelogram operator”. In: _Computer_ _Vision_ _and_ _Image_ _Understanding_ 145 (2016), pp. 148–159. [66] Zisserman, A., Giblin, P., and Blake, A. “The information available to a moving observer from specularities”. In: _Image_ _and_ _Vision_ _Computing_ 7.1 (1989), pp. 38–42. issn: 0262-8856. doi: [http://dx.doi.org/10.1016/](http://dx.doi.org/http://dx.doi.org/10.1016/0262-8856%0x2889%0x2990018-8) [0262-8856(89)90018-8.](http://dx.doi.org/http://dx.doi.org/10.1016/0262-8856%0x2889%0x2990018-8) 107

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.