There are two traditional models for computing slant from texture that were first proposed in the 1950s (see Purdy,
1958) and have been studied extensively since then. These models are based on specific local measures of optical texture elements that are defined in
Figure 5. One common approach for estimating surface slant is to analyze the foreshortening of optical texture elements based on the assumption that the texture is isotropic. It is possible in that case to estimate the local optical slant (
σ) at a given surface location using the following equation:
where
S′ is the projected major axis of an optical texture element, and
C′ is the compression of its projected minor axis.
An alternative approach is to estimate surface slant by measuring the changes of optical texture across different local neighborhoods of an image, based on an assumption that the surface texture is statistically homogeneous. This can be achieved using the following equation:
where
D′ is the projected distance between neighboring optical texture elements in the direction of slant, and
S′
1 and
S′
2 are the projected lengths of those texture elements (see
Figure 5). In the limit of an infinitesimally small D′, the right side of
Equation 3 equals the normalized scaling gradient (Gårding,
1992). It is interesting to note that
Equations 1 and
3 are quite similar to one another. The primary difference is that scaling contrast exploits the entire range of scale differences within an image, whereas the normalized scaling gradient only considers them within local neighborhoods. Because of this difference, the scaling gradient is much more sensitive to noise than is scaling contrast. For example, if a 2% error were applied to the measured values of
S′
1 or
S′
2 within a 5° neighborhood, the estimated slant would deviate from the ground truth by 13° for a 5° slant and 3° for a 60° slant. For scaling contrast, on the other hand, a 2% error in the measured values of
S′
Max or
S′Min would produce estimated slant errors of only 1.6° and 1.5°, respectively, for depicted slants of 5° and 60°.
When evaluating these alternative models, it is important to emphasize that
Equations 2 and
3 do not measure the physical slant of a surface. What they measure instead is optical slant, which is defined as the angle between the viewing direction of a visible surface patch and the local surface normal of that patch. Consider the perceptual analysis of a planar surface from texture. By definition, all local regions on a planar surface have exactly the same physical slant. However, they do not all have the same optical slant (
σ), because
σ varies linearly with viewing direction for planar surfaces (see Todd et al.,
2005). For example, if a 50° slanted surface is observed with a visual angle of 60° (see
Figure 3A), the optical slants will vary from a maximum value (
σMax) of 80° to a minimum value (
σMin) of 20°.