Autofocus methods and digital cameras employing a holographic element or
hologram. The holographic element generates one or more displaced images that are
processed to generate a bipolar contrast signal that provides for improved autofocus
performance of the digital camera.