version (1.87 MB) by Ying Xiong
A matlab toolbox for photometric stereo.


Updated 13 Feb 2014

View License

* Fit the circle of chrome sphere from manual extracted points.
* Find lighting direction from given chrome sphere.
* Estimate light strength or refine lighting matrix by solving a nonlinear least squares problem.
* Perform photometric stereo to recover albedo and normal map.
* Recover depth map from estimated normal vector field.

Cite As

Ying Xiong (2022). PSBox (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!