Beginning of image stitching. (not functional)