1. A method comprising: obtaining a plurality of images of a scene including one or more short-exposure images and one or more long-exposure images; analyzing a first group of images from the plurality of images to determine a motion value indicative of an amount of motion of an object in the scene; selecting a second group of images based, at least in part, on the motion value; and storing an output image that is derived from the second group of images in a memory.