Initial work on image reference processing