The process in which light signals are transformed by the PHOTORECEPTOR CELLS into electrical signals which can then be transmitted to the brain.