Implementation of a panoramic image stitching algorithm