Английская Википедия:Bidirectional reflectance distribution function

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description

Файл:BRDF Diagram.svg
Diagram showing vectors used to define the BRDF. All vectors are unit length. <math>\omega_{\text{i}}</math> points toward the light source. <math>\omega_{\text{r}}</math> points toward the viewer (camera). <math>n</math> is the surface normal.

The bidirectional reflectance distribution function (BRDF), symbol <math>f_{\text{r}}(\omega_{\text{i}},\, \omega_{\text{r}})</math>, is a function of four real variables that defines how light from a source is reflected off an opaque surface. It is employed in the optics of real-world light, in computer graphics algorithms, and in computer vision algorithms. The function takes an incoming light direction, <math>\omega_{\text{i}}</math>, and outgoing direction, <math>\omega_{\text{r}}</math> (taken in a coordinate system where the surface normal <math>\mathbf n</math> lies along the z-axis), and returns the ratio of reflected radiance exiting along <math>\omega_{\text{r}}</math> to the irradiance incident on the surface from direction <math>\omega_{\text{i}}</math>. Each direction <math>\omega</math> is itself parameterized by azimuth angle <math>\phi</math> and zenith angle <math>\theta</math>, therefore the BRDF as a whole is a function of 4 variables. The BRDF has units sr−1, with steradians (sr) being a unit of solid angle.

Definition

The BRDF was first defined by Fred Nicodemus around 1965.[1] The definition is:

<math display="block">f_{\text{r}}(\omega_{\text{i}},\, \omega_{\text{r}}) \,=\, \frac{\mathrm dL_{\text{r}}(\omega_{\text{r}})}{\mathrm dE_{\text{i}}(\omega_{\text{i}})} \,=\, \frac{\mathrm dL_{\text{r}}(\omega_{\text{r}})}{L_{\text{i}}(\omega_{\text{i}})\cos\theta_{\text{i}} \mathrm d\omega_{\text{i}}}</math>

where <math>L</math> is radiance, or power per unit solid-angle-in-the-direction-of-a-ray per unit projected-area-perpendicular-to-the-ray, <math>E</math> is irradiance, or power per unit surface area, and <math>\theta_{\text{i}}</math> is the angle between <math>\omega_{\text{i}}</math> and the surface normal, <math>\mathbf n</math>. The index <math>\text{i}</math> indicates incident light, whereas the index <math>\text{r}</math> indicates reflected light.

The reason the function is defined as a quotient of two differentials and not directly as a quotient between the undifferentiated quantities, is because irradiating light other than <math>\mathrm dE_{\text{i}}(\omega_{\text{i}})</math>, which are of no interest for <math>f_{\text{r}}(\omega_{\text{i}},\, \omega_{\text{r}})</math>, might illuminate the surface which would unintentionally affect <math>L_{\text{r}}(\omega_{\text{r}})</math>, whereas <math>\mathrm dL_{\text{r}}(\omega_{\text{r}})</math> is only affected by <math>\mathrm dE_{\text{i}}(\omega_{\text{i}})</math>.

Related functions

The Spatially Varying Bidirectional Reflectance Distribution Function (SVBRDF) is a 6-dimensional function, <math>f_{\text{r}}(\omega_{\text{i}},\,\omega_{\text{r}},\,\mathbf{x})</math>, where <math>\mathbf{x}</math> describes a 2D location over an object's surface.

The Bidirectional Texture Function (BTF) is appropriate for modeling non-flat surfaces, and has the same parameterization as the SVBRDF; however in contrast, the BTF includes non-local scattering effects like shadowing, masking, interreflections or subsurface scattering. The functions defined by the BTF at each point on the surface are thus called Apparent BRDFs.

The Bidirectional Surface Scattering Reflectance Distribution Function (BSSRDF), is a further generalized 8-dimensional function <math>S(\mathbf{x}_{\text{i}},\,\omega_{\text{i}},\,\mathbf{x}_{\text{r}},\,\omega_{\text{r}})</math> in which light entering the surface may scatter internally and exit at another location.

In all these cases, the dependence on the wavelength of light has been ignored. In reality, the BRDF is wavelength dependent, and to account for effects such as iridescence or luminescence the dependence on wavelength must be made explicit: <math>f_{\text{r}}(\lambda_{\text{i}},\,\omega_{\text{i}},\,\lambda_{\text{r}},\,\omega_{\text{r}})</math>. Note that in the typical case where all optical elements are linear, the function will obey <math>f_{\text{r}}(\lambda_{\text{i}},\,\omega_{\text{i}},\,\lambda_{\text{r}},\,\omega_{\text{r}}) = 0</math> except when <math>\lambda_{\text{i}} = \lambda_{\text{r}}</math>: that is, it will only emit light at wavelength equal to the incoming light. In this case it can be parameterized as <math>f_{\text{r}}(\lambda,\,\omega_{\text{i}},\,\omega_{\text{r}})</math>, with only one wavelength parameter.

Physically based BRDFs

Physically realistic BRDFs have additional properties,[2] including,

  • positivity: <math>f_{\text{r}}(\omega_{\text{i}},\, \omega_{\text{r}}) \ge 0 </math>
  • obeying Helmholtz reciprocity: <math>f_{\text{r}}(\omega_{\text{i}},\, \omega_{\text{r}}) = f_{\text{r}}(\omega_{\text{r}},\, \omega_{\text{i}})</math>
  • conserving energy: <math>\forall \omega_{\text{i}},\, \int_\Omega f_{\text{r}}(\omega_{\text{i}},\, \omega_{\text{r}})\,\cos{\theta_{\text{r}}} d\omega_{\text{r}} \le 1</math>

Applications

The BRDF is a fundamental radiometric concept, and accordingly is used in computer graphics for photorealistic rendering of synthetic scenes (see the rendering equation), as well as in computer vision for many inverse problems such as object recognition. BRDF has also been used for modeling light trapping in solar cells (e.g. using the OPTOS formalism) or low concentration solar photovoltaic systems.[3][4]

In the context of satellite remote sensing, NASA uses a BRDF model to characterise surface reflectance anisotropy. For a given land area, the BRDF is established based on selected multiangular observations of surface reflectance. While single observations depend on view geometry and solar angle, the MODIS BRDF/Albedo product describes intrinsic surface properties in several spectral bands, at a resolution of 500 meters.[5] The BRDF/Albedo product can be used to model surface albedo depending on atmospheric scattering.

Models

BRDFs can be measured directly from real objects using calibrated cameras and lightsources;[6] however, many phenomenological and analytic models have been proposed including the Lambertian reflectance model frequently assumed in computer graphics. Some useful features of recent models include:

W. Matusik et al. found that interpolating between measured samples produced realistic results and was easy to understand.[7]

Шаблон:Multiple image

Some examples

  • Lambertian model, representing perfectly diffuse (matte) surfaces by a constant BRDF.
  • Lommel–Seeliger, lunar and Martian reflection.
  • Phong reflectance model, a phenomenological model akin to plastic-like specularity.[8]
  • Blinn–Phong model, resembling Phong, but allowing for certain quantities to be interpolated, reducing computational overhead.[9]
  • Torrance–Sparrow model, a general model representing surfaces as distributions of perfectly specular microfacets.[10]
  • Cook–Torrance model, a specular-microfacet model (Torrance–Sparrow) accounting for wavelength and thus color shifting.[11]
  • Ward model, a specular-microfacet model with an elliptical-Gaussian distribution function dependent on surface tangent orientation (in addition to surface normal).[12]
  • Oren–Nayar model, a "directed-diffuse" microfacet model, with perfectly diffuse (rather than specular) microfacets.[13]
  • Ashikhmin–Shirley model, allowing for anisotropic reflectance, along with a diffuse substrate under a specular surface.[14]
  • HTSG (He, Torrance, Sillion, Greenberg), a comprehensive physically based model.[15]
  • Fitted Lafortune model, a generalization of Phong with multiple specular lobes, and intended for parametric fits of measured data.[16]
  • Lebedev model for analytical-grid BRDF approximation.[17]
  • ABg model[18][19]
  • K-correlation (ABC) model[20]

Acquisition

Traditionally, BRDF measurement devices called gonioreflectometers employ one or more goniometric arms to position a light source and a detector at various directions from a flat sample of the material to be measured. To measure a full BRDF, this process must be repeated many times, moving the light source each time to measure a different incidence angle.[21] Unfortunately, using such a device to densely measure the BRDF is very time-consuming. One of the first improvements on these techniques used a half-silvered mirror and a digital camera to take many BRDF samples of a planar target at once. Since this work, many researchers have developed other devices for efficiently acquiring BRDFs from real world samples, and it remains an active area of research.

There is an alternative way to measure BRDF based on HDR images. The standard algorithm is to measure the BRDF point cloud from images and optimize it by one of the BRDF models.[22]

A fast way to measure BRDF or BTDF is a conoscopic scatterometer [23] The advantage of this measurement instrument is that a near-hemispheric measurement can be captured in a fraction of a second with resolution of roughly 0.1°. This instrument has two disadvantages. The first is that the dynamic range is limited by the camera being used; this can be as low as 8 bits for older image sensors or as high as 32 bits for the newer automotive image sensors. The other disadvantage is that for BRDF measurements the beam must pass from an external light source, bounce off a pellicle and pass in reverse through the first few elements of the conoscope before being scattered by the sample. Each of these elements is antireflection-coated, but roughly 0.3% of the light is reflected at each air-glass interface. These reflections will show up in the image as a spurious signal. For scattering surfaces with a large signal, this is not a problem, but for Lambertian surfaces it is.

BRDF fabrication

BRDF fabrication refers to the process of implementing a surface based on the measured or synthesized information of a target BRDF. There exist three ways to perform such a task, but in general, it can be summarized as the following steps:

  • Measuring or synthesizing the target BRDF distribution.
  • Sample this distribution to discretize it and make the fabrication feasible.
  • Design a geometry that produces this distribution (with microfacet, halftoning).
  • Optimize the continuity and smoothness of the surface with respect to the manufacturing procedure.

Many approaches have been proposed for manufacturing the BRDF of the target :

  • Milling the BRDF: This procedure starts with sampling the BRDF distribution and generating it with microfacet geometry then the surfaced is optimized in terms of smoothness and continuity to meet the limitations of the milling machine. The final BRDF distribution is the convolution of the substrate and the geometry of the milled surface.[24]
    Файл:Fabricating.jpg
    The final BRDF is the aggregated effect of the geometry and ink selection.
  • Printing the BRDF: In order to generate spatially varying BRDF (svBRDF) it has been proposed to use gamut mapping and halftoning to achieve the targeted BRDF. Given a set of metallic inks with known BRDF an algorithm proposed to linearly combine them to produce the targeted distribution.  So far printing only means gray-scale or color printing but real-world surfaces can exhibit different amounts of specularity that affects their final appearance, as a result this novel method can help us print images even more realistically.  [25]
  • Combination of Ink and Geometry: In addition to color and specularity, real-world objects also contain texture. A 3D printer can be used to manufacture the geometry and cover the surface with a suitable ink; by optimally creating the facets and choosing the ink combination, this method can give us a higher degree of freedom in design and more accurate BRDF fabrication.[26]

See also

References

  1. Шаблон:Cite journal
  2. Шаблон:Cite conference
  3. Шаблон:Cite book
  4. Шаблон:Cite journal
  5. Шаблон:Cite web
  6. Шаблон:Cite web
  7. Wojciech Matusik, Hanspeter Pfister, Matt Brand, and Leonard McMillan. A Data-Driven Reflectance Model Шаблон:Webarchive. ACM Transactions on Graphics. 22(3) 2002.
  8. Шаблон:Cite journal
  9. Шаблон:Cite book
  10. Шаблон:Cite journal
  11. Шаблон:Cite journal
  12. Шаблон:Cite conference
  13. Шаблон:Cite journal
  14. Шаблон:Cite journal
  15. X. He, K. Torrance, F. Sillon, and D. Greenberg, A comprehensive physical model for light reflection, Computer Graphics 25 (1991), no. Annual Conference Series, 175–186.
  16. E. Lafortune, S. Foo, K. Torrance, and D. Greenberg, Non-linear approximation of reflectance functions. In Turner Whitted, editor, SIGGRAPH 97 Conference Proceedings, Annual Conference Series, pp. 117–126. ACM SIGGRAPH, Addison Wesley, August 1997.
  17. Ilyin A., Lebedev A., Sinyavsky V., Ignatenko, A., Image-based modelling of material reflective properties of flat objects (In Russian) Шаблон:Webarchive. In: GraphiCon'2009.; 2009. p. 198-201.
  18. Richard N. Pfisterer, Approximated Scatter Models for Stray Light Analysis
  19. Шаблон:Cite thesis
  20. Church E., Takacs P., Leonard T., The prediction of BSDFs from surface profile measurements Шаблон:Doi
  21. Marschner S.R., Westin S.H., Lafortune E.P.F., Torrance K.E., Greenberg D.P. (1999) Image-Based BRDF Measurement Including Human Skin. In: Lischinski D., Larson G.W. (eds) Rendering Techniques’ 99. Eurographics. Springer, Vienna
  22. BRDFRecon project Шаблон:Webarchive
  23. Eckhardt S, Lunda K., Digital Age Sees New Demand for the Venerable Conoscope https://www.photonicsspectra-digital.com/photonicsspectra/september 2020/MobilePagedReplica.action?pm=2&folio=56
  24. Шаблон:Cite book
  25. Шаблон:Cite journal
  26. Шаблон:Cite journal

Further reading