Real-World Normal Map Capture for Nearly Flat Reflective Surfaces
Introduction
Digital city models often represent windows and glass facades as perfectly flat planes. However, real-world glass is rarely perfect; subtle manufacturing variations and structural stresses create a characteristic "wavy" appearance. While these deformations are minute, they significantly impact the visual realism of reflections. This paper introduces a practical, markerless method for capturing high-resolution normal maps of these nearly flat reflective surfaces using only a handheld or vehicle-mounted video camera.
The Challenge of Specularity
Standard 3D reconstruction techniques, such as Structure-from-Motion (SfM), typically rely on the "Lambertian assumption"—the idea that a surface point looks the same regardless of the viewing angle. Specular (mirror-like) surfaces violate this principle entirely, as the observed image depends on the surrounding environment and the observer's perspective. While laboratory methods can reconstruct reflective objects using controlled patterns like checkerboards, these do not scale to large-scale urban environments. You cannot easily place a giant calibration target in front of a skyscraper.
A Markerless Reconstruction Pipeline
The authors propose a multi-step pipeline to transform standard video into detailed normal maps by treating existing environmental structures, such as the edges of buildings across the street, as natural calibration targets.
- Camera Tracking: Because standard feature tracking fails on mirrors, the system uses vanishing points and Chamfer matching (matching edge maps) to estimate the camera's 6-DOF trajectory relative to the facade.
- Volumetric Line Tracking: The video is treated as a 3D volume ($u, v$ coordinates over time $t$). If a camera moves in a straight line, a reflected line passes over any given point on the window exactly once. This allows tracking to be framed as a volumetric segmentation problem—finding the "surface" in the video cube that separates the "before" and "after" of a line's passage.
- 3D Line Estimation: To calculate reflection physics, the system must locate the reflected line in the real world. This is achieved by observing window boundaries, assuming the glass is perfectly flat at the edges where it is fixed to a frame.
- Global Optimization: A single reflected line provides a "cone" of possible normals for a point. To find the exact normal, the system solves for the entire surface simultaneously using an energy minimization function that enforces integrability (continuous surface) and smoothness.
Key Insights
A major contribution of this work is the shift from point-to-point constraints to point-to-line constraints. Previous methods required knowing exactly which pixel reflected which specific spot on a target. This paper demonstrates that knowing a pixel reflects some point on a known 3D line is sufficient to constrain the surface normal significantly. Furthermore, by framing tracking as a 3D segmentation of a video volume, the method becomes robust to topology changes where reflected lines might "break" or "merge" due to surface bumps.
Results and Real-World Performance
The method was evaluated on synthetic data, laboratory scenes, and large-scale outdoor facades. On synthetic "sine wave" surfaces, the system achieved a mean angular error of only 0.1°, proving its ability to capture incredibly subtle deformations. Qualitative results on real building facades show that the captured normal maps produce reflections that are visually indistinguishable from the original video, far surpassing the generic templates often used in the visual effects industry.
Limitations and Future Work
The current approach assumes the surface is "nearly flat" (representable as a height field), making it unsuitable for highly curved objects like chrome car bumpers. It also requires the camera to move in a roughly straight path and depends on the presence of straight lines in the environment. Future research directions include handling "multi-glazing" (reflections from both panes of a double-paned window) and extending the technique to non-flat reflective objects using proxy geometries.
Summary updated