6. image alignment