a Photometric Stereo complete and concise demo running m-script

These are 3 m-scripts for brief introduction to point-wise Photometric Stereo impl. in Matlab
822 Downloads
Updated 3 Jan 2014

View License

Concise and complete Demo of how to use point-wise Photometric Stereo method in Matlab environment, from scratch. A 1st main script is to perform: a) random surface generation, 2) its virtual illumination, 3) Vector Gradient Field determination with P.Stereo, 4) 3D surface reconstruction, based on 9-point spectral stencil formula.
----
For fast starting of the Photometric Stereo demo in Matlab, please run context help, associated with the main m-script, i.e with use of command:

help PStereo_demo

, then highlight one of the three exemplary given command lines (without prior '%' character at the beginning of each of the 3 lines, among other comment's lines, which obviously start with those '%' characters),

, and finally press F9, or choose option: 'Evaluate expression' from right-clicked mouse popup menu.

However, this P.Stereo demo does not include more interesting implementation issues, such as rendering with cast shadows, or noising and denoising 3D surface reconstructions with patchlet P.Stereo.

Cite As

Artur Bernat (2024). a Photometric Stereo complete and concise demo running m-script (https://www.mathworks.com/matlabcentral/fileexchange/44918-a-photometric-stereo-complete-and-concise-demo-running-m-script), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
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!
Version Published Release Notes
1.0.0.0