Illuminance Flow Estimation by Regression

Stefan M. Karlsson, Sylvia C. Pont, Jan J. Koenderink, Andrew ZissermanIJCV 2010

Abstract

We investigate the estimation of illuminance flow using Histograms of Oriented Gradient features (HOGs). In a regression setting, we found for both ridge regression and support vector machines, that the optimal solution shows close resemblance to the gradient based structure tensor (also known as the second moment matrix).

Introduction

Estimating the local direction of light on a textured surface, known as "illuminance flow," is a fundamental challenge in computer vision. This paper establishes a formal mathematical link between modern Histograms of Oriented Gradients (HOGs) and the classical gradient-based structure tensor. Through regression analysis, we demonstrate that HOG-based estimators essentially converge to a solution nearly identical to the structure tensor, proving that for this specific task, HOGs act as a robust, "gamma-corrected" version of traditional second-moment matrices.

Methods and Materials

The challenge of estimating illuminance flow involves determining how "3D texture" (meso-scale bumps and shadows) reveals the light source's direction. We treated this as a regression problem using Orientational HOGs (invariant to gradient sign) calculated on 8x8 pixel cells.

Geometry of illuminance flow estimation, defining slant and tilt relative to the camera and object.

To handle the "axial" nature of flow (where 0° and 180° are identical), we regressed toward complex numbers ($e^{i2\phi}$), allowing for a single consistent error minimization. We introduced a generalized complex expected value $\rho_\gamma(k)$ to bridge the gap between HOGs and tensors. In this framework, the structure tensor corresponds to a magnitude weighting of $\gamma=2$, while HOGs correspond to $\gamma=1$.

The study utilized a controlled laboratory dataset consisting of a textured sphere photographed under collimated light across 14 different slant angles (10° to 140°). Images were digitally rotated to simulate 16 different light tilt directions, resulting in over 260,000 data points in a 32-dimensional feature space.

Key Insights and Results

Our analysis reveals that HOGs are effectively "gamma-corrected" tensors. The primary difference lies in the weighting of gradient magnitude: the tensor weights by the square of the magnitude, while HOGs weight it linearly. Furthermore, when training a linear regressor on HOG bins, the resulting weights follow a sinusoidal pattern, extracting the "second harmonic" of the gradient distribution.

Comparison of true illuminance flow (black) versus regression-based estimation (white) on a textured sphere.

Performance across all models (Ridge Regression and SVMs) was nearly identical. The best performer, a second-order polynomial SVM, achieved an average angular deviation ($E_{ad}$) of 16.43°, comparable to the standard structure tensor's 16.7°. A significant source of error was "oblique viewing" near the sphere's edges. Appending the surface normal to the feature vector reduced the error significantly to ~11.9°.

Conclusion

HOG features do not provide significant "new" information over the structure tensor for illuminance flow; they instead offer a slightly more robust calculation of the same underlying signal. Future work should explore different $\gamma$ values or non-linear mappings to improve estimation on non-Lambertian or anisotropic surfaces, particularly addressing the distortions caused by oblique viewing near the silhouette of objects.

Summary updated

BibTeX
@article{karlsson2010illuminance,
  author = {Stefan M. Karlsson and Sylvia C. Pont and Jan J. Koenderink and Andrew Zisserman},
  title = {{Illuminance Flow Estimation by Regression}},
  journal = {Int. J. Comput. Vis.},
  year = {2010},
  url = {https://openreview.net/forum?id=aUcQVIluKc},
}
Figure