1. A method comprising: displaying on a display a reference image; displaying on the display a start position within the reference image; displaying on the display an end position within the reference image; determining a trajectory, within the reference image, between the start position within the reference image and the end position within the reference image; and defining a target image for each of a plurality of waypoints along the determined trajectory.