Optimizing image registration for interactive applications