1. A system for compensating for in-scene and camera motion during image capture by a mobile computing device, said system comprising: an image sensor; a gyroscope for providing rotational motion data of the image sensor; an accelerometer for providing linear motion data of the image sensor; a memory area storing a plurality of images captured by the image sensor, the memory area further storing readings from the gyroscope and the accelerometer, the readings corresponding to each of the plurality of images; and a processor programmed to: calculate global movement among the plurality of images based on the readings, the global movement comprising the rotational motion data and the linear motion data; re-align each of the plurality of images based on the calculated global movement; compare intensity values associated with pixels in the re-aligned images to corresponding expected intensity values for the pixels, the corresponding expected intensity values being derived from a reference image in the plurality of images; selectively accumulate the intensity values associated with the pixels in the re-aligned images based on the comparison, the selective accumulating comprising, for each pixel in the re-aligned images, discarding an intensity value that is above a first threshold or below a second threshold, the first threshold and the second threshold being different from each other, otherwise adding the intensity value to the corresponding expected intensity value and producing a cumulative intensity value for that pixel; and generate an output image using the selectively accumulated intensity values.