Introduction - If you have any usage issues, please Google them yourself
For image mosaic of two images, two images with overlapping area, first find the SIFT feature of it, then the image registration based on feature points of it, then the image mosaic.