This is the code used in my UC Santa Barbara Master's Thesis "Experimental apparatus for the study of Faraday waves on time-varying domains".Santa Barbara, CA. Dec, 2014. Basically, we shine a projector on diffusive surface and by cleverly processing the images, we can extract 3D data of the position of the surface (i.e. a height measurement for each pixel in an image).
The code is in MATLAB and the Fourier Transform Profilometry technique is adopted from:
P.J. Cobelli, V. Pagneux, A. Maurel, and P. Petitjeans. Experimental study on water-wave trapped modes. J. Fluid Mech., 666:445-0476, 2011.
A. Maurel, P.J. Cobelli, V. Pagneus, and P. Petitjeans. Experimental and theoretical inspection of the phase-to-height relation in Fourier transform prolometry. J. Opt. Soc. Am., 48:380-392, 2009.
M. Takeda, H. Ina, and S. Kobayasi. Fourier-transform method of fringepattern analysis for computer-based topography and interferometry. J. Opt. Soc. Am., 72:156-160, 1982.
If you want a free copy of my thesis or have any questions: [email protected]