Framing visual perception in terms of sensorimotor mapping