1. A method of compositing a plurality of frames of a multi-frame image captured from a sensor having a rolling shutter in a digital camera, the method comprising: storing a first frame of the plurality into an accumulator, storing a reference copy of the first frame; identifying at least a predetermined number of motion estimation reference points in each of a plurality of swaths of the first image, wherein the swaths extend perpendicular to a direction of motion of the rolling shutter; for each subsequent frame after the first frame, (a) determining an overall motion vector for each swath of the subsequent image by determining a motion vector for at least some of the identified motion estimation points of a corresponding swath in the first image, and (b) re-registering each swath of the subsequent frame according to its overall motion vector, and (c) adding each re-registered swath to-the accumulator; and after a final frame of the plurality, writing the accumulator as an output image.