1. A method comprising the following computer-executable acts: receiving a sequence of images of a scene, the sequence of images comprising a plurality of images, each image in the plurality of images comprising a respective plurality of pixels; receiving an indication of a reference image in the sequence of images; for each pixel in each image of the plurality of images, assigning a respective first weight that is indicative of saliency of a respective pixel, wherein the saliency of the respective pixel is indicative of an importance of preserving an object that corresponds to the respective pixel in a composite image; and generating the composite image based at least in part upon weights indicative of saliency assigned to the respective plurality of pixels in each image in the plurality of images and the indication of the reference image, wherein the composite image comprises the object, the object being absent from at least one image in the plurality of images.