In this stitching algorithm , the operator should select two characteristic regions in one of the two pictures that are to be stitched . then the algorithm will search the two best - matching region in the other picture , compute the angle of the rotary between the two pictures , rotate one of the two pictures , then stitching the picture , thereby the rotary error is corrected 这种拼接算法由用户在待拼接的一幅照片中指定两个参照特征区域,并在另一幅照片中搜索两处最佳匹配区域,根据这四个区域的位置确定两幅照片的相对旋转误差,然后反向旋转其中的一幅图像,再进行对接,从而纠正了两幅照片的旋转误差。