Add computation of image-local and pane-local coordinates.