A phase-shift laser scanner based on a time-counting method for high linearity performance.