1. A method of refocusing a digital photographic image comprising a plurality of pixels, the method comprising: computing a set of images corresponding to a scene in the digital photographic image, wherein each image comprises an image of the scene at a distinct focal depth; identifying refocus depths for at least a subset of the pixels; storing the refocus depths in a look-up table; and refocusing at least a portion of the digital photographic image at a desired refocus depth determined from the look-up table.