Observing simulated images of the high redshift universe: the faint end luminosity function