We analyze the effect of perturbations on the estimation of Depth from Defocus (DFD) implemented by changing the focus setting (e.g., axially moving the sensor). The analysis yields the optimal change of focus setting, and the spatial frequencies for which estimation is most robust. For stable estimation at all spatial frequencies, the change in focus setting should be less than twice the depth...