Depth of field is a distance range at which the optical resolution of an image is as high as possible for that lens. When designing a lens, understanding the physics of this parameter will achieve the best design. Physical and manufacturing limitations object point images into spot with diameter named Circle of confusion. Source of the confusion are diffraction, aberrations, and pixel size.