Emulated retinal image capture (ERICA) to test, train and validate processing of retinal images