Phase error analysis and compensation for nonsinusoidal waveforms in phase-shifting digital fringe projection profilometry | Synapse