PIVMat Function Reference<< Prev | Next >> 
surfheight
Surface height

Description
H = surfheight(R, H0, N) computes the surface height H, given the 
displacement field R, the mean height H0 and the refraction index N 
(N=1.33 by default). The displacement field is obtained from the 
correlation of a reference image (flat surface) and a distorted image. 
 
H = surfheight(..., MODE) specifies the integration mode: 
 1  : small slope and arbitrary amplitude (by default) 
 2  : small slope and small amplitude 
 
surfheight is based on INTGRAD2.M by J. D'Errico. 
 
Example
 
 
  r = loadvec('*.vc7'); 
  h = surfheight(r, 10); 
  showscal(h); 
 
See Also
showvec, showscal, vec2scal, gradientf. 

 Previous: subaverfNext: truncf 

2005-2007 PIVMat Toolbox 1.60