Wavefront sampling in holographic interferometry