The sequence of reactions within a cell required to convert absorbed photons into a molecular signal.