A new swarm intelligence algorithm for image alignment