a Photometric Stereo complete and concise demo running m-script
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
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Point Cloud Processing > Display Point Clouds >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
PhotometricStereo_with_MATLAB/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |