Regularized pseudo-phase imaging for inspecting and sensing nanoscale features.