Cross-correlation registration algorithm based on the image rotation and projection