1. A method comprising: determining shifts between images of a plurality of light-field images captured in a burst capture by a light-field camera, the shifts between the images of the plurality of light-field images being associated with shake of the light-field camera while capturing the plurality of light-field images; generating a plurality of depth maps for the plurality of light-field images, wherein a depth map of the plurality of depth maps is generated for a corresponding light-field image of the plurality of light-field images; generating a set of view images of the scene based on the plurality of light-field images and the plurality of depth maps, wherein the set of view images includes at least a first view image generated based on a first of the light-field images and a second view image generated based on a second of the light-field images; and generating a refocus image by combining the first view image and the second view image, the second view image having been shifted based on a shift between the first view image and a non-shifted version of the second view image, wherein the shift between the first view image and the non-shifted version of the second view image is dependent on the determined shift between the first light-field image and the second light-field image.