Estimation of ego-motion velocities from single static images