A python implementation of the Basic Photometric Stereo Algorithm
(a) noraml vector
(b) depth map
(c) point cloud picture (observed from the front view)
(d) point cloud picture (observed from the side view) [By Meshlab]
run Photometric_Stereo.py
|data #raw data,tga format
|data_processed #processed data,png format
|results
-----|normal files # noraml vector pictures
-----|obj files # 3D point cloud image
|tools
-----|tga2png.py #tga2png function
-----|visualization.py # point cloud visualize function
est_depth.npy #the numpy file of point cloud
HeightMap.py #set of height map computed functions
Photometric_Stereo.py # main function
README.md # description file
requirements.txt # dependence
SurfNorm.py # set of surface noraml vector computed functions
借鉴大神的博客 https://blog.csdn.net/SZU_Kwong/article/details/112757354