Computational methods for automatic image registration