Deep learning-based image stitching method and apparatus