1. A non-transitory program storage device, readable by a programmable imaging device, comprising instructions stored thereon for causing the programmable imaging device to: capture a sequence of images with the programmable imaging device; and calculate registration parameters for the sequence of images, comprising instructions to cause the programmable imaging device to: obtain rotational orientation data associated with images of the sequence of images from an orientation sensor of the programmable imaging device; determine whether translational motion of the programmable imaging device occurred while capturing the sequence of images; calculate the registration parameters for the sequence of images responsive to the rotational orientation data if translational motion of the programmable imaging device did not occur while capturing the sequence of images; and calculate the registration parameters for the sequence of images ignoring the rotational orientation data if translational motion of the programmable imaging device occurred while capturing the sequence of images.