1. A method, comprising: obtaining a flat comprising a plurality of microimages of separate portions of an image of a scene, wherein each of the plurality of microimages is in a separate region of the flat that is a two-dimensional (2D) representation of a four-dimensional (4D) light-field that captures both spatial and angular information of the scene; rendering an output image of the scene from the plurality of microimages, said rendering for each point of the output image comprising: determining a target microimage in the flat for a point; calculating a position in the target microimage from which a value is to be sampled; for each microimage in a neighborhood including the target microimage, reading the value from the calculated position in the respective microimage and adding the value to a value accumulator, said adding the value comprising weighting the value read from the respective microimage according to a position of the respective microimage in the neighborhood prior to said adding the value to the value accumulator; and normalizing the value in the value accumulator and assigning the normalized value to the point in the output image.