Some methods and equipment allow altering the apparent DOF, and some even allow the DOF to be determined after the image is made. For example, Focus stacking combines multiple images focused on different planes, resulting in an image with a greater (or less, if so desired) apparent depth of field than any of the individual source images. Similarly, in order to reconstruct the 3-dimensional shape of an object, a depth map can be generated from multiple photographs with different depths of field. This method is called “shape from focus.”
Other technologies use a combination of lens design and post-processing: Wavefront coding is a method by which controlled aberrations are added to the optical system so that the focus and depth of field can be improved later in the process.
from Wikipedia article which is released under the Creative Commons Attribution-Share-Alike License 3.0.