---
id: "universal-photometric-stereo"
title: "Universal Photometric Stereo (SDM-UniPS)"
aliases: [SDM-UniPS, UniPS]
domain: "capture"
stage: "capture"
realtime: "offline"
platforms: [cuda, python]
year_introduced: 2023
inputs: [photos]
outputs: [normals]
style: "photoreal"
dynamic: "static"
cost: "offline"
authority: "Ikehata, 2023"
url: "https://texelatlas.vercel.app/t/universal-photometric-stereo/"
sources_verified_at: "2026-11-29"
---
# Universal Photometric Stereo (SDM-UniPS) (Ikehata, 2023)

> A neural network that predicts high-resolution surface normals from multi-light photos with unknown, arbitrary illumination and no object mask, including highly specular materials.

## Reach for it when

- don't know my light positions for multi-light capture
- glossy objects break normal recovery from photos
- lighting is mixed or from the environment
- need high-res normals without a mask or calibration
- classic normal estimation fails on shiny material

## How it works

Instead of calibrating light directions, the network encodes global lighting context across all input images with a transformer-style aggregation, so each pixel can reason about illumination implicitly. A scale-invariant spatial-and-directional design lets it process high-resolution images by working on sampled patches and recombining them, which keeps fine detail without a mask. Training uses synthetic renders with diverse shapes, SVBRDFs and lighting including near and environment lights. At inference you feed N images taken with fixed camera and varying lighting and obtain a normal map. It trades the physical guarantees of classic least squares for robustness to unknown light and complex materials.

## When to use it

Choose it when lighting is unknown, mixed or environment-based, or the material is glossy and classic [Photometric Stereo](https://texelatlas.vercel.app/t/photometric-stereo.md) fails. Prefer [Photometric Stereo](https://texelatlas.vercel.app/t/photometric-stereo.md) when you control calibrated lights and want a transparent, reproducible solve. Run [Bilateral Normal Integration](https://texelatlas.vercel.app/t/bilateral-normal-integration.md) afterwards if you need a height field.

## Cost

offline — Network inference on GPU; seconds to minutes per scene depending on resolution.

## Failure modes

- Out-of-distribution materials or lighting can yield plausible but wrong normals without any uncertainty signal
- Image sets with too little lighting variation leave normals ambiguous (bas-relief style ambiguity)
- Needs a very still camera and object; any motion corrupts the per-pixel observations
- Training-data licence and weights restrictions apply, check the repo

## Dataflow

- Inputs: photos
- Outputs: normals
- Platforms: cuda, python

## Lineage

- extends [Photometric Stereo](https://texelatlas.vercel.app/t/photometric-stereo.md)

## Combination ideas

- [Drawings to relief via generated relighting](https://texelatlas.vercel.app/ideas/relit-drawings-to-relief/)

## Sources

1. [primary] Satoshi Ikehata (2023) Scalable, Detailed and Mask-Free Universal Photometric Stereo. 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). https://doi.org/10.1109/cvpr52729.2023.01268 (verified via crossref on 2026-11-29)
2. [primary] Satoshi Ikehata (2023) Scalable, Detailed and Mask-Free Universal Photometric Stereo. arXiv preprint (cs.CV). https://arxiv.org/abs/2303.15724 (verified via arxiv on 2026-11-29)
3. [implementation] satoshi-ikehata (2023) satoshi-ikehata/SDM-UniPS-CVPR2023. https://github.com/satoshi-ikehata/SDM-UniPS-CVPR2023 License: NOASSERTION. (verified via github on 2026-11-29)

## Cite this entry

Texel. "Universal Photometric Stereo (SDM-UniPS)." https://texelatlas.vercel.app/t/universal-photometric-stereo/ (accessed 2026-12-01).
