A frequency-domain analysis of 3D reconstruction techniques based on defocusing