Visual Styles¶
Introduction¶
PLD and RTI have developed a plethora of styles to visualize their higher dimensional data. Each one of them accentuates certain aspects of the surface. In order to interpret the results, a summary of each visual style is provided.
PLD¶
Default color¶
The ‘Default color’ style implements how a diffuse material reflects light and is as such the inverse of the principle of Photometric Stereo (in which the albedo and surface normal get disentangled, see Algorithm). In computer graphics and computer vision, this model is sometimes referred to as Lambertian reflectance. The reflected intensity is proportional to the cosine of the angle between the light direction and the normal vector.
A beam of light falling on an object has a certain amount of energy. If the surface of the object is perpendicular to the light direction, it receives the highest amount of energy per area. When the surface is tilted with respect to the light direction, the same amount of energy gets spread across a bigger area, resulting in a lower energy density received by the surface.
The brightness of a Lambertian object does not depend on the viewing position, i.e. a Lambertian object looks equally bright from all positions. More physical background can be found here and here
In terms of computer graphics, the light paths used in this style consist of a single bounce at the surface ( point light source -> surface and surface -> camera ) Interreflections (i.e. light paths with several bounces) and self shadowing (part of the object can cast a shadow on another part, especially noticeable at grazing light directions) are therefore not modeled.
Parameters¶
The direction of the virtual light sources
The brightness of the virtual light sources
The color source: For white light recordings, this can be an RGB image or each red, green or blue channel separately. For Multi Spectral recordings, more combinations are possible. E.g. IRG will be displayed as a false color image with the infrared channel as red, the red channel as green and the green channel as blue.
Reflectance source: Albedo (see Albedo map) vs. Ambient (see Ambient map)
Normal source. For white light recordings, a single normal map is calculated. For multi spectral recordings, a normal map per spectral band is calculated.
Alternating the virtual light position in PLD’s Default color style.¶
Necessary input maps¶
either an Albedo map or Ambient map
Shaded¶
This visual style is the same as the Default color style, except that the Albedo is set to a uniform value. By removing the local color information from the image, a more careful study of the surface orientation (see Normal map) is possible by carefully changing the virtual light direction.
Parameters¶
The direction of the virtual light sources
The brightness of the virtual light sources
Normal source. For white light recordings, a single normal map is calculated. For multi spectral recordings, a normal map per spectral band is calculated.
PLD’s shaded mode allows for a more careful study of surface orientation w.r.t. the Default color style.¶
Necessary input maps¶
Shaded exaggerated¶
This visual style is the same as the Shaded style, except that surface orientation is exaggerated w.r.t. the orientation parallel to the camera direction.
Parameters¶
The direction of the virtual light sources
The brightness of the virtual light sources
Normal source. For white light recordings, a single normal map is calculated. For multi spectral recordings, a normal map per spectral band is calculated.
Alternating view of the Shaded and Shaded Exaggerated style.¶
Necessary input maps¶
Sharpen¶
This visual style is the same as the Color style, except that the color map is sharpened. 2 parameters control the sharpening: Percentage and Size. See also Unsharp masking.
Parameters¶
The direction of the virtual light sources
The brightness of the virtual light sources
The color source: For white light recordings, this can be an RGB image or each red, green or blue channel separately. For Multi Spectral recordings, more combinations are possible. E.g. IRG will be displayed as a false color image with the infrared channel as red, the red channel as green and the green channel as blue.
Normal source. For white light recordings, a single normal map is calculated. For multi spectral recordings, a normal map per spectral band is calculated.
Reflectance source: Albedo (see Albedo map) vs. Ambient (see Ambient map)
Percentage
Size
Influence of the Percentage parameter of the Sharpen style¶
Influence of the Size parameter of the Sharpen style.¶
Necessary input maps¶
either an Albedo map or Ambient map
Sketch 1¶
This visual style is inspired by pencil drawings of objects with local relief like cuneiform tablets. Where the surface direction locally abruptly changes, a black pixel value is set.
Parameters¶
Normal source. For white light recordings, a single normal map is calculated. For multi spectral recordings, a normal map per spectral band is calculated.
Sensitivity
Thickness
Influence of the Thickness parameter of the Sketch 1 style¶
Influence of the Sensitivity parameter of the Sketch 1 style.¶
Necessary input maps¶
Sketch 2¶
Parameters¶
Normal source. For white light recordings, a single normal map is calculated. For multi spectral recordings, a normal map per spectral band is calculated.
Sensitivity
Thickness
Necessary input maps¶
either an Albedo map or Ambient map
Curvature¶
Parameters¶
Normal source. For white light recordings, a single normal map is calculated. For multi spectral recordings, a normal map per spectral band is calculated.
Intensity
Area
Necessary input maps¶
Normals¶
See Normal map.
Normal style showing the surface orientation. For more information see Normal map.¶
Parameters¶
Normal source. For white light recordings, a single normal map is calculated. For multi spectral recordings, a normal map per spectral band is calculated.
Necessary input maps¶
HSH RTI¶
Default color¶
The ‘Default color’ style renders the object in a photorealistic way. The level of light-varying detail that is captured depends on the amount of HSH basis functions that is used (which order is chosen during the creation of the HSH RTI file)
Parameters¶
The direction of the virtual light sources
The brightness of the virtual light sources
Necessary input maps¶
HSH coefficients encoded either directly in an HSH RTI file or grouped per 3 as image data
Specular enhancement¶
Sometimes, it’s worthwhile to artificially boost the surface detail visibility. The Specular enhancement style achieves this by introducing a specular Phong term in the rendering equation. See also Phong reflection model.
Parameters¶
The direction of the virtual light sources
The brightness of the virtual light sources
exp: Also sometimes known as alpha or the shininess constant. Increasing this value makes the appearance more mirrorlike - smaller specular highlights.
Ks: The ratio of specular reflection on the incoming light
Kd: The ratio of diffuse reflection on the incoming light
Normal source
Necessary input maps¶
HSH coefficients encoded either directly in an HSH RTI file or grouped per 3 as image data
Normal map, either calculated from the HSH coefficients or possibly, when using glTF, using another method (e.g. PLD or PTM)
HSH sharpening¶
The ‘HSH sharpening’ style is the same as the ‘Default color’ style, but with the option to sharpen the HSH components. 2 parameters control the sharpening: Percentage and Size. See also Unsharp masking.
Parameters¶
The direction of the virtual light sources
The brightness of the virtual light sources
Percentage
Size
Necessary input maps¶
HSH coefficients encoded either directly in an HSH RTI file or grouped per 3 as image data
PTM¶
Default color¶
The ‘Default color’ style renders the object in a photorealistic way. The level of light-varying detail that is captured depends on the order of the polynomial that is used during the creation of the PTM file.
Parameters¶
The direction of the virtual light sources
The brightness of the virtual light sources
Necessary input maps¶
PTM basis functions encoded either directly in an HSH RTI file or grouped per 3 as image data
Specular enhancement¶
Sometimes, it’s worthwhile to artificially boost the surface detail visibility. The Specular enhancement style achieves this by introducing a specular Phong term in the rendering equation. See also Phong reflection model.
Parameters¶
The direction of the virtual light sources
The brightness of the virtual light sources
exp: Also sometimes known as alpha or the shininess constant. Increasing this value makes the appearance more mirrorlike - smaller specular highlights.
Ks: The ratio of specular reflection on the incoming light
Kd: The ratio of diffuse reflection on the incoming light
Normal source
Necessary input maps¶
PTM coefficients encoded either directly in a PTM file or grouped per 3 as image data
Normal map, either calculated from the PTM coefficients or possibly, when using glTF, using another method (e.g. PLD or HSH RTI)
RBF¶
Default color¶
The ‘Default color’ style renders the object in a photorealistic way. The level of light-varying detail that is captured depends on the number of coefficients per pixel. Currently the pixel+ viewer supports up to 18 planes.
Parameters¶
The direction of the virtual light sources
The brightness of the virtual light sources
Necessary input maps¶
RBF planes, saved in separate images and an info.json file. See also Relight <http://vcg.isti.cnr.it/relight/>
Specular enhancement¶
Sometimes, it’s worthwhile to artificially boost the surface detail visibility. The Specular enhancement style achieves this by introducing a specular Phong term in the rendering equation. See also Phong reflection model.
Parameters¶
The direction of the virtual light sources
The brightness of the virtual light sources
exp: Also sometimes known as alpha or the shininess constant. Increasing this value makes the appearance more mirrorlike - smaller specular highlights.
Ks: The ratio of specular reflection on the incoming light
Kd: The ratio of diffuse reflection on the incoming light
Normal source
Necessary input maps¶
PTM coefficients encoded either directly in a PTM file or grouped per 3 as image data
Normal map, either calculated from the PTM coefficients or possibly, when using glTF, using another method (e.g. PLD or HSH RTI)