You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). a Photometric Stereo complete and concise demo running m-script (https://in.mathworks.com/matlabcentral/fileexchange/44918-a-photometric-stereo-complete-and-concise-demo-running-m-script), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.14 MB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
