Add a reference image as input of the program