1. A method for generating an optical image, comprising: forming an optical image with at least one optical element while modifying wavefront phase such that there are no zeros in subsequent detected spatial frequencies of the optical image over an extended depth of focus that is larger than a depth of focus occurring without modifying wavefront phase.