Abstract: A method and system for automatically focusing an image within a still camera is disclosed. The method and system comprises providing initial focus and exposure values of the image, calculating an exposure setting for the image, and determining a plurality of focus zones for the image. The method and system includes moving the lens through the plurality of focus zones of the image to obtain exposure and focus information about the image. Through a method and system in accordance with the present invention, a digital still camera can produce a three-dimensional like data set of a scene.