Spatial vision in humans and robots