1. A method for image processing, comprising: obtaining a plurality of images of a scene at differing focal lengths, wherein each image shows differing portions of the scene in focus; obtaining a first depth map associated with the plurality of images; obtaining a second depth map associated with the plurality of images, wherein the first depth map corresponds to a first neighborhood size and the second depth map corresponds to a second neighborhood size; generating a composite image showing two or more portions of the scene in focus, based on the plurality of images and the first depth map; and generating a refocused image showing a selected portion of the scene in focus, based on the composite image and the second depth map.