Profilometry

Measures a surface's height variation along a line scan, either by dragging a fine stylus across it or by scanning a focused light beam, to quantify roughness or step height.

References