Shift the averages of two images so that they match.