surface_normals — 3D photometric op

Data kinds: image2dnormalmap

Call: import photometric; photometric.surface_normals(z) (or ops3d.get("surface_normals"))

Usage

Height field z (HxW) → unit normals (H,W,3). n ∝ (−dz/dx, −dz/dy, 1). The forward depth → normal conversion.

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

Runnable examples (verified samples that actually call this op)

photometric_stereopy -3.11 examples_3d/photometric_stereo.py

Ops the type connects to (they accept normalmap as input)

fuse_to_voxel · render_shaded · phong_shade · matcap_shade · brdf_lommel_seeliger · brdf_hapke · bump_normals_fbm · integrate_normals

Same category (photometric)

photometric_stereo · integrate_normals · render_lambertian


*Provenance: photometric.py — 3D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.