1. A method for processing images of a scene taken with different focus, comprising: for each of at least some of the images, determining at least one portion of the image having a predetermined characteristic; generating a representation of the scene comprising an array of elements, where each of at least some of the elements corresponds to a determined portion of at least one of the images, wherein an element of the array is based on a correspondence between a distance associated with a determined portion of at least one image and a focused distance associated with at least one image; and storing the generated representation or providing the generated representation as output.