A method for forming an image, implemented at least in part by a data
processing apparatus, by obtaining a first image of a scene from a first
subset of pixels in an image sensor array at a first f/# setting,
adjusting the imaging optics that obtain light from the scene at a second
f/# setting, obtaining a second image of the scene from a second subset
of pixels in the image sensor array, and forming a composite image by
combining image data from at least the first and second images.