1. A method of stitching a plurality of images, the method comprising: variably setting a position and size of a template for image stitching with respect to a captured first image or a captured second image; determining stitch positions of the first image and the second image, based on the template that is variably set; and stitching the first image and the second image, based on the determined stitch positions.