Patent attributes
A plurality of images are read in, two line segments which need be inherently parallel with each other in each of the images are designated, and a planar projective transform matrix is obtained from coordinates of end points of the line segments for parallelizing the line segments, thereby executing height normalization. Subsequently, totally four sets of corresponding points are obtained among three sequential images at regions where adjacent two images are overlapped, and matrix elements of planar projective transform matrix is obtained from the obtained corresponding points to calculate an stitch coefficient. Image stitching is executed by using the stitch coefficient. In stitching a plurality of images for stitching, it is possible to accurately stitch the images after the height is normalized among the images.