Python image registration tools