This study describes a novel fringe-shaping technique developed to alleviate the fringe truncation problem engendered by the acquired saturated and/or weak fringe images from high-/low-reflectance surfaces of three-dimensional (3D) objects in phase-shifting profilometry. The particle swarm optimizat