Fast computer vision algorithms applied to motion detection and mosaicing