1. A method for forming an image, implemented at least in part by a data processing apparatus, the method comprising: obtaining a first image of a scene from a first subset of pixels in an image sensor array at a first f/# setting, wherein an f/# setting represents a relationship between a focal length and a size of an aperture of lens associated with the image sensor array; adjusting imaging optics that obtain light from the scene to a second f/# setting_having the same content; obtaining a second image of the scene having the same content from a second subset of pixels in the image sensor array using the adjusted imaging optics, and forming a composite image by combining image data from at least the first and second images, wherein the composite image has an improved and larger depth of field range, and wherein the first image and the second image capture the scene having the same content and have different depth of fields.