Gamma Correction Method for Accuracy Enhancement in Grating Projection Profilometry