Inferensys

Glossary

Photometric Stereo

Photometric stereo is a computer vision technique for estimating surface normals and albedo by observing an object under multiple known lighting directions from a fixed viewpoint.
MLOps engineer reviewing model serving infrastructure on laptop, container orchestration visible, technical workspace.
NEURAL APPEARANCE MODELING

What is Photometric Stereo?

A foundational computer vision technique for recovering detailed surface geometry and reflectance from images.

Photometric stereo is a computer vision technique that estimates the surface normals and albedo (base color) of an object by analyzing multiple images of it taken from a fixed camera viewpoint under varying, known lighting directions. By solving the photometric stereo equation, which models how light reflects off a surface given its orientation and material properties, the method reconstructs a dense normal map that encodes fine geometric detail. This process is a core component of inverse rendering, where the goal is to infer intrinsic scene properties from observed images.

The technique assumes a Lambertian reflectance model, where surfaces reflect light equally in all directions, though modern extensions handle more complex Bidirectional Reflectance Distribution Functions (BRDFs). It is distinct from geometric stereo vision, which uses parallax from multiple viewpoints. Photometric stereo is crucial for high-fidelity material capture in applications like digital twins and visual effects, and it provides essential data for training neural appearance models, such as those used in Neural Radiance Fields (NeRF), by supplying accurate surface orientation and reflectance information.

PHOTOMETRIC STEREO

Core Assumptions of Classical Photometric Stereo

Classical photometric stereo is a foundational computer vision technique for recovering surface shape from images. Its mathematical elegance and practical success are built upon a set of specific, idealized assumptions about the scene, camera, and lighting.

01

Known, Distant Point Light Sources

The algorithm requires precise knowledge of the direction and intensity of each light source for every input image. The distant light assumption means the light source is effectively at infinity, so the illumination direction is constant across the entire object's surface. This simplifies the lighting model to a directional vector, avoiding complex calculations for attenuation and positional variance. In practice, this is achieved using a light stage or calibrated laboratory setup.

02

Lambertian (Diffuse) Reflectance

The surface is assumed to be a perfect Lambertian reflector. This means it reflects light equally in all directions, and its brightness depends only on the angle between the surface normal and the light direction, not the viewing angle. The reflected radiance is modeled as: L = ρ * (n · l) * I, where ρ is the albedo, n is the surface normal, l is the light direction, and I is the light intensity. This linear relationship is crucial for solving the system of equations. Real-world materials with specular highlights or subsurface scattering violate this assumption and cause errors.

03

Orthographic or Fixed Perspective Camera

The camera is assumed to be in a fixed position viewing the object under all different lightings. Furthermore, an orthographic projection model is often used, which assumes all light rays entering the camera are parallel. This eliminates perspective distortion and simplifies the relationship between image coordinates and 3D surface points. In many implementations, a perspective camera with a long focal length (approximating orthography) is used, but the fixed viewpoint remains non-negotiable for the core linear solution.

04

Constant Albedo or Known Variation

The albedo (base color or diffuse reflectance) of the surface point must be constant across all input images for a given pixel. The classical algorithm solves for both the surface normal and a single albedo value per pixel. If the albedo is spatially varying but constant per point (e.g., a painted object), the algorithm can recover it. Problems arise with textureless regions (where the solution is ambiguous) or materials where albedo changes with viewing/lighting angle, which is non-Lambertian behavior.

05

No Shadows, Interreflections, or Ambient Light

The model assumes no shadows (cast or attached), no interreflections (light bouncing from one surface point to another), and no ambient light. Shadows create pixels where the light source is not visible, breaking the linear lighting equation. Interreflections add non-local lighting contributions, meaning a point's brightness depends on the geometry of other surfaces. Ambient light adds an unknown constant offset to pixel values. All these effects introduce non-linearities that the classical linear solution cannot handle, leading to corrupted normal and albedo estimates.

06

Minimum Three Non-Coplanar Light Directions

A minimum of three images under different, non-coplanar lighting directions are required to uniquely solve for the two degrees of freedom of the surface normal and the albedo at each pixel. With fewer lights, the system is under-constrained. If all light directions lie in a single plane (are coplanar), the component of the normal perpendicular to that plane becomes ambiguous. Using more than three lights (e.g., 10-50) creates an over-determined system that can be solved via least squares, improving robustness to noise and minor model violations.

COMPARISON

Photometric Stereo vs. Other 3D Capture Methods

A technical comparison of Photometric Stereo against other common 3D capture techniques, highlighting differences in principle, data requirements, output, and typical use cases.

Feature / MetricPhotometric StereoStereo Vision / PhotogrammetryStructured Light / LiDARCT / MRI Scanning

Underlying Principle

Surface normal estimation from reflectance under varying illumination

3D triangulation from pixel correspondences across multiple views

Active projection of patterns or laser pulses to measure depth

Volumetric reconstruction from transmitted energy (X-ray, magnetic resonance)

Primary Output

Dense surface normals & albedo (reflectance) map

3D point cloud or textured mesh

3D point cloud or depth map

Volumetric density data (voxel grid)

Lighting Requirement

Controlled, known directional lighting (4+ sources)

Passive, consistent ambient lighting

Active, projected light source required

Internal energy source (non-visible)

Viewpoint Constraint

Single, fixed camera viewpoint

Multiple, overlapping camera viewpoints required

Single or multiple viewpoints possible

Full 360-degree rotational capture

Captures Internal Structure

Surface Reflectance Assumption

Lambertian (diffuse) or known BRDF model

None (relies on texture for matching)

None (relies on projected pattern)

None

Typical Spatial Resolution

Very high (pixel-level normals)

High (depends on camera resolution & overlap)

Medium to High (depends on sensor density)

Very high (sub-millimeter voxels)

Typical Acquisition Speed

< 1 sec (for multi-light capture)

Seconds to minutes (for multi-view capture & processing)

< 1 sec (for single scan)

Minutes to hours

Hardware Complexity & Cost

Medium (camera, controlled lights, calibration)

Low to Medium (multiple standard cameras)

Medium to High (specialized projector/sensor)

Very High (medical/industrial imaging system)

Primary Use Case

High-fidelity surface detail & material capture for digital twins

Large-scale 3D reconstruction from photos (e.g., buildings, terrain)

Medium-range 3D scanning for objects & rooms

Non-destructive internal inspection (medical, industrial)

PHOTOMETRIC STEREO

Frequently Asked Questions

Essential questions about Photometric Stereo, a foundational computer vision technique for recovering detailed surface geometry and reflectance from images under varying illumination.

Photometric Stereo is a computer vision technique that estimates the surface normals and albedo (base color) of an object by capturing multiple images of it from a fixed camera viewpoint under varying, known lighting directions. It works by solving the photometric stereo equation, which models image intensity at a pixel as a function of the surface normal, albedo, and the known lighting direction. By observing how the pixel's brightness changes under at least three different non-coplanar light sources, a linear system can be solved to recover the unknown normal vector and albedo at that pixel, building a detailed normal map and albedo map for the entire visible surface.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.